Skip to content

Releases: stephenleo/cship

v1.4.1

28 Mar 13:50
1e5940e

Choose a tag to compare

Added

  • Added Windows support — native builds for x86_64 and arm64, PowerShell installer/uninstaller, and Windows docs (@tkm3d1a)
  • Added context_window.used_tokens module (@0xRaduan)
  • Added {remaining} placeholder to usage limits format strings (@tkm3d1a)
  • Added ability to read rate_limits from Claude Code stdin before falling back to the OAuth API (@0xRaduan)

Fixed

  • Fixed context bar showing blank at the start of a fresh session — now renders an empty 0% bar
  • Fixed token counts being truncated instead of rounded in display
  • Fixed crash when stdin contains partial rate_limits data

Changed

  • Updated PowerShell installer URL to cship.dev domain

What's Changed

  • feat: add show_five_hour/show_seven_day config toggles by @tkm3d1a in #107
  • feat: read rate_limits from stdin before OAuth API fallback by @0xRaduan in #115
  • feat: add $cship.context_window.used_tokens module by @0xRaduan in #114
  • feat(context_window): add threshold styling to render_used_tokens by @stephenleo in #117
  • feat(context_window): replace ? operator with explicit match + tracing::warn! by @stephenleo in #118
  • fix(context_window): round token counts instead of truncating in display by @stephenleo in #119
  • docs(context_window): clarify used_percentage vs computed token count discrepancy by @stephenleo in #120
  • refactor(usage_limits): promote epoch_to_iso to module level and remove duplicate by @stephenleo in #121
  • refactor(usage_limits): eliminate epoch-to-ISO-to-epoch round-trip in stdin path by @stephenleo in #123
  • fix(clippy): move epoch_to_iso into cfg(test) to resolve dead_code warning by @stephenleo in #124
  • fix(usage_limits): handle partial stdin rate_limits data gracefully by @stephenleo in #122
  • test(usage_limits): add comprehensive stdin rate_limits test coverage by @stephenleo in #127
  • docs(config): document invert_threshold parent-fallback contract by @stephenleo in #125
  • refactor(config): remove #[cfg(test)] type aliases for old config types by @stephenleo in #128
  • refactor: remove unused HasThresholdStyle impls and apply PR #108 sub-field boilerplate refactor by @stephenleo in #126
  • fix(explain): inject reader into run_with_reader to fix test stdin hang by @stephenleo in #129
  • revert: undo PR #126 and PR #128 (boilerplate refactor and type alias removal) by @stephenleo in #131
  • feat(format): add tracing::warn! guard for render_styled_value None return by @stephenleo in #130
  • feat(context_bar): render 0% empty bar when context data is absent. fixes #105 by @stephenleo in #134
  • feat: add Windows platform support by @tkm3d1a in #106
  • fix(install.ps1): harden arch detection and increase ConvertTo-Json depth by @stephenleo in #135
  • fix(platform): restore compile guard for unsupported OS targets and clarify CLAUDE_HOME semantics by @stephenleo in #136
  • fix(uninstall): align Windows uninstaller paths with installer by @stephenleo in #137
  • docs: add Windows installation instructions to README and docs site by @stephenleo in #138
  • feat(ci): add Windows to CI and release pipeline by @stephenleo in #140
  • feat(docs): update PowerShell installer URL to cship.dev by @stephenleo in #139
  • update crates to 1.4 by @stephenleo in #141
  • feat(release): add CHANGELOG and release notes to GitHub releases by @stephenleo in #142
  • fix(installer): fix Windows installer bugs found during live testing by @stephenleo in #144
  • chore(release): bump version to v1.4.1 by @stephenleo in #145

New Contributors

Full Changelog: v1.3.0...v1.4.1

v1.3.0

14 Mar 09:45
0eac5ca

Choose a tag to compare

Merge pull request #104 from stephenleo/feat/hero-image-update

update hero image to full starship prompt

v1.2.0

14 Mar 03:45
fa7fa79

Choose a tag to compare

Merge pull request #100 from stephenleo/docs/add-ttl-to-readme-sample…

v1.1.2

13 Mar 12:51
7fe4aeb

Choose a tag to compare

Merge pull request #94 from stephenleo/docs/add-hero-image

added annotated hero image

v1.1.1

12 Mar 15:16
e9b3f10

Choose a tag to compare

Merge pull request #93 from stephenleo/docs/add-hero-gif

resize hero gif

v1.1.0

11 Mar 13:51
5dfa2fa

Choose a tag to compare

Merge pull request #87 from stephenleo/emojify

fix: update Cargo.lock for 1.1.0 release

v1.0.0

09 Mar 11:03
9d332c1

Choose a tag to compare

Merge pull request #75 from stephenleo/71-story-8-1-manual-release-tr…

v0.0.1-rc1

08 Mar 15:11

Choose a tag to compare

fix(#68): add [cship] header to installer and fix config parser

- install.sh: add [cship] section header to CSHIP_BLOCK so fresh installs
  produce a valid cship.toml that parses without warnings
- cship.toml: add [cship] section header to repo root reference config
- src/config.rs: invert load_cship_toml logic — [cship] is now the
  canonical format (tracing::debug); legacy wrapper-free is the fallback;
  update ConfigSource::DedicatedFile docstring; rename test for clarity;
  add test_cship_toml_canonical_format_loads_correctly
- src/explain.rs: fix pre-existing test failure by adding DedicatedFile
  to match arm in test_load_with_source_respects_workspace_dir

Closes #68

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>