Skip to content

v2.27.1

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Nov 09:28

Fixed

  • OAuth tokens were written to disk in plaintext β€” every request went through URLSession.shared, which stores each response together with its originating request in ~/Library/Caches/com.lcharvol.claude-god/Cache.db. The usage call's Authorization: Bearer header therefore sat on disk (mode 0644), readable by any process without a Keychain prompt and included in backups. The usage fetch, the token refresh and the update check now use an ephemeral session with no URL cache, and the leftover Cache.db* / fsCachedData files are deleted at launch. Refreshed credentials are also written to the Keychain through security -i on stdin instead of in argv, so the access and refresh tokens no longer show up in ps; the item stays in the apple-tool: partition, so #48 remains fixed (#57, fixes #55, thanks @RobinMobers97 for the report)
  • Local costs were roughly doubled β€” Claude Code writes one JSONL line per content block, and each line repeats the full usage of the response, so every local cost figure (today, week, month, per-model, per-project, sessions, timeline, export) counted most responses two or more times (2.23x on one real log set). Lines are now counted once per message.id + requestId, across files too, since a resumed session copies earlier responses into its new file. Costs shown after upgrading will be about half of what earlier versions showed: the new figures are the correct ones (#53, thanks @ecoffey)
  • The monthly forecast overshot β€” it extrapolated the month-to-date average over the whole month, counting today as a full day and letting one heavy early week dominate. It now adds the trailing 7-day pace over the time actually left to the real month-to-date spend, and shows from the 1st of the month. The pace window never shrinks below one day, so a few dollars spent early on the first day of history can't project into the thousands (#53)
  • Rate limiting hid data and never backed off β€” a 429 only kept existing data when quotas were loaded, so accounts with only Extra Usage had their card replaced by the error after every Retry; errors now show above existing data instead of in its place. The 429 count was also reset whenever a cooldown expired and on every manual refresh, pinning retries without a Retry-After header at 15 seconds, and opening the popover bypassed the cooldown entirely. Only a successful response resets the backoff now, and opening the popover respects it (#53)
  • The ROI tab showed "No data yet" for repos outside a Projects folder β€” commits were matched to sessions by checking whether the commit path contained a derived project name, and for those repos the name (e.g. Development-app) never appeared in a slash-separated path. Sessions and commits are now matched on their exact git root, which also stops one project's cost being attributed to another whose path merely contains its name (app vs myapp). Project labels outside Projects now use the last folder name (#56, fixes #54, thanks @reconexplorer1974-max for the report)

Install

Homebrew (recommended)

brew tap lcharvol/tap
brew install --cask claude-god

Manual β€” download ClaudeGod.dmg below, drag to Applications, then run:

xattr -cr /Applications/Claude\ God.app