发布

  • Refactor token management, client initialization, and project handling

    frostbyte_neo 发布于 2025-07-04 09:08:58 +00:00

    • Consolidated TokenStorage struct into internal/auth/models.go for better organization.
    • Updated Client to use TokenStorage for managing email and project ID.
    • Simplified SetupUser method to ensure proper token and project assignment.
    • Refactored API handlers to leverage new GetEmail and GetProjectID methods in Client.
    • Cleanup: Removed unused structures and redundant code from client.go and auth.go.
    • Adjusted CLI flow in login.go and run.go for streamlined user onboarding.
    下载附件