Skip to content

fix: support secret key balance usage - #216

Merged
RyanLee-Dev merged 1 commit into
mainfrom
fix/secret-key-balance-usage
Aug 1, 2026
Merged

fix: support secret key balance usage#216
RyanLee-Dev merged 1 commit into
mainfrom
fix/secret-key-balance-usage

Conversation

@RyanLee-Dev

@RyanLee-Dev RyanLee-Dev commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • route sk-api- secret keys to /account/query_balance instead of Token Plan remains
  • keep Token Plan keys rendering the existing quota progress bars
  • add balance text rendering for secret-key usage surfaces
  • update region detection, login validation, auth status, and quota show tests

Validation

  • bun run lint (passes with existing warnings in test/sdk/speech.test.ts and test/sdk/video.test.ts)
  • bun test test/client/endpoints.test.ts test/auth/timeout-fix.test.ts test/commands/auth/login.test.ts test/commands/quota/show.test.ts test/commands/auth/status.test.ts
  • bun run typecheck
  • bun run build

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@RyanLee-Dev
RyanLee-Dev merged commit 9c88706 into main Aug 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant