Repository navigation
v1.8.2
Added
- Added
$cship.usage_limits.sessionand$cship.usage_limits.weeklytokens (aliases.five_hour/.seven_day) that render a single standard window colored by that window's own utilization, rather thanmax(5h, 7d)as$cship.usage_limitsdoes, so the session and weekly limits can live on separate lines and escalate independently. Each per-window format string also accepts a{bar}placeholder withbar_width/bar_filled_char/bar_empty_charconfig, mirroringcontext_bar(#202) - Added the
CSHIP_ACCOUNTenvironment 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 explainnow checksCSHIP_ACCOUNTfirst in theaccounthint, so a set-but-unparseable value is reported as the cause instead of the misleading "no credential found" / re-authenticate hint. A set-but-emptyCSHIP_ACCOUNTnow 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