Skip to content

v1.8.1

Choose a tag to compare

@github-actions github-actions released this 04 Aug 13:24
· 13 commits to main since this release
5c5de01

Added

  • Published a JSON Schema for the [cship] config section at https://cship.dev/config-schema.json, giving editors autocomplete and validation for cship.toml / starship.toml via "$schema" = 'https://cship.dev/config-schema.json'. A cship config-schema subcommand emits the same schema locally (#197, issue #196)
  • Added the family_style map to cship.model, so model families cship does not hardcode (e.g. Fable) can be styled through config alone. Matching is case-insensitive, the longest matching key wins on overlap, and empty keys are ignored with a warn-once diagnostic. The legacy haiku_style / sonnet_style / opus_style entries still take priority (#195)
  • Added the $fill layout token ([cship.fill]), mirroring Starship's fill module: it expands to fill the remaining width and right-aligns following content, with multiple $fill on a line splitting the space evenly. Configurable symbol / style / disabled. Because Claude Code does not expose the terminal width to statusline commands (claude-code#22115), width is recovered best-effort by reading the controlling terminal of an ancestor process on macOS/Linux, with a [cship] width → 80 fallback (and a [cship] width_offset, default 3, for the reserved margin). Windows and the web/desktop apps use the fallback.

What's Changed

  • feat: add $fill layout token (Starship-style right-alignment) by @tfenne in #189
  • feat(model): add family_style map for new model families by @Romboter in #195
  • feat(config): publish JSON schema for editor autocomplete by @stephenleo in #197
  • chore(release): v1.8.1 by @stephenleo in #198

Full Changelog: v1.8.0...v1.8.1