Skip to content

v1.8.2

Choose a tag to compare

@github-actions github-actions released this 06 Sep 09:35
· 9 commits to main since this release
ac10b01

Added

  • Added $cship.usage_limits.session and $cship.usage_limits.weekly tokens (aliases .five_hour / .seven_day) that render a single standard window colored by that window's own utilization, rather than max(5h, 7d) as $cship.usage_limits does, so the session and weekly limits can live on separate lines and escalate independently. Each per-window format string also accepts a {bar} placeholder with bar_width / bar_filled_char / bar_empty_char config, mirroring context_bar (#202)
  • Added the CSHIP_ACCOUNT environment variable as a higher-priority account source: a compact JSON payload matching the account profile shape. Multi-account launchers that inject a per-session OAuth token can pass the resolved identity here instead of relying on the keychain path, which reports the last interactive login. Falls back to the keychain/OAuth path when the variable is absent or malformed. Non-secret identity only; never a token (#201)

Fixed

  • cship explain now checks CSHIP_ACCOUNT first in the account hint, so a set-but-unparseable value is reported as the cause instead of the misleading "no credential found" / re-authenticate hint. A set-but-empty CSHIP_ACCOUNT now warns instead of failing silently (#204)

What's Changed

  • feat(account): resolve account from CSHIP_ACCOUNT env var by @nh13 in #201
  • fix(account): surface malformed CSHIP_ACCOUNT in explain hint, warn on empty by @stephenleo in #204
  • feat(usage_limits): per-window session/weekly tokens and a {bar} placeholder by @nh13 in #202
  • chore(release): v1.8.2 by @stephenleo in #205

Full Changelog: v1.8.1...v1.8.2