8000 feat: Claude usage and provider usage on by default by aorumbayev · Pull Request #147 · kagan-sh/kagan · GitHub
[go: up one dir, main page]

Skip to content

feat: Claude usage and provider usage on by default - #147

Merged
aorumbayev merged 6 commits into
mainfrom
feat/usage-claude-default-on
Nov 12, 2026
Merged

aorumbayev merged 6 commits into
mainfrom
feat/usage-claude-default-on

Conversation

@aorumbayev
Copy link
Copy Markdown
Member

Provider usage is on until a person turns it off. Claude's usage is asked of the installed Claude Code CLI, which kagan starts only when the popup opens, on Refresh, or on kg usage show. kagan never reads Claude's sign-in, token or Keychain. Codex is unchanged: it reads its sign-in file and asks chatgpt.com.

  • Usage defaults to on (one constant); a saved value still wins.
  • Claude read: stream-json initialize and get_usage, with empty setting sources and no MCP servers, so the person's hooks do not run. The get_usage request is experimental in Claude Code; an unreadable reply shows a message, never 0%.
  • One cache with a first-ask floor, one HTTPS helper for Codex.
  • Popup: agent marks from the thread picker, 7d · Sonnet labels that truncate with a tooltip, one provider name per block.
  • Decision 272 records the flags, what was checked, and what remains.

Cost: product Rust 82781 to 83228 (+447), ceiling set to the count.

@aorumbayev
aorumbayev merged commit ad14624 into main Nov 12, 2026
69 of 79 checks passed
@aorumbayev
aorumbayev deleted the feat/usage-claude-default-on branch November 12, 2026 18:02
6369 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

0