Repository navigation
v1.8.1
Added
- Published a JSON Schema for the
[cship]config section at https://cship.dev/config-schema.json, giving editors autocomplete and validation forcship.toml/starship.tomlvia"$schema" = 'https://cship.dev/config-schema.json'. Acship config-schemasubcommand emits the same schema locally (#197, issue #196) - Added the
family_stylemap tocship.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 legacyhaiku_style/sonnet_style/opus_styleentries still take priority (#195) - Added the
$filllayout token ([cship.fill]), mirroring Starship'sfillmodule: it expands to fill the remaining width and right-aligns following content, with multiple$fillon a line splitting the space evenly. Configurablesymbol/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→80fallback (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