@fbincon/claude-code-statusline 3.16.1 → 3.16.3

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.
Files changed (83) hide show
  1. package/README.md +37 -37
  2. package/candidate.json +272 -219
  3. package/node_modules/@fbincon/statusline-cli/dist/src/integration/resources.js +8 -4
  4. package/node_modules/@fbincon/statusline-cli/dist/src/integration/resources.js.map +1 -1
  5. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.d.ts +1 -1
  6. package/node_modules/@fbincon/statusline-cli/resources/statusline-config/SKILL.md +144 -51
  7. package/node_modules/@fbincon/statusline-cli/resources/statusline-configure/SKILL.md +12 -8
  8. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/.claude-plugin/plugin.json +1 -1
  9. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/hooks/register.ts +155 -31
  10. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/keys.ts +22 -15
  11. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/change-review.ts +5 -0
  12. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/color-manager.ts +7 -4
  13. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/diagnosis-view.ts +52 -18
  14. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/draft.ts +20 -1
  15. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/setup.ts +1 -1
  16. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/source-manager.ts +6 -5
  17. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/task-viewer.ts +24 -0
  18. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/de.ts +17 -4
  19. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/en.ts +17 -4
  20. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/es.ts +17 -4
  21. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/fr.ts +17 -4
  22. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/id.ts +17 -4
  23. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/ja.ts +17 -4
  24. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/ko.ts +17 -4
  25. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/pt-BR.ts +17 -4
  26. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/ru.ts +17 -4
  27. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/zh-CN.ts +17 -4
  28. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/zh-HK.ts +17 -4
  29. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/zh-TW.ts +17 -4
  30. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/resource-manifest.json +27 -26
  31. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/draw.ts +20 -6
  32. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/help.ts +11 -3
  33. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/task-controls.ts +47 -0
  34. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/.claude-plugin/plugin.json +1 -1
  35. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/resource-manifest.json +3 -3
  36. package/node_modules/@fbincon/statusline-core/dist/src/editor/change-review.d.ts +1 -0
  37. package/node_modules/@fbincon/statusline-core/dist/src/editor/change-review.js +5 -0
  38. package/node_modules/@fbincon/statusline-core/dist/src/editor/change-review.js.map +1 -1
  39. package/node_modules/@fbincon/statusline-core/dist/src/editor/color-manager.js +7 -4
  40. package/node_modules/@fbincon/statusline-core/dist/src/editor/color-manager.js.map +1 -1
  41. package/node_modules/@fbincon/statusline-core/dist/src/editor/diagnosis-view.d.ts +5 -2
  42. package/node_modules/@fbincon/statusline-core/dist/src/editor/diagnosis-view.js +64 -18
  43. package/node_modules/@fbincon/statusline-core/dist/src/editor/diagnosis-view.js.map +1 -1
  44. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.d.ts +3 -0
  45. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js +17 -1
  46. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js.map +1 -1
  47. package/node_modules/@fbincon/statusline-core/dist/src/editor/setup.js +1 -1
  48. package/node_modules/@fbincon/statusline-core/dist/src/editor/setup.js.map +1 -1
  49. package/node_modules/@fbincon/statusline-core/dist/src/editor/source-manager.js +6 -5
  50. package/node_modules/@fbincon/statusline-core/dist/src/editor/source-manager.js.map +1 -1
  51. package/node_modules/@fbincon/statusline-core/dist/src/editor/task-viewer.d.ts +2 -0
  52. package/node_modules/@fbincon/statusline-core/dist/src/editor/task-viewer.js +29 -0
  53. package/node_modules/@fbincon/statusline-core/dist/src/editor/task-viewer.js.map +1 -1
  54. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.d.ts +1 -1
  55. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js +204 -48
  56. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js.map +1 -1
  57. package/node_modules/@fbincon/statusline-core/dist/src/release.d.ts +1 -1
  58. package/node_modules/@fbincon/statusline-core/dist/src/release.js +1 -1
  59. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/de.json +17 -4
  60. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/en.json +17 -4
  61. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/es.json +17 -4
  62. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/fr.json +17 -4
  63. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/id.json +17 -4
  64. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ja.json +17 -4
  65. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ko.json +17 -4
  66. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/pt-BR.json +17 -4
  67. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ru.json +17 -4
  68. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-CN.json +17 -4
  69. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-HK.json +17 -4
  70. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-TW.json +17 -4
  71. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/input.d.ts +11 -4
  72. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/input.js +138 -60
  73. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/input.js.map +1 -1
  74. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/pages.js +4 -5
  75. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/pages.js.map +1 -1
  76. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/shortcuts.js +14 -4
  77. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/shortcuts.js.map +1 -1
  78. package/node_modules/@fbincon/statusline-tui/dist/src/drawing.js +17 -1
  79. package/node_modules/@fbincon/statusline-tui/dist/src/drawing.js.map +1 -1
  80. package/node_modules/@fbincon/statusline-tui/dist/src/state.d.ts +2 -0
  81. package/node_modules/@fbincon/statusline-tui/dist/src/state.js +45 -26
  82. package/node_modules/@fbincon/statusline-tui/dist/src/state.js.map +1 -1
  83. package/package.json +1 -1
@@ -6,6 +6,7 @@ import { quoteArgument } from '@fbincon/statusline-platform/commands';
6
6
  import { isLinkOrReparse } from '@fbincon/statusline-platform/files';
7
7
  import { BY_SCOPE } from '@fbincon/statusline-core/config/catalog';
8
8
  import { LANGUAGES, LANGUAGE_NAMES } from '@fbincon/statusline-core/i18n/registry';
9
+ import { THEME_IDS } from '@fbincon/statusline-core/editor/themes';
9
10
  import { jsonBytes } from '../config/storage.js';
10
11
  import { safeTarget } from './transaction.js';
11
12
  import { SKILL, EXTERNAL, VERSION } from './model.js';
@@ -15,10 +16,13 @@ export function wizardGroups() {
15
16
  const lines = [];
16
17
  for (const [scope, label] of [['main', 'Main'], ['subagent', 'Subagents']]) {
17
18
  const items = [...BY_SCOPE[scope].values()].filter(item => !['text', 'spacer'].includes(item.id));
18
- for (const group of new Set(items.map(item => item.group)))
19
- lines.push(` - ${label} / ${group}: ` + items.filter(item => item.group === group).map(item => '`' + item.id + '`').join(', '));
19
+ for (const group of new Set(items.map(item => item.group))) {
20
+ const members = items.filter(item => item.group === group);
21
+ for (let offset = 0; offset < members.length; offset += 3)
22
+ lines.push(` - ${label} / ${group} / page ${offset / 3 + 1}: ` + members.slice(offset, offset + 3).map(item => '`' + item.id + '`').join(', '));
23
+ }
20
24
  }
21
- lines.push(' Use default_enabled, format_options and excludes from the live listings; do not infer defaults from this grouping.');
25
+ lines.push(' Use current enabled/position, format_options and excludes from the live listings. Catalog default_enabled is not the current selection.');
22
26
  return lines.join('\n');
23
27
  }
24
28
  export function renderSkill(launch, external = false) {
@@ -33,7 +37,7 @@ export function renderSkill(launch, external = false) {
33
37
  const rules = [`Bash(${bash} config *)`];
34
38
  if (process.platform === 'win32')
35
39
  rules.push(`PowerShell(${powershell} config *)`);
36
- const replacements = { ALLOWED_RULES: rules.map(rule => ' - ' + JSON.stringify(rule)).join('\n'), COMMAND: command, ITEM_GROUPS: wizardGroups(), LANGUAGES: LANGUAGES.map(code => `${code} (${LANGUAGE_NAMES[code]})`).join(', '), LANGUAGE_CHOICES: LANGUAGES.join('|') };
40
+ const replacements = { ALLOWED_RULES: rules.map(rule => ' - ' + JSON.stringify(rule)).join('\n'), COMMAND: command, ITEM_GROUPS: wizardGroups(), LANGUAGES: LANGUAGES.map(code => `${code} (${LANGUAGE_NAMES[code]})`).join(', '), LANGUAGE_CHOICES: LANGUAGES.join('|'), THEME_CHOICES: THEME_IDS.join('|') };
37
41
  // Insert argv literally in one pass: replacement-string $&, $` and $'
38
42
  // syntax, or a placeholder-looking path, must never expand as a template.
39
43
  template = template.replace(token, (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E,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;AACxC,CAAC"}
@@ -4,7 +4,7 @@ import type { Diagnose } from '../diagnostics/service.js';
4
4
  import * as contracts from '@fbincon/statusline-core/contracts/ui';
5
5
  import type { Draft } from '@fbincon/statusline-core/contracts/ui';
6
6
  import { ConfigurationService, type EffectiveConfig } from '../config/service.js';
7
- export declare const BACKEND_VERSION = "3.16.1";
7
+ export declare const BACKEND_VERSION = "3.16.3";
8
8
  export declare const OPERATIONS: readonly ["review_reuse", "package_execute_start", "package_execute_detach", "package_execute_status", "package_cleanup_review", "package_cleanup_apply", "source_inspect", "source_bindings_review", "source_bindings_cleanup", "source_draft", "package_status", "package_review_start", "package_review_status", "package_review_cancel", "sources_read", "sources_apply", "source_review", "source_context", "source_refresh", "source_status", "source_release", "source_cancel", "source_diagnose", "describe", "read", "preview", "apply", "import", "export", "preset", "read_ui_preferences", "set_ui_language", "review_import", "explain", "diagnose", "diagnose_file", "profiles_read", "profiles_apply", "profile_import", "profile_export", "task_details"];
9
9
  export type Preview = (draft: Draft, width: number, trace?: RenderTrace, scenario?: PreviewScenario) => contracts.PreviewResult;
10
10
  export declare function capabilities(version: readonly number[] | null): contracts.Capabilities;
@@ -1,85 +1,178 @@
1
1
  ---
2
2
  name: statusline-config
3
3
  description: Configure the installed claude-statusline display and Claude Code host settings.
4
- argument-hint: "[show|list-items|set-items|enable|disable|order|subagents|set|item|instance|layout|preset|import|export|language|reset]"
4
+ argument-hint: "[show|list-items|set-items|enable|disable|order|subagents|set|apply|item|instance|group|alignment|layout|preset|import|export|language|reset]"
5
5
  disable-model-invocation: true
6
6
  allowed-tools:
7
7
  - AskUserQuestion
8
+ - Read
8
9
  __CLAUDE_STATUSLINE_ALLOWED_RULES__
9
10
  ---
10
11
 
11
12
  # Configure Claude Code Statusline
12
13
 
13
- This is a user-global configuration workflow. Never edit settings or statusline
14
- files directly. Use only `__CLAUDE_STATUSLINE_COMMAND__ config ...`.
14
+ Never edit settings or statusline files directly. Use only `__CLAUDE_STATUSLINE_COMMAND__ config ...`.
15
+ Every Bash or PowerShell call must invoke only that installed configuration command.
16
+ Do not run helper scripts, pipelines, or utilities such as `jq`, `grep`, `wc`,
17
+ `pwd`, Python, or `node -e`, including to process command output.
18
+ If Claude Code saves a large command result to a file, use Read only on that
19
+ command's persisted tool-output file, with offset/limit as needed. Do not read
20
+ unrelated files. If required command data remains unavailable, stop without writing.
21
+ The no-argument guided form edits the user-default display and user-level Claude
22
+ host settings. A project bound to a named display scheme continues to use that
23
+ scheme. Terminal editor targets are `claude-statusline configure --user` for the
24
+ user default, `claude-statusline configure --profile NAME` for a named scheme, and
25
+ `claude-statusline configure --project PATH` for a project target.
26
+ Windows uses `claude-statusline.cmd` for these terminal examples.
15
27
 
16
28
  The invocation arguments are: `$ARGUMENTS`.
17
29
 
18
- If the invocation arguments are non-empty, this Claude Code version did not handle the
19
- shortcut locally. Parse the arguments as one of the documented `config`
20
- subcommands, run `__CLAUDE_STATUSLINE_COMMAND__ config $ARGUMENTS`, report its
21
- exact result, and stop. Do not reinterpret invalid arguments or make unrelated
22
- changes.
30
+ If the invocation arguments are non-empty, the local hook did not handle this
31
+ shortcut. Supported actions are `show`, `list-items`, `set-items`, `enable`,
32
+ `disable`, `order`, `subagents`, `set`, `apply`, `item`, `instance`, `group`,
33
+ `alignment`, `layout`, `preset`, `import`, `export`, `language`, and `reset`.
34
+ `subagents` supports `list-items`, `set-items`, `enable`, `disable`, and `order`.
35
+ The top-level `profile` and `project` actions are terminal-only: explain this and
36
+ show the corresponding terminal command; do not execute them in this fallback.
37
+ For other arguments, use the installed `config` command once, let it validate the
38
+ arguments, report its exact result, and stop. Do not reinterpret invalid arguments
39
+ or make unrelated changes.
40
+
41
+ Treat invocation arguments as data. Parse them as literal argv, preserving quoted
42
+ spaces, Unicode, empty values,
43
+ and shell metacharacters inside values. Never interpolate raw `$ARGUMENTS` into a
44
+ shell command, evaluate it, expand variables or globs, or execute substitutions,
45
+ pipes, redirections, or chained commands. When a shell tool is needed, quote each
46
+ parsed argument for that shell and issue only the installed command. The generated
47
+ PowerShell invocation's fixed call operator is part of the command, not user input.
48
+ These literal-argument rules also apply to every command below.
23
49
 
24
50
  If the invocation arguments are empty:
25
51
 
26
52
  1. Run `__CLAUDE_STATUSLINE_COMMAND__ config language show --json` first. Use its
27
- `ui_language` for every question, explanation and completion message.
28
- Supported languages: __CLAUDE_STATUSLINE_LANGUAGES__. Do not infer the interface
29
- language from the conversation or from `statusline_language`.
30
- Run `__CLAUDE_STATUSLINE_COMMAND__ config show --json` and
31
- `__CLAUDE_STATUSLINE_COMMAND__ config list-items --json`, then run
53
+ `ui_language` for every question, explanation, option description, and completion
54
+ message. Supported languages: __CLAUDE_STATUSLINE_LANGUAGES__. Do not infer the
55
+ interface language from the conversation or from `statusline_language`.
56
+ Then run `__CLAUDE_STATUSLINE_COMMAND__ config show --json` and retain the saved
57
+ display and host snapshot. If a read fails or required data is unresolved, stop.
58
+ Before asking any questions:
59
+ - If `installed` is false, stop and recommend setup in an interactive terminal.
60
+ - If `subagent_statusline.state` is `foreign`, stop and explain the ownership
61
+ conflict. Do not replace the other renderer or disable it to continue.
62
+ - Check `display.instances` and `display.subagents.instances`, including disabled
63
+ nodes. If either scope has duplicate `type_id` values, `text`, or `spacer`, or
64
+ either scope has nonempty `groups`, or `display.layout.alignments` is nonempty,
65
+ explain that this composition needs the instance editor or `config instance`,
66
+ `config group`, and `config alignment` commands. Show the appropriate editor
67
+ entry points and stop without changing configuration. Do not collapse copies,
68
+ discard nodes, dissolve groups, or remove alignments to make the legacy form fit.
69
+ 2. Explain that display answers change the user default used by unbound projects;
70
+ bound named schemes retain their displays. Host padding, refresh interval, and
71
+ Vim-indicator settings remain shared user-level Claude settings.
72
+ Run `__CLAUDE_STATUSLINE_COMMAND__ config list-items --json` and
32
73
  `__CLAUDE_STATUSLINE_COMMAND__ config subagents list-items --json`.
33
74
  Also run `__CLAUDE_STATUSLINE_COMMAND__ config list-items` and
34
- `__CLAUDE_STATUSLINE_COMMAND__ config subagents list-items` for the tool's
35
- localized descriptions. Translate question/group labels into the interface
36
- language, retaining the IDs, choices, defaults and exclusions from JSON.
37
- Check both scopes' `instances` before starting the type-based questions.
38
- If either scope contains duplicate `type_id` values, `text`, or `spacer`,
39
- explain that this composition needs the instance editor or `config instance`
40
- commands, show those entry points, and stop without changing configuration.
41
- Do not collapse copies or discard nodes to make the legacy form fit.
42
- Otherwise use only metric catalog rows (`instance_only: false`) below.
43
- 2. Tell the user that the configuration applies to every Claude Code project.
44
- 3. Use AskUserQuestion with multi-select questions for these groups:
75
+ `__CLAUDE_STATUSLINE_COMMAND__ config subagents list-items` for localized
76
+ descriptions. Retain stable IDs, choices, and exclusions from JSON. Use current
77
+ `enabled` values and saved display/host values as the initial choices; catalog
78
+ `default_enabled` describes factory defaults, not the user's current selection.
79
+ 3. Use AskUserQuestion for the generated metric pages below. Translate page/group
80
+ labels into `ui_language`. Each metric option's `label` must be its exact catalog
81
+ ID, such as `model-with-effort`; put the localized explanation and current state
82
+ in `description`. Do not replace IDs with translated names or change their case.
83
+ Each page is one multi-select question with at most three metric options plus
84
+ exactly one localized **None on this page** option, giving 2–4 options. Mark the
85
+ currently enabled metrics clearly in descriptions; do not imply that the tool
86
+ has preselected answers. None selects no metrics on that page only. None and a
87
+ metric together are unresolved: ask for correction before continuing.
88
+ Ask every page exactly once across both scopes and combine each scope's page
89
+ selections. Do not ask for subagent items again. Use at most four questions in
90
+ each AskUserQuestion call; every question in this workflow must have 2–4 options.
45
91
  __CLAUDE_STATUSLINE_ITEM_GROUPS__
46
- 4. Preserve the relative order of currently enabled selected items. Append
47
- newly enabled items in the catalog order returned by `list-items`.
48
- 5. Ask for:
49
- - statusline language: __CLAUDE_STATUSLINE_LANGUAGES__; preserve each native language name.
50
- Start from `display.statusline_language` in the current configuration.
51
- This changes main and subagent output independently of interface language.
52
- Preview is available in the editors; this guided choice is saved with all
53
- other display answers, not immediately.
54
- - subagent row items from the listing; respect its excludes constraints. If the
55
- user selects status-elapsed together with status or elapsed, keep the combined
56
- item and drop the excluded standalone items.
92
+ 4. Respect catalog `excludes`. If the user selects subagent `status-elapsed` with
93
+ `status` or `elapsed`, retain `status-elapsed`, drop the excluded standalone
94
+ items, and explain that resolution. Preserve the relative order of currently
95
+ enabled selected items. Append newly enabled items in the catalog order returned
96
+ by `list-items`. An all-None scope produces an empty item list, not an unresolved
97
+ answer or an omitted scope.
98
+ 5. Ask for the statusline output language separately from interface language.
99
+ Start from saved `display.statusline_language`. Split the supported language list
100
+ above, in its listed order, into pages of at most three languages. First ask
101
+ which page to open (the twelve languages give four page options); then ask one
102
+ single-select question containing that page's native language names and stable
103
+ codes plus a localized **Keep current language** option. Keep current resolves
104
+ to the saved code, even if it is outside the chosen page. Preserve native names.
105
+ This changes main and subagent output independently of interface language and is
106
+ saved with the other display answers, not immediately. Editors provide previews.
107
+ 6. Ask for the remaining settings, showing each current saved value. Use one
108
+ single-select question per setting, with 2–4 options, and at most four questions
109
+ per tool call. Accept a valid custom value through the tool's free-text answer;
110
+ do not add a fifth option for custom values. If the current numeric value is
111
+ outside the suggested presets, replace one preset with the current value.
57
112
  - custom subagent rows: on or off
58
113
  - scope labels: off, when-subagents, or always
59
114
  - colors: on or off
60
- - palette: default or ansi (retain the current value if colors are off)
115
+ - palette: default or ansi. Resolve the colors answer before constructing this
116
+ question; never put colors and palette in the same tool call. If the selected
117
+ colors answer is off, do not ask about palette and retain its saved value.
61
118
  - directory style: full, home, project-relative, or basename
62
119
  - separator style: classic, compact, or powerline (uses the saved glyph; ASCII by default)
63
- - padding: 0, 1, 2, or 4 (accept a custom integer from 0 through 32)
64
- - refresh interval: 1, 2, 5, or event (accept a custom integer from 1 through 3600)
120
+ - padding: 0, 1, 2, or 4; accept a custom integer from 0 through 32
121
+ - refresh interval: 1, 2, 5, or event; accept a custom integer from 1 through 3600
65
122
  - Vim indicator: show or hide
66
- 6. Do not write anything if the user cancels or any answer is unresolved.
67
- 7. Apply every answer in one command with this exact argument structure:
123
+ 7. Do not write anything if the user cancels or any answer is unresolved. An absent
124
+ answer is not None or permission to keep a guessed default.
125
+ Immediately before applying, rerun `__CLAUDE_STATUSLINE_COMMAND__ config show --json`.
126
+ If display, host, `installed`, or `subagent_statusline.state` changed from the
127
+ initial snapshot, stop and ask the user to restart the guided form. Do not
128
+ restart automatically or overwrite with old answers. This read-only recheck is
129
+ best effort; `config apply` has no revision argument, so it is not an atomic
130
+ compare-and-swap. Apply every resolved answer in one command with this exact
131
+ argument structure:
68
132
 
69
133
  `__CLAUDE_STATUSLINE_COMMAND__ config apply --items ITEM... --subagent-items ITEM... --subagent-statusline on|off --scope-labels off|when-subagents|always --statusline-language __CLAUDE_STATUSLINE_LANGUAGE_CHOICES__ --colors on|off --palette default|ansi --directory-style full|home|project-relative|basename --separator-style classic|compact|powerline --padding N --refresh-interval event|N --hide-vim-mode-indicator on|off`
70
134
 
71
- Map "hide" to `--hide-vim-mode-indicator on` and "show" to
72
- `--hide-vim-mode-indicator off`.
73
-
74
- After it succeeds, run `__CLAUDE_STATUSLINE_COMMAND__ config show --json`
75
- once to verify the saved result. Report the applied values and mention that
76
- arbitrary reordering is available through
77
- `/statusline-config order ITEM...` and
135
+ Replace alternatives with the selected values; never pass the `|` separators.
136
+ Empty item lists keep their flags with no item arguments. Map "hide" to
137
+ `--hide-vim-mode-indicator on` and "show" to `--hide-vim-mode-indicator off`.
138
+ If apply fails, report the exact error and stop. Do not retry with reduced
139
+ selections, removed structures, or separate writes.
140
+ After it succeeds, run `__CLAUDE_STATUSLINE_COMMAND__ config show --json` once to
141
+ verify the saved values against the answers. Report the applied values and any
142
+ verification failure honestly; never retry a write because verification failed.
143
+ Mention arbitrary reordering through `/statusline-config order ITEM...` and
78
144
  `/statusline-config subagents order ITEM...`.
79
145
 
80
- The guided form preserves the saved theme, Powerline glyph, item colors and visibility rules. For appearance changes, the user can open either editor or invoke `/statusline-config set theme classic|dark|light|terminal`, `/statusline-config set powerline-glyph ascii|powerline`, or `/statusline-config item main|subagent ID OPTION VALUE`. Item appearance options are `foreground`, `background`, `visibility`, and `visibility-threshold`. Colors accept `inherit`, `default`, `ansi:0`–`ansi:255`, or a quoted six-digit hex value. Use only the visibility rule supported by the scoped item; usage thresholds are independent of warning colors.
81
-
146
+ The guided form preserves the saved theme, Powerline glyph, item colors, and
147
+ visibility rules. For appearance changes, open either editor or invoke
148
+ `/statusline-config set theme __CLAUDE_STATUSLINE_THEME_CHOICES__`,
149
+ `/statusline-config set powerline-glyph ascii|powerline`, or
150
+ `/statusline-config item main|subagent TYPE_ID OPTION VALUE`. Type-based item commands
151
+ require an unambiguous type; use `config instance` with an actual instance ID for
152
+ copies. Item appearance options include `foreground`, `background`, `visibility`,
153
+ and `visibility-threshold`. Colors accept `inherit`, `default`, `ansi:0`–`ansi:255`,
154
+ or a quoted six-digit hex value. Use only the scoped item's supported visibility
155
+ rule; usage thresholds are independent of warning colors.
82
156
 
83
- For first integration, recommend `__CLAUDE_STATUSLINE_COMMAND__ setup` in an interactive terminal, or `setup --dry-run` for read-only checks. It preserves existing display/profile/binding and collection choices until explicitly applied. Its review separates display save from integration and reports partial success; do not claim that a sample verifies a restarted Claude session.
157
+ For first integration, recommend `__CLAUDE_STATUSLINE_COMMAND__ setup` in an
158
+ interactive terminal, or `setup --dry-run` for read-only checks. Recommend these
159
+ commands to the user; this skill's tools run only `config` commands. Setup preserves
160
+ existing display/profile/binding and collection choices until explicitly applied.
161
+ Its review separates display save from integration and reports partial success;
162
+ do not claim that a sample verifies a restarted Claude session.
84
163
 
85
- Quick setup in either editor includes complete `daily-development`, `agent-focus`, and `quota-watch` schemes, plus `powerline-daily`, `agent-workbench`, `quota-cost`, `narrow-terminal`, and `light-readable`, alongside the six existing presets. Users preview before saving the current target or saving a named copy. Scheme selection never enables collection. Powerline controls are `config set powerline-padding none|left|right|both`, `powerline-separator arrow|slash|bar|none`, `powerline-start-cap on|off`, `powerline-end-cap on|off`, and `powerline-color-mode semantic|continuous|restart`. Use `config set powerline-row-background-gradient PRESET|COLORS|off` for opt-in continuous backgrounds in final Powerline rows; explicit backgrounds and spacers break a run, and alignment padding remains uncolored. `config instance main set ID presentation adaptive` retains percentages, used/remaining meaning and complete custom labels/icons while fitting. Auto layout keeps ordinary wrapping. Block padding is separate from host padding. These are terminal CLI options; follow the supported slash-parser entry points rather than forwarding arbitrary terminal arguments.
164
+ Quick setup in either editor offers complete `daily-development`, `agent-focus`,
165
+ `quota-watch`, `powerline-daily`, `agent-workbench`, `quota-cost`, `narrow-terminal`,
166
+ and `light-readable` schemes alongside the six original presets. Preview before
167
+ saving the current target or a named copy. Scheme selection never enables collection.
168
+ Powerline controls include `config set powerline-padding none|left|right|both`,
169
+ `powerline-separator arrow|slash|bar|none`, `powerline-start-cap on|off`,
170
+ `powerline-end-cap on|off`, and `powerline-color-mode semantic|continuous|restart`.
171
+ `config set powerline-row-background-gradient PRESET|COLORS|off` enables optional
172
+ continuous backgrounds in final Powerline rows; explicit backgrounds and spacers
173
+ break a run, and alignment padding remains uncolored.
174
+ `config instance main set ID presentation adaptive` retains percentages,
175
+ used/remaining meaning, and complete custom labels/icons while fitting. Auto layout
176
+ keeps ordinary wrapping. Block padding is separate from host padding. Use literal
177
+ arguments through the supported actions above; `profile` and `project` management
178
+ requires the terminal CLI or editor.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: statusline-configure
3
- description: Open the experimental local interactive status line configuration launcher.
3
+ description: Open the local external terminal status line configuration editor.
4
4
  argument-hint: ""
5
5
  disable-model-invocation: true
6
6
  disallowed-tools:
@@ -8,12 +8,16 @@ disallowed-tools:
8
8
  - PowerShell
9
9
  ---
10
10
 
11
- # Experimental Interactive Status Line Configuration
11
+ # External Terminal Status Line Configuration
12
12
 
13
- This command is normally intercepted by a local `UserPromptExpansion` hook before
14
- model invocation. The local hook did not run, for example because Claude Code hooks
15
- are disabled with `disableAllHooks`.
13
+ This no-argument command is normally intercepted by a local `UserPromptExpansion`
14
+ hook before model invocation. This request reached the fallback skill, so the
15
+ local hook did not complete handling it. Disabled hooks, including `disableAllHooks`,
16
+ are one possible cause; do not claim that hooks were definitely disabled or that
17
+ the editor opened.
16
18
 
17
- Do not start curses or any terminal interface through Bash or another tool. Reply
18
- only that the experimental hook did not run and suggest running
19
- `claude-statusline configure` in a terminal or using `/statusline-config`.
19
+ Do not call tools, start a terminal interface, or change configuration. Reply
20
+ briefly that the local launcher did not handle this request. Suggest running
21
+ `claude-statusline configure` in an interactive terminal (`claude-statusline.cmd configure`
22
+ on Windows), or using `/statusline-config` for guided questions. This entry accepts
23
+ no configuration arguments; do not forward invocation arguments to an editor.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "statusline-native",
3
- "version": "3.16.1",
3
+ "version": "3.16.3",
4
4
  "description": "In-session Client TUI for statusline configuration",
5
5
  "author": {
6
6
  "name": "fbincon"