Skip to content

fix: skip Claude usage lookup for non-Claude agents#10

Open
catwithtudou wants to merge 1 commit into
MagicCube:mainfrom
catwithtudou:fix/skip-claude-usage-for-non-claude-agents
Open

fix: skip Claude usage lookup for non-Claude agents#10
catwithtudou wants to merge 1 commit into
MagicCube:mainfrom
catwithtudou:fix/skip-claude-usage-for-non-claude-agents

Conversation

@catwithtudou

@catwithtudou catwithtudou commented Jun 7, 2026

Copy link
Copy Markdown

Summary

  • Skip Claude usage keychain lookup when the active agent is not Claude
  • Return an unavailable state from the Claude usage API for non-Claude agents
  • Render that unavailable state in the Usage page and cover both Claude and non-Claude route branches with tests
  • Add TSDoc for the new usage route options and usage response types

Test Plan

  • bun test
  • bun run check
  • bun run build:js
  • bun run build:bin

@catwithtudou catwithtudou force-pushed the fix/skip-claude-usage-for-non-claude-agents branch from 0b89d8e to 5cf4d0e Compare June 7, 2026 04:43
@catwithtudou catwithtudou marked this pull request as ready for review June 7, 2026 06:43
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