@fbincon/claude-code-statusline 3.3.0 → 3.5.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.
Files changed (161) hide show
  1. package/README.md +78 -73
  2. package/candidate.json +291 -215
  3. package/node_modules/@fbincon/statusline-cli/dist/src/config/operations.js +5 -0
  4. package/node_modules/@fbincon/statusline-cli/dist/src/config/operations.js.map +1 -1
  5. package/node_modules/@fbincon/statusline-cli/dist/src/config/profile-command.d.ts +12 -0
  6. package/node_modules/@fbincon/statusline-cli/dist/src/config/profile-command.js +101 -0
  7. package/node_modules/@fbincon/statusline-cli/dist/src/config/profile-command.js.map +1 -0
  8. package/node_modules/@fbincon/statusline-cli/dist/src/config/profiles.d.ts +54 -0
  9. package/node_modules/@fbincon/statusline-cli/dist/src/config/profiles.js +199 -0
  10. package/node_modules/@fbincon/statusline-cli/dist/src/config/profiles.js.map +1 -0
  11. package/node_modules/@fbincon/statusline-cli/dist/src/config/service.d.ts +2 -0
  12. package/node_modules/@fbincon/statusline-cli/dist/src/config/service.js +19 -1
  13. package/node_modules/@fbincon/statusline-cli/dist/src/config/service.js.map +1 -1
  14. package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.d.ts +1 -0
  15. package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.js +4 -1
  16. package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.js.map +1 -1
  17. package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/command.js +9 -2
  18. package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/command.js.map +1 -1
  19. package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/service.d.ts +8 -2
  20. package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/service.js +6 -3
  21. package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/service.js.map +1 -1
  22. package/node_modules/@fbincon/statusline-cli/dist/src/help.js +14 -2
  23. package/node_modules/@fbincon/statusline-cli/dist/src/help.js.map +1 -1
  24. package/node_modules/@fbincon/statusline-cli/dist/src/integration/arguments.js +1 -1
  25. package/node_modules/@fbincon/statusline-cli/dist/src/integration/arguments.js.map +1 -1
  26. package/node_modules/@fbincon/statusline-cli/dist/src/integration/configure.d.ts +2 -1
  27. package/node_modules/@fbincon/statusline-cli/dist/src/integration/configure.js +3 -1
  28. package/node_modules/@fbincon/statusline-cli/dist/src/integration/configure.js.map +1 -1
  29. package/node_modules/@fbincon/statusline-cli/dist/src/integration/install.js +6 -1
  30. package/node_modules/@fbincon/statusline-cli/dist/src/integration/install.js.map +1 -1
  31. package/node_modules/@fbincon/statusline-cli/dist/src/integration/model.d.ts +2 -0
  32. package/node_modules/@fbincon/statusline-cli/dist/src/integration/setup-service.d.ts +23 -0
  33. package/node_modules/@fbincon/statusline-cli/dist/src/integration/setup-service.js +168 -0
  34. package/node_modules/@fbincon/statusline-cli/dist/src/integration/setup-service.js.map +1 -0
  35. package/node_modules/@fbincon/statusline-cli/dist/src/integration/setup.d.ts +3 -0
  36. package/node_modules/@fbincon/statusline-cli/dist/src/integration/setup.js +64 -0
  37. package/node_modules/@fbincon/statusline-cli/dist/src/integration/setup.js.map +1 -0
  38. package/node_modules/@fbincon/statusline-cli/dist/src/main.js +35 -9
  39. package/node_modules/@fbincon/statusline-cli/dist/src/main.js.map +1 -1
  40. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/journal.js +1 -1
  41. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/journal.js.map +1 -1
  42. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/configuration.d.ts +12 -0
  43. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/configuration.js +59 -0
  44. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/configuration.js.map +1 -0
  45. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/main.js +15 -2
  46. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/main.js.map +1 -1
  47. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/command.d.ts +3 -0
  48. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/command.js +25 -0
  49. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/command.js.map +1 -0
  50. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/service.d.ts +4 -0
  51. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/service.js +93 -0
  52. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/service.js.map +1 -0
  53. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.d.ts +5 -3
  54. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.js +34 -8
  55. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.js.map +1 -1
  56. package/node_modules/@fbincon/statusline-cli/resources/statusline-config/SKILL.md +5 -0
  57. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/.claude-plugin/plugin.json +1 -1
  58. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/hooks/register.ts +89 -3
  59. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/backend.ts +61 -7
  60. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/keys.ts +8 -1
  61. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/settings.ts +1 -0
  62. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/draft.ts +2 -0
  63. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/profile-manager.ts +258 -0
  64. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/quick-setup.ts +14 -11
  65. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/setup.ts +60 -0
  66. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/task-detail.ts +27 -0
  67. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/generated-contracts.ts +552 -6
  68. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/generated-locales.ts +1194 -6
  69. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/session.ts +2 -1
  70. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/resource-manifest.json +18 -15
  71. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/draw.ts +7 -3
  72. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/help.ts +1 -0
  73. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/.claude-plugin/plugin.json +1 -1
  74. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/resource-manifest.json +3 -3
  75. package/node_modules/@fbincon/statusline-core/dist/src/config/defaults.d.ts +1 -0
  76. package/node_modules/@fbincon/statusline-core/dist/src/config/defaults.js +5 -2
  77. package/node_modules/@fbincon/statusline-core/dist/src/config/defaults.js.map +1 -1
  78. package/node_modules/@fbincon/statusline-core/dist/src/config/display.d.ts +1 -1
  79. package/node_modules/@fbincon/statusline-core/dist/src/config/display.js +12 -10
  80. package/node_modules/@fbincon/statusline-core/dist/src/config/display.js.map +1 -1
  81. package/node_modules/@fbincon/statusline-core/dist/src/config/formatting.d.ts +3 -0
  82. package/node_modules/@fbincon/statusline-core/dist/src/config/formatting.js +11 -0
  83. package/node_modules/@fbincon/statusline-core/dist/src/config/formatting.js.map +1 -1
  84. package/node_modules/@fbincon/statusline-core/dist/src/config/presets.d.ts +4 -0
  85. package/node_modules/@fbincon/statusline-core/dist/src/config/presets.js +37 -3
  86. package/node_modules/@fbincon/statusline-core/dist/src/config/presets.js.map +1 -1
  87. package/node_modules/@fbincon/statusline-core/dist/src/config/profiles.d.ts +16 -0
  88. package/node_modules/@fbincon/statusline-core/dist/src/config/profiles.js +69 -0
  89. package/node_modules/@fbincon/statusline-core/dist/src/config/profiles.js.map +1 -0
  90. package/node_modules/@fbincon/statusline-core/dist/src/contracts/generated-catalog.d.ts +24 -0
  91. package/node_modules/@fbincon/statusline-core/dist/src/contracts/generated-catalog.js +1 -1
  92. package/node_modules/@fbincon/statusline-core/dist/src/contracts/generated-catalog.js.map +1 -1
  93. package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.d.ts +212 -4
  94. package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.js +485 -2
  95. package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.js.map +1 -1
  96. package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js +78 -7
  97. package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js.map +1 -1
  98. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.d.ts +2 -0
  99. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js +1 -0
  100. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js.map +1 -1
  101. package/node_modules/@fbincon/statusline-core/dist/src/editor/profile-manager.d.ts +63 -0
  102. package/node_modules/@fbincon/statusline-core/dist/src/editor/profile-manager.js +355 -0
  103. package/node_modules/@fbincon/statusline-core/dist/src/editor/profile-manager.js.map +1 -0
  104. package/node_modules/@fbincon/statusline-core/dist/src/editor/quick-setup.d.ts +4 -4
  105. package/node_modules/@fbincon/statusline-core/dist/src/editor/quick-setup.js +16 -9
  106. package/node_modules/@fbincon/statusline-core/dist/src/editor/quick-setup.js.map +1 -1
  107. package/node_modules/@fbincon/statusline-core/dist/src/editor/setup.d.ts +30 -0
  108. package/node_modules/@fbincon/statusline-core/dist/src/editor/setup.js +96 -0
  109. package/node_modules/@fbincon/statusline-core/dist/src/editor/setup.js.map +1 -0
  110. package/node_modules/@fbincon/statusline-core/dist/src/editor/task-detail.d.ts +4 -0
  111. package/node_modules/@fbincon/statusline-core/dist/src/editor/task-detail.js +25 -0
  112. package/node_modules/@fbincon/statusline-core/dist/src/editor/task-detail.js.map +1 -0
  113. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.d.ts +1188 -0
  114. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js +1194 -6
  115. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js.map +1 -1
  116. package/node_modules/@fbincon/statusline-core/dist/src/release.d.ts +1 -1
  117. package/node_modules/@fbincon/statusline-core/dist/src/release.js +1 -1
  118. package/node_modules/@fbincon/statusline-core/dist/src/rendering/appearance.d.ts +3 -1
  119. package/node_modules/@fbincon/statusline-core/dist/src/rendering/appearance.js +24 -2
  120. package/node_modules/@fbincon/statusline-core/dist/src/rendering/appearance.js.map +1 -1
  121. package/node_modules/@fbincon/statusline-core/dist/src/rendering/components.d.ts +3 -1
  122. package/node_modules/@fbincon/statusline-core/dist/src/rendering/components.js +18 -5
  123. package/node_modules/@fbincon/statusline-core/dist/src/rendering/components.js.map +1 -1
  124. package/node_modules/@fbincon/statusline-core/dist/src/rendering/items.js +4 -4
  125. package/node_modules/@fbincon/statusline-core/dist/src/rendering/items.js.map +1 -1
  126. package/node_modules/@fbincon/statusline-core/dist/src/rendering/powerline.d.ts +15 -5
  127. package/node_modules/@fbincon/statusline-core/dist/src/rendering/powerline.js +78 -48
  128. package/node_modules/@fbincon/statusline-core/dist/src/rendering/powerline.js.map +1 -1
  129. package/node_modules/@fbincon/statusline-core/dist/src/rendering/preferences.js +6 -0
  130. package/node_modules/@fbincon/statusline-core/dist/src/rendering/preferences.js.map +1 -1
  131. package/node_modules/@fbincon/statusline-core/dist/src/rendering/subagents.js +3 -3
  132. package/node_modules/@fbincon/statusline-core/dist/src/rendering/subagents.js.map +1 -1
  133. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/details.d.ts +24 -0
  134. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/details.js +153 -0
  135. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/details.js.map +1 -0
  136. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/en.json +199 -1
  137. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ja.json +199 -1
  138. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ko.json +199 -1
  139. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-CN.json +199 -1
  140. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-HK.json +199 -1
  141. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-TW.json +199 -1
  142. package/node_modules/@fbincon/statusline-platform/dist/src/project-paths.d.ts +8 -0
  143. package/node_modules/@fbincon/statusline-platform/dist/src/project-paths.js +41 -0
  144. package/node_modules/@fbincon/statusline-platform/dist/src/project-paths.js.map +1 -0
  145. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/pages.js +6 -1
  146. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/pages.js.map +1 -1
  147. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/presentation.js +2 -0
  148. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/presentation.js.map +1 -1
  149. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/shortcuts.js +2 -0
  150. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/shortcuts.js.map +1 -1
  151. package/node_modules/@fbincon/statusline-tui/dist/src/drawing.js +3 -2
  152. package/node_modules/@fbincon/statusline-tui/dist/src/drawing.js.map +1 -1
  153. package/node_modules/@fbincon/statusline-tui/dist/src/session.js +7 -3
  154. package/node_modules/@fbincon/statusline-tui/dist/src/session.js.map +1 -1
  155. package/node_modules/@fbincon/statusline-tui/dist/src/setup.d.ts +12 -0
  156. package/node_modules/@fbincon/statusline-tui/dist/src/setup.js +75 -0
  157. package/node_modules/@fbincon/statusline-tui/dist/src/setup.js.map +1 -0
  158. package/node_modules/@fbincon/statusline-tui/dist/src/state.d.ts +1 -1
  159. package/node_modules/@fbincon/statusline-tui/dist/src/state.js +18 -2
  160. package/node_modules/@fbincon/statusline-tui/dist/src/state.js.map +1 -1
  161. package/package.json +1 -1
@@ -0,0 +1,69 @@
1
+ import { validateDisplay, isSchema } from './display.js';
2
+ import { ConfigError, object } from './validation.js';
3
+ export const PROFILES_FILENAME = 'claude-statusline-profiles.json';
4
+ export const PROFILE_FORMAT = 'claude-code-statusline-profile';
5
+ export const PROFILE_VERSION = 1;
6
+ export const MAX_PROFILES_BYTES = 32 * 1024 * 1024;
7
+ export const emptyProfiles = () => ({ version: 1, profiles: [], bindings: [] });
8
+ export function profileError(reason, value = '') {
9
+ throw new ConfigError('profiles.error.' + reason, { value }, 'profile_' + reason);
10
+ }
11
+ export function profileName(value) {
12
+ if (typeof value !== 'string' || !value.trim() || [...value].length > 128 || /[\p{Cc}\p{Cs}\p{Zl}\p{Zp}]/u.test(value))
13
+ profileError('name');
14
+ return value.trim().normalize('NFC');
15
+ }
16
+ export function profileId(value) {
17
+ if (typeof value !== 'string' || !/^[A-Za-z0-9][A-Za-z0-9_-]{0,95}$/u.test(value))
18
+ profileError('invalid');
19
+ return value;
20
+ }
21
+ export function configTarget(value) {
22
+ if (value === undefined)
23
+ return { kind: 'user' };
24
+ if (!object(value))
25
+ return profileError('invalid');
26
+ if (value.kind === 'user' && Object.keys(value).length === 1)
27
+ return { kind: 'user' };
28
+ if (value.kind === 'profile' && Object.keys(value).length === 2)
29
+ return { kind: 'profile', id: profileId(value.id) };
30
+ if (value.kind === 'project' && Object.keys(value).length === 2 && typeof value.path === 'string' && value.path && !/[\p{Cc}\p{Cs}]/u.test(value.path))
31
+ return { kind: 'project', path: value.path };
32
+ return profileError('invalid');
33
+ }
34
+ export function validateProfiles(value) {
35
+ if (!object(value) || Object.keys(value).sort().join(',') !== 'bindings,profiles,version' || !isSchema(value.version, 1) ||
36
+ !Array.isArray(value.profiles) || !Array.isArray(value.bindings) || value.profiles.length > 128 || value.bindings.length > 512)
37
+ return profileError('invalid');
38
+ const ids = new Set(), names = new Set(), roots = new Set();
39
+ const profiles = value.profiles.map(raw => {
40
+ if (!object(raw) || Object.keys(raw).sort().join(',') !== 'display,id,name')
41
+ return profileError('invalid');
42
+ const id = profileId(raw.id), name = profileName(raw.name);
43
+ if (ids.has(id) || names.has(name))
44
+ return profileError('duplicate', name);
45
+ ids.add(id);
46
+ names.add(name);
47
+ return { id, name, display: validateDisplay(raw.display) };
48
+ });
49
+ const bindings = value.bindings.map(raw => {
50
+ if (!object(raw) || Object.keys(raw).sort().join(',') !== 'profile_id,root' ||
51
+ typeof raw.root !== 'string' || !raw.root || /[\p{Cc}\p{Cs}]/u.test(raw.root) || roots.has(raw.root))
52
+ return profileError('invalid');
53
+ roots.add(raw.root);
54
+ // Retain a dangling reference so resolution can explain it without rewriting the file.
55
+ return { root: raw.root, profile_id: profileId(raw.profile_id) };
56
+ });
57
+ return { version: 1, profiles, bindings };
58
+ }
59
+ export function findProfile(collection, nameOrId) {
60
+ const found = collection.profiles.find(p => p.id === nameOrId) ?? collection.profiles.find(p => p.name === nameOrId.trim().normalize('NFC'));
61
+ return found ?? profileError('missing', nameOrId);
62
+ }
63
+ export function importProfile(value) {
64
+ if (!object(value) || Object.keys(value).sort().join(',') !== 'display,format,name,version' ||
65
+ value.format !== PROFILE_FORMAT || !isSchema(value.version, PROFILE_VERSION))
66
+ return profileError('format');
67
+ return { name: profileName(value.name), display: validateDisplay(value.display) };
68
+ }
69
+ //# sourceMappingURL=profiles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profiles.js","sourceRoot":"","sources":["../../../src/config/profiles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEtD,MAAM,CAAC,MAAM,iBAAiB,GAAG,iCAAiC,CAAC;AACnE,MAAM,CAAC,MAAM,cAAc,GAAG,gCAAgC,CAAC;AAC/D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC;AACjC,MAAM,CAAC,MAAM,kBAAkB,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC;AACnD,MAAM,CAAC,MAAM,aAAa,GAAG,GAAsB,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;AACnG,MAAM,UAAU,YAAY,CAAC,MAAc,E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AE,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC;AAC9C,CAAC;AACD,MAAM,UAAU,WAAW,CAAC,UAA6B,EAAE,QAAgB;IACvE,MAAM,KAAK,GAAG,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,QAAQ,CAAC,IAAI,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAC7I,OAAO,KAAK,IAAI,YAAY,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;AACtD,CAAC;AACD,MAAM,UAAU,aAAa,CAAC,KAAc;IACxC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,6BAA6B;QACvF,KAAK,CAAC,MAAM,KAAK,cAAc,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,EAAE,eAAe,CAAC;QAAE,OAAO,YAAY,CAAC,QAAQ,CAAC,CAAC;IAChH,OAAO,EAAE,IAAI,EAAE,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,eAAe,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;AACtF,CAAC"}
@@ -48,4 +48,28 @@ export declare const PRESETS: readonly [{
48
48
  readonly label: "Repeated Metrics";
49
49
  readonly rows: readonly [readonly ["input-tokens", "input-tokens"]];
50
50
  readonly layout_mode: "explicit";
51
+ }, {
52
+ readonly id: "daily-development";
53
+ readonly purpose_key: "quick.purpose.daily-development";
54
+ readonly requirements_key: "quick.requirements.daily-development";
55
+ readonly example: false;
56
+ readonly label: "Daily Development";
57
+ readonly rows: readonly [readonly ["model-with-effort", "current-dir", "git", "context-remaining", "task-timer"], readonly ["session-cost"]];
58
+ readonly layout_mode: "explicit";
59
+ }, {
60
+ readonly id: "agent-focus";
61
+ readonly purpose_key: "quick.purpose.agent-focus";
62
+ readonly requirements_key: "quick.requirements.agent-focus";
63
+ readonly example: false;
64
+ readonly label: "Agent Focus";
65
+ readonly rows: readonly [readonly ["task-timer", "context-remaining", "git"], readonly ["run-state", "task-progress", "active-agents"]];
66
+ readonly layout_mode: "explicit";
67
+ }, {
68
+ readonly id: "quota-watch";
69
+ readonly purpose_key: "quick.purpose.quota-watch";
70
+ readonly requirements_key: "quick.requirements.quota-watch";
71
+ readonly example: false;
72
+ readonly label: "Quota Watch";
73
+ readonly rows: readonly [readonly ["context-used", "five-hour-limit", "weekly-limit"], readonly ["five-hour-reset", "weekly-reset"], readonly ["session-cost", "spend-limit", "cache-state", "cache-expires"]];
74
+ readonly layout_mode: "explicit";
51
75
  }];
@@ -1,5 +1,5 @@
1
1
  // Generated by tools/generation/resources.ts; do not edit.
2
2
  export const MAIN_ITEM_IDS = ["model-with-effort", "model", "effort", "fast-mode", "thinking", "current-dir", "project-name", "hostname", "git", "git-branch", "git-changes", "git-ahead-behind", "branch-diff", "pr", "repo", "worktree", "context-remaining", "context-used", "context-window-size", "context-tokens", "five-hour-limit", "five-hour-reset", "weekly-limit", "weekly-reset", "spend-limit", "spend-amount", "spend-period", "tokens", "input-tokens", "output-tokens", "prompt-cache", "cache-state", "cache-expires", "cache-misses", "cache-miss-reason", "api-requests", "task-timer", "task-active-timer", "version", "session", "session-name", "session-id", "session-id-short", "output-style", "cost", "session-cost", "session-duration", "api-duration", "lines-changed", "agent", "vim-mode", "run-state", "permission-mode", "active-agents", "task-progress", "last-tool", "ttft", "output-rate", "prompt-input-tokens", "prompt-output-tokens", "prompt-cost", "text", "spacer"];
3
3
  export const SUBAGENT_ITEM_IDS = ["status-elapsed", "status", "name", "model-with-effort", "model", "effort", "context-remaining", "context-used", "context-tokens", "context-window-size", "elapsed", "task", "tokens", "current-dir", "text", "spacer"];
4
- export const PRESETS = [{ "id": "developer", "purpose_key": "quick.purpose.developer", "requirements_key": "quick.requirements.developer", "example": false, "label": "Developer", "rows": [["model-with-effort", "current-dir", "git"], ["context-remaining", "tokens", "task-timer", "session-cost"]], "layout_mode": "explicit" }, { "id": "minimal", "purpose_key": "quick.purpose.minimal", "requirements_key": "quick.requirements.minimal", "example": false, "label": "Minimal", "rows": [["model-with-effort", "current-dir", "context-remaining", "task-timer"]], "layout_mode": "auto" }, { "id": "monitoring", "purpose_key": "quick.purpose.monitoring", "requirements_key": "quick.requirements.monitoring", "example": false, "label": "Monitoring", "rows": [["context-used", "five-hour-limit", "weekly-limit", "spend-limit"], ["five-hour-reset", "weekly-reset", "cache-state", "cache-expires"], ["session-cost", "session-duration", "api-duration", "api-requests", "cache-misses"]], "layout_mode": "explicit" }, { "id": "multi-agent", "purpose_key": "quick.purpose.multi-agent", "requirements_key": "quick.requirements.multi-agent", "example": false, "label": "Multi Agent", "rows": [["model-with-effort", "current-dir", "git"], ["context-remaining", "tokens", "task-timer"]], "layout_mode": "explicit" }, { "id": "left-right", "purpose_key": "quick.purpose.left-right", "requirements_key": "quick.requirements.left-right", "example": true, "label": "Left Right", "rows": [["model-with-effort", "git", "spacer", "context-remaining"]], "layout_mode": "explicit" }, { "id": "repeated-metrics", "purpose_key": "quick.purpose.repeated-metrics", "requirements_key": "quick.requirements.repeated-metrics", "example": true, "label": "Repeated Metrics", "rows": [["input-tokens", "input-tokens"]], "layout_mode": "explicit" }];
4
+ export const PRESETS = [{ "id": "developer", "purpose_key": "quick.purpose.developer", "requirements_key": "quick.requirements.developer", "example": false, "label": "Developer", "rows": [["model-with-effort", "current-dir", "git"], ["context-remaining", "tokens", "task-timer", "session-cost"]], "layout_mode": "explicit" }, { "id": "minimal", "purpose_key": "quick.purpose.minimal", "requirements_key": "quick.requirements.minimal", "example": false, "label": "Minimal", "rows": [["model-with-effort", "current-dir", "context-remaining", "task-timer"]], "layout_mode": "auto" }, { "id": "monitoring", "purpose_key": "quick.purpose.monitoring", "requirements_key": "quick.requirements.monitoring", "example": false, "label": "Monitoring", "rows": [["context-used", "five-hour-limit", "weekly-limit", "spend-limit"], ["five-hour-reset", "weekly-reset", "cache-state", "cache-expires"], ["session-cost", "session-duration", "api-duration", "api-requests", "cache-misses"]], "layout_mode": "explicit" }, { "id": "multi-agent", "purpose_key": "quick.purpose.multi-agent", "requirements_key": "quick.requirements.multi-agent", "example": false, "label": "Multi Agent", "rows": [["model-with-effort", "current-dir", "git"], ["context-remaining", "tokens", "task-timer"]], "layout_mode": "explicit" }, { "id": "left-right", "purpose_key": "quick.purpose.left-right", "requirements_key": "quick.requirements.left-right", "example": true, "label": "Left Right", "rows": [["model-with-effort", "git", "spacer", "context-remaining"]], "layout_mode": "explicit" }, { "id": "repeated-metrics", "purpose_key": "quick.purpose.repeated-metrics", "requirements_key": "quick.requirements.repeated-metrics", "example": true, "label": "Repeated Metrics", "rows": [["input-tokens", "input-tokens"]], "layout_mode": "explicit" }, { "id": "daily-development", "purpose_key": "quick.purpose.daily-development", "requirements_key": "quick.requirements.daily-development", "example": false, "label": "Daily Development", "rows": [["model-with-effort", "current-dir", "git", "context-remaining", "task-timer"], ["session-cost"]], "layout_mode": "explicit" }, { "id": "agent-focus", "purpose_key": "quick.purpose.agent-focus", "requirements_key": "quick.requirements.agent-focus", "example": false, "label": "Agent Focus", "rows": [["task-timer", "context-remaining", "git"], ["run-state", "task-progress", "active-agents"]], "layout_mode": "explicit" }, { "id": "quota-watch", "purpose_key": "quick.purpose.quota-watch", "requirements_key": "quick.requirements.quota-watch", "example": false, "label": "Quota Watch", "rows": [["context-used", "five-hour-limit", "weekly-limit"], ["five-hour-reset", "weekly-reset"], ["session-cost", "spend-limit", "cache-state", "cache-expires"]], "layout_mode": "explicit" }];
5
5
  //# sourceMappingURL=generated-catalog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"generated-catalog.js","sourceRoot":"","sources":["../../../src/cont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C,EAAE,EAAC,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,2BAA2B,EAAE,kBAAkB,EAAE,gCAAgC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC,CAAC,YAAY,EAAE,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,EAAE,eAAe,EAAE,eAAe,CAAC,CAAC,EAAE,aAAa,EAAE,UAAU,EAAC,EAAE,EAAC,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,2BAA2B,EAAE,kBAAkB,EAAE,gCAAgC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC,CAAC,cAAc,EAAE,iBAAiB,EAAE,cAAc,CAAC,EAAE,CAAC,iBAAiB,EAAE,cAAc,CAAC,EAAE,CAAC,cAAc,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,CAAC,CAAC,EAAE,aAAa,EAAE,UAAU,EAAC,CAAU,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { Language } from "../i18n/registry.js";
2
- export declare const PROTOCOL_VERSION: 14;
2
+ export declare const PROTOCOL_VERSION: 16;
3
3
  export declare const ITEM_DEFAULTS: {
4
4
  label: null;
5
5
  icon: null;
@@ -33,6 +33,52 @@ export declare const GUIDANCE_KEYS: {
33
33
  readonly scopes: readonly ["main", "main_context", "session", "all_sessions", "task", "subagent", "subagent_context", "repository", "local", "latest_request"];
34
34
  readonly requirements: readonly ["observed_field", "subagent_rows", "agent_context", "configured_effort", "agent_effort_optional", "git_repository", "git_upstream", "git_base", "pull_request", "worktree_session", "usage_records", "task_observation", "native_timing", "complete_waits", "live_metrics", "owned_agents", "checklist_events", "tool_events", "complete_stream", "request_coverage", "existing_telemetry", "gateway", "gateway_284", "valid_window", "warm_cache", "fast_mode", "thinking", "agent_mode", "vim_mode", "context_observation"];
35
35
  };
36
+ export declare const POWERLINE_FIELDS: readonly [{
37
+ readonly key: "powerline.padding";
38
+ readonly label: "Block padding";
39
+ readonly group: "Appearance";
40
+ readonly kind: "choice";
41
+ readonly choices: readonly ["none", "left", "right", "both"];
42
+ readonly minimum: 0;
43
+ readonly maximum: 10000;
44
+ readonly nullable: false;
45
+ }, {
46
+ readonly key: "powerline.separator";
47
+ readonly label: "Block separator";
48
+ readonly group: "Appearance";
49
+ readonly kind: "choice";
50
+ readonly choices: readonly ["arrow", "slash", "bar", "none"];
51
+ readonly minimum: 0;
52
+ readonly maximum: 10000;
53
+ readonly nullable: false;
54
+ }, {
55
+ readonly key: "powerline.start_cap";
56
+ readonly label: "Start decoration";
57
+ readonly group: "Appearance";
58
+ readonly kind: "boolean";
59
+ readonly choices: readonly [];
60
+ readonly minimum: 0;
61
+ readonly maximum: 10000;
62
+ readonly nullable: false;
63
+ }, {
64
+ readonly key: "powerline.end_cap";
65
+ readonly label: "End decoration";
66
+ readonly group: "Appearance";
67
+ readonly kind: "boolean";
68
+ readonly choices: readonly [];
69
+ readonly minimum: 0;
70
+ readonly maximum: 10000;
71
+ readonly nullable: false;
72
+ }, {
73
+ readonly key: "powerline.color_mode";
74
+ readonly label: "Block colors across lines";
75
+ readonly group: "Appearance";
76
+ readonly kind: "choice";
77
+ readonly choices: readonly ["semantic", "continuous", "restart"];
78
+ readonly minimum: 0;
79
+ readonly maximum: 10000;
80
+ readonly nullable: false;
81
+ }];
36
82
  export declare const EDITOR_FIELDS: {
37
83
  readonly global: readonly [{
38
84
  readonly key: "theme";
@@ -52,6 +98,51 @@ export declare const EDITOR_FIELDS: {
52
98
  readonly minimum: 0;
53
99
  readonly maximum: 10000;
54
100
  readonly nullable: false;
101
+ }, {
102
+ readonly key: "powerline.padding";
103
+ readonly label: "Block padding";
104
+ readonly group: "Appearance";
105
+ readonly kind: "choice";
106
+ readonly choices: readonly ["none", "left", "right", "both"];
107
+ readonly minimum: 0;
108
+ readonly maximum: 10000;
109
+ readonly nullable: false;
110
+ }, {
111
+ readonly key: "powerline.separator";
112
+ readonly label: "Block separator";
113
+ readonly group: "Appearance";
114
+ readonly kind: "choice";
115
+ readonly choices: readonly ["arrow", "slash", "bar", "none"];
116
+ readonly minimum: 0;
117
+ readonly maximum: 10000;
118
+ readonly nullable: false;
119
+ }, {
120
+ readonly key: "powerline.start_cap";
121
+ readonly label: "Start decoration";
122
+ readonly group: "Appearance";
123
+ readonly kind: "boolean";
124
+ readonly choices: readonly [];
125
+ readonly minimum: 0;
126
+ readonly maximum: 10000;
127
+ readonly nullable: false;
128
+ }, {
129
+ readonly key: "powerline.end_cap";
130
+ readonly label: "End decoration";
131
+ readonly group: "Appearance";
132
+ readonly kind: "boolean";
133
+ readonly choices: readonly [];
134
+ readonly minimum: 0;
135
+ readonly maximum: 10000;
136
+ readonly nullable: false;
137
+ }, {
138
+ readonly key: "powerline.color_mode";
139
+ readonly label: "Block colors across lines";
140
+ readonly group: "Appearance";
141
+ readonly kind: "choice";
142
+ readonly choices: readonly ["semantic", "continuous", "restart"];
143
+ readonly minimum: 0;
144
+ readonly maximum: 10000;
145
+ readonly nullable: false;
55
146
  }, {
56
147
  readonly key: "statusline_language";
57
148
  readonly label: "Statusline language (save with display settings)";
@@ -382,6 +473,30 @@ export declare const PRESETS: readonly [{
382
473
  readonly label: "Repeated Metrics";
383
474
  readonly rows: readonly [readonly ["input-tokens", "input-tokens"]];
384
475
  readonly layout_mode: "explicit";
476
+ }, {
477
+ readonly id: "daily-development";
478
+ readonly purpose_key: "quick.purpose.daily-development";
479
+ readonly requirements_key: "quick.requirements.daily-development";
480
+ readonly example: false;
481
+ readonly label: "Daily Development";
482
+ readonly rows: readonly [readonly ["model-with-effort", "current-dir", "git", "context-remaining", "task-timer"], readonly ["session-cost"]];
483
+ readonly layout_mode: "explicit";
484
+ }, {
485
+ readonly id: "agent-focus";
486
+ readonly purpose_key: "quick.purpose.agent-focus";
487
+ readonly requirements_key: "quick.requirements.agent-focus";
488
+ readonly example: false;
489
+ readonly label: "Agent Focus";
490
+ readonly rows: readonly [readonly ["task-timer", "context-remaining", "git"], readonly ["run-state", "task-progress", "active-agents"]];
491
+ readonly layout_mode: "explicit";
492
+ }, {
493
+ readonly id: "quota-watch";
494
+ readonly purpose_key: "quick.purpose.quota-watch";
495
+ readonly requirements_key: "quick.requirements.quota-watch";
496
+ readonly example: false;
497
+ readonly label: "Quota Watch";
498
+ readonly rows: readonly [readonly ["context-used", "five-hour-limit", "weekly-limit"], readonly ["five-hour-reset", "weekly-reset"], readonly ["session-cost", "spend-limit", "cache-state", "cache-expires"]];
499
+ readonly layout_mode: "explicit";
385
500
  }];
386
501
  export declare const FORMAT_CHOICES: {
387
502
  readonly model_name: readonly ["original", "short"];
@@ -429,7 +544,7 @@ export declare const SEPARATORSTYLE_VALUES: readonly ["classic", "compact", "pow
429
544
  export declare const SCOPELABELS_VALUES: readonly ["off", "when-subagents", "always"];
430
545
  export declare const STATUSLINELANGUAGE_VALUES: readonly ["en", "zh-CN", "zh-TW", "zh-HK", "ja", "ko"];
431
546
  export declare const UNAVAILABLEREASON_VALUES: readonly ["not_observed", "unsupported_host", "unknown_host_version", "source_unavailable", "condition_not_met", "runtime_disabled", "native_timing_disabled", "wait_coverage_missing", "stale", "incomplete", "ambiguous_owner", "observed_only", "missing_stream", "synthetic_response", "abnormal_clock", "inconsistent_request", "request_join_unavailable"];
432
- export type Operation = "describe" | "read" | "preview" | "apply" | "import" | "export" | "preset" | "read_ui_preferences" | "set_ui_language" | "review_import" | "explain" | "diagnose";
547
+ export type Operation = "describe" | "read" | "preview" | "apply" | "import" | "export" | "preset" | "read_ui_preferences" | "set_ui_language" | "review_import" | "explain" | "diagnose" | "profiles_read" | "profiles_apply" | "profile_import" | "profile_export" | "task_details";
433
548
  export interface ItemGuidance {
434
549
  source_kinds: string[];
435
550
  measurement_scope: string;
@@ -470,6 +585,11 @@ export interface ConfigurationOptions {
470
585
  palette: ChoiceOptions;
471
586
  theme: ChoiceOptions;
472
587
  "powerline-glyph": ChoiceOptions;
588
+ "powerline-padding": ChoiceOptions;
589
+ "powerline-separator": ChoiceOptions;
590
+ "powerline-start-cap": ChoiceOptions;
591
+ "powerline-end-cap": ChoiceOptions;
592
+ "powerline-color-mode": ChoiceOptions;
473
593
  "directory-style": ChoiceOptions;
474
594
  "separator-style": ChoiceOptions;
475
595
  "scope-labels": ChoiceOptions;
@@ -479,6 +599,7 @@ export interface ConfigurationOptions {
479
599
  "refresh-interval": RefreshOptions;
480
600
  "hide-vim-mode-indicator": ChoiceOptions;
481
601
  }
602
+ export declare const POWERLINE_OPTIONS: Pick<ConfigurationOptions, "powerline-padding" | "powerline-separator" | "powerline-start-cap" | "powerline-end-cap" | "powerline-color-mode">;
482
603
  export interface Capabilities {
483
604
  host_version: string | null;
484
605
  subagent_rows: "unknown" | "supported" | "unsupported";
@@ -534,14 +655,22 @@ export interface SubagentDraft {
534
655
  export interface MetricsDraft {
535
656
  branch_diff_base_ref: string | null;
536
657
  }
658
+ export interface PowerlineDraft {
659
+ padding: "none" | "left" | "right" | "both";
660
+ separator: "arrow" | "slash" | "bar" | "none";
661
+ start_cap: boolean;
662
+ end_cap: boolean;
663
+ color_mode: "semantic" | "continuous" | "restart";
664
+ }
537
665
  export interface DisplayDraft {
538
- schema_version: 8;
666
+ schema_version: 9;
539
667
  statusline_language: StatuslineLanguage;
540
668
  instances: InstanceDraft[];
541
669
  use_colors: boolean;
542
670
  palette: Palette;
543
671
  theme: Theme;
544
672
  powerline_glyph: PowerlineGlyph;
673
+ powerline: PowerlineDraft;
545
674
  directory_style: DirectoryStyle;
546
675
  separator_style: SeparatorStyle;
547
676
  scope_labels: ScopeLabels;
@@ -640,6 +769,7 @@ export interface DiagnoseResult {
640
769
  prompt_id: string | null;
641
770
  host_version: string | null;
642
771
  include_local: boolean;
772
+ configuration?: ResolvedConfiguration;
643
773
  output: {
644
774
  id: string;
645
775
  spans: Span[];
@@ -683,6 +813,78 @@ export interface ReadResult {
683
813
  installation: Record<string, unknown>;
684
814
  capabilities: Capabilities;
685
815
  backend_version: string;
816
+ configuration?: ResolvedConfiguration;
817
+ }
818
+ export type ConfigTarget = {
819
+ kind: "user";
820
+ } | {
821
+ kind: "profile";
822
+ id: string;
823
+ } | {
824
+ kind: "project";
825
+ path: string;
826
+ };
827
+ export interface DisplayProfile {
828
+ id: string;
829
+ name: string;
830
+ display: DisplayDraft;
831
+ }
832
+ export interface ProjectBinding {
833
+ root: string;
834
+ profile_id: string;
835
+ }
836
+ export interface ProfileCollection {
837
+ version: 1;
838
+ profiles: DisplayProfile[];
839
+ bindings: ProjectBinding[];
840
+ }
841
+ export interface ResolvedConfiguration {
842
+ target: ConfigTarget;
843
+ profile_id: string | null;
844
+ profile_name: string | null;
845
+ project_root: string | null;
846
+ reason: string;
847
+ shared_projects: string[];
848
+ }
849
+ export interface ProfilesResult extends ProfileCollection {
850
+ revision: string;
851
+ changed?: boolean;
852
+ backup_dir?: string | null;
853
+ }
854
+ export interface ProfileImportResult {
855
+ name: string;
856
+ display: DisplayDraft;
857
+ }
858
+ export interface TaskEvidence {
859
+ source: string;
860
+ scope: string;
861
+ status: string;
862
+ observed_at: string | null;
863
+ freshness: "current" | "stale" | "unknown" | "newer_than_input";
864
+ }
865
+ export interface TaskAgentDetail {
866
+ id: string;
867
+ parent_id: string | null;
868
+ name: string | null;
869
+ status: string | null;
870
+ evidence: TaskEvidence[];
871
+ }
872
+ export interface TaskDetails {
873
+ version: 1;
874
+ session_id: string;
875
+ prompt_id: string | null;
876
+ captured_at: string;
877
+ status: string | null;
878
+ phase: string | null;
879
+ elapsed_seconds: number | null;
880
+ active_seconds: number | null;
881
+ progress: {
882
+ completed: number;
883
+ total: number;
884
+ } | null;
885
+ agents: TaskAgentDetail[];
886
+ evidence: TaskEvidence[];
887
+ limitations: string[];
686
888
  }
687
889
  export interface EditorField {
688
890
  key: string;
@@ -742,6 +944,7 @@ export interface ApplyResult {
742
944
  backend_version: string;
743
945
  changed: boolean;
744
946
  backup_dir: string | null;
947
+ configuration?: ResolvedConfiguration;
745
948
  }
746
949
  export interface ResultMap {
747
950
  describe: DescribeResult;
@@ -756,6 +959,11 @@ export interface ResultMap {
756
959
  preset: TransferResult;
757
960
  read_ui_preferences: UiPreferencesResult;
758
961
  set_ui_language: UiPreferencesResult;
962
+ profiles_read: ProfilesResult;
963
+ profiles_apply: ProfilesResult;
964
+ profile_import: ProfileImportResult;
965
+ profile_export: ExportResult;
966
+ task_details: TaskDetails;
759
967
  }
760
968
  export type ResultFor<O extends Operation> = ResultMap[O];
761
969
  export interface Request {
@@ -763,7 +971,7 @@ export interface Request {
763
971
  operation: Operation;
764
972
  payload: unknown;
765
973
  }
766
- export type Result = DiagnoseResult | ExplainResult | PreviewResult | UiPreferencesResult | ReadResult | TransferResult | ImportReviewResult | ExportResult | DescribeResult | ApplyResult;
974
+ export type Result = DiagnoseResult | ExplainResult | PreviewResult | UiPreferencesResult | ReadResult | TransferResult | ImportReviewResult | ExportResult | DescribeResult | ApplyResult | ProfilesResult | ProfileImportResult | TaskDetails;
767
975
  export type Response = {
768
976
  protocol_version: typeof PROTOCOL_VERSION;
769
977
  result: Result;