Skip to content

v0.5.0

Choose a tag to compare

@poisons77 poisons77 released this 06 Nov 07:35
· 6 commits to main since this release

Rotation no longer trusts a stale session, and stops to ask instead of guessing.

Fixed

  • A session left idle since a switch keeps rendering the account it last spoke to. Its numbers were filed under the live account, which could flee an account that was not spent and save it as about to refill - so it later ranked as a fresh week and was switched into while nearly spent. A reading outside the live account's own saved window that falls in another account's saved window is now recognised as that account's, and decides nothing.
  • A saved window's use never goes down: a lower reading of the same window is a stale payload.
  • A reading whose reset has already passed is no longer saved.

New

  • After a switch, the first reading of the new account is checked. Already over its bar, rotation stops instead of moving on, and the bar shows ! work already at 99% · pick an account until you switch by hand.
  • askIfUnreadSecs: stop and ask instead of switching into an account last read longer ago than this, or never. Use made outside Claude Code (claude.ai, the desktop app) never reaches a saved reading; this puts a person in front of a switch that relies on an old one. Off by default.
  • The question is published as ask in the state file; cc-account 0.5.0 shows it in red in every session.
  • rotate.log records each stop as an ask line.

See docs/rotation.md.