Skip to content

feat: add Command Code subscription provider - #40

Open
lamchun1110 wants to merge 3 commits into
deviffyy:mainfrom
lamchun1110:feat/command-code-provider
Open

feat: add Command Code subscription provider#40
lamchun1110 wants to merge 3 commits into
deviffyy:mainfrom
lamchun1110:feat/command-code-provider

Conversation

@lamchun1110

Copy link
Copy Markdown
Contributor

Summary

Adds Command Code as a local-session provider. It reads the existing command-code login credential from ~/.commandcode/auth.json; OpenQuota does not persist the credential in app settings.

Tracked data

  • Rolling 5-hour and weekly credit windows from the Command Code billing API
  • Active subscription plan, including Go/GOAT-style plan IDs
  • Remaining monthly subscription credits and purchased extra credits

Validation

  • cargo test --all-targets — 519 passed
  • cargo clippy --all-targets -- -D warnings
  • pnpm verify:contracts
  • pnpm check
  • pnpm lint

@lamchun1110
lamchun1110 force-pushed the feat/command-code-provider branch 2 times, most recently from 61afdcf to 16dbf12 Compare August 12, 2026 03:39
@lamchun1110
lamchun1110 force-pushed the feat/command-code-provider branch from 16dbf12 to ed64ad2 Compare August 12, 2026 14:23
@lamchun1110
lamchun1110 marked this pull request as ready for review August 12, 2026 16:58
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