Skip to content

v0.4.0: account commands restored (key auth) + catalog refresh - #8

Merged
raullenchai merged 1 commit into
mainfrom
v0.4.0-key-auth-and-catalog
Aug 25, 2026
Merged

v0.4.0: account commands restored (key auth) + catalog refresh#8
raullenchai merged 1 commit into
mainfrom
v0.4.0-key-auth-and-catalog

Conversation

@raullenchai

Copy link
Copy Markdown
Contributor

Fixes #5.

qsp balance / whoami / init --key / usage work again with an API key. Root cause was backend-side (pay.* only accepted dashboard sessions); machinefi/qspro-backend#296 added read-only key auth to /v1/me + /v1/usage, so no CLI auth change was needed — this release refreshes the signed-out catalog and metadata alongside.

Verified against production (live key)

  • whoami --json / balance --json / usage --json / init --key → all exit 0
  • Depleted account (spend > budget) reads its zero balance correctly
  • Signed-out qsp models fallback: 14 models, prices verified against live /v1/models today
  • chat (stream + --json), status still green
  • codex review: zero findings

🤖 Generated with Claude Code

https://claude.ai/code/session_015nHzWsgQ4EpdGyiULpwnVB

- balance / whoami / init --key / usage work again with an API key —
  the backend now accepts key auth on the read-only account endpoints
  (machinefi/qspro-backend#296); no CLI-side auth change was needed.
  Verified end-to-end against production: all four exit 0, including on
  a depleted (zero-balance) account.
- Signed-out models fallback refreshed to the current lineup (adds
  grok-4.6, glm-5.3, kimi-k2.7-code, nemotron-3.5-lightning,
  gemini-3.7-flash; repriced deepseek-v4-pro); prices verified
  2026-08-25 against the live /v1/models.
- README/pyproject mention Grok + GLM; keywords updated.

Closes #5

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015nHzWsgQ4EpdGyiULpwnVB
@raullenchai
raullenchai merged commit 6039eaa into main Aug 25, 2026
@raullenchai
raullenchai deleted the v0.4.0-key-auth-and-catalog branch August 25, 2026 19:56
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.

qsp balance / whoami / init --key are broken: account endpoints reject API keys

1 participant