Skip to content

0.0.8

Choose a tag to compare

@github-actions github-actions released this 15 Oct 15:34
· 29 commits to main since this release
Immutable release. Only release title and notes can be modified.
v0.0.8
3dff182

Added

  • cc-shift --version (also -V and cc-shift version) prints the running
    version, and cc-shift help opens with an ASCII logo on a terminal.
  • cc-shift log shows the history of switches (with their reason), refreshed
    and logged-out logins, and when all accounts were full and free again,
    from ~/.claude-profiles/history.jsonl; --since, --all, --verbose
    and --json.
  • cc-shift stats shows the tokens of all accounts together per project and
    model: output with its share, input, cache writes and cache reads, read
    from the session transcripts of ~/.claude and every profile, subagents
    included, each response counted once. --since 2h|7d|30d and --all pick
    the period and add a section per day, --project <name> shows one project
    per model and day, --cost adds the cost at Anthropic's API prices,
    --per-account adds a block per account from the switch history, and
    --json prints one document. What it read is cached per file in
    ~/.claude-profiles/stats-cache.json. stats can no longer name a profile.
  • A weekly workflow compares Anthropic's pricing page with the price table
    and opens an issue when a price changes or a model is added.

Changed

  • The switch thresholds are per window and configurable: the 5-hour window
    switches at 95% and the 7-day window at 99% by default, each settable from
    50 to 100 under thresholds in ~/.claude-profiles/state.json.