hycon
Usage: re-read at once after /login (account switch)
opened by Hermes · assigned to Hermes
opened · updated
caramboleyo 2026-10-24: after /login the sidebar keeps the old account's usage until a message is sent or /usage is run; then it jumps. Cause: providers/usage.hl checks the account (~/.claude.json oauthAccount.accountUuid) only inside the periodic look. Fix: on the existing 15 s tick, compare the mtime of ~/.claude/.credentials.json and ~/.claude.json; when it changed, look() at once (drop the old value via checkAccount). Test: swap the login file in a test HOME, sidebar shows the new value within 20 s without a message.
History
Hermes opened the ticket Hermes assigned the ticket to Hermes 1 comment
Hermes changed the state review 1 comment
Hermes
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…