@fbincon/claude-code-statusline 3.13.0 → 3.15.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 +80 -80
- package/candidate.json +317 -263
- 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/rendering/environment.js +1 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/rendering/environment.js.map +1 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.d.ts +50 -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/lib/backend.ts +3 -3
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/color-manager.ts +4 -3
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/forms.ts +5 -4
- 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/search.ts +4 -4
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/generated-contracts.ts +9 -6
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/generated-locales.ts +7 -6
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/index.ts +9 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/en.ts +2227 -2203
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/ja.ts +2227 -2203
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/ko.ts +2227 -2203
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/zh-CN.ts +2227 -2203
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/zh-HK.ts +2227 -2203
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/zh-TW.ts +2227 -2203
- 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 +21 -21
- 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 +65 -5
- package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.js +3 -2
- package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js +3 -3
- package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/color-manager.js +5 -3
- package/node_modules/@fbincon/statusline-core/dist/src/editor/color-manager.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/forms.js +6 -4
- package/node_modules/@fbincon/statusline-core/dist/src/editor/forms.js.map +1 -1
- 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/search.js +4 -4
- package/node_modules/@fbincon/statusline-core/dist/src/editor/search.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.d.ts +13755 -13609
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js +13748 -13609
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/messages.d.ts +2 -0
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/messages.js +8 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/messages.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/en.d.ts +209 -209
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/en.js +209 -209
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/en.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ja.d.ts +209 -209
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ja.js +209 -209
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ja.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ko.d.ts +209 -209
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ko.js +209 -209
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ko.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-CN.d.ts +209 -209
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-CN.js +209 -209
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-CN.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-HK.d.ts +209 -209
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-HK.js +209 -209
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-HK.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-TW.d.ts +209 -209
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-TW.js +209 -209
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-TW.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 +2226 -2203
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ja.json +2226 -2203
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ko.json +2226 -2203
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-CN.json +2226 -2203
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-HK.json +2226 -2203
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-TW.json +2226 -2203
- package/package.json +3 -3
|
@@ -68,9 +68,13 @@ export function startPackageReview(context, request, owner) {
|
|
|
68
68
|
export function packageReviewJob(context, id, owner, cancel = false) {
|
|
69
69
|
if (typeof id !== 'string' || typeof owner !== 'string')
|
|
70
70
|
throw new PackageError('arguments');
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
const readOwned = () => {
|
|
72
|
+
const current = readReviewRecord(id);
|
|
73
|
+
if (current.configDir !== context.configDir || current.job.owner !== owner)
|
|
74
|
+
throw new PackageError('identity');
|
|
75
|
+
return current;
|
|
76
|
+
};
|
|
77
|
+
let record = readOwned(), job = record.job;
|
|
74
78
|
if (cancel) {
|
|
75
79
|
atomicWrite(join(reviewFolder(id), 'cancel.json'), '{}\n');
|
|
76
80
|
const stopped = waitReviewExit(() => {
|
|
@@ -85,11 +89,21 @@ export function packageReviewJob(context, id, owner, cancel = false) {
|
|
|
85
89
|
// Cancellation was requested, but a live/unverifiable executor still owns its files.
|
|
86
90
|
return readReviewRecord(id).job;
|
|
87
91
|
}
|
|
88
|
-
if (
|
|
89
|
-
|
|
90
|
-
|
|
92
|
+
if (reviewInterrupted(record)) {
|
|
93
|
+
// A bounded snapshot can precede the worker's final atomic publication.
|
|
94
|
+
// Reconcile after observing exit before deriving an interruption from it.
|
|
95
|
+
record = readOwned();
|
|
96
|
+
job = record.job;
|
|
97
|
+
if (reviewInterrupted(record))
|
|
98
|
+
return { ...job, state: 'failed', error: 'interrupted', finished_at: new Date().toISOString() };
|
|
99
|
+
}
|
|
91
100
|
if (job.state === 'complete' && inspectPackage(context, job.request.prefix).revision !== job.request.expected_revision)
|
|
92
101
|
return { ...job, state: 'failed', review: null, error: 'conflict' };
|
|
93
102
|
return job;
|
|
94
103
|
}
|
|
104
|
+
function reviewInterrupted(record) {
|
|
105
|
+
return record.job.state === 'running' && (Date.now() - Date.parse(record.job.started_at) > REVIEW_DEADLINE_MS ||
|
|
106
|
+
Date.now() - Date.parse(record.launched_at ?? record.job.started_at) > 15000 &&
|
|
107
|
+
(!record.pid || !!record.token && processAlive(record.pid, record.token) === false));
|
|
108
|
+
}
|
|
95
109
|
//# sourceMappingURL=review-jobs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review-jobs.js","sourceRoot":"","sources":["../../../src/management/review-jobs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,o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AAC,GAAG,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,IAAI,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,KAAK;YAC5E,CAAC,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,MAAM,CAAC,KAAK,IAAI,YAAY,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC;AAC7F,CAAC"}
|
|
@@ -17,7 +17,7 @@ import { truth, string, object } from '@fbincon/statusline-core/runtime/values';
|
|
|
17
17
|
import { unavailable } from '@fbincon/statusline-core/runtime/live/snapshot';
|
|
18
18
|
import { directory, pathName, formatDate, hostName } from '@fbincon/statusline-platform/presentation';
|
|
19
19
|
export async function presentation(language) {
|
|
20
|
-
// Generation
|
|
20
|
+
// Generation supplies complete effective packs, including safe development fallback.
|
|
21
21
|
const selected = resolveLanguage(language) ?? 'en';
|
|
22
22
|
const { MESSAGES } = await import(__rewriteRelativeImportExtension('@fbincon/statusline-core/i18n/statusline/' + selected));
|
|
23
23
|
return new Presentation(selected, MESSAGES);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../../src/rendering/environment.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC7F,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAG3C,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,KAAK,EAAE,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,MAAM,CAAC,6CAA6C,CAAC,CAAC,CAAC,CAAC;QACvR,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC,MAAM,OAAO,EAAE,CAAC,CAAC;QAC7C,GAAG,CAAC,WAAW,GAAG,KAAK,CAAC,EAAE;YACtB,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;YACxC,IAAI,OAAgB,CAAC;YACrB,IAAI,CAAC;gBACD,OAAO,GAAG,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,aAAa,CAAC;YACjE,CAAC;YACD,MAAM,CAAC;gBACH,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,oBAAoB,EAAE,CAAC;YACzD,CAAC;YACD,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;YACnF,OAAO,WAAW,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACvK,CAAC,CAAC;IACN,CAAC;IACD,OAAO,GAAG,CAAC;AACf,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.
|
|
7
|
+
export declare const BACKEND_VERSION = "3.15.0";
|
|
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;
|
|
@@ -83,6 +83,46 @@ export declare function configurationDescription(version: readonly number[] | nu
|
|
|
83
83
|
readonly label: "Quota Watch";
|
|
84
84
|
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"]];
|
|
85
85
|
readonly layout_mode: "explicit";
|
|
86
|
+
}, {
|
|
87
|
+
readonly id: "powerline-daily";
|
|
88
|
+
readonly purpose_key: "quick.purpose.powerline-daily";
|
|
89
|
+
readonly requirements_key: "quick.requirements.powerline-daily";
|
|
90
|
+
readonly example: false;
|
|
91
|
+
readonly label: "Powerline Daily";
|
|
92
|
+
readonly rows: readonly [readonly ["model-with-effort", "current-dir", "git"], readonly ["context-remaining", "task-timer", "session-cost"]];
|
|
93
|
+
readonly layout_mode: "explicit";
|
|
94
|
+
}, {
|
|
95
|
+
readonly id: "agent-workbench";
|
|
96
|
+
readonly purpose_key: "quick.purpose.agent-workbench";
|
|
97
|
+
readonly requirements_key: "quick.requirements.agent-workbench";
|
|
98
|
+
readonly example: false;
|
|
99
|
+
readonly label: "Agent Workbench";
|
|
100
|
+
readonly rows: readonly [readonly ["task-timer", "context-remaining", "git"], readonly ["run-state", "task-progress", "active-agents"]];
|
|
101
|
+
readonly layout_mode: "explicit";
|
|
102
|
+
}, {
|
|
103
|
+
readonly id: "quota-cost";
|
|
104
|
+
readonly purpose_key: "quick.purpose.quota-cost";
|
|
105
|
+
readonly requirements_key: "quick.requirements.quota-cost";
|
|
106
|
+
readonly example: false;
|
|
107
|
+
readonly label: "Quota Cost";
|
|
108
|
+
readonly rows: readonly [readonly ["five-hour-limit", "weekly-limit"], readonly ["five-hour-reset", "weekly-reset"], readonly ["context-used", "spend-limit"], readonly ["session-cost", "session-cost-rate"]];
|
|
109
|
+
readonly layout_mode: "explicit";
|
|
110
|
+
}, {
|
|
111
|
+
readonly id: "narrow-terminal";
|
|
112
|
+
readonly purpose_key: "quick.purpose.narrow-terminal";
|
|
113
|
+
readonly requirements_key: "quick.requirements.narrow-terminal";
|
|
114
|
+
readonly example: false;
|
|
115
|
+
readonly label: "Narrow Terminal";
|
|
116
|
+
readonly rows: readonly [readonly ["model-with-effort", "current-dir", "context-remaining", "task-timer"]];
|
|
117
|
+
readonly layout_mode: "explicit";
|
|
118
|
+
}, {
|
|
119
|
+
readonly id: "light-readable";
|
|
120
|
+
readonly purpose_key: "quick.purpose.light-readable";
|
|
121
|
+
readonly requirements_key: "quick.requirements.light-readable";
|
|
122
|
+
readonly example: false;
|
|
123
|
+
readonly label: "Light Readable";
|
|
124
|
+
readonly rows: readonly [readonly ["model-with-effort", "current-dir", "git"], readonly ["context-remaining", "task-timer", "session-cost"]];
|
|
125
|
+
readonly layout_mode: "explicit";
|
|
86
126
|
}];
|
|
87
127
|
editor_fields: {
|
|
88
128
|
readonly global: readonly [{
|
|
@@ -103,6 +143,15 @@ export declare function configurationDescription(version: readonly number[] | nu
|
|
|
103
143
|
readonly minimum: 0;
|
|
104
144
|
readonly maximum: 10000;
|
|
105
145
|
readonly nullable: false;
|
|
146
|
+
}, {
|
|
147
|
+
readonly key: "powerline.row_background_gradient";
|
|
148
|
+
readonly label: "Continuous row background";
|
|
149
|
+
readonly group: "Appearance";
|
|
150
|
+
readonly kind: "text";
|
|
151
|
+
readonly choices: readonly [];
|
|
152
|
+
readonly minimum: 0;
|
|
153
|
+
readonly maximum: 256;
|
|
154
|
+
readonly nullable: true;
|
|
106
155
|
}, {
|
|
107
156
|
readonly key: "powerline.padding";
|
|
108
157
|
readonly label: "Block padding";
|
|
@@ -82,4 +82,4 @@ The guided form preserves the saved theme, Powerline glyph, item colors and visi
|
|
|
82
82
|
|
|
83
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.
|
|
84
84
|
|
|
85
|
-
Quick setup in either editor includes complete `daily-development`, `agent-focus`, and `quota-watch` schemes, plus 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`. 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.
|
|
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.
|
|
@@ -177,9 +177,9 @@ export function isDraft(value: unknown): value is Draft {
|
|
|
177
177
|
)
|
|
178
178
|
return false;
|
|
179
179
|
if (
|
|
180
|
-
d.schema_version !==
|
|
181
|
-
!object(d.powerline) || !exact(d.powerline, POWERLINE_FIELDS.map(f => f.key.slice(10))) ||
|
|
182
|
-
!POWERLINE_FIELDS.every(f => f.kind === 'boolean' ? typeof (d.powerline as Record<string, unknown>)[f.key.slice(10)] === 'boolean' :
|
|
180
|
+
d.schema_version !== 17 ||
|
|
181
|
+
!object(d.powerline) || !exact(d.powerline, POWERLINE_FIELDS.filter(f => f.key !== 'powerline.row_background_gradient' || Object.hasOwn(d.powerline as object, 'row_background_gradient')).map(f => f.key.slice(10))) ||
|
|
182
|
+
!POWERLINE_FIELDS.every(f => f.kind === 'text' ? validGradient((d.powerline as Record<string, unknown>)[f.key.slice(10)] ?? null) : f.kind === 'boolean' ? typeof (d.powerline as Record<string, unknown>)[f.key.slice(10)] === 'boolean' :
|
|
183
183
|
(f.choices as readonly unknown[]).includes((d.powerline as Record<string, unknown>)[f.key.slice(10)])) ||
|
|
184
184
|
!THEME_VALUES.some(x => x === d.theme) || !POWERLINEGLYPH_VALUES.some(x => x === d.powerline_glyph) ||
|
|
185
185
|
!STATUSLINELANGUAGE_VALUES.some((x) => x === d.statusline_language) ||
|
package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/color-manager.ts
CHANGED
|
@@ -27,13 +27,13 @@ interface Choice {
|
|
|
27
27
|
surface?: string;
|
|
28
28
|
}
|
|
29
29
|
export function openColors(e: Editor, key: string): boolean {
|
|
30
|
-
if (!['field:theme', 'item:foreground', 'item:background', 'item:foreground_gradient', 'item:background_gradient'].includes(key))
|
|
30
|
+
if (!['field:powerline.row_background_gradient', 'field:theme', 'item:foreground', 'item:background', 'item:foreground_gradient', 'item:background_gradient'].includes(key))
|
|
31
31
|
return false;
|
|
32
32
|
if (!e.canMutateDraft())
|
|
33
33
|
return true;
|
|
34
34
|
const kind = key === 'field:theme' ? 'theme' : key.endsWith('_gradient') ? 'gradient' : 'solid';
|
|
35
35
|
const detail = e.detail, node = detail ? e.instance(detail.scope, detail.id) : null;
|
|
36
|
-
const value = kind === 'theme' ? e.draft.display.theme : node?.options[key.slice(5) as 'foreground'] ?? null;
|
|
36
|
+
const value = key === 'field:powerline.row_background_gradient' ? e.draft.display.powerline.row_background_gradient ?? null : kind === 'theme' ? e.draft.display.theme : node?.options[key.slice(5) as 'foreground'] ?? null;
|
|
37
37
|
e.colors = { kind, key, scope: detail?.scope ?? 'main', id: detail?.id ?? '', cursor: 0, candidate: Array.isArray(value) ? [...value] : value, generation: e.mutationGeneration, input: null, editing: null, error: false };
|
|
38
38
|
return true;
|
|
39
39
|
}
|
|
@@ -62,7 +62,8 @@ export function colorDraft(e: Editor): Draft {
|
|
|
62
62
|
if (!m)
|
|
63
63
|
return e.draft;
|
|
64
64
|
const draft = copyDraft(e.draft);
|
|
65
|
-
if (m.
|
|
65
|
+
if (m.key === 'field:powerline.row_background_gradient') draft.display.powerline.row_background_gradient = Array.isArray(m.candidate) ? [...m.candidate] : null;
|
|
66
|
+
else if (m.kind === 'theme')
|
|
66
67
|
draft.display.theme = m.candidate as Draft['display']['theme'];
|
|
67
68
|
else {
|
|
68
69
|
const node = (m.scope === 'main' ? draft.display.instances : draft.display.subagents.instances).find(n => n.id === m.id);
|
package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/forms.ts
CHANGED
|
@@ -39,6 +39,7 @@ export function fieldMessage(row: SettingRow, view: FormView) {
|
|
|
39
39
|
}
|
|
40
40
|
if (key.startsWith('break:'))
|
|
41
41
|
return localizedText('layout.break_before', { item: view.editor!.instanceLabel('main', key.slice(6), view.language) });
|
|
42
|
+
if (['reuse-style', 'reuse-groups', 'change-history'].includes(key)) return localizedText('settings.' + key);
|
|
42
43
|
return localizedText('native.settings.' + key);
|
|
43
44
|
}
|
|
44
45
|
export interface FormRow extends SettingRow {
|
|
@@ -58,7 +59,7 @@ function format(raw: unknown): string {
|
|
|
58
59
|
return raw === null ? 'inherit' : typeof raw === 'boolean' ? raw ? 'on' : 'off' : String(raw);
|
|
59
60
|
}
|
|
60
61
|
function row(spec: EditorField, key: string, valueRaw: unknown): FormRow {
|
|
61
|
-
return { ...spec, spec, key, valueRaw, value: (GRADIENT_KEYS as readonly string[]).includes(spec.key) ? gradientName(valueRaw) : format(valueRaw), editable: true };
|
|
62
|
+
return { ...spec, spec, key, valueRaw, value: ((GRADIENT_KEYS as readonly string[]).includes(spec.key) || spec.key === 'powerline.row_background_gradient') ? gradientName(valueRaw) : format(valueRaw), editable: true };
|
|
62
63
|
}
|
|
63
64
|
export function formRows(view: FormView): FormRow[] {
|
|
64
65
|
const e = view.editor!;
|
|
@@ -87,7 +88,7 @@ export function formRows(view: FormView): FormRow[] {
|
|
|
87
88
|
}
|
|
88
89
|
return result;
|
|
89
90
|
}
|
|
90
|
-
return e.description.editor_fields.global!.map((spec) => row(spec, 'field:' + spec.key, read(d, spec.key)));
|
|
91
|
+
return e.description.editor_fields.global!.map((spec) => row(spec, 'field:' + spec.key, read(d, spec.key) ?? null));
|
|
91
92
|
}
|
|
92
93
|
function options(draft: Draft, scope: 'main' | 'subagent', id: string) {
|
|
93
94
|
return nodes(draft, scope).find(i => i.id === id)!.options;
|
|
@@ -111,7 +112,7 @@ export function setFormValue(view: FormView, current: FormRow, raw: string | boo
|
|
|
111
112
|
return false;
|
|
112
113
|
if (spec.key === "foreground" || spec.key === "background")
|
|
113
114
|
value = normalizeColor(value);
|
|
114
|
-
if ((GRADIENT_KEYS as readonly string[]).includes(spec.key)) {
|
|
115
|
+
if (((GRADIENT_KEYS as readonly string[]).includes(spec.key) || spec.key === 'powerline.row_background_gradient')) {
|
|
115
116
|
try { value = parseGradient(value); } catch { setMessage(view, 'message', localizedText('gradients.invalid')); return false; }
|
|
116
117
|
}
|
|
117
118
|
const draft = copyDraft(e.draft);
|
|
@@ -161,7 +162,7 @@ export function setFormValue(view: FormView, current: FormRow, raw: string | boo
|
|
|
161
162
|
}
|
|
162
163
|
export function adjustForm(view: FormView, current: FormRow, delta: -1 | 1): boolean {
|
|
163
164
|
const spec = current.spec;
|
|
164
|
-
if ((GRADIENT_KEYS as readonly string[]).includes(spec.key)) {
|
|
165
|
+
if (((GRADIENT_KEYS as readonly string[]).includes(spec.key) || spec.key === 'powerline.row_background_gradient')) {
|
|
165
166
|
const choices = ['off', ...Object.keys(GRADIENT_PRESETS)], index = choices.indexOf(gradientName(current.valueRaw));
|
|
166
167
|
return setFormValue(view, current, choices[(index + delta + choices.length) % choices.length]!);
|
|
167
168
|
}
|
|
@@ -4,7 +4,7 @@ import type { Draft } from '../generated-contracts.ts';
|
|
|
4
4
|
|
|
5
5
|
export const IMPORT_FIELDS = [
|
|
6
6
|
'main', 'subagent', 'use_colors', 'palette', 'theme', 'directory_style', 'separator_style', 'scope_labels',
|
|
7
|
-
'powerline_glyph', 'powerline.padding', 'powerline.separator', 'powerline.start_cap', 'powerline.end_cap', 'powerline.color_mode',
|
|
7
|
+
'powerline.row_background_gradient', 'powerline_glyph', 'powerline.padding', 'powerline.separator', 'powerline.start_cap', 'powerline.end_cap', 'powerline.color_mode',
|
|
8
8
|
'statusline_language', 'formatting.model_name', 'formatting.number_format', 'formatting.labels', 'formatting.icons',
|
|
9
9
|
'formatting.allowance', 'formatting.reset_format', 'formatting.reset_timezone', 'formatting.thresholds',
|
|
10
10
|
] as const;
|
|
@@ -34,5 +34,6 @@ export function selectImport(base: Draft, incoming: Draft, requested: unknown):
|
|
|
34
34
|
target[parts.at(-1)!] = origin[parts.at(-1)!];
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
+
if (result.display.powerline.row_background_gradient === undefined) delete result.display.powerline.row_background_gradient;
|
|
37
38
|
return result;
|
|
38
39
|
}
|
package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/indicators.ts
CHANGED
|
@@ -8,13 +8,13 @@ export function supportsIndicator(scope: Scope, id: string): boolean {
|
|
|
8
8
|
return ['context-used', 'context-remaining'].includes(id) || scope === 'main' && ['five-hour-limit', 'weekly-limit', 'spend-limit'].includes(id);
|
|
9
9
|
}
|
|
10
10
|
export const INDICATOR_FIELDS: EditorField[] = [
|
|
11
|
-
{ key: 'presentation', label: 'Indicator presentation', group: 'Item format', kind: 'choice', choices: ['numeric', 'bar'], minimum: 0, maximum: 0, nullable: false },
|
|
11
|
+
{ key: 'presentation', label: 'Indicator presentation', group: 'Item format', kind: 'choice', choices: ['numeric', 'bar', 'adaptive'], minimum: 0, maximum: 0, nullable: false },
|
|
12
12
|
{ key: 'bar_width', label: 'Bar width', group: 'Item format', kind: 'integer', choices: [], minimum: 4, maximum: 20, nullable: false },
|
|
13
13
|
{ key: 'bar_style', label: 'Bar characters', group: 'Item format', kind: 'choice', choices: ['auto', 'unicode', 'ascii'], minimum: 0, maximum: 0, nullable: false },
|
|
14
14
|
];
|
|
15
15
|
export function validIndicatorOptions(value: Record<string, unknown>, scope?: Scope, id?: string): boolean {
|
|
16
16
|
if (scope && id && !supportsIndicator(scope, id) && INDICATOR_KEYS.some(key => Object.hasOwn(value, key))) return false;
|
|
17
|
-
return (value.presentation === undefined || typeof value.presentation === 'string' && ['numeric', 'bar'].includes(value.presentation)) &&
|
|
17
|
+
return (value.presentation === undefined || typeof value.presentation === 'string' && ['numeric', 'bar', 'adaptive'].includes(value.presentation)) &&
|
|
18
18
|
(value.bar_style === undefined || typeof value.bar_style === 'string' && ['auto', 'unicode', 'ascii'].includes(value.bar_style)) &&
|
|
19
19
|
(value.bar_width === undefined || typeof value.bar_width === 'number' && Number.isInteger(value.bar_width) && value.bar_width >= 4 && value.bar_width <= 20);
|
|
20
20
|
}
|
package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/quick-setup.ts
CHANGED
|
@@ -63,7 +63,7 @@ export function quickView(quick: QuickSetup, language: Language, width: number,
|
|
|
63
63
|
] : [tr('quick.fine_tune'),tr('quick.save'),tr('quick.copy'),tr('quick.back')];
|
|
64
64
|
const paragraphs=[...(quick.step === 'review' && quick.selected === 1 && sharedProjects.length ? [tr('profiles.shared',{count:sharedProjects.length}), ...sharedProjects] : []),
|
|
65
65
|
tr(preset.requirements_key),tr('quick.sample'),
|
|
66
|
-
...(!d.subagents.enabled && ['multi-agent','agent-focus'].includes(preset.id) ? [tr('quick.subagents_off')] : []),
|
|
66
|
+
...(!d.subagents.enabled && ['multi-agent','agent-focus','agent-workbench'].includes(preset.id) ? [tr('quick.subagents_off')] : []),
|
|
67
67
|
...(quick.step==='review' ? [tr('quick.replace')] : [])];
|
|
68
68
|
const detail=wrapText(paragraphs,width), menuHeight=Math.max(1, Math.min(rows.length,Math.floor(height/2)));
|
|
69
69
|
const start=Math.max(0, Math.min(quick.selected,rows.length-menuHeight,quick.selected-menuHeight+1));
|
package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/search.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated by tools/generation/resources.ts; do not edit.
|
|
2
2
|
/** Local deterministic search. Original code-point positions survive NFKD. */
|
|
3
3
|
import type { CatalogItem } from '../generated-contracts.ts';
|
|
4
|
-
import { LANGUAGES, t } from '../i18n/index.ts';
|
|
4
|
+
import { LANGUAGES, messageOrigin, t } from '../i18n/index.ts';
|
|
5
5
|
|
|
6
6
|
const SPACES = new Set([..." \t\n\r\v\f\u0085\u00a0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000"]);
|
|
7
7
|
export interface Match { rank: number; positions: number[]; text: string; field: string }
|
|
@@ -79,11 +79,11 @@ export function fields(item: CatalogItem, customLabel: string | null = null): re
|
|
|
79
79
|
const prefix = `items.${item.scope}.${item.id}.`;
|
|
80
80
|
const result = [
|
|
81
81
|
preparedField('id', item.id),
|
|
82
|
-
...LANGUAGES.map(code => preparedField('label.' + code, code === 'en' ? item.label : t(prefix + 'label', code))),
|
|
82
|
+
...LANGUAGES.map(code => preparedField('label.' + messageOrigin(prefix + 'label', code), code === 'en' ? item.label : t(prefix + 'label', code))),
|
|
83
83
|
preparedField('custom_label', customLabel ?? ''),
|
|
84
|
-
...LANGUAGES.map(code => preparedField('description.' + code, code === 'en' ? item.description : t(prefix + 'description', code))),
|
|
84
|
+
...LANGUAGES.map(code => preparedField('description.' + messageOrigin(prefix + 'description', code), code === 'en' ? item.description : t(prefix + 'description', code))),
|
|
85
85
|
preparedField('category.id', item.group),
|
|
86
|
-
...LANGUAGES.map(code => preparedField('category.' + code, t('catalog.categories.' + item.group, code, {}, item.group))),
|
|
86
|
+
...LANGUAGES.map(code => preparedField('category.' + messageOrigin('catalog.categories.' + item.group, code), t('catalog.categories.' + item.group, code, {}, item.group))),
|
|
87
87
|
];
|
|
88
88
|
fieldCache.set(item, {customLabel, fields: result});
|
|
89
89
|
return result;
|
package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/generated-contracts.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
// Generated by tools/generation/resources.ts; do not edit.
|
|
2
|
-
export const PROTOCOL_VERSION =
|
|
2
|
+
export const PROTOCOL_VERSION = 30 as const;
|
|
3
3
|
export const ITEM_DEFAULTS = {"label": null, "icon": null, "priority": 50, "max_width": null, "formatting": {}, "foreground": null, "background": null, "visibility": "always", "visibility_threshold": 70};
|
|
4
4
|
export const VISIBILITY_ITEMS = {"main": {"git": "git-dirty", "git-changes": "git-dirty", "active-agents": "nonzero", "task-progress": "nonzero", "context-used": "used-at-least", "context-remaining": "used-at-least", "five-hour-limit": "used-at-least", "weekly-limit": "used-at-least", "spend-limit": "used-at-least"}, "subagent": {"context-used": "used-at-least", "context-remaining": "used-at-least"}} as const;
|
|
5
5
|
export const GUIDANCE_KEYS = {"source_kinds": ["configuration", "official_input", "local_git", "local_system", "transcript", "local_state", "lifecycle", "native_timing", "live_metrics", "telemetry"], "scopes": ["main", "main_context", "session", "all_sessions", "task", "subagent", "subagent_context", "repository", "local", "latest_request"], "requirements": ["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", "cost_rate"]} as const;
|
|
6
6
|
export const POWERLINE_FIELDS = [
|
|
7
|
+
{ key: "powerline.row_background_gradient", label: "Continuous row background", group: "Appearance", kind: "text", choices: [], minimum: 0, maximum: 256, nullable: true },
|
|
7
8
|
{
|
|
8
9
|
"key": "powerline.padding",
|
|
9
10
|
"label": "Block padding",
|
|
@@ -478,7 +479,7 @@ export const EDITOR_FIELDS = {
|
|
|
478
479
|
}
|
|
479
480
|
]
|
|
480
481
|
} as const;
|
|
481
|
-
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"}] as const;
|
|
482
|
+
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"}, {"id": "powerline-daily", "purpose_key": "quick.purpose.powerline-daily", "requirements_key": "quick.requirements.powerline-daily", "example": false, "label": "Powerline Daily", "rows": [["model-with-effort", "current-dir", "git"], ["context-remaining", "task-timer", "session-cost"]], "layout_mode": "explicit"}, {"id": "agent-workbench", "purpose_key": "quick.purpose.agent-workbench", "requirements_key": "quick.requirements.agent-workbench", "example": false, "label": "Agent Workbench", "rows": [["task-timer", "context-remaining", "git"], ["run-state", "task-progress", "active-agents"]], "layout_mode": "explicit"}, {"id": "quota-cost", "purpose_key": "quick.purpose.quota-cost", "requirements_key": "quick.requirements.quota-cost", "example": false, "label": "Quota Cost", "rows": [["five-hour-limit", "weekly-limit"], ["five-hour-reset", "weekly-reset"], ["context-used", "spend-limit"], ["session-cost", "session-cost-rate"]], "layout_mode": "explicit"}, {"id": "narrow-terminal", "purpose_key": "quick.purpose.narrow-terminal", "requirements_key": "quick.requirements.narrow-terminal", "example": false, "label": "Narrow Terminal", "rows": [["model-with-effort", "current-dir", "context-remaining", "task-timer"]], "layout_mode": "explicit"}, {"id": "light-readable", "purpose_key": "quick.purpose.light-readable", "requirements_key": "quick.requirements.light-readable", "example": false, "label": "Light Readable", "rows": [["model-with-effort", "current-dir", "git"], ["context-remaining", "task-timer", "session-cost"]], "layout_mode": "explicit"}] as const;
|
|
482
483
|
export const FORMAT_CHOICES = {"model_name": ["original", "short"], "number_format": ["legacy", "compact", "full", "grouped"], "labels": ["legacy", "short", "off"], "icons": ["legacy", "unicode", "ascii", "off"], "allowance": ["remaining", "used"], "reset_format": ["countdown", "time", "datetime"], "reset_timezone": ["local", "UTC"]} as const;
|
|
483
484
|
export const FORMAT_DEFAULTS = {"model_name": "original", "number_format": "legacy", "labels": "legacy", "icons": "legacy", "allowance": "remaining", "reset_format": "countdown", "reset_timezone": "local", "thresholds": {"enabled": false, "warning": 70, "critical": 90}} as const;
|
|
484
485
|
export type MainItemId = "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-cost-rate" | "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" | "external-value" | "github-pr" | "github-ci";
|
|
@@ -556,6 +557,7 @@ export interface ConfigurationOptions {
|
|
|
556
557
|
palette: ChoiceOptions;
|
|
557
558
|
theme: ChoiceOptions;
|
|
558
559
|
"powerline-glyph": ChoiceOptions;
|
|
560
|
+
"powerline-row-background-gradient": ChoiceOptions;
|
|
559
561
|
"powerline-padding": ChoiceOptions;
|
|
560
562
|
"powerline-separator": ChoiceOptions;
|
|
561
563
|
"powerline-start-cap": ChoiceOptions;
|
|
@@ -573,7 +575,7 @@ export interface ConfigurationOptions {
|
|
|
573
575
|
export const POWERLINE_OPTIONS = Object.fromEntries(POWERLINE_FIELDS.map(field => [
|
|
574
576
|
field.key.replaceAll('.', '-').replaceAll('_', '-'),
|
|
575
577
|
{ choices: field.kind === 'boolean' ? [true, false] : [...field.choices] },
|
|
576
|
-
])) as Pick<ConfigurationOptions, 'powerline-padding' | 'powerline-separator' | 'powerline-start-cap' | 'powerline-end-cap' | 'powerline-color-mode'>;
|
|
578
|
+
])) as Pick<ConfigurationOptions, 'powerline-row-background-gradient' | 'powerline-padding' | 'powerline-separator' | 'powerline-start-cap' | 'powerline-end-cap' | 'powerline-color-mode'>;
|
|
577
579
|
export interface Capabilities {
|
|
578
580
|
host_version: string | null;
|
|
579
581
|
subagent_rows: "unknown" | "supported" | "unsupported";
|
|
@@ -600,7 +602,7 @@ export type GradientDraft = string[];
|
|
|
600
602
|
export interface ItemOptionsDraft {
|
|
601
603
|
foreground_gradient?: GradientDraft | null;
|
|
602
604
|
background_gradient?: GradientDraft | null;
|
|
603
|
-
presentation?: "numeric" | "bar";
|
|
605
|
+
presentation?: "numeric" | "bar" | "adaptive";
|
|
604
606
|
bar_width?: number;
|
|
605
607
|
cost_rate_basis?: 'session' | 'api';
|
|
606
608
|
bar_style?: "auto" | "unicode" | "ascii";
|
|
@@ -646,6 +648,7 @@ export interface MetricsDraft {
|
|
|
646
648
|
branch_diff_base_ref: string | null;
|
|
647
649
|
}
|
|
648
650
|
export interface PowerlineDraft {
|
|
651
|
+
row_background_gradient?: GradientDraft | null;
|
|
649
652
|
padding: "none" | "left" | "right" | "both";
|
|
650
653
|
separator: "arrow" | "slash" | "bar" | "none";
|
|
651
654
|
start_cap: boolean;
|
|
@@ -654,7 +657,7 @@ export interface PowerlineDraft {
|
|
|
654
657
|
}
|
|
655
658
|
export interface DisplayDraft {
|
|
656
659
|
groups: GroupDraft[];
|
|
657
|
-
schema_version:
|
|
660
|
+
schema_version: 17;
|
|
658
661
|
statusline_language: StatuslineLanguage;
|
|
659
662
|
instances: InstanceDraft[];
|
|
660
663
|
use_colors: boolean;
|
|
@@ -784,7 +787,7 @@ export interface ExplainResult {
|
|
|
784
787
|
}
|
|
785
788
|
export const LAYOUT_REASONS = ['group_hidden','visible','empty','condition_hidden','priority_omitted','width_omitted','row_hidden','spacer'] as const;
|
|
786
789
|
export type LayoutReason = typeof LAYOUT_REASONS[number];
|
|
787
|
-
export const STYLE_REASONS = ['colors_disabled','background_gradient_requires_powerline','group_background_owned','threshold_warning','threshold_critical','color_quantized','contrast_protected'] as const;
|
|
790
|
+
export const STYLE_REASONS = ['adaptive_label_shortened','adaptive_bar_shortened','adaptive_numeric','row_background_gradient','row_gradient_overridden','colors_disabled','background_gradient_requires_powerline','group_background_owned','threshold_warning','threshold_critical','color_quantized','contrast_protected'] as const;
|
|
788
791
|
export interface StyleDecision {code: typeof STYLE_REASONS[number];owner_id:string|null}
|
|
789
792
|
export interface InstanceLayout { row_id: string; outcome: LayoutReason; truncated: boolean; style_reasons?:StyleDecision[]; }
|
|
790
793
|
export const EVIDENCE_STATUSES = ['observed','not_observed','invalid_field','source_unavailable','association_unavailable','session_mismatch','prompt_mismatch','stale','partial','collector_off','input_only','newer_than_input','unsupported_host','no_misses','unidentified'] as const;
|
|
@@ -7,11 +7,12 @@ export function resolveLanguage(value: unknown): Language | null {
|
|
|
7
7
|
const code = typeof value === "string" && Object.hasOwn(LANGUAGE_ALIASES, value) ? LANGUAGE_ALIASES[value] : value;
|
|
8
8
|
return typeof code === "string" && (LANGUAGES as readonly string[]).includes(code) ? code as Language : null;
|
|
9
9
|
}
|
|
10
|
-
import { MESSAGES as locale0 } from './locales/en.ts';
|
|
11
|
-
import { MESSAGES as locale1 } from './locales/zh-CN.ts';
|
|
12
|
-
import { MESSAGES as locale2 } from './locales/zh-TW.ts';
|
|
13
|
-
import { MESSAGES as locale3 } from './locales/zh-HK.ts';
|
|
14
|
-
import { MESSAGES as locale4 } from './locales/ja.ts';
|
|
15
|
-
import { MESSAGES as locale5 } from './locales/ko.ts';
|
|
10
|
+
import { MESSAGES as locale0, FALLBACK_KEYS as fallback0 } from './locales/en.ts';
|
|
11
|
+
import { MESSAGES as locale1, FALLBACK_KEYS as fallback1 } from './locales/zh-CN.ts';
|
|
12
|
+
import { MESSAGES as locale2, FALLBACK_KEYS as fallback2 } from './locales/zh-TW.ts';
|
|
13
|
+
import { MESSAGES as locale3, FALLBACK_KEYS as fallback3 } from './locales/zh-HK.ts';
|
|
14
|
+
import { MESSAGES as locale4, FALLBACK_KEYS as fallback4 } from './locales/ja.ts';
|
|
15
|
+
import { MESSAGES as locale5, FALLBACK_KEYS as fallback5 } from './locales/ko.ts';
|
|
16
16
|
export const LOCALES = {"en":locale0,"zh-CN":locale1,"zh-TW":locale2,"zh-HK":locale3,"ja":locale4,"ko":locale5} as const;
|
|
17
17
|
export type MessageKey = keyof typeof LOCALES.en;
|
|
18
|
+
export const FALLBACK_KEYS = {"en":fallback0,"zh-CN":fallback1,"zh-TW":fallback2,"zh-HK":fallback3,"ja":fallback4,"ko":fallback5} as const;
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
// Generated by tools/generation/resources.ts; do not edit.
|
|
2
2
|
/** Explicit-language messages; canonical backend metadata remains English. */
|
|
3
|
-
import { LOCALES, resolveLanguage } from './generated-locales.ts';
|
|
3
|
+
import { FALLBACK_KEYS, LOCALES, resolveLanguage } from './generated-locales.ts';
|
|
4
4
|
import type { Language } from './generated-locales.ts';
|
|
5
5
|
export type { MessageKey, Language } from './generated-locales.ts';
|
|
6
6
|
export { LANGUAGES, LANGUAGE_NAMES, resolveLanguage } from './generated-locales.ts';
|
|
7
7
|
export interface LocalizedText { key: string; params: Record<string, unknown>; fallback: string }
|
|
8
|
+
const originCache: Partial<Record<Language, ReadonlySet<string>>> = {};
|
|
9
|
+
|
|
10
|
+
/** Effective English remains English evidence, even when selected through another language. */
|
|
11
|
+
export function messageOrigin(key: string, language: Language = 'en'): Language {
|
|
12
|
+
const code = resolveLanguage(language) ?? 'en';
|
|
13
|
+
const fallback = originCache[code] ??= new Set<string>(FALLBACK_KEYS[code]);
|
|
14
|
+
return Object.hasOwn(LOCALES[code], key) && !fallback.has(key) ? code : 'en';
|
|
15
|
+
}
|
|
8
16
|
|
|
9
17
|
export class LocalizedError extends Error {
|
|
10
18
|
constructor(public readonly localization: LocalizedText) { super(localization.fallback); }
|