Repository navigation
v2.0.0a1 — Component composition preview
Pre-releaseComponent composition preview
Create multiple instances of the same metric, each with its own label, icon, format, colors, visibility, priority and width. Add literal text and one flexible spacer per explicit main row or subagent template. The existing default display remains unchanged; the new Left and right and Repeated metrics presets provide editable starting points.
Both editors list configured instances, including disabled ones. Native A (external Ctrl+A) opens a searchable type picker, native D (external Ctrl+D) copies and native X (external Ctrl+X) removes. Existing enable, format and ordering controls operate on the selected instance. The CLI adds scoped config instance operations, and import review follows instance identity. Legacy type commands refuse ambiguous matches or compositions they cannot preserve. See the composition guide.
pipx install --force fbincon-claude-code-statusline==2.0.0a1
claude-statusline install --native-editor --experimental-slash-tui
claude-statusline doctor
Restart Claude Code after updating its integration. The preview retains the established explicit editor opt-in policy. Interface language, output language, collectors and Claude preferences remain independent.
Compatibility and recovery
Display schema 8 and editor protocol 11 require matching Python and bundled resources. Supported display v1–v7 files map deterministically in memory, preserving enabled order, disabled overrides, layouts and language. Reads, previews, import review and dry runs do not rewrite display files. Actual saves or installation back up before migration and retain revision checks and transaction rollback.
Portable envelopes remain v1, UI preferences v1 and runtime observations v2. Before downgrading, use the current package to remove incompatible native integration and restore a compatible pre-migration backup before installing the older package. Repeated instances and flexible layouts cannot be converted losslessly by changing the schema number. See upgrade and recovery.
Linux/WSL, Windows 10/11, macOS 14+ and Python 3.10–3.14 remain supported. Grapheme fitting, color fallback and Powerline boundaries use the existing production/sample pipeline. Copies share raw observations without additional transcript scans or Git collection; timing and observation stores keep their existing semantics.
Validation boundaries
Local validation completed 815 Python tests (807 passed, eight platform skips), 112 official native Mod tests and ten runtime Mod tests. Installed wheels passed ten bilingual external PTY cases at five sizes, four bilingual native cases at two widths, six grapheme/style PTY cases, CLI/install smoke and a released-wheel upgrade/downgrade/re-upgrade check. An independent wheel rebuild retained 217 identical internal files. Captured interfaces distinguish terminal reconstruction from human acceptance.
Performance measurements retain 39,000 comparison samples and 10,000 opt-in samples, including measured costs and screening flags. Instance option validation and retained disabled placements add work; the release does not claim zero default-path overhead.
Release gates include the Python suite, official Mod tests and exact-build TypeScript checks, generated-resource parity, wheel/sdist inventories, independent rebuilds, installed bilingual Linux PTYs, migration/recovery and fixed-source cold/warm performance measurements. Final PR, merge and tag must pass 13 Python/build and 13 Mod jobs, followed by nine TestPyPI and nine PyPI publication/installation jobs using the same artifacts.
The earlier ten fixed-host Mod jobs retain exact-build type checks. Claude Code 2.1.296 adds three-platform runtime, strict validation and installation coverage; the current host preparation flow does not emit its declarations, so these are not exact-build 2.1.296 type checks. Automated terminal captures and agent inspection do not establish new human Windows/macOS acceptance. The historical macOS Client focus/input limitation remains. No new paid model calls are required for composition.
简体中文
组件组合预览
同一指标可创建多份实例,分别设置标签、图标、格式、颜色、显示条件、优先级与宽度。支持原样文字和单一弹性留白:主栏需显式分行,子代理模板为单行。现有默认显示不变,新增“左右布局”和“重复指标”两种可编辑预设。
两种编辑器展示已配置实例(含禁用项)。原生 A/外部 Ctrl+A 打开可搜索的类型目录,原生 D/外部 Ctrl+D 复制,原生 X/外部 Ctrl+X 移除;原有启禁用、格式与排序操作作用于选中实例。新增 config instance,导入审阅按实例身份对比;旧类型命令遇到歧义或无法无损保留的组合时明确拒绝。详见组件指南。
pipx install --force fbincon-claude-code-statusline==2.0.0a1
claude-statusline install --native-editor --experimental-slash-tui
claude-statusline doctor
更新接入后重启 Claude Code。预览版沿用编辑器显式启用策略,界面/输出语言、采集器及 Claude 偏好继续独立。
显示 schema 8/编辑器协议 11 要求匹配的 Python 包及原生资源。历史 v1–v7 确定性映射到内存,保留顺序、禁用项覆盖、布局和语言;读取、预览、导入审阅及 dry-run 不改写显示文件。真实保存/安装先备份再迁移,保留 revision 检查与事务回滚。
可移植外层 v1、界面偏好 v1、运行观测 v2 不变。降级前用当前包移除不兼容原生接入,恢复迁移前兼容备份,再安装旧包。重复实例与弹性布局不能通过修改 schema 数字无损回退。参见升级恢复。
继续支持 Linux/WSL、Windows 10/11、macOS 14+ 及 Python 3.10–3.14。重复组件共享原始观测并分别格式化,不增加会话扫描或 Git 采集;计时及运行状态存储语义保持不变。
本地完成 815 项 Python 测试(807 通过、8 项平台跳过)、112 项官方原生 Mod 测试及十项运行 Mod 测试。已安装 wheel 通过十个中英文外部 PTY 案例(五种尺寸)、四个中英文原生案例(两种宽度)、六个字素/样式 PTY 案例、CLI/安装 smoke,以及真实已发布 wheel 的升级/降级/再升级。独立重建的 wheel 包含 217 个内容相同的内部文件。界面捕获区分终端重建与真人验收。
性能报告保留 39,000 个对比样本及 10,000 个可选功能样本,如实列出开销与复核标记。实例选项校验及禁用位置保留增加了工作量,不宣称默认路径零开销。
发布检查包含 Python/官方 Mod 测试、精确宿主类型检查、生成文件一致性、包清单、独立重建、安装后中英文 Linux PTY、迁移恢复和固定源码冷/热基准。最终 PR、合并提交及标签要求 13 个 Python/build、13 个 Mod 作业全通过,再以相同资产通过九个 TestPyPI 和九个 PyPI 发布/安装作业。
原有十个固定宿主保留精确版本类型检查;2.1.296 新增三平台运行、严格校验及安装验证,但当前生成流程不产生该宿主声明,不宣称已通过其精确类型检查。自动终端捕获与代理图像检查不代表新增 Windows/macOS 真人验收;历史 macOS Client 焦点/输入限制继续保留。本次组件功能不需要新增付费模型调用。