@dsh-workbench/shared 1.5.3 → 1.5.4-beta.1

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 (37) hide show
  1. package/dist/components/card/ApprovalDetail.d.ts +1 -0
  2. package/dist/components/card/ApprovalDetail.js +16 -2
  3. package/dist/components/card/LongTaskRow.css +62 -0
  4. package/dist/components/card/LongTaskRow.d.ts +17 -6
  5. package/dist/components/card/LongTaskRow.js +88 -46
  6. package/dist/components/card/board-module.d.ts +1 -0
  7. package/dist/contract/long-task.d.ts +20 -0
  8. package/dist/contract/long-task.js +2 -0
  9. package/dist/contract/protocol/long-tasks.d.ts +3 -1
  10. package/dist/host/flow/run.js +8 -2
  11. package/dist/host/flow/step.d.ts +1 -1
  12. package/dist/host/flow/step.js +8 -5
  13. package/dist/host/flow/task.js +12 -6
  14. package/dist/host/flow/types.d.ts +3 -2
  15. package/dist/host/unit/long-task.d.ts +13 -1
  16. package/dist/host/unit/long-task.js +56 -3
  17. package/dist/i18n/en.js +12 -0
  18. package/dist/i18n/index.d.ts +13 -1
  19. package/dist/i18n/zh.d.ts +12 -0
  20. package/dist/i18n/zh.js +12 -0
  21. package/package.json +1 -1
  22. package/src/components/card/ApprovalDetail.tsx +16 -2
  23. package/src/components/card/LongTaskRow.css +62 -0
  24. package/src/components/card/LongTaskRow.tsx +203 -110
  25. package/src/components/card/__tests__/long-task-row.test.ts +69 -15
  26. package/src/components/card/board-module.ts +1 -0
  27. package/src/contract/long-task.ts +24 -0
  28. package/src/contract/protocol/long-tasks.ts +8 -1
  29. package/src/host/flow/__tests__/step.test.ts +20 -0
  30. package/src/host/flow/run.ts +8 -2
  31. package/src/host/flow/step.ts +9 -5
  32. package/src/host/flow/task.ts +13 -5
  33. package/src/host/flow/types.ts +3 -2
  34. package/src/host/unit/__tests__/long-task.test.ts +79 -0
  35. package/src/host/unit/long-task.ts +70 -2
  36. package/src/i18n/en.ts +12 -0
  37. package/src/i18n/zh.ts +12 -0
@@ -1,9 +1,41 @@
1
1
  import { epochOf, now as clockNow, nowIso } from '../runtime/time.js';
2
- import { runsRouteOf, } from '../../contract/long-task.js';
2
+ import { LONG_TASK_HISTORY_MAX, LONG_TASK_LINK_MAX, runsRouteOf, } from '../../contract/long-task.js';
3
3
  function isLiveStatus(status) {
4
4
  return status === 'running' || status === 'needs-human' || status === 'needs-login';
5
5
  }
6
6
  const RECENT_MS = 10 * 60 * 1000;
7
+ function pickDefined(source, keys) {
8
+ const out = {};
9
+ for (const key of keys) {
10
+ if (source[key] !== undefined)
11
+ out[key] = source[key];
12
+ }
13
+ return out;
14
+ }
15
+ /**
16
+ * 长任务快照的通用字段:外壳先铺这一层,模块的 `view()` 只覆盖、不遗漏。
17
+ * @param snapshot 这一趟的快照。
18
+ * @returns `target` / `status` / `step` / `steps` / `startedAt` / `at` 与快照里存在的可选字段。
19
+ */
20
+ export function longTaskRowBase(snapshot) {
21
+ return {
22
+ target: snapshot.target,
23
+ status: snapshot.status,
24
+ step: snapshot.step,
25
+ steps: snapshot.steps,
26
+ startedAt: snapshot.startedAt,
27
+ at: snapshot.at,
28
+ ...pickDefined(snapshot, [
29
+ 'headline',
30
+ 'history',
31
+ 'links',
32
+ 'intervention',
33
+ 'loginUrl',
34
+ 'why',
35
+ 'session',
36
+ ]),
37
+ };
38
+ }
7
39
  export function createLongTaskRegistry(deps) {
8
40
  let bound = deps;
9
41
  const runs = new Map();
@@ -64,6 +96,7 @@ export function createLongTaskRegistry(deps) {
64
96
  .filter((snapshot) => isLiveStatus(snapshot.status) || epochOf(snapshot.at) >= floor)
65
97
  .reverse()
66
98
  .map((snapshot) => ({
99
+ ...longTaskRowBase(snapshot),
67
100
  ...bound.view(snapshot),
68
101
  id: snapshot.id,
69
102
  ...(bound.recheck === undefined ? {} : { resumable: true }),
@@ -86,6 +119,7 @@ export function createLongTaskRegistry(deps) {
86
119
  status: 'running',
87
120
  step: '',
88
121
  steps: [],
122
+ history: [],
89
123
  startedAt,
90
124
  at: startedAt,
91
125
  ...(options.session === undefined ? {} : { session: options.session }),
@@ -99,7 +133,17 @@ export function createLongTaskRegistry(deps) {
99
133
  const repeated = current.step === step.text &&
100
134
  step.intervention !== undefined &&
101
135
  current.intervention?.title === step.intervention.title;
102
- const steps = repeated ? current.steps : [...current.steps, line].slice(-20);
136
+ const steps = repeated ? current.steps : [...current.steps, line].slice(-LONG_TASK_HISTORY_MAX);
137
+ const historyRow = {
138
+ kind: step.kind,
139
+ text: step.text,
140
+ ...(step.links === undefined
141
+ ? {}
142
+ : { links: step.links.slice(0, LONG_TASK_LINK_MAX) }),
143
+ };
144
+ const history = repeated
145
+ ? current.history ?? []
146
+ : [...(current.history ?? []), historyRow].slice(-LONG_TASK_HISTORY_MAX);
103
147
  const extra = bound.step?.(step, current) ?? {};
104
148
  if (step.intervention !== undefined) {
105
149
  patch(id, {
@@ -107,13 +151,21 @@ export function createLongTaskRegistry(deps) {
107
151
  status: 'needs-human',
108
152
  step: step.text,
109
153
  steps,
154
+ history,
110
155
  intervention: step.intervention,
111
156
  loginUrl: undefined,
112
157
  }, { kind: 'step', step });
113
158
  return;
114
159
  }
115
160
  if (step.loginUrl !== undefined && step.loginUrl !== '') {
116
- patch(id, { ...extra, status: 'needs-login', step: step.text, steps, loginUrl: step.loginUrl }, { kind: 'step', step });
161
+ patch(id, {
162
+ ...extra,
163
+ status: 'needs-login',
164
+ step: step.text,
165
+ steps,
166
+ history,
167
+ loginUrl: step.loginUrl,
168
+ }, { kind: 'step', step });
117
169
  return;
118
170
  }
119
171
  patch(id, {
@@ -121,6 +173,7 @@ export function createLongTaskRegistry(deps) {
121
173
  status: 'running',
122
174
  step: step.text,
123
175
  steps,
176
+ history,
124
177
  intervention: undefined,
125
178
  loginUrl: undefined,
126
179
  }, { kind: 'step', step });
package/dist/i18n/en.js CHANGED
@@ -1005,5 +1005,17 @@ export const en = {
1005
1005
  'longTask.stop': 'Stop {label}',
1006
1006
  'longTask.stopConfirm': 'Confirm stop',
1007
1007
  'longTask.stopArmed': 'Click again to stop',
1008
+ 'longTask.stopPending': 'Stop requested; waiting for the module',
1009
+ 'longTask.list.entry': 'Long tasks {n}',
1010
+ 'longTask.list.title': 'All long tasks',
1011
+ 'longTask.state.running': 'Running',
1012
+ 'longTask.state.needsHuman': 'Waiting for you',
1013
+ 'longTask.state.needsLogin': 'Needs sign-in',
1014
+ 'longTask.state.stopped': 'Stopped',
1015
+ 'longTask.state.ok': 'Done',
1016
+ 'longTask.state.failed': 'Failed',
1017
+ 'longTask.duration.sec': '{s}s',
1018
+ 'longTask.duration.minSec': '{m}m {s}s',
1019
+ 'longTask.duration.hourMin': '{h}h {m}m',
1008
1020
  ...enNeedText,
1009
1021
  };
@@ -1015,6 +1015,18 @@ export declare const dictionaries: {
1015
1015
  readonly 'longTask.stop': "停止任务 {label}";
1016
1016
  readonly 'longTask.stopConfirm': "确认停止";
1017
1017
  readonly 'longTask.stopArmed': "再次点击确认停止";
1018
+ readonly 'longTask.stopPending': "已请求停止,等模块确认";
1019
+ readonly 'longTask.list.entry': "长任务 {n}";
1020
+ readonly 'longTask.list.title': "全部长任务";
1021
+ readonly 'longTask.state.running': "运行中";
1022
+ readonly 'longTask.state.needsHuman': "等你处理";
1023
+ readonly 'longTask.state.needsLogin': "需要登录";
1024
+ readonly 'longTask.state.stopped': "已停止";
1025
+ readonly 'longTask.state.ok': "已完成";
1026
+ readonly 'longTask.state.failed': "失败";
1027
+ readonly 'longTask.duration.sec': "{s} 秒";
1028
+ readonly 'longTask.duration.minSec': "{m} 分 {s} 秒";
1029
+ readonly 'longTask.duration.hourMin': "{h} 小时 {m} 分";
1018
1030
  readonly 'profileCreate.nav': "新建工作台";
1019
1031
  readonly 'profileCreate.lead': "复制一份独立的工作台配置。";
1020
1032
  readonly 'profileCreate.name': "新工作台的名字";
@@ -1090,7 +1102,7 @@ export declare const dictionaries: {
1090
1102
  readonly 'diyPresetSource.empty': "没有可用的模式。请先在 dsh 中修复或新建一个模式。";
1091
1103
  readonly 'diyPresetSource.failed': "保存设置失败,请重试。";
1092
1104
  };
1093
- en: Record<"diag.code.readFailed" | "diag.hint.readFailed" | "diag.code.configCorrupt" | "diag.code.moduleUnreadable" | "diag.code.manifestsGaveUp" | "diag.code.selfUpdateFailed" | "diag.code.supplyInstallFailed" | "diag.code.badParam" | "diag.code.sinkFailed" | "diag.code.unknownCode" | "time.now" | "time.ago" | "time.minutes" | "time.hours" | "time.days" | "askAgent.prompt.whereOnly" | "askAgent.prompt.where" | "askAgent.prompt.head" | "askAgent.prompt.why" | "askAgent.prompt.rows" | "askAgent.prompt.issue" | "askAgent.prompt.reason" | "askAgent.prompt.host" | "askAgent.prompt.deployment" | "askAgent.prompt.configDir" | "askAgent.prompt.logDir" | "askAgent.prompt.tried" | "askAgent.prompt.evidence" | "askAgent.prompt.ask" | "blocker.retry" | "blocker.copy" | "askAgent.copy" | "askAgent.screen.board" | "blocker.unknown.title" | "blocker.login.go" | "blocker.login.titleGeneric" | "blocker.login.title" | "blocker.login.manual" | "blocker.login.hint" | "blocker.forbidden.open" | "blocker.forbidden.titleGeneric" | "blocker.forbidden.title" | "blocker.forbidden.hint" | "blocker.timeout.hint" | "blocker.exec.hint" | "blocker.fix.install" | "blocker.market.open" | "env.unit.failed" | "env.unit.failedHint" | "env.unit.degraded" | "env.unit.unsupported" | "env.unit.degradedHint" | "env.unit.unsupportedHint" | "env.unit.unchecked" | "env.unit.uncheckedHint" | "profileCreate.nav" | "profileCreate.lead" | "profileCreate.name" | "profileCreate.nameHint" | "profileCreate.source" | "profileCreate.current" | "profileCreate.copy" | "profileCreate.settings" | "profileCreate.create" | "profileCreate.creating" | "profileCreate.created" | "profileCreate.command" | "profileCreate.commandUnsupported" | "profileCreate.copyCommand" | "profileCreate.copied" | "profileCreate.readFailed" | "profileCreate.retry" | "profileCreate.reading" | "profileCreate.noProfiles" | "profileCreate.failed" | "configSync.nav" | "configSync.lead" | "configSync.source" | "configSync.sourceBroken" | "configSync.sourceRows" | "configSync.sourceDead" | "configSync.refresh" | "configSync.loading" | "configSync.readHint" | "configSync.summary.loading" | "configSync.summary.ready" | "configSync.summary.none" | "configSync.summary.error" | "configSync.view" | "configSync.hide" | "configSync.pickHint" | "configSync.tag.new" | "configSync.tag.differs" | "configSync.conflictNote" | "configSync.code.lang" | "configSync.code.copy" | "configSync.code.copied" | "configSync.code.wrap" | "configSync.code.unwrap" | "configSync.code.collapse" | "configSync.code.collapseAria" | "configSync.code.expandAria" | "configSync.code.expand" | "configSync.missing" | "configSync.apply" | "configSync.applyNone" | "configSync.applying" | "configSync.applied" | "configSync.appliedUnverified" | "configSync.appliedIds" | "configSync.skippedIds" | "configSync.nothing" | "configSync.unreadable" | "configSync.noSource" | "configSync.emptyProviders" | "configSync.failed" | "diyPresetSource.nav" | "diyPresetSource.lead" | "diyPresetSource.standard" | "diyPresetSource.ptc" | "diyPresetSource.minimal" | "diyPresetSource.cordis" | "diyPresetSource.unusable" | "diyPresetSource.storedUnavailable" | "diyPresetSource.readFailed" | "diyPresetSource.reading" | "diyPresetSource.search" | "diyPresetSource.empty" | "diyPresetSource.failed" | "env.need.bin.missing" | "env.need.bin.hint" | "env.need.extension.missing" | "env.need.extension.outdated" | "env.need.extension.hint" | "env.need.lib.missing" | "env.need.lib.outdated" | "env.need.lib.unsatisfied" | "env.need.lib.hint" | "env.need.env.missing" | "env.need.env.hint" | "brand.name" | "toggle.open" | "toggle.collapse" | "project.label" | "workspace.section" | "project.none" | "project.empty" | "project.add" | "project.add.busy" | "project.add.failed" | "project.search.label" | "project.search.placeholder" | "project.search.empty" | "project.group.workspaces" | "project.group.defaultWorkspace" | "project.group.workshop" | "project.menu.row" | "project.menu.alias" | "project.menu.reveal.finder" | "project.menu.reveal.folder" | "project.menu.delete" | "project.alias.title" | "project.alias.description" | "project.alias.field" | "project.alias.placeholder" | "project.alias.hint" | "project.alias.save" | "project.alias.saving" | "project.alias.cancel" | "project.alias.failed" | "project.delete.title" | "project.delete.description" | "project.delete.confirm" | "project.delete.pending" | "project.delete.cancel" | "project.delete.failed" | "project.reveal.failed" | "session.new" | "session.new.label" | "session.empty" | "session.noProject" | "session.list.label" | "session.copy" | "session.pinned" | "session.actions" | "session.expand" | "session.collapse" | "session.search.label" | "session.search.results" | "session.search.placeholder" | "session.search.clear" | "session.search.pending" | "session.search.empty" | "session.search.hasMore" | "status.idle" | "status.running" | "status.longTask" | "status.longTaskWaiting" | "status.waitingApproval" | "status.planReview" | "status.waitingAnswer" | "status.compact.approval" | "status.compact.planReview" | "status.compact.answer" | "status.completed" | "status.subagentsRunning.one" | "status.subagentsRunning.other" | "project.attention.warning.one" | "project.attention.warning.other" | "project.attention.running.one" | "project.attention.running.other" | "project.attention.longTask.one" | "project.attention.longTask.other" | "project.attention.longTaskWaiting.one" | "project.attention.longTaskWaiting.other" | "project.attention.done.one" | "project.attention.done.other" | "project.attention.state.warning" | "project.attention.state.longTaskWaiting" | "project.attention.state.running" | "project.attention.state.done" | "hover.copied" | "time.short.minutes" | "time.short.hours" | "time.short.days" | "time.short.months" | "time.short.years" | "panels.title" | "panels.groupBackground" | "runtime.plugin" | "runtime.pluginOf" | "runtime.pluginThing" | "runtime.pluginArea" | "panels.market.defaultHint" | "panels.market.defaultLabel" | "panels.market.defaultNeedsDeps" | "panels.market.defaultLocked" | "panels.followAll" | "panels.followAllConfirmTitle" | "panels.followAllConfirmDetail" | "panels.followAllConfirmAck" | "panels.followAllConfirmYes" | "panels.followAllConfirmNo" | "panels.enabled" | "panels.disabled" | "panels.onBoard" | "panels.offBoard" | "panels.choose" | "panels.buildModule" | "panels.failed" | "panels.dragHint" | "panels.unknownStep" | "panels.labelWithHint" | "panels.hintJoin" | "panels.dep.failed" | "panels.dep.unchecked" | "panels.dep.missing" | "panels.dep.outdated" | "panels.dep.depsNewer" | "panels.dep.degraded" | "panels.dep.unsupported" | "panels.tab.modules" | "panels.tab.market" | "panels.browseMarket" | "panels.noneInstalled" | "panels.noneInstalledHint" | "panels.market.installed" | "panels.market.modulesReadFailed" | "panels.market.notActive" | "panels.market.notUsable" | "panels.market.broken" | "panels.market.pluginVersionMismatch" | "panels.market.runtimeVersionMismatch" | "panels.market.hasNew" | "panels.market.hasProblem" | "panels.market.missing" | "panels.market.unchecked" | "panels.market.uncheckedHint" | "panels.market.checking" | "market.listUnread" | "market.unreadable.badge.one" | "market.unreadable.badge.other" | "market.unreadable.title" | "market.unreadable.lead" | "market.unreadable.copy" | "market.unreadable.copied" | "market.unreadable.close" | "panels.market.sectionInstalled" | "panels.market.sectionPending" | "panels.market.sectionShared" | "panels.market.sharedUsedBy" | "panels.market.listSeparator" | "panels.market.sharedMissing" | "panels.market.sharedOutdated" | "panels.market.sharedUnsatisfied" | "panels.market.sharedOk" | "panels.market.versionArrow" | "panels.market.lead" | "panels.market.install" | "panels.market.installDeps" | "panels.market.update" | "panels.market.updateDeps" | "panels.market.depsHaveUpdate" | "panels.market.swapSlow" | "panels.market.removeSlow" | "panels.market.updateNoChange" | "panels.market.updateUnknownVersion" | "panels.market.updateGone" | "panels.market.updateRestored" | "panels.market.updateBehind" | "panels.market.updateStuck.title" | "panels.market.updateStuck.factNoChange" | "panels.market.updateStuck.copiedHint" | "panels.market.selfUpdateQueued" | "panels.market.selfUpdateMigration" | "panels.market.selfUpdatePendingRestart" | "panels.market.selfUpdateRetry" | "panels.market.selfUpdateNeedsHost" | "panels.market.selfUpdateBusy" | "panels.market.selfUpdateReinstallFailed" | "panels.market.selfUpdateReinstallStopped" | "panels.market.uninstall" | "panels.market.uninstallLabel" | "panels.market.installing" | "panels.market.installingDeps" | "panels.market.updating" | "panels.market.updatingDeps" | "panels.market.uninstalling" | "panels.market.confirmUninstallTitle" | "panels.market.confirmUninstallDetail" | "panels.market.confirmUninstallAck" | "panels.market.confirmYes" | "panels.market.confirmNo" | "panels.market.noMarketSource" | "panels.market.failed" | "panels.market.failure.permission" | "panels.market.failure.diskFull" | "panels.market.failure.auth" | "panels.market.failure.sandbox" | "panels.market.failure.retryAdvice" | "panels.market.failure.copyOutput" | "panels.market.failure.copyOutputHint" | "panels.market.failure.unknown" | "panels.market.failure.factOwner" | "panels.market.failure.factMode" | "panels.market.failure.factSpace" | "panels.market.failure.factAuth" | "panels.market.failure.title" | "panels.market.failure.factSummary" | "panels.market.failure.factUnknown" | "panels.market.failure.factStuck" | "panels.market.failure.thisSource" | "panels.market.failure.noReason" | "panels.market.failure.nowhere" | "panels.market.failure.copyFix" | "panels.market.failure.copied" | "panels.market.failure.copiedHint" | "panels.market.failure.askAgent" | "panels.market.failure.askAgentText" | "panels.market.failure.askAgentAuth" | "panels.market.failure.askAgentUnknown" | "panels.market.failure.recheck" | "panels.market.failure.showOutput" | "panels.market.failure.hideOutput" | "panels.market.failure.term.commandLine" | "panels.market.failure.term.signal" | "panels.market.failure.term.exitCode" | "panels.market.failure.term.noExitCode" | "panels.market.failure.term.running" | "panels.market.failure.term.failed" | "panels.market.failure.term.done" | "panels.market.failure.term.copy" | "panels.market.failure.term.copied" | "panels.market.failure.term.noOutput" | "panels.market.failure.term.collapse" | "panels.market.failure.term.expandAria" | "panels.market.failure.term.expand" | "panels.market.needEnv" | "panels.market.needBinary" | "panels.market.needLib" | "panels.market.localMark" | "panels.market.noSource" | "panels.market.needBuiltinMissing" | "panels.market.badSource" | "panels.market.empty" | "panels.market.updateAllPlugins" | "panels.market.updatingAll" | "panels.market.sectionPlugins" | "panels.market.openDetail" | "panels.market.detailBack" | "panels.market.depKindExtension" | "panels.market.depKindLib" | "panels.market.depKindBin" | "panels.market.depKindEnv" | "panels.market.depEnvNotSet" | "panels.market.depOptional" | "panels.market.detailDepsTitle" | "panels.market.detailDepsEmpty" | "panels.market.detailSourceTitle" | "panels.market.detailSource" | "panels.market.detailRegistry" | "panels.market.detailSpec" | "panels.market.detailUnit" | "panels.market.detailVersion" | "panels.market.detailLatest" | "panels.market.detailRuntime" | "panels.market.detailExtension" | "panels.market.detailExtensionValue" | "panels.market.detailBridge" | "panels.market.detailBridgeValue" | "panels.market.detailBridgeStale" | "panels.market.detailRuntimeMismatch" | "panels.market.detailRuntimeReady" | "panels.market.detailRuntimeUnknown" | "panels.market.detailPluginName" | "panels.market.detailInstalledAt" | "panels.market.detailMarket" | "panels.market.detailRepository" | "panels.market.detailCommit" | "panels.market.detailDirectory" | "panels.market.detailUpdateSource" | "panels.market.detailUpdateVersion" | "panels.market.detailLocalDirectory" | "panels.market.detailUnknown" | "panels.market.detailSharedTitle" | "panels.market.detailTabs" | "panels.market.detailSharedTabs" | "panels.market.detailTabOverview" | "panels.market.detailTabReadme" | "panels.market.detailTabChangelog" | "panels.market.detailAuthor" | "panels.market.detailHomepage" | "panels.market.detailKeywords" | "panels.market.detailKind" | "panels.market.sharedKindPlugin" | "panels.market.sharedKindLib" | "panels.market.detailSharedUsedBy" | "panels.market.moduleOutdated" | "panels.market.olderOnDisk" | "panels.market.configDriftedNote" | "panels.market.olderOnDiskNote" | "panels.market.updateNeedsWorkbench" | "panels.market.needsHostVersion" | "panels.market.needsHostAction.desktop" | "panels.market.needsHostAction.dsh" | "panels.market.updateIncompatible" | "panels.market.updateUnverified" | "panels.market.moduleRefused" | "panels.market.moduleRestartHint" | "panels.market.pendingRestart" | "panels.market.pendingFollowUp" | "panels.market.migrationHint" | "panels.market.migrateAction" | "panels.market.migrating" | "panels.market.working" | "panels.market.migrateConfirmTitle" | "panels.market.migrateConfirmDetail" | "panels.market.migrateConfirmAck" | "panels.market.migrateConfirmYes" | "panels.market.migrateDone" | "panels.market.migrateDoneNoCount" | "panels.market.dismissFollowUp" | "panels.market.dismissing" | "panels.market.dismissFollowUpTitle" | "panels.market.dismissFollowUpDetail" | "panels.market.dismissFollowUpAck" | "panels.market.dismissFollowUpYes" | "panels.market.dismissed" | "panels.market.workbenchName" | "panels.market.workbenchBroken" | "panels.market.workbenchBrokenNoFix" | "panels.market.pluginBroken" | "panels.market.restartNeeded" | "panels.market.foot" | "panels.market.checkUpdates" | "panels.market.checkAll" | "panels.market.checkingNow" | "panels.market.checkFailed" | "panels.market.notCheckedYet" | "panels.market.checkedAt" | "panels.market.latestPartial" | "panels.market.sourceUnreachable" | "panels.market.latestNoRegistry" | "panels.market.latestProbeFailed" | "panels.market.justNow" | "panels.market.minutesAgo" | "panels.market.hoursAgo" | "panels.market.add.description" | "panels.market.add.specPlaceholder" | "panels.market.add.guideToggle" | "panels.market.add.guideHide" | "panels.market.add.guideIdTitle" | "panels.market.add.guideIdExample" | "panels.market.add.guideIdHint" | "panels.market.add.guideGitTitle" | "panels.market.add.guideGitExample" | "panels.market.add.guideGitHint" | "panels.market.add.guidePathTitle" | "panels.market.add.guidePathExample" | "panels.market.add.guidePathHint" | "panels.market.add.guideExampleLabel" | "panels.market.add.guideFill" | "panels.market.add.guideSafety" | "panels.market.add.registryLegend" | "panels.market.add.registryOfficial" | "panels.market.add.registryMirror" | "panels.market.add.registryWithHost" | "panels.market.add.registryToggle" | "panels.market.add.installVersion" | "panels.market.add.origins" | "panels.market.add.registryDefault" | "panels.market.add.registryCustom" | "panels.market.add.registryCustomPlaceholder" | "panels.market.add.registryCustomHint" | "panels.market.add.registryCustomInvalid" | "panels.market.add.run" | "panels.market.add.edit" | "panels.market.add.changeRegistry" | "panels.market.add.installingTitle" | "panels.market.add.installedTitle" | "panels.market.add.failedTitle" | "panels.market.add.cancelledTitle" | "panels.market.add.failureNetworkHost" | "panels.market.add.problemInvalid" | "panels.market.add.problemInstalled" | "panels.market.add.problemNotFound" | "panels.market.add.problemNotPackage" | "panels.market.add.problemNotBundle" | "panels.market.add.problemNotWorkbenchModule" | "panels.market.add.problemNotModuleOrPlugin" | "panels.market.add.failureNotModuleOrPlugin" | "panels.market.add.installedPlugin" | "panels.market.add.unknownModule" | "panels.market.add.sourceRepo" | "panels.market.add.sourceRef" | "panels.market.add.sourceBranch" | "panels.market.add.sourceDirectory" | "panels.market.add.sourceDir" | "panels.market.add.pluginPreview" | "panels.market.add.pluginAlias" | "panels.market.add.problemNetwork" | "panels.market.add.problemUnknown" | "panels.market.add.failureNetwork" | "panels.market.add.failureNotFound" | "panels.market.add.failureNoMatchingVersion" | "panels.market.add.failureDiskFull" | "panels.market.add.failurePermission" | "panels.market.add.failureBuildBlocked" | "panels.market.add.failureIntegrity" | "panels.market.add.failureStopProfile" | "panels.market.add.failureCancelled" | "panels.market.add.failureTimeout" | "panels.market.add.failurePnpmMissing" | "panels.market.add.failureInstalled" | "panels.market.add.failureGeneric" | "panels.market.add.failureBundleList" | "panels.market.add.failureModuleRow" | "panels.market.add.failureModuleRowRemove" | "panels.market.add.failureNoProfileDir" | "panels.market.add.failureCredentials" | "panels.market.approve.title" | "panels.market.approve.caution" | "panels.market.approve.install" | "panels.market.approve.update" | "panels.market.add.restart" | "panels.market.add.tookEffect" | "panels.market.add.details" | "panels.market.add.open" | "panels.market.add.title" | "panels.market.add.intro" | "panels.market.add.specLabel" | "panels.market.add.specHint" | "panels.market.add.exampleTitle" | "panels.market.add.exampleFill" | "panels.market.add.registryLabel" | "panels.market.add.registryProfile" | "panels.market.add.registryPnpm" | "panels.market.add.check" | "panels.market.add.checking" | "panels.market.add.classifying" | "panels.market.add.change" | "panels.market.add.previewTitle" | "panels.market.add.fieldName" | "panels.market.add.fieldVersion" | "panels.market.add.fieldDescription" | "panels.market.add.fieldSource" | "panels.market.add.install" | "panels.market.add.installing" | "panels.market.add.cancel" | "panels.market.add.close" | "panels.market.add.retry" | "panels.market.add.changeSource" | "panels.market.tabInstalled" | "panels.market.tabs" | "panels.tab.discover" | "panels.discover.loading" | "panels.discover.slowHint" | "panels.discover.lead" | "panels.discover.addSource" | "panels.discover.addingSource" | "panels.discover.addFirstSource" | "panels.discover.removeSource" | "panels.discover.removeTitle" | "panels.discover.removeBody" | "panels.discover.sourceActions" | "panels.discover.sourceStateWritable" | "panels.discover.sourceStateReadOnly" | "panels.discover.sourceEnable" | "panels.discover.sourceDisable" | "panels.discover.sourceWorking" | "panels.discover.sourceEnabled" | "panels.discover.sourceReadOnly" | "panels.discover.refresh" | "panels.discover.search" | "panels.discover.clearSearch" | "panels.discover.all" | "panels.discover.sourceLabel" | "panels.discover.sourceKind" | "panels.discover.sourceKindHttp" | "panels.discover.sourceKindGit" | "panels.discover.sourceUrl" | "panels.discover.sourcePlaceholder" | "panels.discover.sourceRef" | "panels.discover.sourcePath" | "panels.discover.sourceLocal" | "panels.discover.sourceLocalHint" | "panels.discover.save" | "panels.discover.cancel" | "panels.discover.retry" | "panels.discover.noSource" | "panels.discover.noSourceHint" | "panels.discover.sourcesFailed" | "panels.discover.unreadable" | "panels.discover.sandbox" | "panels.discover.sourceAuth" | "panels.discover.invalid" | "panels.discover.emptyRepo" | "panels.discover.missingIndex" | "panels.discover.initTitle" | "panels.discover.initCta" | "panels.discover.initWhat" | "panels.discover.initBranch" | "panels.discover.initBranchHint" | "panels.discover.initBranchBad" | "panels.discover.initOk" | "panels.discover.initBusy" | "panels.discover.initDone" | "panels.discover.stale" | "panels.discover.empty" | "panels.discover.noMatch" | "panels.discover.notInstalled" | "panels.discover.installed" | "panels.discover.installedVersion" | "panels.discover.update" | "panels.discover.badShell" | "panels.discover.badShellDetail" | "panels.discover.unverified" | "panels.discover.failed" | "panels.discover.transportTitle" | "panels.discover.transportSsh" | "panels.discover.transportHttps" | "panels.discover.transportOk" | "panels.discover.transportAuth" | "panels.discover.transportUnreachable" | "panels.discover.transportUnknown" | "panels.discover.transportChecking" | "panels.discover.transportTest" | "panels.discover.transportPlaceholder" | "panels.discover.transportNeedsAuth" | "panels.discover.transportChange" | "panels.discover.transportChangeHide" | "panels.discover.transportNone" | "panels.discover.expand" | "panels.discover.collapse" | "panels.discover.versionCount" | "panels.discover.sourceNpm" | "panels.discover.sourceNpmDefault" | "panels.discover.sourceGit" | "panels.discover.installVersion" | "panels.discover.confirmTitle" | "panels.discover.confirmDetail" | "panels.discover.confirmAck" | "panels.discover.confirmOk" | "panels.discover.confirmCancel" | "panels.discover.marketMenu" | "panels.discover.manageSources" | "panels.discover.sourcesTitle" | "panels.discover.sourcesIntro" | "panels.discover.sourcesLabel" | "panels.discover.sourceTrust" | "panels.discover.sourceDuplicate" | "panels.discover.sourceBadUrl" | "panels.discover.close" | "panels.discover.labelsMenu" | "panels.discover.labelsCount" | "panels.discover.tagsAll" | "panels.discover.sort" | "panels.discover.sortWith" | "panels.discover.sortRelevance" | "panels.discover.sortDefault" | "panels.discover.sortPublished" | "panels.discover.categoriesLabel" | "panels.discover.showMore" | "panels.discover.entryMeta" | "panels.discover.entryMetaAuthor" | "panels.discover.openEntry" | "panels.discover.cardInstall" | "panels.discover.cardInstalled" | "panels.discover.cardUpdate" | "panels.discover.cardBlocked" | "panels.discover.installTitle" | "panels.discover.installVersionTitle" | "panels.discover.openInstalled" | "panels.discover.noCompatibleVersion" | "panels.discover.detailBack" | "panels.discover.publishedAt" | "panels.discover.detailMarket" | "panels.discover.detailIncompatible" | "panels.discover.detailUnknown" | "panels.discover.detailSource" | "panels.discover.authorUnknown" | "panels.discover.tabOverview" | "panels.discover.tabReadme" | "panels.discover.tabChangelog" | "panels.discover.docReadme" | "panels.discover.docChangelog" | "panels.discover.docLoading" | "panels.discover.docMissing" | "panels.discover.docUnavailable" | "panels.discover.docUnknownReason" | "panels.discover.detailTabs" | "panels.discover.factPackage" | "panels.discover.factRegistry" | "panels.discover.factRepository" | "panels.discover.factCommit" | "panels.discover.factDirectory" | "panels.discover.factPublished" | "panels.discover.factAuthor" | "panels.discover.factHomepage" | "panels.discover.factCategory" | "panels.discover.factLabels" | "panels.discover.factMarket" | "panels.discover.detailVersions" | "panels.discover.versionsLabel" | "panels.discover.tagRecommended" | "panels.discover.tagPrerelease" | "panels.discover.tagInstalled" | "panels.discover.tagIncompatible" | "panels.discover.tagUnknown" | "panels.discover.selected" | "panels.discover.done" | "panels.discover.installTrust" | "panels.discover.progress" | "panels.market.approve.hint" | "panels.market.add.doneApplied" | "panels.market.add.doneRestart" | "panels.market.add.restartWhy" | "panels.market.add.restartWhy.no-hmr" | "panels.market.add.restartWhy.package-moved" | "panels.market.add.restartWhy.host-module" | "panels.market.add.restartWhy.unmanaged-plugin" | "panels.market.add.restartWhy.module-comparison" | "panels.market.add.cancelled" | "panels.market.add.failed" | "panels.market.add.removed" | "panels.market.add.supplyPending" | "panels.market.add.supplyFailed" | "panels.market.add.problemBuiltinMissing" | "panels.market.add.notModule" | "panels.market.add.removedRestart" | "panels.market.add.remove" | "panels.market.add.problem.invalidSpec" | "panels.market.add.problem.alreadyInstalled" | "panels.market.add.problem.notFound" | "panels.market.add.problem.notAPackage" | "panels.market.add.problem.notABundle" | "panels.market.add.problem.network" | "panels.market.add.problem.unknown" | "panels.market.add.reason.invalidSpec" | "panels.market.add.reason.incompatible" | "panels.market.add.reason.notBundle" | "panels.market.add.reason.notRemovable" | "panels.market.add.reason.bundleInUse" | "panels.market.add.reason.stopProfile" | "panels.market.add.reason.staleApproval" | "panels.market.add.reason.operationError" | "panels.market.add.reason.buildBlocked" | "panels.market.add.reason.pnpmMissing" | "panels.market.add.reason.noMatchingVersion" | "panels.market.add.reason.diskFull" | "panels.market.add.reason.permission" | "panels.market.add.reason.integrity" | "panels.market.add.reason.timeout" | "panels.market.add.reason.network" | "panels.market.add.reason.notFound" | "panels.market.add.reason.unknown" | "blocker.fix.update" | "blocker.fix.running" | "blocker.fix.failed" | "blocker.retry.running" | "panels.reading" | "panels.staleNote" | "panels.boardReadFailed" | "panels.boardReadFailedHint" | "panels.retry" | "panels.cardBroken" | "panels.cardRetry" | "panels.empty" | "panels.emptyHint" | "env.title" | "env.checking" | "env.installing" | "env.installingToolchain" | "env.failed" | "env.stepFailed.install" | "env.stepFailed.path" | "env.stepFailed.shell" | "env.stepFailed.host" | "env.toolchain.ok" | "env.toolchain.warn" | "env.runtime.ok" | "env.bridge.ok" | "env.bridge.short" | "env.bridge.why" | "env.bridge.extensionOffline" | "env.bridge.extensionLocal" | "env.bridge.extensionIncompatible" | "env.bridge.extensionIncompatibleAny" | "env.bridge.hold" | "env.bridge.unknown" | "env.fix.title" | "env.fix.why" | "env.fix.whyPath" | "env.fix.whyShell" | "env.fix.whyHost" | "env.fix.step" | "env.fix.stepRetry" | "env.fix.stepPath" | "env.fix.stepShell" | "env.fix.stepHost" | "env.fix.permission" | "env.fix.network" | "env.fix.details" | "env.retry" | "env.failed.continue" | "env.wake" | "env.wake.opening" | "env.wake.browserOpen" | "env.wake.noBrowser" | "env.wake.failed" | "env.bridge.continue" | "env.diy.ok" | "env.diy.short" | "env.diy.hold" | "env.diy.older.why" | "env.diy.older.step" | "env.diy.broken.why" | "env.diy.broken.hint" | "env.diy.presetMissing.why" | "env.diy.presetMissing.hint" | "env.diy.continue" | "askAgent.title" | "askAgent.copied" | "askAgent.screen.workbench" | "entry.failed" | "askAgent.screen.settings" | "askAgent.deployment.desktop" | "askAgent.deployment.web" | "diag.code.preflightDiyRowBroken" | "diag.hint.preflightDiyRowBroken" | "diag.code.preflightDiyPresetMissing" | "diag.hint.preflightDiyPresetMissing" | "diag.code.preflightBridgeHold" | "diag.hint.preflightBridgeHold" | "diag.code.preflightHostOlder" | "diag.hint.preflightHostOlder" | "diag.code.preflightHostNewer" | "diag.hint.preflightHostNewer" | "env.step.hostVersion" | "env.hostVersion.newer" | "env.hostVersion.older" | "env.hostVersion.newer.why" | "env.hostVersion.older.why" | "env.hostVersion.older.step" | "env.hostVersion.recover" | "env.hostVersion.recover.detail" | "env.copyCommand" | "env.copied" | "env.step.toolchain" | "env.step.adapter" | "env.step.runtime" | "env.step.bridge" | "env.step.diy" | "env.step.warm" | "env.warm.done" | "env.warm.short" | "env.unit.hint" | "rightbar.label" | "rightbar.expand" | "rightbar.collapse" | "rightbar.column.label" | "rightbar.column.workbench" | "rightbar.column.dsh" | "rightbar.refresh" | "rightbar.refreshing" | "rightbar.updatedAt" | "rightbar.noProject" | "rightbar.openPlatform" | "error.unknown" | "board.title" | "panel.conversation" | "panels.label" | "panels.more" | "mcpOnDemand.nav" | "mcpOnDemand.lead" | "mcpOnDemand.failed" | "updatePrerelease.nav" | "updatePrerelease.lead" | "updatePrerelease.channel.rc" | "updatePrerelease.channel.beta" | "updatePrerelease.channel.alpha" | "updatePrerelease.none" | "updatePrerelease.separator" | "updatePrerelease.pick" | "updatePrerelease.failed" | "workbenchSettings.nav" | "workbenchSettings.readFailed" | "workbenchSettings.advanced" | "moduleModel.nav" | "moduleModel.lead" | "moduleModel.followDefault" | "moduleModel.followDefaultNamed" | "moduleModel.unavailable" | "moduleModel.reading" | "moduleModel.search" | "moduleModel.readFailed" | "moduleModel.failed" | "sidebarEdition.nav" | "sidebarEdition.official" | "sidebarEdition.officialHint" | "sidebarEdition.custom" | "sidebarEdition.customHint" | "sidebarEdition.saving" | "sidebarEdition.failed" | "debug.workspace" | "debug.status" | "debug.status.trouble" | "debug.stalled" | "debug.act.pause" | "debug.act.resume" | "debug.act.stop" | "debug.act.stop.ask" | "debug.card.here.title" | "debug.card.here.note" | "debug.card.away.note" | "debug.card.paused.note" | "debug.card.hidden.note" | "rightbar.flow.label" | "rightbar.record.label" | "rightbar.flow.done" | "rightbar.flow.active" | "rightbar.flow.pending" | "rightbar.flow.statusCompleted" | "rightbar.flow.statusInProgress" | "rightbar.flow.statusPending" | "rightbar.flow.steps" | "approval.plan.see" | "approval.plan.do" | "approval.plan.agent" | "approval.plan.data" | "approval.fact.object" | "approval.fact.change" | "approval.fact.target" | "approval.fact.impact" | "approval.missingDetail" | "approval.record.site" | "approval.record.what" | "approval.record.lands" | "approval.record.landsUnknown" | "approval.record.noUrl" | "approval.record.oneAction" | "approval.longTask.what" | "approval.longTask.signal" | "approval.shell.module" | "approval.shell.panel" | "approval.shell.bundle" | "approval.shell.dependency" | "approval.shell.plugin" | "approval.shell.workbench" | "approval.shell.itself" | "approval.shell.projectPanel" | "approval.shell.machineDefaults" | "approval.shell.thisMachine" | "approval.shell.config" | "approval.shell.page" | "approval.shell.addPanel" | "approval.shell.resetProject" | "approval.shell.resetMachine" | "approval.shell.followDefaults" | "approval.shell.moveFront" | "approval.shell.moveAt" | "approval.shell.uninstallModule" | "approval.shell.installBundle" | "approval.shell.updateLatest" | "approval.shell.uninstallPlugin" | "approval.shell.startDebug" | "approval.shell.resumeDebug" | "approval.shell.impactPanel" | "approval.shell.impactMove" | "approval.shell.impactReset" | "approval.shell.impactFollow" | "approval.shell.impactUninstallModule" | "approval.shell.impactInstallBundle" | "approval.shell.impactDependency" | "approval.shell.impactPlugin" | "approval.shell.impactUninstallPlugin" | "approval.shell.impactWorkbench" | "approval.shell.impactStartDebug" | "approval.shell.impactResumeDebug" | "approval.plugin.name" | "approval.plugin.command" | "approval.plugin.note" | "approval.supply.module" | "approval.supply.kind" | "approval.supply.plugin" | "approval.supply.lib" | "approval.supply.missing" | "approval.supply.none" | "approval.publish.module" | "approval.publish.target" | "approval.publish.version" | "approval.publish.author" | "approval.publish.authorMissing" | "approval.publish.labels" | "approval.publish.category" | "approval.publish.labelsNone" | "approval.publish.categoryMissing" | "approval.publish.categoryVocabulary" | "approval.publish.categoryVocabularyEmpty" | "approval.publish.owner" | "approval.publish.ownerUnowned" | "approval.publish.ownerTaken" | "approval.publish.unit" | "approval.publish.unitTaken" | "approval.publish.path" | "approval.publish.pathTaken" | "approval.publish.registry" | "approval.publish.repo" | "approval.publish.branch" | "approval.publish.defaultBranch" | "approval.publish.artifacts" | "approval.publish.index" | "approval.publish.commits" | "approval.publish.twoCommits" | "approval.publish.reading" | "approval.publish.changelog" | "approval.publish.changelogPending" | "approval.publish.changelogMissing" | "approval.publish.targetAuto" | "approval.publish.targetTeam" | "approval.publish.targetPublic" | "approval.publish.targetTarball" | "approval.publish.targetGit" | "approval.publish.targetMarket" | "approval.publish.targetLocal" | "approval.market.source" | "approval.market.url" | "approval.market.action" | "approval.market.policy" | "approval.market.enable" | "approval.market.disable" | "approval.market.writable" | "approval.market.readOnly" | "approval.market.reading" | "markdown.copy" | "markdown.copied" | "markdown.footnotes" | "card.chatFailed" | "longTask.act.open" | "longTask.act.copy" | "longTask.handled" | "longTask.submit" | "longTask.login" | "longTask.steps" | "longTask.stop" | "longTask.stopConfirm" | "longTask.stopArmed", string>;
1105
+ en: Record<"diag.code.readFailed" | "diag.hint.readFailed" | "diag.code.configCorrupt" | "diag.code.moduleUnreadable" | "diag.code.manifestsGaveUp" | "diag.code.selfUpdateFailed" | "diag.code.supplyInstallFailed" | "diag.code.badParam" | "diag.code.sinkFailed" | "diag.code.unknownCode" | "time.now" | "time.ago" | "time.minutes" | "time.hours" | "time.days" | "askAgent.prompt.whereOnly" | "askAgent.prompt.where" | "askAgent.prompt.head" | "askAgent.prompt.why" | "askAgent.prompt.rows" | "askAgent.prompt.issue" | "askAgent.prompt.reason" | "askAgent.prompt.host" | "askAgent.prompt.deployment" | "askAgent.prompt.configDir" | "askAgent.prompt.logDir" | "askAgent.prompt.tried" | "askAgent.prompt.evidence" | "askAgent.prompt.ask" | "blocker.retry" | "blocker.copy" | "askAgent.copy" | "askAgent.screen.board" | "blocker.unknown.title" | "blocker.login.go" | "blocker.login.titleGeneric" | "blocker.login.title" | "blocker.login.manual" | "blocker.login.hint" | "blocker.forbidden.open" | "blocker.forbidden.titleGeneric" | "blocker.forbidden.title" | "blocker.forbidden.hint" | "blocker.timeout.hint" | "blocker.exec.hint" | "blocker.fix.install" | "blocker.market.open" | "env.unit.failed" | "env.unit.failedHint" | "env.unit.degraded" | "env.unit.unsupported" | "env.unit.degradedHint" | "env.unit.unsupportedHint" | "env.unit.unchecked" | "env.unit.uncheckedHint" | "profileCreate.nav" | "profileCreate.lead" | "profileCreate.name" | "profileCreate.nameHint" | "profileCreate.source" | "profileCreate.current" | "profileCreate.copy" | "profileCreate.settings" | "profileCreate.create" | "profileCreate.creating" | "profileCreate.created" | "profileCreate.command" | "profileCreate.commandUnsupported" | "profileCreate.copyCommand" | "profileCreate.copied" | "profileCreate.readFailed" | "profileCreate.retry" | "profileCreate.reading" | "profileCreate.noProfiles" | "profileCreate.failed" | "configSync.nav" | "configSync.lead" | "configSync.source" | "configSync.sourceBroken" | "configSync.sourceRows" | "configSync.sourceDead" | "configSync.refresh" | "configSync.loading" | "configSync.readHint" | "configSync.summary.loading" | "configSync.summary.ready" | "configSync.summary.none" | "configSync.summary.error" | "configSync.view" | "configSync.hide" | "configSync.pickHint" | "configSync.tag.new" | "configSync.tag.differs" | "configSync.conflictNote" | "configSync.code.lang" | "configSync.code.copy" | "configSync.code.copied" | "configSync.code.wrap" | "configSync.code.unwrap" | "configSync.code.collapse" | "configSync.code.collapseAria" | "configSync.code.expandAria" | "configSync.code.expand" | "configSync.missing" | "configSync.apply" | "configSync.applyNone" | "configSync.applying" | "configSync.applied" | "configSync.appliedUnverified" | "configSync.appliedIds" | "configSync.skippedIds" | "configSync.nothing" | "configSync.unreadable" | "configSync.noSource" | "configSync.emptyProviders" | "configSync.failed" | "diyPresetSource.nav" | "diyPresetSource.lead" | "diyPresetSource.standard" | "diyPresetSource.ptc" | "diyPresetSource.minimal" | "diyPresetSource.cordis" | "diyPresetSource.unusable" | "diyPresetSource.storedUnavailable" | "diyPresetSource.readFailed" | "diyPresetSource.reading" | "diyPresetSource.search" | "diyPresetSource.empty" | "diyPresetSource.failed" | "env.need.bin.missing" | "env.need.bin.hint" | "env.need.extension.missing" | "env.need.extension.outdated" | "env.need.extension.hint" | "env.need.lib.missing" | "env.need.lib.outdated" | "env.need.lib.unsatisfied" | "env.need.lib.hint" | "env.need.env.missing" | "env.need.env.hint" | "brand.name" | "toggle.open" | "toggle.collapse" | "project.label" | "workspace.section" | "project.none" | "project.empty" | "project.add" | "project.add.busy" | "project.add.failed" | "project.search.label" | "project.search.placeholder" | "project.search.empty" | "project.group.workspaces" | "project.group.defaultWorkspace" | "project.group.workshop" | "project.menu.row" | "project.menu.alias" | "project.menu.reveal.finder" | "project.menu.reveal.folder" | "project.menu.delete" | "project.alias.title" | "project.alias.description" | "project.alias.field" | "project.alias.placeholder" | "project.alias.hint" | "project.alias.save" | "project.alias.saving" | "project.alias.cancel" | "project.alias.failed" | "project.delete.title" | "project.delete.description" | "project.delete.confirm" | "project.delete.pending" | "project.delete.cancel" | "project.delete.failed" | "project.reveal.failed" | "session.new" | "session.new.label" | "session.empty" | "session.noProject" | "session.list.label" | "session.copy" | "session.pinned" | "session.actions" | "session.expand" | "session.collapse" | "session.search.label" | "session.search.results" | "session.search.placeholder" | "session.search.clear" | "session.search.pending" | "session.search.empty" | "session.search.hasMore" | "status.idle" | "status.running" | "status.longTask" | "status.longTaskWaiting" | "status.waitingApproval" | "status.planReview" | "status.waitingAnswer" | "status.compact.approval" | "status.compact.planReview" | "status.compact.answer" | "status.completed" | "status.subagentsRunning.one" | "status.subagentsRunning.other" | "project.attention.warning.one" | "project.attention.warning.other" | "project.attention.running.one" | "project.attention.running.other" | "project.attention.longTask.one" | "project.attention.longTask.other" | "project.attention.longTaskWaiting.one" | "project.attention.longTaskWaiting.other" | "project.attention.done.one" | "project.attention.done.other" | "project.attention.state.warning" | "project.attention.state.longTaskWaiting" | "project.attention.state.running" | "project.attention.state.done" | "hover.copied" | "time.short.minutes" | "time.short.hours" | "time.short.days" | "time.short.months" | "time.short.years" | "panels.title" | "panels.groupBackground" | "runtime.plugin" | "runtime.pluginOf" | "runtime.pluginThing" | "runtime.pluginArea" | "panels.market.defaultHint" | "panels.market.defaultLabel" | "panels.market.defaultNeedsDeps" | "panels.market.defaultLocked" | "panels.followAll" | "panels.followAllConfirmTitle" | "panels.followAllConfirmDetail" | "panels.followAllConfirmAck" | "panels.followAllConfirmYes" | "panels.followAllConfirmNo" | "panels.enabled" | "panels.disabled" | "panels.onBoard" | "panels.offBoard" | "panels.choose" | "panels.buildModule" | "panels.failed" | "panels.dragHint" | "panels.unknownStep" | "panels.labelWithHint" | "panels.hintJoin" | "panels.dep.failed" | "panels.dep.unchecked" | "panels.dep.missing" | "panels.dep.outdated" | "panels.dep.depsNewer" | "panels.dep.degraded" | "panels.dep.unsupported" | "panels.tab.modules" | "panels.tab.market" | "panels.browseMarket" | "panels.noneInstalled" | "panels.noneInstalledHint" | "panels.market.installed" | "panels.market.modulesReadFailed" | "panels.market.notActive" | "panels.market.notUsable" | "panels.market.broken" | "panels.market.pluginVersionMismatch" | "panels.market.runtimeVersionMismatch" | "panels.market.hasNew" | "panels.market.hasProblem" | "panels.market.missing" | "panels.market.unchecked" | "panels.market.uncheckedHint" | "panels.market.checking" | "market.listUnread" | "market.unreadable.badge.one" | "market.unreadable.badge.other" | "market.unreadable.title" | "market.unreadable.lead" | "market.unreadable.copy" | "market.unreadable.copied" | "market.unreadable.close" | "panels.market.sectionInstalled" | "panels.market.sectionPending" | "panels.market.sectionShared" | "panels.market.sharedUsedBy" | "panels.market.listSeparator" | "panels.market.sharedMissing" | "panels.market.sharedOutdated" | "panels.market.sharedUnsatisfied" | "panels.market.sharedOk" | "panels.market.versionArrow" | "panels.market.lead" | "panels.market.install" | "panels.market.installDeps" | "panels.market.update" | "panels.market.updateDeps" | "panels.market.depsHaveUpdate" | "panels.market.swapSlow" | "panels.market.removeSlow" | "panels.market.updateNoChange" | "panels.market.updateUnknownVersion" | "panels.market.updateGone" | "panels.market.updateRestored" | "panels.market.updateBehind" | "panels.market.updateStuck.title" | "panels.market.updateStuck.factNoChange" | "panels.market.updateStuck.copiedHint" | "panels.market.selfUpdateQueued" | "panels.market.selfUpdateMigration" | "panels.market.selfUpdatePendingRestart" | "panels.market.selfUpdateRetry" | "panels.market.selfUpdateNeedsHost" | "panels.market.selfUpdateBusy" | "panels.market.selfUpdateReinstallFailed" | "panels.market.selfUpdateReinstallStopped" | "panels.market.uninstall" | "panels.market.uninstallLabel" | "panels.market.installing" | "panels.market.installingDeps" | "panels.market.updating" | "panels.market.updatingDeps" | "panels.market.uninstalling" | "panels.market.confirmUninstallTitle" | "panels.market.confirmUninstallDetail" | "panels.market.confirmUninstallAck" | "panels.market.confirmYes" | "panels.market.confirmNo" | "panels.market.noMarketSource" | "panels.market.failed" | "panels.market.failure.permission" | "panels.market.failure.diskFull" | "panels.market.failure.auth" | "panels.market.failure.sandbox" | "panels.market.failure.retryAdvice" | "panels.market.failure.copyOutput" | "panels.market.failure.copyOutputHint" | "panels.market.failure.unknown" | "panels.market.failure.factOwner" | "panels.market.failure.factMode" | "panels.market.failure.factSpace" | "panels.market.failure.factAuth" | "panels.market.failure.title" | "panels.market.failure.factSummary" | "panels.market.failure.factUnknown" | "panels.market.failure.factStuck" | "panels.market.failure.thisSource" | "panels.market.failure.noReason" | "panels.market.failure.nowhere" | "panels.market.failure.copyFix" | "panels.market.failure.copied" | "panels.market.failure.copiedHint" | "panels.market.failure.askAgent" | "panels.market.failure.askAgentText" | "panels.market.failure.askAgentAuth" | "panels.market.failure.askAgentUnknown" | "panels.market.failure.recheck" | "panels.market.failure.showOutput" | "panels.market.failure.hideOutput" | "panels.market.failure.term.commandLine" | "panels.market.failure.term.signal" | "panels.market.failure.term.exitCode" | "panels.market.failure.term.noExitCode" | "panels.market.failure.term.running" | "panels.market.failure.term.failed" | "panels.market.failure.term.done" | "panels.market.failure.term.copy" | "panels.market.failure.term.copied" | "panels.market.failure.term.noOutput" | "panels.market.failure.term.collapse" | "panels.market.failure.term.expandAria" | "panels.market.failure.term.expand" | "panels.market.needEnv" | "panels.market.needBinary" | "panels.market.needLib" | "panels.market.localMark" | "panels.market.noSource" | "panels.market.needBuiltinMissing" | "panels.market.badSource" | "panels.market.empty" | "panels.market.updateAllPlugins" | "panels.market.updatingAll" | "panels.market.sectionPlugins" | "panels.market.openDetail" | "panels.market.detailBack" | "panels.market.depKindExtension" | "panels.market.depKindLib" | "panels.market.depKindBin" | "panels.market.depKindEnv" | "panels.market.depEnvNotSet" | "panels.market.depOptional" | "panels.market.detailDepsTitle" | "panels.market.detailDepsEmpty" | "panels.market.detailSourceTitle" | "panels.market.detailSource" | "panels.market.detailRegistry" | "panels.market.detailSpec" | "panels.market.detailUnit" | "panels.market.detailVersion" | "panels.market.detailLatest" | "panels.market.detailRuntime" | "panels.market.detailExtension" | "panels.market.detailExtensionValue" | "panels.market.detailBridge" | "panels.market.detailBridgeValue" | "panels.market.detailBridgeStale" | "panels.market.detailRuntimeMismatch" | "panels.market.detailRuntimeReady" | "panels.market.detailRuntimeUnknown" | "panels.market.detailPluginName" | "panels.market.detailInstalledAt" | "panels.market.detailMarket" | "panels.market.detailRepository" | "panels.market.detailCommit" | "panels.market.detailDirectory" | "panels.market.detailUpdateSource" | "panels.market.detailUpdateVersion" | "panels.market.detailLocalDirectory" | "panels.market.detailUnknown" | "panels.market.detailSharedTitle" | "panels.market.detailTabs" | "panels.market.detailSharedTabs" | "panels.market.detailTabOverview" | "panels.market.detailTabReadme" | "panels.market.detailTabChangelog" | "panels.market.detailAuthor" | "panels.market.detailHomepage" | "panels.market.detailKeywords" | "panels.market.detailKind" | "panels.market.sharedKindPlugin" | "panels.market.sharedKindLib" | "panels.market.detailSharedUsedBy" | "panels.market.moduleOutdated" | "panels.market.olderOnDisk" | "panels.market.configDriftedNote" | "panels.market.olderOnDiskNote" | "panels.market.updateNeedsWorkbench" | "panels.market.needsHostVersion" | "panels.market.needsHostAction.desktop" | "panels.market.needsHostAction.dsh" | "panels.market.updateIncompatible" | "panels.market.updateUnverified" | "panels.market.moduleRefused" | "panels.market.moduleRestartHint" | "panels.market.pendingRestart" | "panels.market.pendingFollowUp" | "panels.market.migrationHint" | "panels.market.migrateAction" | "panels.market.migrating" | "panels.market.working" | "panels.market.migrateConfirmTitle" | "panels.market.migrateConfirmDetail" | "panels.market.migrateConfirmAck" | "panels.market.migrateConfirmYes" | "panels.market.migrateDone" | "panels.market.migrateDoneNoCount" | "panels.market.dismissFollowUp" | "panels.market.dismissing" | "panels.market.dismissFollowUpTitle" | "panels.market.dismissFollowUpDetail" | "panels.market.dismissFollowUpAck" | "panels.market.dismissFollowUpYes" | "panels.market.dismissed" | "panels.market.workbenchName" | "panels.market.workbenchBroken" | "panels.market.workbenchBrokenNoFix" | "panels.market.pluginBroken" | "panels.market.restartNeeded" | "panels.market.foot" | "panels.market.checkUpdates" | "panels.market.checkAll" | "panels.market.checkingNow" | "panels.market.checkFailed" | "panels.market.notCheckedYet" | "panels.market.checkedAt" | "panels.market.latestPartial" | "panels.market.sourceUnreachable" | "panels.market.latestNoRegistry" | "panels.market.latestProbeFailed" | "panels.market.justNow" | "panels.market.minutesAgo" | "panels.market.hoursAgo" | "panels.market.add.description" | "panels.market.add.specPlaceholder" | "panels.market.add.guideToggle" | "panels.market.add.guideHide" | "panels.market.add.guideIdTitle" | "panels.market.add.guideIdExample" | "panels.market.add.guideIdHint" | "panels.market.add.guideGitTitle" | "panels.market.add.guideGitExample" | "panels.market.add.guideGitHint" | "panels.market.add.guidePathTitle" | "panels.market.add.guidePathExample" | "panels.market.add.guidePathHint" | "panels.market.add.guideExampleLabel" | "panels.market.add.guideFill" | "panels.market.add.guideSafety" | "panels.market.add.registryLegend" | "panels.market.add.registryOfficial" | "panels.market.add.registryMirror" | "panels.market.add.registryWithHost" | "panels.market.add.registryToggle" | "panels.market.add.installVersion" | "panels.market.add.origins" | "panels.market.add.registryDefault" | "panels.market.add.registryCustom" | "panels.market.add.registryCustomPlaceholder" | "panels.market.add.registryCustomHint" | "panels.market.add.registryCustomInvalid" | "panels.market.add.run" | "panels.market.add.edit" | "panels.market.add.changeRegistry" | "panels.market.add.installingTitle" | "panels.market.add.installedTitle" | "panels.market.add.failedTitle" | "panels.market.add.cancelledTitle" | "panels.market.add.failureNetworkHost" | "panels.market.add.problemInvalid" | "panels.market.add.problemInstalled" | "panels.market.add.problemNotFound" | "panels.market.add.problemNotPackage" | "panels.market.add.problemNotBundle" | "panels.market.add.problemNotWorkbenchModule" | "panels.market.add.problemNotModuleOrPlugin" | "panels.market.add.failureNotModuleOrPlugin" | "panels.market.add.installedPlugin" | "panels.market.add.unknownModule" | "panels.market.add.sourceRepo" | "panels.market.add.sourceRef" | "panels.market.add.sourceBranch" | "panels.market.add.sourceDirectory" | "panels.market.add.sourceDir" | "panels.market.add.pluginPreview" | "panels.market.add.pluginAlias" | "panels.market.add.problemNetwork" | "panels.market.add.problemUnknown" | "panels.market.add.failureNetwork" | "panels.market.add.failureNotFound" | "panels.market.add.failureNoMatchingVersion" | "panels.market.add.failureDiskFull" | "panels.market.add.failurePermission" | "panels.market.add.failureBuildBlocked" | "panels.market.add.failureIntegrity" | "panels.market.add.failureStopProfile" | "panels.market.add.failureCancelled" | "panels.market.add.failureTimeout" | "panels.market.add.failurePnpmMissing" | "panels.market.add.failureInstalled" | "panels.market.add.failureGeneric" | "panels.market.add.failureBundleList" | "panels.market.add.failureModuleRow" | "panels.market.add.failureModuleRowRemove" | "panels.market.add.failureNoProfileDir" | "panels.market.add.failureCredentials" | "panels.market.approve.title" | "panels.market.approve.caution" | "panels.market.approve.install" | "panels.market.approve.update" | "panels.market.add.restart" | "panels.market.add.tookEffect" | "panels.market.add.details" | "panels.market.add.open" | "panels.market.add.title" | "panels.market.add.intro" | "panels.market.add.specLabel" | "panels.market.add.specHint" | "panels.market.add.exampleTitle" | "panels.market.add.exampleFill" | "panels.market.add.registryLabel" | "panels.market.add.registryProfile" | "panels.market.add.registryPnpm" | "panels.market.add.check" | "panels.market.add.checking" | "panels.market.add.classifying" | "panels.market.add.change" | "panels.market.add.previewTitle" | "panels.market.add.fieldName" | "panels.market.add.fieldVersion" | "panels.market.add.fieldDescription" | "panels.market.add.fieldSource" | "panels.market.add.install" | "panels.market.add.installing" | "panels.market.add.cancel" | "panels.market.add.close" | "panels.market.add.retry" | "panels.market.add.changeSource" | "panels.market.tabInstalled" | "panels.market.tabs" | "panels.tab.discover" | "panels.discover.loading" | "panels.discover.slowHint" | "panels.discover.lead" | "panels.discover.addSource" | "panels.discover.addingSource" | "panels.discover.addFirstSource" | "panels.discover.removeSource" | "panels.discover.removeTitle" | "panels.discover.removeBody" | "panels.discover.sourceActions" | "panels.discover.sourceStateWritable" | "panels.discover.sourceStateReadOnly" | "panels.discover.sourceEnable" | "panels.discover.sourceDisable" | "panels.discover.sourceWorking" | "panels.discover.sourceEnabled" | "panels.discover.sourceReadOnly" | "panels.discover.refresh" | "panels.discover.search" | "panels.discover.clearSearch" | "panels.discover.all" | "panels.discover.sourceLabel" | "panels.discover.sourceKind" | "panels.discover.sourceKindHttp" | "panels.discover.sourceKindGit" | "panels.discover.sourceUrl" | "panels.discover.sourcePlaceholder" | "panels.discover.sourceRef" | "panels.discover.sourcePath" | "panels.discover.sourceLocal" | "panels.discover.sourceLocalHint" | "panels.discover.save" | "panels.discover.cancel" | "panels.discover.retry" | "panels.discover.noSource" | "panels.discover.noSourceHint" | "panels.discover.sourcesFailed" | "panels.discover.unreadable" | "panels.discover.sandbox" | "panels.discover.sourceAuth" | "panels.discover.invalid" | "panels.discover.emptyRepo" | "panels.discover.missingIndex" | "panels.discover.initTitle" | "panels.discover.initCta" | "panels.discover.initWhat" | "panels.discover.initBranch" | "panels.discover.initBranchHint" | "panels.discover.initBranchBad" | "panels.discover.initOk" | "panels.discover.initBusy" | "panels.discover.initDone" | "panels.discover.stale" | "panels.discover.empty" | "panels.discover.noMatch" | "panels.discover.notInstalled" | "panels.discover.installed" | "panels.discover.installedVersion" | "panels.discover.update" | "panels.discover.badShell" | "panels.discover.badShellDetail" | "panels.discover.unverified" | "panels.discover.failed" | "panels.discover.transportTitle" | "panels.discover.transportSsh" | "panels.discover.transportHttps" | "panels.discover.transportOk" | "panels.discover.transportAuth" | "panels.discover.transportUnreachable" | "panels.discover.transportUnknown" | "panels.discover.transportChecking" | "panels.discover.transportTest" | "panels.discover.transportPlaceholder" | "panels.discover.transportNeedsAuth" | "panels.discover.transportChange" | "panels.discover.transportChangeHide" | "panels.discover.transportNone" | "panels.discover.expand" | "panels.discover.collapse" | "panels.discover.versionCount" | "panels.discover.sourceNpm" | "panels.discover.sourceNpmDefault" | "panels.discover.sourceGit" | "panels.discover.installVersion" | "panels.discover.confirmTitle" | "panels.discover.confirmDetail" | "panels.discover.confirmAck" | "panels.discover.confirmOk" | "panels.discover.confirmCancel" | "panels.discover.marketMenu" | "panels.discover.manageSources" | "panels.discover.sourcesTitle" | "panels.discover.sourcesIntro" | "panels.discover.sourcesLabel" | "panels.discover.sourceTrust" | "panels.discover.sourceDuplicate" | "panels.discover.sourceBadUrl" | "panels.discover.close" | "panels.discover.labelsMenu" | "panels.discover.labelsCount" | "panels.discover.tagsAll" | "panels.discover.sort" | "panels.discover.sortWith" | "panels.discover.sortRelevance" | "panels.discover.sortDefault" | "panels.discover.sortPublished" | "panels.discover.categoriesLabel" | "panels.discover.showMore" | "panels.discover.entryMeta" | "panels.discover.entryMetaAuthor" | "panels.discover.openEntry" | "panels.discover.cardInstall" | "panels.discover.cardInstalled" | "panels.discover.cardUpdate" | "panels.discover.cardBlocked" | "panels.discover.installTitle" | "panels.discover.installVersionTitle" | "panels.discover.openInstalled" | "panels.discover.noCompatibleVersion" | "panels.discover.detailBack" | "panels.discover.publishedAt" | "panels.discover.detailMarket" | "panels.discover.detailIncompatible" | "panels.discover.detailUnknown" | "panels.discover.detailSource" | "panels.discover.authorUnknown" | "panels.discover.tabOverview" | "panels.discover.tabReadme" | "panels.discover.tabChangelog" | "panels.discover.docReadme" | "panels.discover.docChangelog" | "panels.discover.docLoading" | "panels.discover.docMissing" | "panels.discover.docUnavailable" | "panels.discover.docUnknownReason" | "panels.discover.detailTabs" | "panels.discover.factPackage" | "panels.discover.factRegistry" | "panels.discover.factRepository" | "panels.discover.factCommit" | "panels.discover.factDirectory" | "panels.discover.factPublished" | "panels.discover.factAuthor" | "panels.discover.factHomepage" | "panels.discover.factCategory" | "panels.discover.factLabels" | "panels.discover.factMarket" | "panels.discover.detailVersions" | "panels.discover.versionsLabel" | "panels.discover.tagRecommended" | "panels.discover.tagPrerelease" | "panels.discover.tagInstalled" | "panels.discover.tagIncompatible" | "panels.discover.tagUnknown" | "panels.discover.selected" | "panels.discover.done" | "panels.discover.installTrust" | "panels.discover.progress" | "panels.market.approve.hint" | "panels.market.add.doneApplied" | "panels.market.add.doneRestart" | "panels.market.add.restartWhy" | "panels.market.add.restartWhy.no-hmr" | "panels.market.add.restartWhy.package-moved" | "panels.market.add.restartWhy.host-module" | "panels.market.add.restartWhy.unmanaged-plugin" | "panels.market.add.restartWhy.module-comparison" | "panels.market.add.cancelled" | "panels.market.add.failed" | "panels.market.add.removed" | "panels.market.add.supplyPending" | "panels.market.add.supplyFailed" | "panels.market.add.problemBuiltinMissing" | "panels.market.add.notModule" | "panels.market.add.removedRestart" | "panels.market.add.remove" | "panels.market.add.problem.invalidSpec" | "panels.market.add.problem.alreadyInstalled" | "panels.market.add.problem.notFound" | "panels.market.add.problem.notAPackage" | "panels.market.add.problem.notABundle" | "panels.market.add.problem.network" | "panels.market.add.problem.unknown" | "panels.market.add.reason.invalidSpec" | "panels.market.add.reason.incompatible" | "panels.market.add.reason.notBundle" | "panels.market.add.reason.notRemovable" | "panels.market.add.reason.bundleInUse" | "panels.market.add.reason.stopProfile" | "panels.market.add.reason.staleApproval" | "panels.market.add.reason.operationError" | "panels.market.add.reason.buildBlocked" | "panels.market.add.reason.pnpmMissing" | "panels.market.add.reason.noMatchingVersion" | "panels.market.add.reason.diskFull" | "panels.market.add.reason.permission" | "panels.market.add.reason.integrity" | "panels.market.add.reason.timeout" | "panels.market.add.reason.network" | "panels.market.add.reason.notFound" | "panels.market.add.reason.unknown" | "blocker.fix.update" | "blocker.fix.running" | "blocker.fix.failed" | "blocker.retry.running" | "panels.reading" | "panels.staleNote" | "panels.boardReadFailed" | "panels.boardReadFailedHint" | "panels.retry" | "panels.cardBroken" | "panels.cardRetry" | "panels.empty" | "panels.emptyHint" | "env.title" | "env.checking" | "env.installing" | "env.installingToolchain" | "env.failed" | "env.stepFailed.install" | "env.stepFailed.path" | "env.stepFailed.shell" | "env.stepFailed.host" | "env.toolchain.ok" | "env.toolchain.warn" | "env.runtime.ok" | "env.bridge.ok" | "env.bridge.short" | "env.bridge.why" | "env.bridge.extensionOffline" | "env.bridge.extensionLocal" | "env.bridge.extensionIncompatible" | "env.bridge.extensionIncompatibleAny" | "env.bridge.hold" | "env.bridge.unknown" | "env.fix.title" | "env.fix.why" | "env.fix.whyPath" | "env.fix.whyShell" | "env.fix.whyHost" | "env.fix.step" | "env.fix.stepRetry" | "env.fix.stepPath" | "env.fix.stepShell" | "env.fix.stepHost" | "env.fix.permission" | "env.fix.network" | "env.fix.details" | "env.retry" | "env.failed.continue" | "env.wake" | "env.wake.opening" | "env.wake.browserOpen" | "env.wake.noBrowser" | "env.wake.failed" | "env.bridge.continue" | "env.diy.ok" | "env.diy.short" | "env.diy.hold" | "env.diy.older.why" | "env.diy.older.step" | "env.diy.broken.why" | "env.diy.broken.hint" | "env.diy.presetMissing.why" | "env.diy.presetMissing.hint" | "env.diy.continue" | "askAgent.title" | "askAgent.copied" | "askAgent.screen.workbench" | "entry.failed" | "askAgent.screen.settings" | "askAgent.deployment.desktop" | "askAgent.deployment.web" | "diag.code.preflightDiyRowBroken" | "diag.hint.preflightDiyRowBroken" | "diag.code.preflightDiyPresetMissing" | "diag.hint.preflightDiyPresetMissing" | "diag.code.preflightBridgeHold" | "diag.hint.preflightBridgeHold" | "diag.code.preflightHostOlder" | "diag.hint.preflightHostOlder" | "diag.code.preflightHostNewer" | "diag.hint.preflightHostNewer" | "env.step.hostVersion" | "env.hostVersion.newer" | "env.hostVersion.older" | "env.hostVersion.newer.why" | "env.hostVersion.older.why" | "env.hostVersion.older.step" | "env.hostVersion.recover" | "env.hostVersion.recover.detail" | "env.copyCommand" | "env.copied" | "env.step.toolchain" | "env.step.adapter" | "env.step.runtime" | "env.step.bridge" | "env.step.diy" | "env.step.warm" | "env.warm.done" | "env.warm.short" | "env.unit.hint" | "rightbar.label" | "rightbar.expand" | "rightbar.collapse" | "rightbar.column.label" | "rightbar.column.workbench" | "rightbar.column.dsh" | "rightbar.refresh" | "rightbar.refreshing" | "rightbar.updatedAt" | "rightbar.noProject" | "rightbar.openPlatform" | "error.unknown" | "board.title" | "panel.conversation" | "panels.label" | "panels.more" | "mcpOnDemand.nav" | "mcpOnDemand.lead" | "mcpOnDemand.failed" | "updatePrerelease.nav" | "updatePrerelease.lead" | "updatePrerelease.channel.rc" | "updatePrerelease.channel.beta" | "updatePrerelease.channel.alpha" | "updatePrerelease.none" | "updatePrerelease.separator" | "updatePrerelease.pick" | "updatePrerelease.failed" | "workbenchSettings.nav" | "workbenchSettings.readFailed" | "workbenchSettings.advanced" | "moduleModel.nav" | "moduleModel.lead" | "moduleModel.followDefault" | "moduleModel.followDefaultNamed" | "moduleModel.unavailable" | "moduleModel.reading" | "moduleModel.search" | "moduleModel.readFailed" | "moduleModel.failed" | "sidebarEdition.nav" | "sidebarEdition.official" | "sidebarEdition.officialHint" | "sidebarEdition.custom" | "sidebarEdition.customHint" | "sidebarEdition.saving" | "sidebarEdition.failed" | "debug.workspace" | "debug.status" | "debug.status.trouble" | "debug.stalled" | "debug.act.pause" | "debug.act.resume" | "debug.act.stop" | "debug.act.stop.ask" | "debug.card.here.title" | "debug.card.here.note" | "debug.card.away.note" | "debug.card.paused.note" | "debug.card.hidden.note" | "rightbar.flow.label" | "rightbar.record.label" | "rightbar.flow.done" | "rightbar.flow.active" | "rightbar.flow.pending" | "rightbar.flow.statusCompleted" | "rightbar.flow.statusInProgress" | "rightbar.flow.statusPending" | "rightbar.flow.steps" | "approval.plan.see" | "approval.plan.do" | "approval.plan.agent" | "approval.plan.data" | "approval.fact.object" | "approval.fact.change" | "approval.fact.target" | "approval.fact.impact" | "approval.missingDetail" | "approval.record.site" | "approval.record.what" | "approval.record.lands" | "approval.record.landsUnknown" | "approval.record.noUrl" | "approval.record.oneAction" | "approval.longTask.what" | "approval.longTask.signal" | "approval.shell.module" | "approval.shell.panel" | "approval.shell.bundle" | "approval.shell.dependency" | "approval.shell.plugin" | "approval.shell.workbench" | "approval.shell.itself" | "approval.shell.projectPanel" | "approval.shell.machineDefaults" | "approval.shell.thisMachine" | "approval.shell.config" | "approval.shell.page" | "approval.shell.addPanel" | "approval.shell.resetProject" | "approval.shell.resetMachine" | "approval.shell.followDefaults" | "approval.shell.moveFront" | "approval.shell.moveAt" | "approval.shell.uninstallModule" | "approval.shell.installBundle" | "approval.shell.updateLatest" | "approval.shell.uninstallPlugin" | "approval.shell.startDebug" | "approval.shell.resumeDebug" | "approval.shell.impactPanel" | "approval.shell.impactMove" | "approval.shell.impactReset" | "approval.shell.impactFollow" | "approval.shell.impactUninstallModule" | "approval.shell.impactInstallBundle" | "approval.shell.impactDependency" | "approval.shell.impactPlugin" | "approval.shell.impactUninstallPlugin" | "approval.shell.impactWorkbench" | "approval.shell.impactStartDebug" | "approval.shell.impactResumeDebug" | "approval.plugin.name" | "approval.plugin.command" | "approval.plugin.note" | "approval.supply.module" | "approval.supply.kind" | "approval.supply.plugin" | "approval.supply.lib" | "approval.supply.missing" | "approval.supply.none" | "approval.publish.module" | "approval.publish.target" | "approval.publish.version" | "approval.publish.author" | "approval.publish.authorMissing" | "approval.publish.labels" | "approval.publish.category" | "approval.publish.labelsNone" | "approval.publish.categoryMissing" | "approval.publish.categoryVocabulary" | "approval.publish.categoryVocabularyEmpty" | "approval.publish.owner" | "approval.publish.ownerUnowned" | "approval.publish.ownerTaken" | "approval.publish.unit" | "approval.publish.unitTaken" | "approval.publish.path" | "approval.publish.pathTaken" | "approval.publish.registry" | "approval.publish.repo" | "approval.publish.branch" | "approval.publish.defaultBranch" | "approval.publish.artifacts" | "approval.publish.index" | "approval.publish.commits" | "approval.publish.twoCommits" | "approval.publish.reading" | "approval.publish.changelog" | "approval.publish.changelogPending" | "approval.publish.changelogMissing" | "approval.publish.targetAuto" | "approval.publish.targetTeam" | "approval.publish.targetPublic" | "approval.publish.targetTarball" | "approval.publish.targetGit" | "approval.publish.targetMarket" | "approval.publish.targetLocal" | "approval.market.source" | "approval.market.url" | "approval.market.action" | "approval.market.policy" | "approval.market.enable" | "approval.market.disable" | "approval.market.writable" | "approval.market.readOnly" | "approval.market.reading" | "markdown.copy" | "markdown.copied" | "markdown.footnotes" | "card.chatFailed" | "longTask.act.open" | "longTask.act.copy" | "longTask.handled" | "longTask.submit" | "longTask.login" | "longTask.steps" | "longTask.stop" | "longTask.stopConfirm" | "longTask.stopArmed" | "longTask.stopPending" | "longTask.list.entry" | "longTask.list.title" | "longTask.state.running" | "longTask.state.needsHuman" | "longTask.state.needsLogin" | "longTask.state.stopped" | "longTask.state.ok" | "longTask.state.failed" | "longTask.duration.sec" | "longTask.duration.minSec" | "longTask.duration.hourMin", string>;
1094
1106
  };
1095
1107
  /** 中文词表的键类型(从 `zh.ts` 转出):`en` 与模块词表都得覆盖同一批键。 */
1096
1108
  export type { WorkbenchMessages };
package/dist/i18n/zh.d.ts CHANGED
@@ -1013,6 +1013,18 @@ export declare const zh: {
1013
1013
  readonly 'longTask.stop': "停止任务 {label}";
1014
1014
  readonly 'longTask.stopConfirm': "确认停止";
1015
1015
  readonly 'longTask.stopArmed': "再次点击确认停止";
1016
+ readonly 'longTask.stopPending': "已请求停止,等模块确认";
1017
+ readonly 'longTask.list.entry': "长任务 {n}";
1018
+ readonly 'longTask.list.title': "全部长任务";
1019
+ readonly 'longTask.state.running': "运行中";
1020
+ readonly 'longTask.state.needsHuman': "等你处理";
1021
+ readonly 'longTask.state.needsLogin': "需要登录";
1022
+ readonly 'longTask.state.stopped': "已停止";
1023
+ readonly 'longTask.state.ok': "已完成";
1024
+ readonly 'longTask.state.failed': "失败";
1025
+ readonly 'longTask.duration.sec': "{s} 秒";
1026
+ readonly 'longTask.duration.minSec': "{m} 分 {s} 秒";
1027
+ readonly 'longTask.duration.hourMin': "{h} 小时 {m} 分";
1016
1028
  readonly 'profileCreate.nav': "新建工作台";
1017
1029
  readonly 'profileCreate.lead': "复制一份独立的工作台配置。";
1018
1030
  readonly 'profileCreate.name': "新工作台的名字";
package/dist/i18n/zh.js CHANGED
@@ -1005,5 +1005,17 @@ export const zh = {
1005
1005
  'longTask.stop': '停止任务 {label}',
1006
1006
  'longTask.stopConfirm': '确认停止',
1007
1007
  'longTask.stopArmed': '再次点击确认停止',
1008
+ 'longTask.stopPending': '已请求停止,等模块确认',
1009
+ 'longTask.list.entry': '长任务 {n}',
1010
+ 'longTask.list.title': '全部长任务',
1011
+ 'longTask.state.running': '运行中',
1012
+ 'longTask.state.needsHuman': '等你处理',
1013
+ 'longTask.state.needsLogin': '需要登录',
1014
+ 'longTask.state.stopped': '已停止',
1015
+ 'longTask.state.ok': '已完成',
1016
+ 'longTask.state.failed': '失败',
1017
+ 'longTask.duration.sec': '{s} 秒',
1018
+ 'longTask.duration.minSec': '{m} 分 {s} 秒',
1019
+ 'longTask.duration.hourMin': '{h} 小时 {m} 分',
1008
1020
  ...zhNeedText,
1009
1021
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-workbench/shared",
3
- "version": "1.5.3",
3
+ "version": "1.5.4-beta.1",
4
4
  "description": "工作台与模块共享的纯代码与契约类型:类型、纯逻辑、哑组件、平台解析。宿主侧的东西从 /host 进(不影响浏览器产物)。",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -11,8 +11,11 @@ interface ToolCallRoot {
11
11
  readonly name?: string;
12
12
  readonly phase?: string;
13
13
  readonly argsRaw?: string;
14
+ readonly subCalls?: readonly ToolCallRoot[];
14
15
  }
15
16
 
17
+ const MAX_CALL_DEPTH = 64;
18
+
16
19
  interface ChatSnapshot {
17
20
  readonly nodes?: { values(): Iterable<{ readonly kind?: string; readonly data?: { readonly root?: ToolCallRoot } }> };
18
21
  }
@@ -30,12 +33,23 @@ export interface ApprovalDetailProps {
30
33
  readonly renderShell?: ((input: ApprovalInput, t: Translate) => ReactNode) | undefined;
31
34
  }
32
35
 
36
+ function findCall(root: ToolCallRoot | undefined, callId: string, depth: number): ToolCallRoot | undefined {
37
+ if (root === undefined || depth > MAX_CALL_DEPTH) return undefined;
38
+ if (root.callId === callId && root.phase === 'start') return root;
39
+ for (const child of root.subCalls ?? []) {
40
+ const found = findCall(child, callId, depth + 1);
41
+ if (found !== undefined) return found;
42
+ }
43
+ return undefined;
44
+ }
45
+
33
46
  function callOf(snapshot: ChatSnapshot, callId: string | undefined): { name?: string; argsRaw: string } | undefined {
34
47
  if (callId === undefined) return undefined;
35
48
  for (const node of snapshot.nodes?.values() ?? []) {
36
49
  const root = node.kind === 'tool-call' ? node.data?.root : undefined;
37
- if (root?.callId !== callId || root.phase !== 'start') continue;
38
- return { ...(root.name === undefined ? {} : { name: root.name }), argsRaw: root.argsRaw ?? '' };
50
+ const call = findCall(root, callId, 0);
51
+ if (call === undefined) continue;
52
+ return { ...(call.name === undefined ? {} : { name: call.name }), argsRaw: call.argsRaw ?? '' };
39
53
  }
40
54
  return undefined;
41
55
  }
@@ -169,3 +169,65 @@
169
169
  border-color: var(--dsw-alias-state-business-primary);
170
170
  box-shadow: inset 0 0 0 0.5px var(--dsw-alias-state-business-primary);
171
171
  }
172
+
173
+ .wb-longTaskStep {
174
+ margin: 0;
175
+ font-size: var(--dsw-font-xxs-12-font-size);
176
+ line-height: var(--wb-line-18);
177
+ color: var(--dsw-alias-label-secondary);
178
+ white-space: nowrap;
179
+ overflow: hidden;
180
+ text-overflow: ellipsis;
181
+ }
182
+
183
+ .wb-longTaskMeta {
184
+ margin: 0;
185
+ font-size: var(--dsw-font-xxxs-11-font-size);
186
+ line-height: var(--wb-line-16);
187
+ color: var(--dsw-alias-label-tertiary);
188
+ white-space: nowrap;
189
+ overflow: hidden;
190
+ text-overflow: ellipsis;
191
+ }
192
+
193
+ .wb-longTaskStopPending {
194
+ margin: 0;
195
+ font-size: var(--dsw-font-xxxs-11-font-size);
196
+ line-height: var(--wb-line-16);
197
+ color: var(--dsw-alias-label-tertiary);
198
+ overflow-wrap: anywhere;
199
+ }
200
+
201
+ .wb-longTaskSteps {
202
+ display: flex;
203
+ flex-direction: column;
204
+ gap: var(--wb-len-2);
205
+ margin: var(--wb-len-4) 0 0;
206
+ padding: 0;
207
+ list-style: none;
208
+ max-height: var(--wb-len-220);
209
+ overflow: auto;
210
+ }
211
+
212
+ .wb-longTaskStepRow {
213
+ display: flex;
214
+ align-items: center;
215
+ gap: var(--wb-len-6);
216
+ font-size: var(--dsw-font-xxxs-11-font-size);
217
+ line-height: var(--wb-line-16);
218
+ color: var(--dsw-alias-label-tertiary);
219
+ }
220
+
221
+ .wb-longTaskStepText {
222
+ flex: 1;
223
+ min-width: 0;
224
+ overflow-wrap: anywhere;
225
+ }
226
+
227
+ .wb-longTaskStepRow[data-kind='fail'] .wb-longTaskStepText {
228
+ color: var(--dsw-alias-state-error-primary);
229
+ }
230
+
231
+ .wb-longTaskStepLink {
232
+ flex: none;
233
+ }