@fbincon/claude-code-statusline 3.3.0 → 3.4.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 (106) hide show
  1. package/README.md +73 -70
  2. package/candidate.json +190 -139
  3. package/node_modules/@fbincon/statusline-cli/dist/src/config/profile-command.d.ts +12 -0
  4. package/node_modules/@fbincon/statusline-cli/dist/src/config/profile-command.js +101 -0
  5. package/node_modules/@fbincon/statusline-cli/dist/src/config/profile-command.js.map +1 -0
  6. package/node_modules/@fbincon/statusline-cli/dist/src/config/profiles.d.ts +54 -0
  7. package/node_modules/@fbincon/statusline-cli/dist/src/config/profiles.js +199 -0
  8. package/node_modules/@fbincon/statusline-cli/dist/src/config/profiles.js.map +1 -0
  9. package/node_modules/@fbincon/statusline-cli/dist/src/config/service.js +5 -1
  10. package/node_modules/@fbincon/statusline-cli/dist/src/config/service.js.map +1 -1
  11. package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.d.ts +1 -0
  12. package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.js +4 -1
  13. package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.js.map +1 -1
  14. package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/command.js +9 -2
  15. package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/command.js.map +1 -1
  16. package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/service.d.ts +8 -2
  17. package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/service.js +6 -3
  18. package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/service.js.map +1 -1
  19. package/node_modules/@fbincon/statusline-cli/dist/src/help.js +9 -0
  20. package/node_modules/@fbincon/statusline-cli/dist/src/help.js.map +1 -1
  21. package/node_modules/@fbincon/statusline-cli/dist/src/integration/configure.d.ts +2 -1
  22. package/node_modules/@fbincon/statusline-cli/dist/src/integration/configure.js +3 -1
  23. package/node_modules/@fbincon/statusline-cli/dist/src/integration/configure.js.map +1 -1
  24. package/node_modules/@fbincon/statusline-cli/dist/src/integration/install.js +4 -1
  25. package/node_modules/@fbincon/statusline-cli/dist/src/integration/install.js.map +1 -1
  26. package/node_modules/@fbincon/statusline-cli/dist/src/main.js +30 -8
  27. package/node_modules/@fbincon/statusline-cli/dist/src/main.js.map +1 -1
  28. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/journal.js +1 -1
  29. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/journal.js.map +1 -1
  30. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/configuration.d.ts +12 -0
  31. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/configuration.js +59 -0
  32. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/configuration.js.map +1 -0
  33. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/main.js +15 -2
  34. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/main.js.map +1 -1
  35. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/command.d.ts +3 -0
  36. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/command.js +25 -0
  37. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/command.js.map +1 -0
  38. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/service.d.ts +4 -0
  39. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/service.js +93 -0
  40. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/service.js.map +1 -0
  41. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.d.ts +5 -3
  42. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.js +33 -8
  43. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.js.map +1 -1
  44. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/.claude-plugin/plugin.json +1 -1
  45. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/hooks/register.ts +89 -3
  46. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/backend.ts +54 -4
  47. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/keys.ts +8 -1
  48. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/settings.ts +1 -0
  49. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/draft.ts +2 -0
  50. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/profile-manager.ts +239 -0
  51. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/task-detail.ts +27 -0
  52. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/generated-contracts.ts +53 -3
  53. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/generated-locales.ts +768 -6
  54. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/session.ts +2 -1
  55. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/resource-manifest.json +16 -14
  56. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/draw.ts +6 -2
  57. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/help.ts +1 -0
  58. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/.claude-plugin/plugin.json +1 -1
  59. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/resource-manifest.json +3 -3
  60. package/node_modules/@fbincon/statusline-core/dist/src/config/profiles.d.ts +16 -0
  61. package/node_modules/@fbincon/statusline-core/dist/src/config/profiles.js +69 -0
  62. package/node_modules/@fbincon/statusline-core/dist/src/config/profiles.js.map +1 -0
  63. package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.d.ts +82 -3
  64. package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.js +1 -1
  65. package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js +71 -4
  66. package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js.map +1 -1
  67. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.d.ts +2 -0
  68. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js +1 -0
  69. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js.map +1 -1
  70. package/node_modules/@fbincon/statusline-core/dist/src/editor/profile-manager.d.ts +60 -0
  71. package/node_modules/@fbincon/statusline-core/dist/src/editor/profile-manager.js +330 -0
  72. package/node_modules/@fbincon/statusline-core/dist/src/editor/profile-manager.js.map +1 -0
  73. package/node_modules/@fbincon/statusline-core/dist/src/editor/task-detail.d.ts +4 -0
  74. package/node_modules/@fbincon/statusline-core/dist/src/editor/task-detail.js +25 -0
  75. package/node_modules/@fbincon/statusline-core/dist/src/editor/task-detail.js.map +1 -0
  76. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.d.ts +762 -0
  77. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js +768 -6
  78. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js.map +1 -1
  79. package/node_modules/@fbincon/statusline-core/dist/src/release.d.ts +1 -1
  80. package/node_modules/@fbincon/statusline-core/dist/src/release.js +1 -1
  81. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/details.d.ts +24 -0
  82. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/details.js +153 -0
  83. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/details.js.map +1 -0
  84. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/en.json +128 -1
  85. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ja.json +128 -1
  86. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ko.json +128 -1
  87. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-CN.json +128 -1
  88. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-HK.json +128 -1
  89. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-TW.json +128 -1
  90. package/node_modules/@fbincon/statusline-platform/dist/src/project-paths.d.ts +8 -0
  91. package/node_modules/@fbincon/statusline-platform/dist/src/project-paths.js +41 -0
  92. package/node_modules/@fbincon/statusline-platform/dist/src/project-paths.js.map +1 -0
  93. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/pages.js +5 -0
  94. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/pages.js.map +1 -1
  95. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/presentation.js +2 -0
  96. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/presentation.js.map +1 -1
  97. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/shortcuts.js +2 -0
  98. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/shortcuts.js.map +1 -1
  99. package/node_modules/@fbincon/statusline-tui/dist/src/drawing.js +3 -2
  100. package/node_modules/@fbincon/statusline-tui/dist/src/drawing.js.map +1 -1
  101. package/node_modules/@fbincon/statusline-tui/dist/src/session.js +7 -3
  102. package/node_modules/@fbincon/statusline-tui/dist/src/session.js.map +1 -1
  103. package/node_modules/@fbincon/statusline-tui/dist/src/state.d.ts +1 -1
  104. package/node_modules/@fbincon/statusline-tui/dist/src/state.js +18 -2
  105. package/node_modules/@fbincon/statusline-tui/dist/src/state.js.map +1 -1
  106. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /** Application identity. Internal workspaces are private implementation packages. */
2
- export declare const VERSION = "3.3.0";
2
+ export declare const VERSION = "3.4.0";
3
3
  export declare const PACKAGE_NAME = "@fbincon/claude-code-statusline";
4
4
  export declare const REPOSITORY_URL = "https://github.com/fbincon/claude-code-statusline";
5
5
  export declare function isPrerelease(version: string): boolean;
@@ -1,5 +1,5 @@
1
1
  /** Application identity. Internal workspaces are private implementation packages. */
2
- export const VERSION = '3.3.0';
2
+ export const VERSION = '3.4.0';
3
3
  export const PACKAGE_NAME = '@fbincon/claude-code-statusline';
4
4
  export const REPOSITORY_URL = 'https://github.com/fbincon/claude-code-statusline';
5
5
  export function isPrerelease(version) {
@@ -0,0 +1,24 @@
1
+ import type { TaskDetails, TaskEvidence } from '../../contracts/ui.js';
2
+ import type { Sample } from '../../timing/sample.js';
3
+ import { type LiveState } from '../live/state.js';
4
+ import type { TaskStore } from './model.js';
5
+ export interface DetailSources {
6
+ session: string;
7
+ prompt: string | null;
8
+ history: TaskStore | null;
9
+ live: LiveState | null;
10
+ taskEvidence: TaskEvidence;
11
+ liveEvidence: TaskEvidence;
12
+ sample: Sample;
13
+ now: number;
14
+ nativeTiming: boolean;
15
+ liveMetrics: boolean;
16
+ hostAgents?: {
17
+ observed_at: number;
18
+ agents: {
19
+ id: string;
20
+ name: string | null;
21
+ }[];
22
+ };
23
+ }
24
+ export declare function taskDetails(s: DetailSources): TaskDetails;
@@ -0,0 +1,153 @@
1
+ import { taskElapsed } from '../../timing/timer.js';
2
+ import { int, numeric, object, own } from '../values.js';
3
+ import { canonicalPrompt } from '../live/ownership.js';
4
+ import { snapshotMetrics, unavailable } from '../live/snapshot.js';
5
+ import { fresh } from '../live/state.js';
6
+ import { STALE_MS } from '../live/model.js';
7
+ import { activePoint } from './view.js';
8
+ const iso = (value) => value !== null && Number.isFinite(value) && value >= 0 && value <= 8640000000000000 ? new Date(value).toISOString() : null;
9
+ export function taskDetails(s) {
10
+ const evidence = [{ ...s.taskEvidence }, { ...s.liveEvidence }], limitations = ['independent_snapshots'];
11
+ const freshness = (stamp) => stamp === null || stamp < 0 ? 'unknown' :
12
+ stamp > s.now ? 'newer_than_input' : s.now - stamp <= STALE_MS ? 'current' : 'stale';
13
+ let prompt = s.prompt ?? s.history?.current_prompt_id ?? s.live?.active_prompt_id ?? s.live?.current_prompt_id ?? null;
14
+ const result = { version: 1, session_id: s.session, prompt_id: prompt, captured_at: new Date(s.now).toISOString(),
15
+ status: null, phase: null, elapsed_seconds: null, active_seconds: null, progress: null, agents: [], evidence, limitations };
16
+ const canonical = (id) => s.live ? canonicalPrompt(s.live, id) : id;
17
+ const liveCurrent = s.live?.active_prompt_id ?? s.live?.current_prompt_id;
18
+ if (!s.prompt && s.history?.current_prompt_id && liveCurrent) {
19
+ const current = s.history.turns.filter(t => t.prompt_id === s.history.current_prompt_id);
20
+ if ((canonical(s.history.current_prompt_id) ?? s.history.current_prompt_id) !== (canonical(liveCurrent) ?? liveCurrent) &&
21
+ !current.some(t => [t.prompt_id, ...t.prompt_aliases].includes(liveCurrent))) {
22
+ limitations.push('ambiguous_current_task');
23
+ result.prompt_id = null;
24
+ return result;
25
+ }
26
+ }
27
+ if (!prompt) {
28
+ limitations.push('no_current_task');
29
+ return result;
30
+ }
31
+ const matches = s.history?.turns.filter(t => t.prompt_id === prompt || t.prompt_aliases.includes(prompt) ||
32
+ canonical(prompt) !== null && [t.prompt_id, ...t.prompt_aliases].some(id => canonical(id) === canonical(prompt))) ?? [];
33
+ if (matches.length > 1) {
34
+ limitations.push('ambiguous_owner');
35
+ return result;
36
+ }
37
+ let turn = matches[0] ?? null;
38
+ const updated = turn ? int(turn.updated_wall_ns) : null, updatedMs = updated === null ? null : Number(updated / 1000000n);
39
+ if (updatedMs !== null && updatedMs > s.now) {
40
+ turn = null;
41
+ evidence[0] = { ...evidence[0], status: 'newer_than_input', freshness: 'newer_than_input' };
42
+ }
43
+ const selected = canonical(prompt), liveFresh = selected !== null && fresh(s.live, s.now);
44
+ const nativeRows = selected && s.live ? [
45
+ { source: 'native.prompt', row: own(s.live.prompts, selected) },
46
+ ...Object.values(s.live.turns).filter(row => row.prompt_id === selected && row.agent_id === null)
47
+ .map(row => ({ source: 'native.turn', row })),
48
+ ] : [];
49
+ const futureNative = nativeRows.filter(({ row }) => row && (numeric(row.updated_at_ms) ?? 0) > s.now);
50
+ for (const { source, row } of futureNative)
51
+ evidence.push({ source, scope: 'task', status: 'newer_than_input',
52
+ observed_at: iso(numeric(row.updated_at_ms)), freshness: 'newer_than_input' });
53
+ const taskFresh = liveFresh && !futureNative.length && canonical(liveCurrent ?? null) === selected;
54
+ if (turn) {
55
+ prompt = turn.prompt_id;
56
+ result.prompt_id = prompt;
57
+ result.status = turn.status;
58
+ result.phase = turn.phase;
59
+ evidence[0] = { ...evidence[0], observed_at: iso(updatedMs), status: turn.status === 'running' ? 'partial' : 'observed',
60
+ freshness: updatedMs === null ? 'unknown' : turn.status !== 'running' || taskFresh || s.now - updatedMs <= STALE_MS ? 'current' : 'stale' };
61
+ if (turn.status !== 'running' || evidence[0].freshness === 'current') {
62
+ const elapsed = taskElapsed(turn, s.sample);
63
+ const seconds = elapsed === null ? null : Number(elapsed) / 1e9;
64
+ result.elapsed_seconds = seconds !== null && Number.isFinite(seconds) && seconds >= 0 ? seconds : null;
65
+ }
66
+ if (result.elapsed_seconds === null)
67
+ limitations.push(updatedMs === null ? 'missing_start' : 'elapsed_unavailable');
68
+ const point = activePoint(turn, s.nativeTiming, taskFresh, () => s.sample);
69
+ result.active_seconds = numeric(point.value);
70
+ evidence.push({ source: 'native_task_timing', scope: 'task', status: String(point.reason ?? 'observed'),
71
+ observed_at: iso(numeric(point.observed_at_ms)), freshness: turn.status === 'running' ? taskFresh ? 'current' : 'unknown' : 'current' });
72
+ if (point.reason)
73
+ limitations.push(String(point.reason));
74
+ }
75
+ else
76
+ limitations.push('task_not_observed');
77
+ if (s.live) {
78
+ const history = turn && s.history ? { ...s.history, current_prompt_id: turn.prompt_id, turns: [turn] } : null;
79
+ const points = selected ? snapshotMetrics(s.live, history, selected, s.now, s.liveMetrics) : unavailable('ambiguous_owner');
80
+ const progress = points['task-progress'], progressStamp = numeric(progress.observed_at_ms), progressFreshness = freshness(progressStamp);
81
+ if (progressFreshness !== 'newer_than_input' && object(progress.value)) {
82
+ const completed = numeric(progress.value.completed), total = numeric(progress.value.total);
83
+ if (completed !== null && total !== null)
84
+ result.progress = { completed, total };
85
+ }
86
+ evidence.push({ source: 'native.checklist', scope: 'task', status: progressFreshness === 'newer_than_input' ? 'newer_than_input' : String(progress.reason ?? 'observed'),
87
+ observed_at: iso(progressStamp), freshness: progressFreshness });
88
+ const run = points['run-state'].value;
89
+ if (result.status === null && !futureNative.length && typeof run === 'string') {
90
+ if (taskFresh || ['completed', 'failed', 'interrupted', 'unknown'].includes(run))
91
+ result.status = run;
92
+ else
93
+ limitations.push('stale');
94
+ }
95
+ }
96
+ if (!s.liveMetrics)
97
+ limitations.push('runtime_disabled');
98
+ const ids = new Set(turn?.agent_ids ?? []);
99
+ if (selected && s.live)
100
+ for (const [id, agent] of Object.entries(s.live.agents)) {
101
+ if (agent.prompt_id === selected && numeric(agent.updated_at_ms) !== null && numeric(agent.updated_at_ms) <= s.now)
102
+ ids.add(id);
103
+ }
104
+ for (const id of ids) {
105
+ const owned = s.live ? own(s.live.agents, id) : null;
106
+ const attributable = owned && selected !== null && owned.prompt_id === selected && numeric(owned.updated_at_ms) !== null && numeric(owned.updated_at_ms) <= s.now;
107
+ const snapshot = s.live?.agent_snapshot, snapshotStamp = snapshot ? numeric(snapshot.observed_at_ms) : null;
108
+ const observed = snapshot && snapshotStamp !== null && snapshotStamp <= s.now &&
109
+ Array.isArray(snapshot.agents) ? snapshot.agents.find(a => a.id === id && a.local === true) : null;
110
+ const agent = { id, parent_id: null, name: null, status: attributable && typeof owned.status === 'string' ? owned.status : null,
111
+ evidence: [{ source: attributable ? 'live_store' : 'task_store', scope: 'subagent:' + id,
112
+ status: attributable ? 'observed' : 'partial', observed_at: iso(attributable ? numeric(owned.updated_at_ms) : updatedMs),
113
+ freshness: freshness(attributable ? numeric(owned.updated_at_ms) : updatedMs) }] };
114
+ if (attributable) {
115
+ const parent = owned.parent_agent_id;
116
+ if (typeof parent === 'string' && ids.has(parent) && parent !== id)
117
+ agent.parent_id = parent;
118
+ else if (parent != null)
119
+ limitations.push('parent_not_observed');
120
+ const terminal = ['completed', 'failed', 'killed', 'interrupted'];
121
+ if (observed && typeof observed.status === 'string' && owned.epoch === s.live.epoch &&
122
+ snapshotStamp >= numeric(owned.updated_at_ms) && !terminal.includes(agent.status ?? '')) {
123
+ agent.status = observed.status;
124
+ agent.evidence.push({ source: 'native.agent.list', scope: 'subagent:' + id, status: 'observed',
125
+ observed_at: iso(snapshotStamp), freshness: freshness(snapshotStamp) });
126
+ }
127
+ }
128
+ const host = s.hostAgents?.observed_at !== undefined && s.hostAgents.observed_at <= s.now ? s.hostAgents.agents.find(a => a.id === id) : null;
129
+ if (host) {
130
+ agent.name = host.name;
131
+ agent.evidence.push({ source: 'supplied_agent_snapshot', scope: 'subagent:' + id, status: 'observed', observed_at: iso(s.hostAgents.observed_at),
132
+ freshness: s.now - s.hostAgents.observed_at <= STALE_MS ? 'current' : 'stale' });
133
+ }
134
+ result.agents.push(agent);
135
+ }
136
+ // Corrupt or cyclic parent metadata must not manufacture a nested tree.
137
+ for (const agent of result.agents) {
138
+ const seen = new Set([agent.id]);
139
+ let parent = agent.parent_id;
140
+ while (parent) {
141
+ if (seen.has(parent)) {
142
+ agent.parent_id = null;
143
+ limitations.push('ambiguous_parent');
144
+ break;
145
+ }
146
+ seen.add(parent);
147
+ parent = result.agents.find(a => a.id === parent)?.parent_id ?? null;
148
+ }
149
+ }
150
+ result.limitations = [...new Set(limitations)];
151
+ return result;
152
+ }
153
+ //# sourceMappingURL=details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"details.js","sourceRoot":"","sources":["../../../../src/runtime/tasks/details.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAa,MAAM,cAAc,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,KAAK,EAAkB,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAexC,MAAM,GAAG,GAAG,CAAC,KAAoB,EAAE,EAAE,CAAC,KAAK,KAAK,IAAI,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,KAAK,IAAI,gBAAgB,CAAC,CAA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AC;QAC1F,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IACD,wEAAwE;IACxE,KAAK,MAAM,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;QAChC,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;QAAC,IAAI,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;QAC/D,OAAO,MAAM,EAAE,CAAC;YACZ,IAAI,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;gBAAC,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;gBAAC,WAAW,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;gBAAC,MAAM;YAAC,CAAC;YAC9F,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;YAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,MAAM,CAAC,EAAE,SAAS,IAAI,IAAI,CAAC;QAC3F,CAAC;IACL,CAAC;IACD,MAAM,CAAC,WAAW,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC;IAC/C,OAAO,MAAM,CAAC;AAClB,CAAC"}
@@ -1505,5 +1505,132 @@
1505
1505
  "diagnose.error.required": "Provide --input FILE or --input -.",
1506
1506
  "diagnose.error.file": "Input file does not exist: {value}",
1507
1507
  "diagnose.error.size": "Diagnostic input exceeds 32 MiB.",
1508
- "diagnose.error.read": "Could not read diagnostic input."
1508
+ "diagnose.error.read": "Could not read diagnostic input.",
1509
+ "profiles.title": "Display schemes and projects",
1510
+ "profiles.user": "User default",
1511
+ "profiles.target": "Editing {name} · root {root} · {count} bindings",
1512
+ "profiles.resolution": "Scheme: {name}; root: {root}; selection: {reason}",
1513
+ "profiles.empty": "No saved entries.",
1514
+ "profiles.sample": "Sample preview · selection does not save",
1515
+ "profiles.saved": "Saved. The current editor draft is retained.",
1516
+ "profiles.unchanged": "Already current.",
1517
+ "profiles.loading": "Loading…",
1518
+ "profiles.refresh": "Refresh",
1519
+ "profiles.required": "Enter a nonempty value.",
1520
+ "profiles.field.name": "Name",
1521
+ "profiles.field.path": "Path",
1522
+ "profiles.form_help": "Enter next/review · Tab field · Ctrl+G back",
1523
+ "profiles.navigation": "↑↓ select · Enter open/confirm · R refresh · Ctrl+G back",
1524
+ "profiles.confirm": "Save this change",
1525
+ "profiles.cancel": "Cancel",
1526
+ "profiles.save": "Save draft, then switch",
1527
+ "profiles.discard": "Discard draft, then switch",
1528
+ "profiles.dirty": "Unsaved changes: choose how to switch.",
1529
+ "profiles.shared": "Saving edits updates this scheme for {count} bound projects.",
1530
+ "profiles.import_review": "Imported display only. Review the sample, then save under a name.",
1531
+ "profiles.overwrite": "An entry already exists. Explicitly confirm replacement or cancel.",
1532
+ "profiles.uncertain": "Save outcome unknown. Press R to read saved state before continuing.",
1533
+ "profiles.review_saved": "Saved state reloaded. Review entries before another write; draft retained.",
1534
+ "profiles.invalid_draft": "Correct invalid fields before saving.",
1535
+ "profiles.failed": "Operation failed: {value}",
1536
+ "profiles.help": "Profiles contain display settings only. Activation copies a user-default snapshot; project bindings share a scheme.",
1537
+ "profiles.action.edit": "Edit selected scheme",
1538
+ "profiles.action.activate": "Use as default draft; Save to activate",
1539
+ "profiles.action.save": "Save current display as…",
1540
+ "profiles.action.save_bind": "Save current display as and bind…",
1541
+ "profiles.action.rename": "Rename selected scheme",
1542
+ "profiles.action.delete": "Delete selected scheme",
1543
+ "profiles.action.bind": "Bind project to selected scheme",
1544
+ "profiles.action.unbind": "Remove a project binding",
1545
+ "profiles.action.import": "Import a display scheme",
1546
+ "profiles.action.export": "Export selected scheme",
1547
+ "profiles.error.name": "Use a nonempty name of at most 128 characters, without control characters.",
1548
+ "profiles.error.invalid": "Invalid scheme collection or request; existing files were retained.",
1549
+ "profiles.error.duplicate": "A scheme named {value} already exists. Confirm overwrite explicitly.",
1550
+ "profiles.error.missing": "Scheme not found: {value}",
1551
+ "profiles.error.format": "Expected a version-1 display-scheme file, not a portable configuration envelope.",
1552
+ "profiles.error.conflict": "Configuration changed concurrently. Reload and review before saving.",
1553
+ "profiles.error.path": "Choose an existing project directory.",
1554
+ "profiles.error.bound": "Project {value} already has a different binding. Confirm replacement explicitly.",
1555
+ "profiles.error.referenced": "Scheme {value} is bound to projects. Remove those bindings before deleting it.",
1556
+ "profiles.error.size": "Scheme file or collection exceeds the supported size.",
1557
+ "profiles.error.file": "Cannot read scheme file: {value}",
1558
+ "profiles.error.width": "Preview width must be an integer from 2 through 10000.",
1559
+ "profiles.reason.user_default": "User default",
1560
+ "profiles.reason.profile": "Matching scheme",
1561
+ "profiles.reason.unbound": "No project binding; using user default",
1562
+ "profiles.reason.path_unavailable": "Directory unavailable; using user default",
1563
+ "profiles.reason.missing_profile": "Bound scheme missing; using user default",
1564
+ "profiles.reason.ambiguous_binding": "Conflicting path bindings; using user default",
1565
+ "profiles.reason.invalid_collection": "Scheme collection invalid; using user default",
1566
+ "task.title": "Task details",
1567
+ "task.unknown": "Unknown",
1568
+ "task.close": "Close",
1569
+ "task.readonly": "Read-only · refresh on demand",
1570
+ "task.session": "Session: {value}",
1571
+ "task.prompt": "Task identity: {value}",
1572
+ "task.captured": "Read at: {value}",
1573
+ "task.status": "Observed state: {value}; phase: {phase}",
1574
+ "task.elapsed": "Task total time: {value}",
1575
+ "task.active": "Evidence-backed active time: {value}",
1576
+ "task.progress": "Checklist completed / total: {value}",
1577
+ "task.agents": "Attributable agents",
1578
+ "task.sources": "Evidence and coverage",
1579
+ "task.evidence": "{source} · {scope} · {status} · {time} · {freshness}",
1580
+ "task.fallback": "Open in the Claude terminal, or run claude-statusline task show --session-id ID.",
1581
+ "task.help": "Read existing observations for an explicit session. No collection or state repair.",
1582
+ "task.error.input": "Provide a valid session ID and optional prompt ID or agent snapshot.",
1583
+ "task.limit.independent_snapshots": "Sources are independent snapshots, not an atomic or complete history.",
1584
+ "task.limit.ambiguous_current_task": "Current-task pointers disagree; no task was guessed.",
1585
+ "task.limit.no_current_task": "No explicit current task was observed.",
1586
+ "task.limit.ambiguous_owner": "Task or agent ownership is ambiguous.",
1587
+ "task.limit.missing_start": "A task start was not observed.",
1588
+ "task.limit.elapsed_unavailable": "Total time is unavailable with the current evidence.",
1589
+ "task.limit.parent_not_observed": "Some parent-agent relationships were not observed.",
1590
+ "task.limit.ambiguous_parent": "Inconsistent parent metadata was not used to construct a tree.",
1591
+ "settings.profiles": "Display schemes and projects",
1592
+ "ui.actions.profiles": "Display schemes and projects",
1593
+ "cli.help.display_profiles": "Display schemes and projects",
1594
+ "cli.help.project_bindings": "Display schemes and projects",
1595
+ "cli.help.task_details": "Task details",
1596
+ "task.value.observed": "observed",
1597
+ "task.value.not_observed": "not observed",
1598
+ "task.value.partial": "partial coverage",
1599
+ "task.value.stale": "stale",
1600
+ "task.value.invalid_field": "invalid field",
1601
+ "task.value.session_mismatch": "session or transcript mismatch",
1602
+ "task.value.source_unavailable": "source unavailable",
1603
+ "task.value.newer_than_input": "observation is newer than input",
1604
+ "task.value.association_unavailable": "association unavailable",
1605
+ "task.value.prompt_mismatch": "prompt mismatch",
1606
+ "task.value.current": "within the source freshness rule",
1607
+ "task.value.unknown": "unknown",
1608
+ "task.limit.native_timing_disabled": "Native timing is disabled",
1609
+ "task.value.native_timing_disabled": "Native timing is disabled",
1610
+ "task.limit.runtime_disabled": "Live metrics are disabled",
1611
+ "task.value.runtime_disabled": "Live metrics are disabled",
1612
+ "task.limit.incomplete": "Incomplete coverage",
1613
+ "task.value.incomplete": "Incomplete coverage",
1614
+ "task.limit.abnormal_clock": "Clock evidence is unreliable",
1615
+ "task.value.abnormal_clock": "Clock evidence is unreliable",
1616
+ "task.limit.not_observed": "not observed",
1617
+ "task.limit.stale": "stale",
1618
+ "task.limit.wait_coverage_missing": "Waiting evidence is incomplete",
1619
+ "task.value.wait_coverage_missing": "Waiting evidence is incomplete",
1620
+ "task.limit.task_not_observed": "not observed",
1621
+ "task.value.running": "Running",
1622
+ "task.value.waiting": "Waiting",
1623
+ "task.value.completed": "Completed",
1624
+ "task.value.failed": "Failed",
1625
+ "task.value.interrupted": "Interrupted",
1626
+ "task.value.pending": "Pending",
1627
+ "task.value.idle": "Idle",
1628
+ "task.value.killed": "Stopped",
1629
+ "task.value.main": "Main execution",
1630
+ "task.value.waiting_subagents": "Waiting for agents",
1631
+ "task.value.resuming_main": "Main wrap-up",
1632
+ "task.value.stop_pending": "Stop pending",
1633
+ "task.value.queued": "Queued",
1634
+ "task.value.waiting agents": "Waiting for agents",
1635
+ "task.value.main wrap-up": "Main wrap-up"
1509
1636
  }
@@ -1505,5 +1505,132 @@
1505
1505
  "diagnose.error.required": "--input FILE または --input - を指定してください。",
1506
1506
  "diagnose.error.file": "入力ファイルがありません: {value}",
1507
1507
  "diagnose.error.size": "診断入力が32 MiBを超えています。",
1508
- "diagnose.error.read": "診断入力を読み取れません。"
1508
+ "diagnose.error.read": "診断入力を読み取れません。",
1509
+ "profiles.title": "表示プロファイルとプロジェクト",
1510
+ "profiles.user": "ユーザーの既定",
1511
+ "profiles.target": "編集:{name} · ルート {root} · {count} 件の関連付け",
1512
+ "profiles.resolution": "プロファイル:{name};ルート:{root};選択理由:{reason}",
1513
+ "profiles.empty": "保存済みの項目はありません。",
1514
+ "profiles.sample": "サンプル表示 · 選択では保存されません",
1515
+ "profiles.saved": "保存しました。現在の編集中の内容は保持されます。",
1516
+ "profiles.unchanged": "変更はありません。",
1517
+ "profiles.loading": "読み込み中…",
1518
+ "profiles.refresh": "更新",
1519
+ "profiles.required": "空でない値を入力してください。",
1520
+ "profiles.field.name": "名前",
1521
+ "profiles.field.path": "パス",
1522
+ "profiles.form_help": "Enter 次へ/確認 · Tab 項目 · Ctrl+G 戻る",
1523
+ "profiles.navigation": "↑↓ 選択 · Enter 開く/確定 · R 更新 · Ctrl+G 戻る",
1524
+ "profiles.confirm": "この変更を保存",
1525
+ "profiles.cancel": "キャンセル",
1526
+ "profiles.save": "下書きを保存して切り替え",
1527
+ "profiles.discard": "下書きを破棄して切り替え",
1528
+ "profiles.dirty": "未保存の変更があります。切り替え方法を選んでください。",
1529
+ "profiles.shared": "保存すると関連付けられた {count} 件のプロジェクトに反映されます。",
1530
+ "profiles.import_review": "表示設定のみを読み込みました。サンプルを確認して名前を付けて保存してください。",
1531
+ "profiles.overwrite": "既存の項目があります。上書きを確認するかキャンセルしてください。",
1532
+ "profiles.uncertain": "保存結果が不明です。R で保存状態を確認してください。",
1533
+ "profiles.review_saved": "保存状態を再読込しました。次の変更前に確認してください。下書きは保持されています。",
1534
+ "profiles.invalid_draft": "無効な項目を修正してから保存してください。",
1535
+ "profiles.failed": "操作に失敗しました:{value}",
1536
+ "profiles.help": "プロファイルは表示設定のみです。既定への適用はコピー、プロジェクトへの関連付けは共有です。",
1537
+ "profiles.action.edit": "選択したプロファイルを編集",
1538
+ "profiles.action.activate": "既定の下書きに読込・保存して適用",
1539
+ "profiles.action.save": "現在の表示に名前を付けて保存…",
1540
+ "profiles.action.save_bind": "現在の表示を別名保存して関連付け…",
1541
+ "profiles.action.rename": "選択したプロファイルの名前を変更",
1542
+ "profiles.action.delete": "選択したプロファイルを削除",
1543
+ "profiles.action.bind": "プロジェクトを選択中のプロファイルに関連付け",
1544
+ "profiles.action.unbind": "プロジェクトの関連付けを解除",
1545
+ "profiles.action.import": "表示プロファイルをインポート",
1546
+ "profiles.action.export": "選択したプロファイルをエクスポート",
1547
+ "profiles.error.name": "名前は制御文字なしの 1~128 文字で入力してください。",
1548
+ "profiles.error.invalid": "プロファイル一覧または要求が無効です。既存ファイルは保持されました。",
1549
+ "profiles.error.duplicate": "同名のプロファイル {value} があります。上書きの確認が必要です。",
1550
+ "profiles.error.missing": "プロファイルが見つかりません:{value}",
1551
+ "profiles.error.format": "バージョン 1 の表示プロファイルが必要です。ポータブル設定ファイルとは別形式です。",
1552
+ "profiles.error.conflict": "設定が別の操作で変更されました。再読込して確認してください。",
1553
+ "profiles.error.path": "存在するプロジェクトディレクトリを選んでください。",
1554
+ "profiles.error.bound": "プロジェクト {value} は別のプロファイルに関連付けられています。置換の確認が必要です。",
1555
+ "profiles.error.referenced": "プロファイル {value} を削除する前にプロジェクトの関連付けを解除してください。",
1556
+ "profiles.error.size": "プロファイルのファイルサイズが上限を超えています。",
1557
+ "profiles.error.file": "プロファイルファイルを読み込めません:{value}",
1558
+ "profiles.error.width": "プレビュー幅は 2~10000 の整数にしてください。",
1559
+ "profiles.reason.user_default": "ユーザーの既定",
1560
+ "profiles.reason.profile": "一致するプロファイル",
1561
+ "profiles.reason.unbound": "関連付けなし・ユーザーの既定を使用",
1562
+ "profiles.reason.path_unavailable": "ディレクトリを確認できないため既定を使用",
1563
+ "profiles.reason.missing_profile": "関連付け先がないため既定を使用",
1564
+ "profiles.reason.ambiguous_binding": "関連付けが競合するため既定を使用",
1565
+ "profiles.reason.invalid_collection": "一覧が無効なため既定を使用",
1566
+ "task.title": "タスクの詳細",
1567
+ "task.unknown": "不明",
1568
+ "task.close": "閉じる",
1569
+ "task.readonly": "読み取り専用 · 手動更新",
1570
+ "task.session": "セッション:{value}",
1571
+ "task.prompt": "タスク ID:{value}",
1572
+ "task.captured": "読取時刻:{value}",
1573
+ "task.status": "観測状態:{value};段階:{phase}",
1574
+ "task.elapsed": "タスクの合計時間:{value}",
1575
+ "task.active": "証拠で確認できる稼働時間:{value}",
1576
+ "task.progress": "チェックリスト完了数/合計:{value}",
1577
+ "task.agents": "帰属を確認できるエージェント",
1578
+ "task.sources": "証拠と対象範囲",
1579
+ "task.evidence": "{source} · {scope} · {status} · {time} · {freshness}",
1580
+ "task.fallback": "Claude のターミナルで開くか、claude-statusline task show --session-id ID を実行してください。",
1581
+ "task.help": "指定セッションの既存の観測を読みます。収集や状態修復は行いません。",
1582
+ "task.error.input": "有効なセッション ID と、必要ならプロンプト ID またはエージェントのスナップショットを指定してください。",
1583
+ "task.limit.independent_snapshots": "各ソースは独立したスナップショットであり、同時点の完全な履歴ではありません。",
1584
+ "task.limit.ambiguous_current_task": "現在のタスクの参照が一致せず、推測していません。",
1585
+ "task.limit.no_current_task": "現在のタスクを明確に確認できません。",
1586
+ "task.limit.ambiguous_owner": "タスクまたはエージェントの帰属が不明です。",
1587
+ "task.limit.missing_start": "タスク開始を観測していません。",
1588
+ "task.limit.elapsed_unavailable": "現在の証拠では合計時間を確認できません。",
1589
+ "task.limit.parent_not_observed": "一部の親エージェントの関係は未観測です。",
1590
+ "task.limit.ambiguous_parent": "矛盾する親情報を階層の構築に使用していません。",
1591
+ "settings.profiles": "表示プロファイルとプロジェクト",
1592
+ "ui.actions.profiles": "表示プロファイルとプロジェクト",
1593
+ "cli.help.display_profiles": "表示プロファイルとプロジェクト",
1594
+ "cli.help.project_bindings": "表示プロファイルとプロジェクト",
1595
+ "cli.help.task_details": "タスクの詳細",
1596
+ "task.value.observed": "観測済み",
1597
+ "task.value.not_observed": "未観測",
1598
+ "task.value.partial": "部分的な観測",
1599
+ "task.value.stale": "古い観測",
1600
+ "task.value.invalid_field": "無効なフィールド",
1601
+ "task.value.session_mismatch": "セッションまたは記録の不一致",
1602
+ "task.value.source_unavailable": "ソース利用不可",
1603
+ "task.value.newer_than_input": "入力より新しい観測",
1604
+ "task.value.association_unavailable": "関連付け不可",
1605
+ "task.value.prompt_mismatch": "プロンプトの不一致",
1606
+ "task.value.current": "ソースの鮮度基準内",
1607
+ "task.value.unknown": "不明",
1608
+ "task.limit.native_timing_disabled": "ネイティブ計時は無効です",
1609
+ "task.value.native_timing_disabled": "ネイティブ計時は無効です",
1610
+ "task.limit.runtime_disabled": "ライブ指標は無効です",
1611
+ "task.value.runtime_disabled": "ライブ指標は無効です",
1612
+ "task.limit.incomplete": "確認範囲が不完全です",
1613
+ "task.value.incomplete": "確認範囲が不完全です",
1614
+ "task.limit.abnormal_clock": "時計の証拠を信頼できません",
1615
+ "task.value.abnormal_clock": "時計の証拠を信頼できません",
1616
+ "task.limit.not_observed": "未観測",
1617
+ "task.limit.stale": "古い観測",
1618
+ "task.limit.wait_coverage_missing": "待機の証拠が不完全です",
1619
+ "task.value.wait_coverage_missing": "待機の証拠が不完全です",
1620
+ "task.limit.task_not_observed": "未観測",
1621
+ "task.value.running": "実行中",
1622
+ "task.value.waiting": "待機中",
1623
+ "task.value.completed": "完了",
1624
+ "task.value.failed": "失敗",
1625
+ "task.value.interrupted": "中断",
1626
+ "task.value.pending": "保留",
1627
+ "task.value.idle": "待機",
1628
+ "task.value.killed": "停止",
1629
+ "task.value.main": "メイン実行",
1630
+ "task.value.waiting_subagents": "エージェントを待機",
1631
+ "task.value.resuming_main": "メインの仕上げ",
1632
+ "task.value.stop_pending": "停止確認待ち",
1633
+ "task.value.queued": "キュー待ち",
1634
+ "task.value.waiting agents": "エージェントを待機",
1635
+ "task.value.main wrap-up": "メインの仕上げ"
1509
1636
  }