@fbincon/claude-code-statusline 3.12.0 → 3.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +82 -79
- package/candidate.json +365 -286
- package/node_modules/@fbincon/statusline-cli/dist/src/config/arguments.d.ts +1 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/config/arguments.js +9 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/config/arguments.js.map +1 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/config/commands.js +23 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/config/commands.js.map +1 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/config/profile-command.js +7 -3
- package/node_modules/@fbincon/statusline-cli/dist/src/config/profile-command.js.map +1 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/config/reuse.d.ts +3 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/config/reuse.js +62 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/config/reuse.js.map +1 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/config/structural-review.d.ts +5 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/config/structural-review.js +45 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/config/structural-review.js.map +1 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/management/review-jobs.js +20 -6
- package/node_modules/@fbincon/statusline-cli/dist/src/management/review-jobs.js.map +1 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.d.ts +52 -3
- package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.js +14 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.js.map +1 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-config/SKILL.md +1 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/.claude-plugin/plugin.json +1 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/hooks/register.ts +7 -3
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/backend.ts +7 -3
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/keys.ts +10 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/settings.ts +8 -5
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/alignment-manager.ts +2 -2
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/change-review.ts +109 -0
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/color-manager.ts +5 -4
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/draft.ts +70 -21
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/forms.ts +7 -13
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/group-manager.ts +2 -3
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/groups.ts +2 -2
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/history.ts +33 -0
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/import-selection.ts +2 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/indicators.ts +2 -2
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/quick-setup.ts +1 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/reuse-manager.ts +150 -0
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/reuse.ts +96 -0
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/source-compatibility.ts +7 -0
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/source-manager.ts +12 -5
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/structure.ts +30 -0
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/generated-contracts.ts +18 -8
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/en.ts +95 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/ja.ts +95 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/ko.ts +95 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/zh-CN.ts +95 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/zh-HK.ts +95 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/zh-TW.ts +95 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/presentation.ts +1 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/resource-manifest.json +34 -28
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/draw.ts +4 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/help.ts +3 -2
- package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/.claude-plugin/plugin.json +1 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/resource-manifest.json +3 -3
- package/node_modules/@fbincon/statusline-core/dist/src/config/defaults.js +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/display.d.ts +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/display.js +6 -4
- package/node_modules/@fbincon/statusline-core/dist/src/config/display.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/editor-fields.js +9 -0
- package/node_modules/@fbincon/statusline-core/dist/src/config/editor-fields.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/formatting.js +15 -3
- package/node_modules/@fbincon/statusline-core/dist/src/config/formatting.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/presets.d.ts +6 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/presets.js +5 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/presets.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/scenario-presets.d.ts +11 -0
- package/node_modules/@fbincon/statusline-core/dist/src/config/scenario-presets.js +49 -0
- package/node_modules/@fbincon/statusline-core/dist/src/config/scenario-presets.js.map +1 -0
- package/node_modules/@fbincon/statusline-core/dist/src/contracts/generated-catalog.d.ts +40 -0
- package/node_modules/@fbincon/statusline-core/dist/src/contracts/generated-catalog.js +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/contracts/generated-catalog.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.d.ts +96 -7
- package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.js +4 -3
- package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/alignment-manager.js +2 -2
- package/node_modules/@fbincon/statusline-core/dist/src/editor/alignment-manager.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js +9 -3
- package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/change-review.d.ts +32 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/change-review.js +155 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/change-review.js.map +1 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/color-manager.js +6 -4
- package/node_modules/@fbincon/statusline-core/dist/src/editor/color-manager.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.d.ts +17 -3
- package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js +114 -23
- package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/forms.js +8 -14
- package/node_modules/@fbincon/statusline-core/dist/src/editor/forms.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/group-manager.js +2 -5
- package/node_modules/@fbincon/statusline-core/dist/src/editor/group-manager.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/groups.d.ts +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/groups.js +2 -2
- package/node_modules/@fbincon/statusline-core/dist/src/editor/groups.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/history.d.ts +22 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/history.js +37 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/history.js.map +1 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/import-selection.d.ts +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/import-selection.js +3 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/import-selection.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/indicators.js +2 -2
- package/node_modules/@fbincon/statusline-core/dist/src/editor/indicators.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/quick-setup.js +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/quick-setup.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/reuse-manager.d.ts +39 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/reuse-manager.js +271 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/reuse-manager.js.map +1 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/reuse.d.ts +6 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/reuse.js +135 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/reuse.js.map +1 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/source-compatibility.d.ts +3 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/source-compatibility.js +7 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/source-compatibility.js.map +1 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/source-manager.js +12 -5
- package/node_modules/@fbincon/statusline-core/dist/src/editor/source-manager.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/structure.d.ts +16 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/structure.js +28 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/structure.js.map +1 -0
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.d.ts +564 -0
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js +570 -6
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/release.d.ts +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/release.js +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/alignment.d.ts +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/alignment.js +20 -4
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/alignment.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/colors.d.ts +2 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/colors.js +4 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/colors.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/components.d.ts +3 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/components.js +8 -4
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/components.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/explain.js +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/explain.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/fitting.d.ts +12 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/fitting.js +22 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/fitting.js.map +1 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/gradients.d.ts +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/gradients.js +9 -8
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/gradients.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/groups.js +15 -6
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/groups.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/indicators.d.ts +5 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/indicators.js +30 -4
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/indicators.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/items.d.ts +3 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/items.js +33 -15
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/items.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/powerline.d.ts +21 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/powerline.js +67 -5
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/powerline.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/preferences.js +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/preferences.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/subagents.js +18 -8
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/subagents.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/trace.d.ts +2 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/trace.js +8 -2
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/trace.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/en.json +95 -1
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ja.json +95 -1
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ko.json +95 -1
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-CN.json +95 -1
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-HK.json +95 -1
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-TW.json +95 -1
- package/node_modules/@fbincon/statusline-tui/dist/src/drawing/pages.js +6 -0
- package/node_modules/@fbincon/statusline-tui/dist/src/drawing/pages.js.map +1 -1
- package/node_modules/@fbincon/statusline-tui/dist/src/drawing/shortcuts.js +3 -0
- package/node_modules/@fbincon/statusline-tui/dist/src/drawing/shortcuts.js.map +1 -1
- package/node_modules/@fbincon/statusline-tui/dist/src/session.js +16 -1
- package/node_modules/@fbincon/statusline-tui/dist/src/session.js.map +1 -1
- package/node_modules/@fbincon/statusline-tui/dist/src/state.d.ts +1 -1
- package/node_modules/@fbincon/statusline-tui/dist/src/state.js +35 -9
- package/node_modules/@fbincon/statusline-tui/dist/src/state.js.map +1 -1
- package/package.json +3 -3
package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/zh-CN.ts
CHANGED
|
@@ -2216,5 +2216,99 @@ export const MESSAGES = {
|
|
|
2216
2216
|
"package.ui.result_na": "不适用",
|
|
2217
2217
|
"sources.scope_all": "任意/共享",
|
|
2218
2218
|
"package.ui.control": "保留管理入口:{executable} · {entry}",
|
|
2219
|
-
"package.ui.control_help": "保留此入口;降级后使用 Node 打开,并传入 configure --config-dir {directory},即可重新查看。"
|
|
2219
|
+
"package.ui.control_help": "保留此入口;降级后使用 Node 打开,并传入 configure --config-dir {directory},即可重新查看。",
|
|
2220
|
+
"history.title": "变更与历史",
|
|
2221
|
+
"history.edit": "编辑草稿",
|
|
2222
|
+
"history.replace": "替换草稿",
|
|
2223
|
+
"history.structure": "审阅结构调整",
|
|
2224
|
+
"history.stale": "此审阅已过期,请关闭后重新审阅当前草稿。",
|
|
2225
|
+
"history.retry_ready": "已采用审阅过的修订,请保存以重试。",
|
|
2226
|
+
"history.retry_blocked": "请先比较当前配置;目标和安装归属必须一致,且保存结果必须明确。",
|
|
2227
|
+
"history.export_path": "将草稿导出到新文件:",
|
|
2228
|
+
"history.confirm_discard": "丢弃整个草稿和历史,并重新读取最新配置?Enter 确认,Esc 取消。",
|
|
2229
|
+
"history.repairs": "受影响的对齐:{ids}",
|
|
2230
|
+
"history.counts": "可撤销:{undo} · 可重做:{redo}",
|
|
2231
|
+
"history.comparison.0": "基线 → 草稿",
|
|
2232
|
+
"history.comparison.1": "基线 → 当前文件",
|
|
2233
|
+
"history.comparison.2": "当前文件 → 草稿",
|
|
2234
|
+
"history.structure_help": "A 接受 · Enter 详情 · Q 取消",
|
|
2235
|
+
"history.help": "U 撤销 · R 重做 · C 比较 · Tab 切换 · E 导出 · L 丢弃重载 · K 保留草稿重试 · Q 返回",
|
|
2236
|
+
"history.trimmed": "已达到会话历史上限,最早记录已移除。",
|
|
2237
|
+
"history.exported": "草稿已导出,当前配置未改写。",
|
|
2238
|
+
"history.failed": "无法完成操作:{detail}",
|
|
2239
|
+
"history.undo_redo": "撤销/重做",
|
|
2240
|
+
"reuse.style": "复制/粘贴视觉样式",
|
|
2241
|
+
"reuse.groups": "复用完整分组",
|
|
2242
|
+
"reuse.action": "复用配置",
|
|
2243
|
+
"reuse.invalid": "复用选择或引用无效。",
|
|
2244
|
+
"reuse.incompatible": "所选字段、来源或布局与目标不兼容。",
|
|
2245
|
+
"reuse.references": "组外引用需要明确选择扩选或排除。",
|
|
2246
|
+
"reuse.explicit": "需要显式行布局,请明确选择布局转换。",
|
|
2247
|
+
"reuse.current": "当前草稿",
|
|
2248
|
+
"reuse.portable": "便携配置文件",
|
|
2249
|
+
"reuse.profile_file": "导出的方案文件",
|
|
2250
|
+
"reuse.profiles": "已保存的方案",
|
|
2251
|
+
"reuse.accepted": "已应用到草稿,请另行保存。",
|
|
2252
|
+
"reuse.unbound": "尚未绑定本机来源",
|
|
2253
|
+
"reuse.bind_help": "B 绑定本机来源 · Q 返回",
|
|
2254
|
+
"reuse.scope": "来源范围",
|
|
2255
|
+
"reuse.review": "审阅所选变更",
|
|
2256
|
+
"reuse.unsupported": "此目标不支持",
|
|
2257
|
+
"reuse.path": "来源文件路径:",
|
|
2258
|
+
"reuse.path_help": "Enter 读取 · Esc 取消",
|
|
2259
|
+
"reuse.draft_only": "仅为候选草稿,配置和授权均未改写。",
|
|
2260
|
+
"reuse.layout": "允许转换为显式布局",
|
|
2261
|
+
"reuse.expand": "扩选依赖",
|
|
2262
|
+
"reuse.exclude": "排除组外对齐",
|
|
2263
|
+
"reuse.help": "选择来源后,先审阅再应用。",
|
|
2264
|
+
"reuse.cancel_help": "Enter 选择 · Space 勾选 · Esc 取消",
|
|
2265
|
+
"reuse.review_groups_help": "A 接受 · X 引用处理 · L 布局转换 · Backspace 编辑 · Q 取消 · Tab ID/差异",
|
|
2266
|
+
"reuse.review_style_help": "A 接受 · Enter 详情 · Backspace 字段选择 · Q 取消",
|
|
2267
|
+
"settings.change-history": "变更与历史",
|
|
2268
|
+
"settings.reuse-style": "复制/粘贴视觉样式",
|
|
2269
|
+
"settings.reuse-groups": "复用完整分组",
|
|
2270
|
+
"ui.actions.change-history": "变更与历史",
|
|
2271
|
+
"ui.actions.reuse-style": "复制/粘贴视觉样式",
|
|
2272
|
+
"ui.actions.reuse-groups": "复用完整分组",
|
|
2273
|
+
"ui.hints.undo_redo": "撤销/重做",
|
|
2274
|
+
"ui.hints.changes": "变更与历史",
|
|
2275
|
+
"reuse.field.foreground": "前景色(inherit/default/ansi:N/#RRGGBB)",
|
|
2276
|
+
"reuse.field.background": "背景色(inherit/default/ansi:N/#RRGGBB)",
|
|
2277
|
+
"reuse.field.foreground_gradient": "前景渐变",
|
|
2278
|
+
"reuse.field.background_gradient": "Powerline 背景渐变",
|
|
2279
|
+
"reuse.field.label": "标签(继承=默认)",
|
|
2280
|
+
"reuse.field.icon": "图标(继承=默认)",
|
|
2281
|
+
"reuse.field.formatting.model_name": "模型名称",
|
|
2282
|
+
"reuse.field.formatting.number_format": "数字格式",
|
|
2283
|
+
"reuse.field.formatting.labels": "标签",
|
|
2284
|
+
"reuse.field.formatting.icons": "图标",
|
|
2285
|
+
"reuse.field.formatting.allowance": "额度",
|
|
2286
|
+
"reuse.field.formatting.reset_format": "重置格式",
|
|
2287
|
+
"reuse.field.formatting.reset_timezone": "重置时区",
|
|
2288
|
+
"history.input_help": "Enter 读取 · Esc 取消",
|
|
2289
|
+
"reuse.dependency": "组外依赖",
|
|
2290
|
+
"reuse.reference_policy": "组外引用处理",
|
|
2291
|
+
"indicators.presentation.adaptive": "自适应进度条",
|
|
2292
|
+
"fields.global.powerline.row_background_gradient.label": "行内连续背景",
|
|
2293
|
+
"appearance.schema": "自适应指标与行内连续背景需要显示 schema 17 或更高版本。",
|
|
2294
|
+
"explain.style.adaptive_label_shortened": "为适配宽度缩短了内置标签。",
|
|
2295
|
+
"explain.style.adaptive_bar_shortened": "进度条已缩短,百分比与方向保持完整。",
|
|
2296
|
+
"explain.style.adaptive_numeric": "进度条已回退为数字表示。",
|
|
2297
|
+
"explain.style.row_background_gradient": "连续背景来自最终显示行。",
|
|
2298
|
+
"explain.style.row_gradient_overridden": "显式背景覆盖行内渐变。",
|
|
2299
|
+
"presets.powerline-daily": "Powerline 日常工作",
|
|
2300
|
+
"quick.purpose.powerline-daily": "Powerline 日常工作",
|
|
2301
|
+
"quick.requirements.powerline-daily": "使用 Claude 输入、本地 Git 与任务计时。自适应上下文和连续背景按最终布局显示。",
|
|
2302
|
+
"presets.agent-workbench": "多代理工作台",
|
|
2303
|
+
"quick.purpose.agent-workbench": "多代理工作台",
|
|
2304
|
+
"quick.requirements.agent-workbench": "使用现有任务与实时观测;缺失数据保持缺失,子代理采集保持当前开关。",
|
|
2305
|
+
"presets.quota-cost": "配额与费用",
|
|
2306
|
+
"quick.purpose.quota-cost": "配额与费用",
|
|
2307
|
+
"quick.requirements.quota-cost": "使用已观测配额窗口、费用与时长;空间充足时对齐配额与重置。不会启用服务商。",
|
|
2308
|
+
"presets.narrow-terminal": "窄终端",
|
|
2309
|
+
"quick.purpose.narrow-terminal": "窄终端",
|
|
2310
|
+
"quick.requirements.narrow-terminal": "使用现有模型、目录、上下文和任务观测。保留正常换行及完整自定义标签和图标。",
|
|
2311
|
+
"presets.light-readable": "浅色清晰阅读",
|
|
2312
|
+
"quick.purpose.light-readable": "浅色清晰阅读",
|
|
2313
|
+
"quick.requirements.light-readable": "使用日常工作观测、浅色主题及受保护的告警颜色。样例预览不能证明实际终端外观。"
|
|
2220
2314
|
} as const;
|
package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/zh-HK.ts
CHANGED
|
@@ -2216,5 +2216,99 @@ export const MESSAGES = {
|
|
|
2216
2216
|
"package.ui.result_na": "不適用",
|
|
2217
2217
|
"sources.scope_all": "任意/共用",
|
|
2218
2218
|
"package.ui.control": "保留管理入口:{executable} · {entry}",
|
|
2219
|
-
"package.ui.control_help": "保留此入口;降級後使用 Node 開啟,並傳入 configure --config-dir {directory},即可重新查看。"
|
|
2219
|
+
"package.ui.control_help": "保留此入口;降級後使用 Node 開啟,並傳入 configure --config-dir {directory},即可重新查看。",
|
|
2220
|
+
"history.title": "變更與歷史",
|
|
2221
|
+
"history.edit": "編輯草稿",
|
|
2222
|
+
"history.replace": "替換草稿",
|
|
2223
|
+
"history.structure": "檢閱結構調整",
|
|
2224
|
+
"history.stale": "此檢閱已過期,請關閉後重新檢閱目前草稿。",
|
|
2225
|
+
"history.retry_ready": "已採用檢閱過的修訂,請儲存以重試。",
|
|
2226
|
+
"history.retry_blocked": "請先比較目前設定;目標和安裝歸屬必須一致,且儲存結果必須明確。",
|
|
2227
|
+
"history.export_path": "將草稿匯出至新檔案:",
|
|
2228
|
+
"history.confirm_discard": "捨棄整個草稿和歷史,並重新讀取最新設定?Enter 確認,Esc 取消。",
|
|
2229
|
+
"history.repairs": "受影響的對齊:{ids}",
|
|
2230
|
+
"history.counts": "可復原:{undo} · 可重做:{redo}",
|
|
2231
|
+
"history.comparison.0": "基準 → 草稿",
|
|
2232
|
+
"history.comparison.1": "基準 → 目前檔案",
|
|
2233
|
+
"history.comparison.2": "目前檔案 → 草稿",
|
|
2234
|
+
"history.structure_help": "A 接受 · Enter 詳情 · Q 取消",
|
|
2235
|
+
"history.help": "U 復原 · R 重做 · C 比較 · Tab 切換 · E 匯出 · L 捨棄重載 · K 保留草稿重試 · Q 返回",
|
|
2236
|
+
"history.trimmed": "已達到工作階段歷史上限,最早記錄已移除。",
|
|
2237
|
+
"history.exported": "草稿已匯出,目前設定未改寫。",
|
|
2238
|
+
"history.failed": "無法完成操作:{detail}",
|
|
2239
|
+
"history.undo_redo": "復原/重做",
|
|
2240
|
+
"reuse.style": "複製/貼上視覺樣式",
|
|
2241
|
+
"reuse.groups": "重用完整群組",
|
|
2242
|
+
"reuse.action": "重用設定",
|
|
2243
|
+
"reuse.invalid": "重用選擇或參照無效。",
|
|
2244
|
+
"reuse.incompatible": "所選欄位、來源或版面配置與目標不相容。",
|
|
2245
|
+
"reuse.references": "群組外參照需要明確選擇擴選或排除。",
|
|
2246
|
+
"reuse.explicit": "需要明確列版面配置,請明確選擇版面轉換。",
|
|
2247
|
+
"reuse.current": "目前草稿",
|
|
2248
|
+
"reuse.portable": "可攜設定檔",
|
|
2249
|
+
"reuse.profile_file": "匯出的方案檔",
|
|
2250
|
+
"reuse.profiles": "已儲存的方案",
|
|
2251
|
+
"reuse.accepted": "已套用至草稿,請另行儲存。",
|
|
2252
|
+
"reuse.unbound": "尚未繫結本機來源",
|
|
2253
|
+
"reuse.bind_help": "B 繫結本機來源 · Q 返回",
|
|
2254
|
+
"reuse.scope": "來源範圍",
|
|
2255
|
+
"reuse.review": "檢閱所選變更",
|
|
2256
|
+
"reuse.unsupported": "此目標不支援",
|
|
2257
|
+
"reuse.path": "來源檔案路徑:",
|
|
2258
|
+
"reuse.path_help": "Enter 讀取 · Esc 取消",
|
|
2259
|
+
"reuse.draft_only": "僅為候選草稿,設定和授權均未改寫。",
|
|
2260
|
+
"reuse.layout": "允許轉換為明確版面配置",
|
|
2261
|
+
"reuse.expand": "擴選相依項目",
|
|
2262
|
+
"reuse.exclude": "排除群組外對齊",
|
|
2263
|
+
"reuse.help": "選擇來源後,先檢閱再套用。",
|
|
2264
|
+
"reuse.cancel_help": "Enter 選擇 · Space 勾選 · Esc 取消",
|
|
2265
|
+
"reuse.review_groups_help": "A 接受 · X 參照處理 · L 版面轉換 · Backspace 編輯 · Q 取消 · Tab ID/差異",
|
|
2266
|
+
"reuse.review_style_help": "A 接受 · Enter 詳情 · Backspace 欄位選擇 · Q 取消",
|
|
2267
|
+
"settings.change-history": "變更與歷史",
|
|
2268
|
+
"settings.reuse-style": "複製/貼上視覺樣式",
|
|
2269
|
+
"settings.reuse-groups": "重用完整群組",
|
|
2270
|
+
"ui.actions.change-history": "變更與歷史",
|
|
2271
|
+
"ui.actions.reuse-style": "複製/貼上視覺樣式",
|
|
2272
|
+
"ui.actions.reuse-groups": "重用完整群組",
|
|
2273
|
+
"ui.hints.undo_redo": "復原/重做",
|
|
2274
|
+
"ui.hints.changes": "變更與歷史",
|
|
2275
|
+
"reuse.field.foreground": "前景色(inherit/default/ansi:N/#RRGGBB)",
|
|
2276
|
+
"reuse.field.background": "背景色(inherit/default/ansi:N/#RRGGBB)",
|
|
2277
|
+
"reuse.field.foreground_gradient": "前景漸變",
|
|
2278
|
+
"reuse.field.background_gradient": "Powerline 背景漸變",
|
|
2279
|
+
"reuse.field.label": "標籤(繼承=預設)",
|
|
2280
|
+
"reuse.field.icon": "圖標(繼承=預設)",
|
|
2281
|
+
"reuse.field.formatting.model_name": "模型名稱",
|
|
2282
|
+
"reuse.field.formatting.number_format": "數字格式",
|
|
2283
|
+
"reuse.field.formatting.labels": "標籤",
|
|
2284
|
+
"reuse.field.formatting.icons": "圖標",
|
|
2285
|
+
"reuse.field.formatting.allowance": "額度",
|
|
2286
|
+
"reuse.field.formatting.reset_format": "重設格式",
|
|
2287
|
+
"reuse.field.formatting.reset_timezone": "重設時區",
|
|
2288
|
+
"history.input_help": "Enter 讀取 · Esc 取消",
|
|
2289
|
+
"reuse.dependency": "群組外相依項目",
|
|
2290
|
+
"reuse.reference_policy": "組外引用處理",
|
|
2291
|
+
"indicators.presentation.adaptive": "自適應進度條",
|
|
2292
|
+
"fields.global.powerline.row_background_gradient.label": "行內連續背景",
|
|
2293
|
+
"appearance.schema": "自適應指標與行內連續背景需要顯示 schema 17 或更新版本。",
|
|
2294
|
+
"explain.style.adaptive_label_shortened": "為配合寬度縮短了內置標籤。",
|
|
2295
|
+
"explain.style.adaptive_bar_shortened": "進度條已縮短,百分比與方向保持完整。",
|
|
2296
|
+
"explain.style.adaptive_numeric": "進度條已改用數字表示。",
|
|
2297
|
+
"explain.style.row_background_gradient": "連續背景來自最終顯示列。",
|
|
2298
|
+
"explain.style.row_gradient_overridden": "明確指定的背景覆蓋行內漸變。",
|
|
2299
|
+
"presets.powerline-daily": "Powerline 日常工作",
|
|
2300
|
+
"quick.purpose.powerline-daily": "Powerline 日常工作",
|
|
2301
|
+
"quick.requirements.powerline-daily": "使用 Claude 輸入、本機 Git 與任務計時。自適應上下文和連續背景按最終配置顯示。",
|
|
2302
|
+
"presets.agent-workbench": "多代理工作台",
|
|
2303
|
+
"quick.purpose.agent-workbench": "多代理工作台",
|
|
2304
|
+
"quick.requirements.agent-workbench": "使用現有任務與即時觀測;缺少資料維持缺少,子代理收集維持目前設定。",
|
|
2305
|
+
"presets.quota-cost": "配額與費用",
|
|
2306
|
+
"quick.purpose.quota-cost": "配額與費用",
|
|
2307
|
+
"quick.requirements.quota-cost": "使用已觀測配額時段、費用與時間;空間足夠時對齊配額與重設。不會啟用供應商。",
|
|
2308
|
+
"presets.narrow-terminal": "窄終端",
|
|
2309
|
+
"quick.purpose.narrow-terminal": "窄終端",
|
|
2310
|
+
"quick.requirements.narrow-terminal": "使用現有模型、目錄、上下文與任務觀測。保留正常換行及完整自訂標籤和圖示。",
|
|
2311
|
+
"presets.light-readable": "淺色清晰閱讀",
|
|
2312
|
+
"quick.purpose.light-readable": "淺色清晰閱讀",
|
|
2313
|
+
"quick.requirements.light-readable": "使用日常工作觀測、淺色主題與受保護的警告色。範例預覽不能證明實際終端外觀。"
|
|
2220
2314
|
} as const;
|
package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/zh-TW.ts
CHANGED
|
@@ -2216,5 +2216,99 @@ export const MESSAGES = {
|
|
|
2216
2216
|
"package.ui.result_na": "不適用",
|
|
2217
2217
|
"sources.scope_all": "任意/共用",
|
|
2218
2218
|
"package.ui.control": "保留管理入口:{executable} · {entry}",
|
|
2219
|
-
"package.ui.control_help": "保留此入口;降級後使用 Node 開啟,並傳入 configure --config-dir {directory},即可重新查看。"
|
|
2219
|
+
"package.ui.control_help": "保留此入口;降級後使用 Node 開啟,並傳入 configure --config-dir {directory},即可重新查看。",
|
|
2220
|
+
"history.title": "變更與歷史",
|
|
2221
|
+
"history.edit": "編輯草稿",
|
|
2222
|
+
"history.replace": "替換草稿",
|
|
2223
|
+
"history.structure": "檢閱結構調整",
|
|
2224
|
+
"history.stale": "此檢閱已過期,請關閉後重新檢閱目前草稿。",
|
|
2225
|
+
"history.retry_ready": "已採用檢閱過的修訂,請儲存以重試。",
|
|
2226
|
+
"history.retry_blocked": "請先比較目前設定;目標和安裝歸屬必須一致,且儲存結果必須明確。",
|
|
2227
|
+
"history.export_path": "將草稿匯出至新檔案:",
|
|
2228
|
+
"history.confirm_discard": "捨棄整個草稿和歷史,並重新讀取最新設定?Enter 確認,Esc 取消。",
|
|
2229
|
+
"history.repairs": "受影響的對齊:{ids}",
|
|
2230
|
+
"history.counts": "可復原:{undo} · 可重做:{redo}",
|
|
2231
|
+
"history.comparison.0": "基準 → 草稿",
|
|
2232
|
+
"history.comparison.1": "基準 → 目前檔案",
|
|
2233
|
+
"history.comparison.2": "目前檔案 → 草稿",
|
|
2234
|
+
"history.structure_help": "A 接受 · Enter 詳情 · Q 取消",
|
|
2235
|
+
"history.help": "U 復原 · R 重做 · C 比較 · Tab 切換 · E 匯出 · L 捨棄重載 · K 保留草稿重試 · Q 返回",
|
|
2236
|
+
"history.trimmed": "已達到工作階段歷史上限,最早記錄已移除。",
|
|
2237
|
+
"history.exported": "草稿已匯出,目前設定未改寫。",
|
|
2238
|
+
"history.failed": "無法完成操作:{detail}",
|
|
2239
|
+
"history.undo_redo": "復原/重做",
|
|
2240
|
+
"reuse.style": "複製/貼上視覺樣式",
|
|
2241
|
+
"reuse.groups": "重用完整群組",
|
|
2242
|
+
"reuse.action": "重用設定",
|
|
2243
|
+
"reuse.invalid": "重用選擇或參照無效。",
|
|
2244
|
+
"reuse.incompatible": "所選欄位、來源或版面配置與目標不相容。",
|
|
2245
|
+
"reuse.references": "群組外參照需要明確選擇擴選或排除。",
|
|
2246
|
+
"reuse.explicit": "需要明確列版面配置,請明確選擇版面轉換。",
|
|
2247
|
+
"reuse.current": "目前草稿",
|
|
2248
|
+
"reuse.portable": "可攜設定檔",
|
|
2249
|
+
"reuse.profile_file": "匯出的方案檔",
|
|
2250
|
+
"reuse.profiles": "已儲存的方案",
|
|
2251
|
+
"reuse.accepted": "已套用至草稿,請另行儲存。",
|
|
2252
|
+
"reuse.unbound": "尚未繫結本機來源",
|
|
2253
|
+
"reuse.bind_help": "B 繫結本機來源 · Q 返回",
|
|
2254
|
+
"reuse.scope": "來源範圍",
|
|
2255
|
+
"reuse.review": "檢閱所選變更",
|
|
2256
|
+
"reuse.unsupported": "此目標不支援",
|
|
2257
|
+
"reuse.path": "來源檔案路徑:",
|
|
2258
|
+
"reuse.path_help": "Enter 讀取 · Esc 取消",
|
|
2259
|
+
"reuse.draft_only": "僅為候選草稿,設定和授權均未改寫。",
|
|
2260
|
+
"reuse.layout": "允許轉換為明確版面配置",
|
|
2261
|
+
"reuse.expand": "擴選相依項目",
|
|
2262
|
+
"reuse.exclude": "排除群組外對齊",
|
|
2263
|
+
"reuse.help": "選擇來源後,先檢閱再套用。",
|
|
2264
|
+
"reuse.cancel_help": "Enter 選擇 · Space 勾選 · Esc 取消",
|
|
2265
|
+
"reuse.review_groups_help": "A 接受 · X 參照處理 · L 版面轉換 · Backspace 編輯 · Q 取消 · Tab ID/差異",
|
|
2266
|
+
"reuse.review_style_help": "A 接受 · Enter 詳情 · Backspace 欄位選擇 · Q 取消",
|
|
2267
|
+
"settings.change-history": "變更與歷史",
|
|
2268
|
+
"settings.reuse-style": "複製/貼上視覺樣式",
|
|
2269
|
+
"settings.reuse-groups": "重用完整群組",
|
|
2270
|
+
"ui.actions.change-history": "變更與歷史",
|
|
2271
|
+
"ui.actions.reuse-style": "複製/貼上視覺樣式",
|
|
2272
|
+
"ui.actions.reuse-groups": "重用完整群組",
|
|
2273
|
+
"ui.hints.undo_redo": "復原/重做",
|
|
2274
|
+
"ui.hints.changes": "變更與歷史",
|
|
2275
|
+
"reuse.field.foreground": "前景色(inherit/default/ansi:N/#RRGGBB)",
|
|
2276
|
+
"reuse.field.background": "背景色(inherit/default/ansi:N/#RRGGBB)",
|
|
2277
|
+
"reuse.field.foreground_gradient": "前景漸層",
|
|
2278
|
+
"reuse.field.background_gradient": "Powerline 背景漸層",
|
|
2279
|
+
"reuse.field.label": "標籤(繼承=預設)",
|
|
2280
|
+
"reuse.field.icon": "圖標(繼承=預設)",
|
|
2281
|
+
"reuse.field.formatting.model_name": "模型名稱",
|
|
2282
|
+
"reuse.field.formatting.number_format": "數字格式",
|
|
2283
|
+
"reuse.field.formatting.labels": "標籤",
|
|
2284
|
+
"reuse.field.formatting.icons": "圖標",
|
|
2285
|
+
"reuse.field.formatting.allowance": "額度",
|
|
2286
|
+
"reuse.field.formatting.reset_format": "重設格式",
|
|
2287
|
+
"reuse.field.formatting.reset_timezone": "重設時區",
|
|
2288
|
+
"history.input_help": "Enter 讀取 · Esc 取消",
|
|
2289
|
+
"reuse.dependency": "群組外相依項目",
|
|
2290
|
+
"reuse.reference_policy": "組外引用處理",
|
|
2291
|
+
"indicators.presentation.adaptive": "自適應進度條",
|
|
2292
|
+
"fields.global.powerline.row_background_gradient.label": "行內連續背景",
|
|
2293
|
+
"appearance.schema": "自適應指標與行內連續背景需要顯示 schema 17 或更新版本。",
|
|
2294
|
+
"explain.style.adaptive_label_shortened": "為配合寬度縮短了內建標籤。",
|
|
2295
|
+
"explain.style.adaptive_bar_shortened": "進度條已縮短,百分比與方向保持完整。",
|
|
2296
|
+
"explain.style.adaptive_numeric": "進度條已改用數字表示。",
|
|
2297
|
+
"explain.style.row_background_gradient": "連續背景來自最終顯示列。",
|
|
2298
|
+
"explain.style.row_gradient_overridden": "明確指定的背景覆蓋行內漸層。",
|
|
2299
|
+
"presets.powerline-daily": "Powerline 日常工作",
|
|
2300
|
+
"quick.purpose.powerline-daily": "Powerline 日常工作",
|
|
2301
|
+
"quick.requirements.powerline-daily": "使用 Claude 輸入、本機 Git 與任務計時。自適應上下文和連續背景依最終配置顯示。",
|
|
2302
|
+
"presets.agent-workbench": "多代理工作臺",
|
|
2303
|
+
"quick.purpose.agent-workbench": "多代理工作臺",
|
|
2304
|
+
"quick.requirements.agent-workbench": "使用現有任務與即時觀測;缺少資料維持缺少,子代理收集維持目前設定。",
|
|
2305
|
+
"presets.quota-cost": "配額與費用",
|
|
2306
|
+
"quick.purpose.quota-cost": "配額與費用",
|
|
2307
|
+
"quick.requirements.quota-cost": "使用已觀測配額視窗、費用與時間;空間足夠時對齊配額與重設。不會啟用供應商。",
|
|
2308
|
+
"presets.narrow-terminal": "窄終端",
|
|
2309
|
+
"quick.purpose.narrow-terminal": "窄終端",
|
|
2310
|
+
"quick.requirements.narrow-terminal": "使用現有模型、目錄、上下文與任務觀測。保留正常換列及完整自訂標籤和圖示。",
|
|
2311
|
+
"presets.light-readable": "淺色清晰閱讀",
|
|
2312
|
+
"quick.purpose.light-readable": "淺色清晰閱讀",
|
|
2313
|
+
"quick.requirements.light-readable": "使用日常工作觀測、淺色佈景與受保護的警告色。範例預覽不能證明實際終端外觀。"
|
|
2220
2314
|
} as const;
|
package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/presentation.ts
CHANGED
|
@@ -55,7 +55,7 @@ export function settingPresentation(view: View, rows: SettingRow[]): SettingRow[
|
|
|
55
55
|
else if (row.key === 'ui-language') {
|
|
56
56
|
// All autonyms remain recognizable in either interface language.
|
|
57
57
|
} else if (row.key === 'item:cost_rate_basis') value = t('cost_rate.basis.' + value, language);
|
|
58
|
-
else if (row.key === 'item:foreground_gradient' || row.key === 'item:background_gradient')
|
|
58
|
+
else if (row.key === 'item:foreground_gradient' || row.key === 'item:background_gradient' || row.key === 'field:powerline.row_background_gradient')
|
|
59
59
|
value = value === 'off' ? t('values.off', language) : t('gradients.preset.' + value, language, {}, value);
|
|
60
60
|
else if (row.key === 'item:presentation') value = t('indicators.presentation.' + value, language);
|
|
61
61
|
else if (row.key === 'field:statusline_language') {
|
package/node_modules/@fbincon/statusline-cli/resources/statusline-native/resource-manifest.json
CHANGED
|
@@ -1,34 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": 1,
|
|
3
|
-
"backend_version": "3.
|
|
4
|
-
"mod_version": "3.
|
|
5
|
-
"protocol_version":
|
|
3
|
+
"backend_version": "3.14.0",
|
|
4
|
+
"mod_version": "3.14.0",
|
|
5
|
+
"protocol_version": 30,
|
|
6
6
|
"files": {
|
|
7
|
-
".claude-plugin/plugin.json": "
|
|
7
|
+
".claude-plugin/plugin.json": "66869ac691e62a84c4c3da7e2a9e62974a0204e7f1a0bee404b4587beea6cbc6",
|
|
8
8
|
"hooks/hooks.json": "8395d73f4e9d61a02c0976385465d87a05abb2825408f8b40ae916b144c05575",
|
|
9
|
-
"hooks/register.ts": "
|
|
10
|
-
"lib/backend.ts": "
|
|
9
|
+
"hooks/register.ts": "967a573bb6b1136d50049268d8d2a0f56839bde4bfdaad8eeac8fc58542c7126",
|
|
10
|
+
"lib/backend.ts": "acd7886ee95d79e38a55e18c874936c3e3ccd0e7241d0aafa73dea0d965f95fb",
|
|
11
11
|
"lib/client/forms.ts": "0169bc1a009cdeb021ac21e7b33d332e7a3d9603c0ad9f5751b4936708396ea7",
|
|
12
|
-
"lib/client/keys.ts": "
|
|
12
|
+
"lib/client/keys.ts": "75096c1788ca8170501d48fe776f45cd9b8f74fb4eb0b86713fdb65c9fdd4068",
|
|
13
13
|
"lib/client/messages.ts": "2bd3f05645ef2bed015c31f48fe0773a9949f6c27e9912ece8caa5ac51db1240",
|
|
14
|
-
"lib/client/settings.ts": "
|
|
15
|
-
"lib/editor/alignment-manager.ts": "
|
|
14
|
+
"lib/client/settings.ts": "d8ff3d91c06bba3f210922606ec436fd21ebcce5a09c28d03a2ceea84f5fedbe",
|
|
15
|
+
"lib/editor/alignment-manager.ts": "a4f6736f4b7abcc3954f704fff7852fd89e6c4764e9a15f5885b786538e95a9c",
|
|
16
16
|
"lib/editor/alignments.ts": "75d704b1a7108ac254242b493977897e076429cedd26969ef2ab82027ecfbb5a",
|
|
17
17
|
"lib/editor/appearance.ts": "797b990480c74cfd0f539214c15fcfba3cbbe8b8c3463eb3208e919a72b8fd2f",
|
|
18
|
-
"lib/editor/
|
|
18
|
+
"lib/editor/change-review.ts": "2ff1b37223400ee2af0f38bc550f8dbae120d9c46acaf6a9a4dfff78473cc36e",
|
|
19
|
+
"lib/editor/color-manager.ts": "17a203404fe01cc1aa7ff546bb1c9deb0cf327068f5222d46afbb75eacfdeec0",
|
|
19
20
|
"lib/editor/cost-rate.ts": "db2454d17f53b5d365c4fff83d5285d00ffd60a84ec3504ebdfe69b06bacdcf1",
|
|
20
21
|
"lib/editor/diagnosis-view.ts": "90cbd706ae4562843c4ec78d371a19683d8f4f807295c103cf61601b42ca71a8",
|
|
21
|
-
"lib/editor/draft.ts": "
|
|
22
|
+
"lib/editor/draft.ts": "5b891ac4c1e2289911c483ee7c40b5f163d6964aed1e48d9e35f1665bcc6b970",
|
|
22
23
|
"lib/editor/explanation.ts": "cb6bcf1dd3b4b4bc2056a7efb01c6964930dc55768bee78802aab91607fdee6c",
|
|
23
|
-
"lib/editor/forms.ts": "
|
|
24
|
+
"lib/editor/forms.ts": "0dd0e115faec0386baf4e386684afdee34c08b26bb3ca6b1dcfe4a00041713ef",
|
|
24
25
|
"lib/editor/gradients.ts": "5b77621ede7983e06181fd922dd1babcfe35a7ef03727a28daddeb04af523dc6",
|
|
25
|
-
"lib/editor/group-manager.ts": "
|
|
26
|
-
"lib/editor/groups.ts": "
|
|
26
|
+
"lib/editor/group-manager.ts": "97c741e36599b272a8488876778b1388836e70230eb7aee9673c3cd75167ccc6",
|
|
27
|
+
"lib/editor/groups.ts": "69e64e9712685970b0b8197e487894398350e9af98b8dd38ac8c09bb24f25e2b",
|
|
27
28
|
"lib/editor/guidance.ts": "0ac8d87d7162327f76db39c02fd97fa7dd80ceffa29abd08da20d6eb8b1d7574",
|
|
29
|
+
"lib/editor/history.ts": "83e1457a75c3bfaeb879414b54cc08cd3536fca3bc5535684916769ccdedbead",
|
|
28
30
|
"lib/editor/import-differences.ts": "42381bff34430071b6e3d7d5b23335411934c093bac798473561b4bcbadc6294",
|
|
29
31
|
"lib/editor/import-review.ts": "08c1e4a6bf93075c56016d5fa3cec84c3e26a8977c758d17025f113c45528143",
|
|
30
|
-
"lib/editor/import-selection.ts": "
|
|
31
|
-
"lib/editor/indicators.ts": "
|
|
32
|
+
"lib/editor/import-selection.ts": "6ca72dd868a2f509aa7eb0e610363b0cdc3c53b1cac90b9634c7cb6858c258e6",
|
|
33
|
+
"lib/editor/indicators.ts": "2ce544fc994d92aa1bef75a50daab073d76fb43bc48fe1859efd2fd21fa362f7",
|
|
32
34
|
"lib/editor/instances.ts": "03a64e4c015de655bab1f1fde5a33b149b0705e1b663bd6179b89756af88c676",
|
|
33
35
|
"lib/editor/navigation.ts": "f66f382918f7071f8a1373955b8818fcd010d712e6bd84fe7ce461a123f4bb41",
|
|
34
36
|
"lib/editor/numeric.ts": "65645e2d9e95223662275f499541cc67c5c3d4efa177e50a4fbe9b00b51043ea",
|
|
@@ -36,35 +38,39 @@
|
|
|
36
38
|
"lib/editor/package-validation.ts": "b85f315f245ea6cd34501f9c821da5932377e53c69f2708473d5b7a5c44705b6",
|
|
37
39
|
"lib/editor/preview-settings.ts": "b2d02e1cf546cd1784d78e896227a10e51d677a08fa762cb97b5c728ca1e126c",
|
|
38
40
|
"lib/editor/profile-manager.ts": "bbc6dc0956a1171f386e2f5e333cc95742b5608f7ba70a15c201925f92ed5d1f",
|
|
39
|
-
"lib/editor/quick-setup.ts": "
|
|
41
|
+
"lib/editor/quick-setup.ts": "0045ffacd817f406e5c1e25af783642f47999af4534419f18af8c1f7ad17274a",
|
|
42
|
+
"lib/editor/reuse-manager.ts": "627b8ebe57922514b7d5689cc991a92e5ebf4f5e0750c399711d61ff390a20da",
|
|
43
|
+
"lib/editor/reuse.ts": "3a81155521f4d44828d485a2d612d5bff99ec1319373bc42f5c1ab9ac982e9ef",
|
|
40
44
|
"lib/editor/search.ts": "07e9ae365f89259bcd93957d39aaeb3cbfe09572a5f2a6f82eef2c2876021f21",
|
|
41
45
|
"lib/editor/setup.ts": "6238097f62fca78d15b5c9972a3b6ba34fe50dc327bf983b1766be91264d2084",
|
|
42
|
-
"lib/editor/source-
|
|
46
|
+
"lib/editor/source-compatibility.ts": "908f7df7849cf86ee0989331f23821f3a54762b8888f253e2a9dc2cc16c6540d",
|
|
47
|
+
"lib/editor/source-manager.ts": "2e063dd68ebdde92c90970769ae91adf2eee117d052fd6a3d53ddcde20c9957d",
|
|
43
48
|
"lib/editor/source-summary.ts": "52437296448f5c2f98d66d4066eb9d427360a4f9601834ff0cc2713606332818",
|
|
44
49
|
"lib/editor/source-validation.ts": "deab59dbee8d6078b133108db7d54d1f03038467b23677062aa66e92d118b772",
|
|
50
|
+
"lib/editor/structure.ts": "be8934eb07537ede812c4bb2b298fd6708016c0d1db07ca9c2099cc9b9feb92a",
|
|
45
51
|
"lib/editor/task-detail.ts": "7277f84ec6fc91c24156a010af0ed1324b4f28076150cc02e90c652a8eeed93a",
|
|
46
52
|
"lib/editor/task-viewer.ts": "1a89388bfa85f325bdac1202d7274b54e11399aeedca2345aaf897ede108d728",
|
|
47
53
|
"lib/editor/text-input.ts": "c1968edf898e9abd96da9f5326d530c581ef320721197bfb63497825198f81f0",
|
|
48
54
|
"lib/editor/themes.ts": "e94e08dbb7cd06b8c7e12e6522ce99d8e98cf57e9abbe5055f3e8e4f289ce271",
|
|
49
|
-
"lib/generated-contracts.ts": "
|
|
55
|
+
"lib/generated-contracts.ts": "454b811b11364cd048efb7329e99f4d96f14ee8f17d904465ed479a454fa5378",
|
|
50
56
|
"lib/generated-unicode.ts": "781c7db664dc6166bc2fcf878565937cd8b25b57d192ae420b3016e1ce510907",
|
|
51
57
|
"lib/i18n/generated-locales.ts": "21b53fb47ca99d133d42eee160eb57078a6a1acd7066e2f2a39196161f32d3f0",
|
|
52
58
|
"lib/i18n/index.ts": "e5e62b59bdd1c984c182cbf706e5d98b398b4d5e9efb233803eacde38f7e5a9a",
|
|
53
|
-
"lib/i18n/locales/en.ts": "
|
|
54
|
-
"lib/i18n/locales/ja.ts": "
|
|
55
|
-
"lib/i18n/locales/ko.ts": "
|
|
56
|
-
"lib/i18n/locales/zh-CN.ts": "
|
|
57
|
-
"lib/i18n/locales/zh-HK.ts": "
|
|
58
|
-
"lib/i18n/locales/zh-TW.ts": "
|
|
59
|
+
"lib/i18n/locales/en.ts": "32acf7accffa3f7847ef0bd71dd218c5951d021336fd7ab308bb989c472d728f",
|
|
60
|
+
"lib/i18n/locales/ja.ts": "bfb06891c99ad05de40128a84f4ead5d483ee4187ccd106b82d52d6fd5090618",
|
|
61
|
+
"lib/i18n/locales/ko.ts": "da93b89b5b7ec76a13be1924703ccf3172f7ed78b9b65b176c3f1e465ef07939",
|
|
62
|
+
"lib/i18n/locales/zh-CN.ts": "e33ee8139aa660e2705970df523189f7142bbb7063a5b0743021664a4ddfe6e4",
|
|
63
|
+
"lib/i18n/locales/zh-HK.ts": "38ed319fb2a8ab62afb6af22c80c196d1cb6f2b269d14a251e66cd4d3e25671e",
|
|
64
|
+
"lib/i18n/locales/zh-TW.ts": "2f35361cf148ceffae7f9b44ba59d6f47c8045af732893d81f9a848622d05017",
|
|
59
65
|
"lib/i18n/messages.ts": "31775673f7b18efec0f131012e220c523625c77e1e34fc09ecc7732070ede5d1",
|
|
60
|
-
"lib/i18n/presentation.ts": "
|
|
66
|
+
"lib/i18n/presentation.ts": "fbf7a5ce405fa11680c021f9ac72371e886f355aadf5e9a7c01959e37d80155f",
|
|
61
67
|
"lib/launch.ts": "08303623ef74cb1ce297b6d4ca32d872908dea513ab394ebc1210b8f92c12328",
|
|
62
68
|
"lib/preferences.ts": "472cccb55fe3b1ab99ba58416654c3982f4ff83479df19960ab8f1dcd551d410",
|
|
63
69
|
"lib/preview-preferences.ts": "54fee4a98d18717064ce083a76e6fee5f6ddaead98455cfd24391641cb6aff6d",
|
|
64
70
|
"lib/session.ts": "5e773637be922ce97c48db9cc2e48e86bc8a55eccad2cf3e8b2e7800ae1962b6",
|
|
65
71
|
"lib/unicode.ts": "f19f01c0255a3e82a227b04dec1c95457cbd6c0834387dcd857037828b1245f6",
|
|
66
|
-
"ui/client/draw.ts": "
|
|
67
|
-
"ui/client/help.ts": "
|
|
72
|
+
"ui/client/draw.ts": "7448f06a066527619e509442d69b4e83356af7c5b42c7817ac85a5c2f4baad55",
|
|
73
|
+
"ui/client/help.ts": "d6488d2095f3e945b2cb5579ca43aa08e04c51ef8769b9b05de85ffbb37b01fb",
|
|
68
74
|
"ui/client/surface.ts": "17aeb5eeb201c2e92a2742ac7d7d07ecc3bc555f5c1f7d8c8799500a1212a7f0",
|
|
69
75
|
"ui/components/catalog.ts": "aceb7bf838514497aa8d5bcb2ca48b1fa7a2a969eb842ea8000cb1f84600a29d",
|
|
70
76
|
"ui/components/preview.ts": "f7aab61c18b2f5ca77bdae302a803da602e79ed7c1f00f27297dec9d5bfbfaab",
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { changesView } from '../../lib/editor/change-review.ts';
|
|
2
|
+
import { reuseView } from '../../lib/editor/reuse-manager.ts';
|
|
1
3
|
import { packageView } from '../../lib/editor/package-manager.ts';
|
|
2
4
|
import { diagnosisLines } from '../../lib/editor/diagnosis-view.ts';
|
|
3
5
|
import { previewWidth } from '../../lib/editor/preview-settings.ts';
|
|
@@ -63,7 +65,8 @@ export function draw(ui: ClientElements, view: View, columns: number, rows: numb
|
|
|
63
65
|
: '');
|
|
64
66
|
const content: RenderElement[] = [];
|
|
65
67
|
let title = '';
|
|
66
|
-
if(e.
|
|
68
|
+
if(e.changeReview||e.reuse){title=tr(e.changeReview?'history.title':'reuse.'+e.reuse!.kind);content.push(...(e.changeReview?changesView(e,view.language??'en',inner,layout.bodyRows):reuseView(e,view.language??'en',inner,layout.bodyRows)).map(row=>line(row.text,rowStyle(row.selected===true))));
|
|
69
|
+
} else if(e.packages){title=tr('package.ui.title');content.push(...packageView({...e.packages,input:e.packages.input?{...e.packages.input}:null},view.language??'en',inner,layout.bodyRows).map(row=>line(row.text,rowStyle(row.selected===true))));
|
|
67
70
|
} else if(e.diagnosis){title=tr('diagnosis.title');const lines=diagnosisLines(e,view.language??'en',inner),capacity=Math.max(1,layout.bodyRows-1),start=Math.min(e.diagnosis.scroll,Math.max(0,lines.length-capacity));content.push(...lines.slice(start,start+capacity).map(text=>line(text)));content.push(line(`${start+1}–${Math.min(lines.length,start+capacity)}/${lines.length}`,styles.muted));
|
|
68
71
|
} else if(e.colors){title=tr('colors.title');content.push(...colorsView(e,view.language ?? 'en',inner,layout.bodyRows).map(row=>previewLine(ui,row.spans,inner,view.previewBackground ?? 'dark')));
|
|
69
72
|
} else if(e.alignmentManager) {
|
|
@@ -11,6 +11,7 @@ const focus: Shortcut = { key: 'Esc', label: 'focus' };
|
|
|
11
11
|
export function editorShortcuts(view: View): Shortcut[][] {
|
|
12
12
|
const e = view.editor;
|
|
13
13
|
if (!e) return [[focus]];
|
|
14
|
+
if(e.changeReview||e.reuse)return [[{key:'Ctrl+G',label:'back'},focus],[{key:'↑↓ PgUp/PgDn',label:'scroll'}]];
|
|
14
15
|
if(e.packages)return [[{key:'Enter',label:'select'},{key:'R',label:'reload'},{key:'C',label:'cancel'},{key:'Q',label:'close'},focus],[{key:'↑↓',label:'select'},{key:'PgUp/PgDn',label:'page'},{key:'L',label:'reload'}]];
|
|
15
16
|
if (view.busy) return [[focus]];
|
|
16
17
|
if(e.colors)return [[{key:'Ctrl+S',label:'accept draft'},{key:'Ctrl+G',label:'back'},focus],[{key:'↑↓',label:'select'},{key:'Enter',label:'edit'}]];
|
|
@@ -73,7 +74,7 @@ export function editorShortcuts(view: View): Shortcut[][] {
|
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
76
|
if (view.error && e.page !== 'settings') actions.splice(actions.length - 1, 0, { key: 'R', label: 'reload' });
|
|
76
|
-
return [actions, contextual,[{key:'Ctrl+V/W/N',label:'preview'}]];
|
|
77
|
+
return [actions, contextual,[{key:'Ctrl+_/R',label:'undo / redo'},{key:'Ctrl+T',label:'changes'},{key:'Ctrl+V/W/N',label:'preview'}]];
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
/** Share footer and viewport budgets between drawing and keyboard paging. */
|
|
@@ -84,7 +85,7 @@ export function editorLayout(view: View, columns: number, rows: number) {
|
|
|
84
85
|
const limit = Math.max(1, rows - (framed ? 10 : 8));
|
|
85
86
|
let footer = shortcutRows(groups, columns);
|
|
86
87
|
if (footer.length > limit) footer = shortcutRows(groups, columns, true);
|
|
87
|
-
for (const key of ['Ctrl+V/W/N','V', 'R', 'Esc', '↑↓', '←→', '/', '←→ Home/End', 'Ctrl+U']) {
|
|
88
|
+
for (const key of ['Ctrl+_/R','Ctrl+T','Ctrl+V/W/N','V', 'R', 'Esc', '↑↓', '←→', '/', '←→ Home/End', 'Ctrl+U']) {
|
|
88
89
|
if (footer.length <= limit) break;
|
|
89
90
|
groups = groups.map((group) => group.filter((hint) => hint.key !== key));
|
|
90
91
|
footer = shortcutRows(groups, columns, true);
|
package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/resource-manifest.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": 1,
|
|
3
|
-
"backend_version": "3.
|
|
4
|
-
"mod_version": "3.
|
|
3
|
+
"backend_version": "3.14.0",
|
|
4
|
+
"mod_version": "3.14.0",
|
|
5
5
|
"protocol_version": 3,
|
|
6
6
|
"files": {
|
|
7
|
-
".claude-plugin/plugin.json": "
|
|
7
|
+
".claude-plugin/plugin.json": "114c61a18e3a0ebac9ba72a59a4936e644c69116b3921360748a159170af4d4c",
|
|
8
8
|
"hooks/hooks.json": "b57d3d1b4b71a64712aab61b6c53be6b74ab56c8c2b38deec60e343cf055955d",
|
|
9
9
|
"hooks/observe.ts": "fde36b17cf40454c475db2d1b381571c7b1706c3d90937e2d8245b399b8e9dca",
|
|
10
10
|
"lib/checklists.ts": "88dc407841f917527e70ed5f03c55cdabb9224b077e4765da92f2f5d9654a904",
|
|
@@ -13,7 +13,7 @@ export const DEFAULT_POWERLINE = {
|
|
|
13
13
|
padding: 'both', separator: 'arrow', start_cap: false, end_cap: true, color_mode: 'semantic',
|
|
14
14
|
};
|
|
15
15
|
export const DEFAULT_DISPLAY = {
|
|
16
|
-
schema_version:
|
|
16
|
+
schema_version: 17, groups: [], use_colors: true, palette: 'default', directory_style: 'full', separator_style: 'classic',
|
|
17
17
|
scope_labels: 'when-subagents', statusline_language: 'en', theme: 'classic', powerline_glyph: 'ascii', powerline: DEFAULT_POWERLINE,
|
|
18
18
|
subagents: DEFAULT_SUBAGENTS, formatting: DEFAULT_FORMATTING,
|
|
19
19
|
layout: { mode: 'auto', rows: [] }, metrics: { branch_diff_base_ref: null },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DisplayDraft, SubagentDraft, InstanceDraft, ItemOptionsDraft, Scope } from '../contracts/ui.js';
|
|
2
2
|
export { isSchema } from './validation.js';
|
|
3
|
-
export declare const SCHEMA_VERSION =
|
|
3
|
+
export declare const SCHEMA_VERSION = 17;
|
|
4
4
|
export declare const CONFIG_FILENAME = "claude-statusline.json";
|
|
5
5
|
export declare function defaultDisplay(): DisplayDraft;
|
|
6
6
|
export declare function defaultSubagents(): SubagentDraft;
|
|
@@ -11,7 +11,7 @@ import { object, exact, fail, clone, choice, nullableInteger, ConfigError } from
|
|
|
11
11
|
export { isSchema } from './validation.js';
|
|
12
12
|
import * as options from './formatting.js';
|
|
13
13
|
import { reference, SOURCE_TYPES } from '../extensions/model.js';
|
|
14
|
-
export const SCHEMA_VERSION =
|
|
14
|
+
export const SCHEMA_VERSION = 17;
|
|
15
15
|
export const CONFIG_FILENAME = 'claude-statusline.json';
|
|
16
16
|
const v1 = ['schema_version', 'items', 'use_colors', 'palette', 'directory_style', 'separator_style'];
|
|
17
17
|
const v2 = [...v1, 'scope_labels', 'subagents'];
|
|
@@ -160,7 +160,7 @@ function scalars(data, version) {
|
|
|
160
160
|
if (typeof data.use_colors !== 'boolean')
|
|
161
161
|
fail('errors.display.use_colors_must_be_true_or_false');
|
|
162
162
|
return {
|
|
163
|
-
schema_version:
|
|
163
|
+
schema_version: 17, groups: [], use_colors: data.use_colors,
|
|
164
164
|
palette: choice(data.palette, ['default', 'ansi'], 'palette'),
|
|
165
165
|
directory_style: choice(data.directory_style, ['full', 'home', 'project-relative', 'basename'], 'directory_style'),
|
|
166
166
|
separator_style: choice(data.separator_style, ['classic', 'compact', 'powerline'], 'separator_style'),
|
|
@@ -183,10 +183,12 @@ export function validateDisplay(value) {
|
|
|
183
183
|
catch {
|
|
184
184
|
return fail('errors.display.schema_version_must_be_1_2_3', { SCHEMA_VERSION, version: repr(value.schema_version) });
|
|
185
185
|
}
|
|
186
|
-
if (version >
|
|
186
|
+
if (version > 17n)
|
|
187
187
|
fail('errors.display.schema_version_is_newer_than_supported_version', { version, SCHEMA_VERSION });
|
|
188
188
|
if (version < 1n)
|
|
189
189
|
fail('errors.display.schema_version_must_be_1_2_3', { SCHEMA_VERSION, version: repr(value.schema_version) });
|
|
190
|
+
if (version < 17n && (object(value.powerline) && Object.hasOwn(value.powerline, 'row_background_gradient') || [value.instances, object(value.subagents) ? value.subagents.instances : null].some(nodes => Array.isArray(nodes) && nodes.some(node => object(node) && object(node.options) && node.options.presentation === 'adaptive'))))
|
|
191
|
+
fail('appearance.schema');
|
|
190
192
|
if (version < 15n && object(value.layout) && Object.hasOwn(value.layout, 'alignments'))
|
|
191
193
|
fail('alignment.schema');
|
|
192
194
|
if (version < 14n && [value.instances, object(value.subagents) ? value.subagents.instances : null].some(nodes => Array.isArray(nodes) && nodes.some(node => object(node) && object(node.options) && ['foreground_gradient', 'background_gradient'].some(key => Object.hasOwn(node.options, key)))))
|
|
@@ -245,7 +247,7 @@ export function validateDisplay(value) {
|
|
|
245
247
|
layout: options.reorderedLayout(requestedLayout, nodes.map(node => node.id)) });
|
|
246
248
|
}
|
|
247
249
|
function orderedDisplay(value) {
|
|
248
|
-
return { schema_version:
|
|
250
|
+
return { schema_version: 17, groups: value.groups, use_colors: value.use_colors, palette: value.palette,
|
|
249
251
|
directory_style: value.directory_style, separator_style: value.separator_style,
|
|
250
252
|
scope_labels: value.scope_labels, statusline_language: value.statusline_language,
|
|
251
253
|
theme: value.theme, powerline_glyph: value.powerline_glyph, powerline: value.powerline, subagents: value.subagents,
|