@dsh-workbench/shared 1.5.2-alpha.0 → 1.5.2-alpha.2

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 (322) hide show
  1. package/dist/contract/protocol/bundle-install.d.ts +7 -1
  2. package/dist/contract/protocol/bundle-install.js +1 -0
  3. package/dist/host/runtime/dsh-compat.js +20 -6
  4. package/dist/i18n/en.js +2 -0
  5. package/dist/i18n/index.d.ts +3 -1
  6. package/dist/i18n/zh.d.ts +2 -0
  7. package/dist/i18n/zh.js +2 -0
  8. package/dist/lib/dsh-client.d.ts +1 -1
  9. package/package.json +47 -51
  10. package/src/contract/protocol/bundle-install.ts +9 -1
  11. package/src/host/runtime/__tests__/dsh-compat.test.ts +23 -0
  12. package/src/host/runtime/dsh-compat.ts +18 -5
  13. package/src/i18n/en.ts +2 -0
  14. package/src/i18n/zh.ts +2 -0
  15. package/src/lib/dsh-client.ts +1 -2
  16. package/dist/components/Activity.css +0 -69
  17. package/dist/components/Activity.d.ts +0 -56
  18. package/dist/components/Activity.js +0 -47
  19. package/dist/components/ApprovalDetail.css +0 -3
  20. package/dist/components/ApprovalDetail.d.ts +0 -42
  21. package/dist/components/ApprovalDetail.js +0 -53
  22. package/dist/components/ApprovalPlan.css +0 -39
  23. package/dist/components/ApprovalPlan.d.ts +0 -27
  24. package/dist/components/ApprovalPlan.js +0 -19
  25. package/dist/components/Card.css +0 -19
  26. package/dist/components/Card.d.ts +0 -26
  27. package/dist/components/Card.js +0 -18
  28. package/dist/components/CardAnchor.d.ts +0 -21
  29. package/dist/components/CardAnchor.js +0 -19
  30. package/dist/components/CardAnchor.module.css +0 -3
  31. package/dist/components/CardBoundary.d.ts +0 -42
  32. package/dist/components/CardBoundary.js +0 -58
  33. package/dist/components/CardBoundary.module.css +0 -5
  34. package/dist/components/CardHead.css +0 -87
  35. package/dist/components/CardHead.d.ts +0 -30
  36. package/dist/components/CardHead.js +0 -27
  37. package/dist/components/ChoiceGroup.css +0 -182
  38. package/dist/components/ChoiceGroup.d.ts +0 -54
  39. package/dist/components/ChoiceGroup.js +0 -63
  40. package/dist/components/ConfirmBar.css +0 -26
  41. package/dist/components/ConfirmBar.d.ts +0 -36
  42. package/dist/components/ConfirmBar.js +0 -26
  43. package/dist/components/EmptyIllustration.d.ts +0 -12
  44. package/dist/components/EmptyIllustration.js +0 -32
  45. package/dist/components/Field.css +0 -20
  46. package/dist/components/Field.d.ts +0 -18
  47. package/dist/components/Field.js +0 -15
  48. package/dist/components/Form.css +0 -6
  49. package/dist/components/Form.d.ts +0 -22
  50. package/dist/components/Form.js +0 -60
  51. package/dist/components/FormActions.css +0 -13
  52. package/dist/components/FormActions.d.ts +0 -29
  53. package/dist/components/FormActions.js +0 -43
  54. package/dist/components/FormNodes.d.ts +0 -107
  55. package/dist/components/FormNodes.js +0 -165
  56. package/dist/components/FormRows.css +0 -107
  57. package/dist/components/FormRows.d.ts +0 -36
  58. package/dist/components/FormRows.js +0 -26
  59. package/dist/components/FormTypes.d.ts +0 -84
  60. package/dist/components/FormTypes.js +0 -1
  61. package/dist/components/Link.css +0 -22
  62. package/dist/components/Link.d.ts +0 -22
  63. package/dist/components/Link.js +0 -17
  64. package/dist/components/LongTaskRow.css +0 -171
  65. package/dist/components/LongTaskRow.d.ts +0 -94
  66. package/dist/components/LongTaskRow.js +0 -103
  67. package/dist/components/Note.css +0 -13
  68. package/dist/components/Note.d.ts +0 -20
  69. package/dist/components/Note.js +0 -14
  70. package/dist/components/ResourceStates.css +0 -114
  71. package/dist/components/ResourceStates.d.ts +0 -44
  72. package/dist/components/ResourceStates.js +0 -41
  73. package/dist/components/Rows.css +0 -42
  74. package/dist/components/Rows.d.ts +0 -28
  75. package/dist/components/Rows.js +0 -21
  76. package/dist/components/SaveBar.d.ts +0 -24
  77. package/dist/components/SaveBar.js +0 -25
  78. package/dist/components/SelectField.css +0 -182
  79. package/dist/components/SelectField.d.ts +0 -89
  80. package/dist/components/SelectField.js +0 -260
  81. package/dist/components/SelectFieldNodes.d.ts +0 -49
  82. package/dist/components/SelectFieldNodes.js +0 -43
  83. package/dist/components/SettingsSection.css +0 -25
  84. package/dist/components/SettingsSection.d.ts +0 -20
  85. package/dist/components/SettingsSection.js +0 -17
  86. package/dist/components/SetupShell.d.ts +0 -93
  87. package/dist/components/SetupShell.js +0 -64
  88. package/dist/components/SetupShell.module.css +0 -81
  89. package/dist/components/Spinner.css +0 -5
  90. package/dist/components/Spinner.d.ts +0 -15
  91. package/dist/components/Spinner.js +0 -13
  92. package/dist/components/Stack.css +0 -6
  93. package/dist/components/Stack.d.ts +0 -14
  94. package/dist/components/Stack.js +0 -10
  95. package/dist/components/StateBlock.css +0 -38
  96. package/dist/components/StateBlock.d.ts +0 -24
  97. package/dist/components/StateBlock.js +0 -22
  98. package/dist/components/TextField.css +0 -32
  99. package/dist/components/TextField.d.ts +0 -14
  100. package/dist/components/TextField.js +0 -10
  101. package/dist/components/board-module.d.ts +0 -307
  102. package/dist/components/board-module.js +0 -1
  103. package/dist/components/card-view-validate.d.ts +0 -5
  104. package/dist/components/card-view-validate.js +0 -256
  105. package/dist/components/icons.d.ts +0 -63
  106. package/dist/components/icons.js +0 -107
  107. package/dist/components/layout/icon-command.d.ts +0 -8
  108. package/dist/components/layout/icon-command.js +0 -21
  109. package/dist/contract/capture.d.ts +0 -16
  110. package/dist/contract/capture.js +0 -1
  111. package/dist/contract/diagnostics.d.ts +0 -34
  112. package/dist/contract/diagnostics.js +0 -124
  113. package/dist/contract/protocol/unit-manager.d.ts +0 -50
  114. package/dist/contract/protocol/unit-manager.js +0 -2
  115. package/dist/host/adapter-contract.d.ts +0 -3
  116. package/dist/host/adapter-contract.js +0 -95
  117. package/dist/host/adapter-set.d.ts +0 -27
  118. package/dist/host/adapter-set.js +0 -258
  119. package/dist/host/adapter-types.d.ts +0 -87
  120. package/dist/host/adapter-types.js +0 -23
  121. package/dist/host/adapters/platform.d.ts +0 -14
  122. package/dist/host/adapters/platform.js +0 -40
  123. package/dist/host/adapters.d.ts +0 -28
  124. package/dist/host/adapters.js +0 -9
  125. package/dist/host/auth-loss.d.ts +0 -33
  126. package/dist/host/auth-loss.js +0 -107
  127. package/dist/host/board-fact.d.ts +0 -8
  128. package/dist/host/board-fact.js +0 -16
  129. package/dist/host/boot-record.d.ts +0 -11
  130. package/dist/host/boot-record.js +0 -31
  131. package/dist/host/browser.d.ts +0 -3
  132. package/dist/host/browser.js +0 -3
  133. package/dist/host/bundle-manager.d.ts +0 -4
  134. package/dist/host/bundle-manager.js +0 -338
  135. package/dist/host/changelog.d.ts +0 -28
  136. package/dist/host/changelog.js +0 -201
  137. package/dist/host/cli-error.d.ts +0 -8
  138. package/dist/host/cli-error.js +0 -70
  139. package/dist/host/cli.d.ts +0 -4
  140. package/dist/host/cli.js +0 -9
  141. package/dist/host/config-sync.d.ts +0 -40
  142. package/dist/host/config-sync.js +0 -267
  143. package/dist/host/context-ref.d.ts +0 -13
  144. package/dist/host/context-ref.js +0 -41
  145. package/dist/host/data-error.d.ts +0 -15
  146. package/dist/host/data-error.js +0 -23
  147. package/dist/host/data-plan-check.d.ts +0 -10
  148. package/dist/host/data-plan-check.js +0 -315
  149. package/dist/host/data-plan.d.ts +0 -15
  150. package/dist/host/data-plan.js +0 -283
  151. package/dist/host/data-root.d.ts +0 -5
  152. package/dist/host/data-root.js +0 -23
  153. package/dist/host/diy-debug.d.ts +0 -80
  154. package/dist/host/diy-debug.js +0 -89
  155. package/dist/host/diy-preset.d.ts +0 -26
  156. package/dist/host/diy-preset.js +0 -115
  157. package/dist/host/diy-record.d.ts +0 -135
  158. package/dist/host/diy-record.js +0 -163
  159. package/dist/host/dsh-compat.d.ts +0 -27
  160. package/dist/host/dsh-compat.js +0 -75
  161. package/dist/host/dsh-plugins.d.ts +0 -5
  162. package/dist/host/dsh-plugins.js +0 -51
  163. package/dist/host/env-policy.d.ts +0 -82
  164. package/dist/host/env-policy.js +0 -181
  165. package/dist/host/extension.d.ts +0 -7
  166. package/dist/host/extension.js +0 -40
  167. package/dist/host/facts.d.ts +0 -31
  168. package/dist/host/facts.js +0 -58
  169. package/dist/host/fs-write.d.ts +0 -96
  170. package/dist/host/fs-write.js +0 -183
  171. package/dist/host/git.d.ts +0 -5
  172. package/dist/host/git.js +0 -1
  173. package/dist/host/host-actions.d.ts +0 -2
  174. package/dist/host/host-actions.js +0 -5
  175. package/dist/host/host-kit.d.ts +0 -37
  176. package/dist/host/host-kit.js +0 -27
  177. package/dist/host/http.d.ts +0 -47
  178. package/dist/host/http.js +0 -289
  179. package/dist/host/install-failure.d.ts +0 -50
  180. package/dist/host/install-failure.js +0 -184
  181. package/dist/host/installed-module.d.ts +0 -25
  182. package/dist/host/installed-module.js +0 -289
  183. package/dist/host/installed-sources.d.ts +0 -10
  184. package/dist/host/installed-sources.js +0 -63
  185. package/dist/host/lease.d.ts +0 -70
  186. package/dist/host/lease.js +0 -264
  187. package/dist/host/lib-capabilities.d.ts +0 -22
  188. package/dist/host/lib-capabilities.js +0 -37
  189. package/dist/host/lib-install.d.ts +0 -19
  190. package/dist/host/lib-install.js +0 -40
  191. package/dist/host/lib-runners.d.ts +0 -18
  192. package/dist/host/lib-runners.js +0 -46
  193. package/dist/host/local-declaration.d.ts +0 -7
  194. package/dist/host/local-declaration.js +0 -33
  195. package/dist/host/long-task.d.ts +0 -97
  196. package/dist/host/long-task.js +0 -297
  197. package/dist/host/market-index-claim.d.ts +0 -19
  198. package/dist/host/market-index-claim.js +0 -87
  199. package/dist/host/market-index-doc.d.ts +0 -12
  200. package/dist/host/market-index-doc.js +0 -1
  201. package/dist/host/market-index-parse.d.ts +0 -28
  202. package/dist/host/market-index-parse.js +0 -413
  203. package/dist/host/market-index.d.ts +0 -13
  204. package/dist/host/market-index.js +0 -105
  205. package/dist/host/module-root.d.ts +0 -1
  206. package/dist/host/module-root.js +0 -5
  207. package/dist/host/needs.d.ts +0 -4
  208. package/dist/host/needs.js +0 -2
  209. package/dist/host/npm-registry.d.ts +0 -10
  210. package/dist/host/npm-registry.js +0 -16
  211. package/dist/host/package-content.d.ts +0 -8
  212. package/dist/host/package-content.js +0 -90
  213. package/dist/host/package-kind.d.ts +0 -13
  214. package/dist/host/package-kind.js +0 -51
  215. package/dist/host/package-route.d.ts +0 -33
  216. package/dist/host/package-route.js +0 -68
  217. package/dist/host/panel-state.d.ts +0 -120
  218. package/dist/host/panel-state.js +0 -177
  219. package/dist/host/patch-blocks.d.ts +0 -13
  220. package/dist/host/patch-blocks.js +0 -52
  221. package/dist/host/patch.d.ts +0 -4
  222. package/dist/host/patch.js +0 -7
  223. package/dist/host/paths.d.ts +0 -12
  224. package/dist/host/paths.js +0 -20
  225. package/dist/host/payload.d.ts +0 -12
  226. package/dist/host/payload.js +0 -16
  227. package/dist/host/plan-results.d.ts +0 -5
  228. package/dist/host/plan-results.js +0 -71
  229. package/dist/host/plan-run.d.ts +0 -41
  230. package/dist/host/plan-run.js +0 -87
  231. package/dist/host/platform.d.ts +0 -14
  232. package/dist/host/platform.js +0 -40
  233. package/dist/host/plugin-ledger.d.ts +0 -32
  234. package/dist/host/plugin-ledger.js +0 -106
  235. package/dist/host/plugin.d.ts +0 -3
  236. package/dist/host/plugin.js +0 -38
  237. package/dist/host/port-types.d.ts +0 -233
  238. package/dist/host/port-types.js +0 -1
  239. package/dist/host/preflight.d.ts +0 -32
  240. package/dist/host/preflight.js +0 -1
  241. package/dist/host/process-alive.d.ts +0 -6
  242. package/dist/host/process-alive.js +0 -16
  243. package/dist/host/profile-bundles.d.ts +0 -20
  244. package/dist/host/profile-bundles.js +0 -48
  245. package/dist/host/profile-create.d.ts +0 -19
  246. package/dist/host/profile-create.js +0 -124
  247. package/dist/host/profile-port.d.ts +0 -4
  248. package/dist/host/profile-port.js +0 -4
  249. package/dist/host/profile-registries.d.ts +0 -10
  250. package/dist/host/profile-registries.js +0 -149
  251. package/dist/host/provision.d.ts +0 -32
  252. package/dist/host/provision.js +0 -105
  253. package/dist/host/read-json.d.ts +0 -1
  254. package/dist/host/read-json.js +0 -11
  255. package/dist/host/recipe-rules.d.ts +0 -5
  256. package/dist/host/recipe-rules.js +0 -412
  257. package/dist/host/recipe.d.ts +0 -14
  258. package/dist/host/recipe.js +0 -332
  259. package/dist/host/registry-declaration.d.ts +0 -21
  260. package/dist/host/registry-declaration.js +0 -42
  261. package/dist/host/reinstall-record.d.ts +0 -16
  262. package/dist/host/reinstall-record.js +0 -54
  263. package/dist/host/release-age.d.ts +0 -24
  264. package/dist/host/release-age.js +0 -92
  265. package/dist/host/release-packages.generated.d.ts +0 -1
  266. package/dist/host/release-packages.generated.js +0 -10
  267. package/dist/host/release-probe.d.ts +0 -37
  268. package/dist/host/release-probe.js +0 -156
  269. package/dist/host/runtime/browser-argv.d.ts +0 -1
  270. package/dist/host/runtime/browser-argv.js +0 -9
  271. package/dist/host/runtime/front-app.d.ts +0 -6
  272. package/dist/host/runtime/front-app.js +0 -70
  273. package/dist/host/shell-render.d.ts +0 -52
  274. package/dist/host/shell-render.js +0 -117
  275. package/dist/host/shell-text.d.ts +0 -30
  276. package/dist/host/shell-text.js +0 -40
  277. package/dist/host/shell.d.ts +0 -25
  278. package/dist/host/shell.js +0 -55
  279. package/dist/host/site.d.ts +0 -45
  280. package/dist/host/site.js +0 -182
  281. package/dist/host/spec.d.ts +0 -8
  282. package/dist/host/spec.js +0 -24
  283. package/dist/host/submit-confirm.d.ts +0 -19
  284. package/dist/host/submit-confirm.js +0 -45
  285. package/dist/host/supply-index.d.ts +0 -38
  286. package/dist/host/supply-index.js +0 -209
  287. package/dist/host/supply-port.d.ts +0 -5
  288. package/dist/host/supply-port.js +0 -50
  289. package/dist/host/time.d.ts +0 -22
  290. package/dist/host/time.js +0 -33
  291. package/dist/host/tokens.d.ts +0 -26
  292. package/dist/host/tokens.js +0 -154
  293. package/dist/host/tool-approval.d.ts +0 -86
  294. package/dist/host/tool-approval.js +0 -118
  295. package/dist/host/tool-kit.d.ts +0 -8
  296. package/dist/host/tool-kit.js +0 -22
  297. package/dist/host/toolbox-port.d.ts +0 -16
  298. package/dist/host/toolbox-port.js +0 -1
  299. package/dist/host/unit-config.d.ts +0 -34
  300. package/dist/host/unit-config.js +0 -28
  301. package/dist/host/unit-data.d.ts +0 -3
  302. package/dist/host/unit-data.js +0 -127
  303. package/dist/host/unit-face.d.ts +0 -95
  304. package/dist/host/unit-face.js +0 -1
  305. package/dist/host/unit-plugin.d.ts +0 -24
  306. package/dist/host/unit-plugin.js +0 -25
  307. package/dist/host/update-journal-manifest.d.ts +0 -19
  308. package/dist/host/update-journal-manifest.js +0 -134
  309. package/dist/host/update-journal-types.d.ts +0 -33
  310. package/dist/host/update-journal-types.js +0 -2
  311. package/dist/host/update-journal.d.ts +0 -43
  312. package/dist/host/update-journal.js +0 -409
  313. package/dist/host/value-handoff.d.ts +0 -16
  314. package/dist/host/value-handoff.js +0 -22
  315. package/dist/host/version-range.d.ts +0 -2
  316. package/dist/host/version-range.js +0 -13
  317. package/dist/host/version.d.ts +0 -4
  318. package/dist/host/version.js +0 -32
  319. package/dist/host/workspace-store.d.ts +0 -19
  320. package/dist/host/workspace-store.js +0 -133
  321. package/dist/host/write-result.d.ts +0 -1
  322. package/dist/host/write-result.js +0 -18
@@ -53,6 +53,8 @@ export declare const SELF_UPDATE_RUNNING_TTL_MS = 600000;
53
53
  export declare const SELF_UPDATE_QUEUED_TTL_MS = 43200000;
54
54
  export declare const SELF_UPDATE_REASONS: readonly ["occupied", "incomplete"];
55
55
  export type SelfUpdateReason = (typeof SELF_UPDATE_REASONS)[number];
56
+ export declare const SELF_UPDATE_FAILURES: readonly ["incompatible"];
57
+ export type SelfUpdateFailure = (typeof SELF_UPDATE_FAILURES)[number];
56
58
  export type SelfUpdateReinstallState = 'pending' | 'failed';
57
59
  export interface SelfUpdateReinstall {
58
60
  readonly state: SelfUpdateReinstallState;
@@ -70,6 +72,9 @@ export interface WorkbenchSelfUpdate {
70
72
  readonly version?: string;
71
73
  readonly at?: string;
72
74
  readonly reason?: SelfUpdateReason;
75
+ readonly failure?: SelfUpdateFailure;
76
+ readonly requirements?: Readonly<Record<string, string>>;
77
+ readonly runtimeVersion?: string;
73
78
  readonly tail?: string;
74
79
  readonly reinstall?: SelfUpdateReinstall;
75
80
  }
@@ -188,7 +193,7 @@ export interface BundleCancellationPayload {
188
193
  readonly cancellation: BundleCancellation | null;
189
194
  }
190
195
  export interface ModuleUpdateBlock {
191
- readonly kind: 'needs-workbench' | 'incompatible';
196
+ readonly kind: 'needs-workbench' | 'incompatible' | 'unverified';
192
197
  readonly requirements?: Readonly<Record<string, string>>;
193
198
  readonly runtimeVersion?: string;
194
199
  }
@@ -219,6 +224,7 @@ export interface WorkbenchVersion {
219
224
  readonly local?: boolean;
220
225
  readonly spec?: string;
221
226
  readonly registry?: string;
227
+ readonly dshVersion?: string;
222
228
  readonly broken?: boolean;
223
229
  readonly rescue?: string;
224
230
  readonly followUp?: {
@@ -10,6 +10,7 @@ export const SELF_UPDATE_STATES = ['running', 'queued', 'ok', 'restored', 'faile
10
10
  export const SELF_UPDATE_RUNNING_TTL_MS = 600_000;
11
11
  export const SELF_UPDATE_QUEUED_TTL_MS = 43_200_000;
12
12
  export const SELF_UPDATE_REASONS = ['occupied', 'incomplete'];
13
+ export const SELF_UPDATE_FAILURES = ['incompatible'];
13
14
  export const RESTART_REASONS = [
14
15
  'no-hmr',
15
16
  'package-moved',
@@ -1,4 +1,4 @@
1
- import { join } from 'node:path';
1
+ import { dirname, join } from 'node:path';
2
2
  import semver from 'semver';
3
3
  import { readJsonObject } from './read-json.js';
4
4
  export function dshRequirementsOf(manifest) {
@@ -45,14 +45,28 @@ export function dshCompatibilityOf(input) {
45
45
  return { verdict: 'compatible' };
46
46
  }
47
47
  export function dshVersionIn(profileDir) {
48
- const own = readManifest(join(profileDir, 'node_modules', '@deepseek-ai', 'dsh', 'package.json'))?.['version'];
49
- if (typeof own === 'string' && semver.valid(own) !== null)
50
- return own;
48
+ const fromClient = process.env['DSH_CLIENT_VERSION'];
49
+ if (typeof fromClient === 'string' && semver.valid(fromClient.trim()) !== null)
50
+ return fromClient.trim();
51
+ for (const dir of searchDirsOf(profileDir)) {
52
+ const own = readManifest(join(dir, 'node_modules', '@deepseek-ai', 'dsh', 'package.json'))?.['version'];
53
+ if (typeof own === 'string' && semver.valid(own) !== null)
54
+ return own;
55
+ }
51
56
  const fromEnv = process.env['DSH_VERSION'];
52
57
  if (typeof fromEnv === 'string' && semver.valid(fromEnv.trim()) !== null)
53
58
  return fromEnv.trim();
54
- const anchor = readManifest(join(profileDir, 'node_modules', '@deepseek-ai', 'dsh-app-boot', 'package.json'));
55
- return dependencyVersionOf(anchor, '@deepseek-ai/dsh');
59
+ for (const dir of searchDirsOf(profileDir)) {
60
+ const anchor = readManifest(join(dir, 'node_modules', '@deepseek-ai', 'dsh-app-boot', 'package.json'));
61
+ const version = dependencyVersionOf(anchor, '@deepseek-ai/dsh');
62
+ if (version !== undefined)
63
+ return version;
64
+ }
65
+ return undefined;
66
+ }
67
+ function searchDirsOf(profileDir) {
68
+ const parent = dirname(profileDir);
69
+ return parent === profileDir ? [profileDir] : [profileDir, parent];
56
70
  }
57
71
  function dependencyVersionOf(manifest, name) {
58
72
  if (manifest === undefined)
package/dist/i18n/en.js CHANGED
@@ -195,6 +195,7 @@ export const en = {
195
195
  'panels.market.selfUpdateMigration': 'This update needs Desktop to be closed once: quit Desktop and it finishes automatically, with no further action.',
196
196
  'panels.market.selfUpdatePendingRestart': 'The new version is ready — restart to pick it up.',
197
197
  'panels.market.selfUpdateRetry': 'Update failed. Click Update to try again.',
198
+ 'panels.market.selfUpdateNeedsDsh': 'Update failed: this version needs {dsh}. Upgrade dsh first.',
198
199
  'panels.market.selfUpdateBusy': 'The previous update has not finished. Wait for it to end, then update again.',
199
200
  'panels.market.selfUpdateReinstallFailed': 'Reinstalling dependencies failed. Restart the workbench and try again; if it still fails, install manually with the command shown in the terminal.',
200
201
  'panels.market.selfUpdateReinstallStopped': 'Automatic dependency installation kept failing. Install manually with the command shown in the terminal.',
@@ -321,6 +322,7 @@ export const en = {
321
322
  'panels.market.updateNeedsWorkbench': 'This version needs a newer workbench first.',
322
323
  'panels.market.updateNeedsDsh': 'This version needs {dsh}; the running dsh is {runtime}.',
323
324
  'panels.market.updateIncompatible': 'The new version does not match this workbench, so it cannot be updated now.',
325
+ 'panels.market.updateUnverified': 'Compatibility is unverified; the update may fail.',
324
326
  'panels.market.moduleRefused': 'This module does not match this workbench, so it cannot be used for now.',
325
327
  'panels.market.moduleRestartHint': 'restart dsh to apply',
326
328
  'panels.market.pendingRestart': 'restart required',
@@ -205,6 +205,7 @@ export declare const dictionaries: {
205
205
  readonly 'panels.market.selfUpdateMigration': "本次更新需要先退出 Desktop(仅这一次):退出后会自动完成,无需再次操作。";
206
206
  readonly 'panels.market.selfUpdatePendingRestart': "新版本已就绪,重启后生效。";
207
207
  readonly 'panels.market.selfUpdateRetry': "更新失败,请再次点击「更新」。";
208
+ readonly 'panels.market.selfUpdateNeedsDsh': "更新失败:这个版本需要 {dsh},请先升级 dsh。";
208
209
  readonly 'panels.market.selfUpdateBusy': "上一次更新尚未结束,请等待结束后再更新。";
209
210
  readonly 'panels.market.selfUpdateReinstallFailed': "依赖重新安装失败,请重启工作台后重试;如果仍然失败,请按终端中的提示手动安装。";
210
211
  readonly 'panels.market.selfUpdateReinstallStopped': "依赖自动安装连续失败,请按终端中的提示手动安装。";
@@ -331,6 +332,7 @@ export declare const dictionaries: {
331
332
  readonly 'panels.market.updateNeedsWorkbench': "这个版本需要先升级工作台。";
332
333
  readonly 'panels.market.updateNeedsDsh': "这个版本需要 {dsh},当前 dsh 为 {runtime}。";
333
334
  readonly 'panels.market.updateIncompatible': "新版本与当前工作台不匹配,暂时无法更新。";
335
+ readonly 'panels.market.updateUnverified': "兼容性尚未验证,更新可能失败。";
334
336
  readonly 'panels.market.moduleRefused': "模块版本与工作台不匹配,暂时无法使用";
335
337
  readonly 'panels.market.moduleRestartHint': "重启 dsh 后生效";
336
338
  readonly 'panels.market.pendingRestart': "重启后生效";
@@ -1041,7 +1043,7 @@ export declare const dictionaries: {
1041
1043
  readonly 'diyPresetSource.empty': "没有可用的模式。请先在 dsh 中修复或新建一个模式。";
1042
1044
  readonly 'diyPresetSource.failed': "保存设置失败,请重试。";
1043
1045
  };
1044
- 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" | "blocker.retry" | "blocker.copy" | "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.unsupported" | "env.unit.unsupportedHint" | "env.unit.degraded" | "env.unit.degradedHint" | "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.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.askAgentHint" | "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.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.updateNeedsDsh" | "panels.market.updateIncompatible" | "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.failureIncompatible" | "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.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.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.why" | "env.diy.rows" | "env.diy.noRow" | "env.diy.step" | "env.diy.continue" | "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>;
1046
+ 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" | "blocker.retry" | "blocker.copy" | "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.unsupported" | "env.unit.unsupportedHint" | "env.unit.degraded" | "env.unit.degradedHint" | "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.selfUpdateNeedsDsh" | "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.askAgentHint" | "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.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.updateNeedsDsh" | "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.failureIncompatible" | "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.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.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.why" | "env.diy.rows" | "env.diy.noRow" | "env.diy.step" | "env.diy.continue" | "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>;
1045
1047
  };
1046
1048
  /** 中文词表的键类型(从 `zh.ts` 转出):`en` 与模块词表都得覆盖同一批键。 */
1047
1049
  export type { WorkbenchMessages };
package/dist/i18n/zh.d.ts CHANGED
@@ -203,6 +203,7 @@ export declare const zh: {
203
203
  readonly 'panels.market.selfUpdateMigration': "本次更新需要先退出 Desktop(仅这一次):退出后会自动完成,无需再次操作。";
204
204
  readonly 'panels.market.selfUpdatePendingRestart': "新版本已就绪,重启后生效。";
205
205
  readonly 'panels.market.selfUpdateRetry': "更新失败,请再次点击「更新」。";
206
+ readonly 'panels.market.selfUpdateNeedsDsh': "更新失败:这个版本需要 {dsh},请先升级 dsh。";
206
207
  readonly 'panels.market.selfUpdateBusy': "上一次更新尚未结束,请等待结束后再更新。";
207
208
  readonly 'panels.market.selfUpdateReinstallFailed': "依赖重新安装失败,请重启工作台后重试;如果仍然失败,请按终端中的提示手动安装。";
208
209
  readonly 'panels.market.selfUpdateReinstallStopped': "依赖自动安装连续失败,请按终端中的提示手动安装。";
@@ -329,6 +330,7 @@ export declare const zh: {
329
330
  readonly 'panels.market.updateNeedsWorkbench': "这个版本需要先升级工作台。";
330
331
  readonly 'panels.market.updateNeedsDsh': "这个版本需要 {dsh},当前 dsh 为 {runtime}。";
331
332
  readonly 'panels.market.updateIncompatible': "新版本与当前工作台不匹配,暂时无法更新。";
333
+ readonly 'panels.market.updateUnverified': "兼容性尚未验证,更新可能失败。";
332
334
  readonly 'panels.market.moduleRefused': "模块版本与工作台不匹配,暂时无法使用";
333
335
  readonly 'panels.market.moduleRestartHint': "重启 dsh 后生效";
334
336
  readonly 'panels.market.pendingRestart': "重启后生效";
package/dist/i18n/zh.js CHANGED
@@ -195,6 +195,7 @@ export const zh = {
195
195
  'panels.market.selfUpdateMigration': '本次更新需要先退出 Desktop(仅这一次):退出后会自动完成,无需再次操作。',
196
196
  'panels.market.selfUpdatePendingRestart': '新版本已就绪,重启后生效。',
197
197
  'panels.market.selfUpdateRetry': '更新失败,请再次点击「更新」。',
198
+ 'panels.market.selfUpdateNeedsDsh': '更新失败:这个版本需要 {dsh},请先升级 dsh。',
198
199
  'panels.market.selfUpdateBusy': '上一次更新尚未结束,请等待结束后再更新。',
199
200
  'panels.market.selfUpdateReinstallFailed': '依赖重新安装失败,请重启工作台后重试;如果仍然失败,请按终端中的提示手动安装。',
200
201
  'panels.market.selfUpdateReinstallStopped': '依赖自动安装连续失败,请按终端中的提示手动安装。',
@@ -321,6 +322,7 @@ export const zh = {
321
322
  'panels.market.updateNeedsWorkbench': '这个版本需要先升级工作台。',
322
323
  'panels.market.updateNeedsDsh': '这个版本需要 {dsh},当前 dsh 为 {runtime}。',
323
324
  'panels.market.updateIncompatible': '新版本与当前工作台不匹配,暂时无法更新。',
325
+ 'panels.market.updateUnverified': '兼容性尚未验证,更新可能失败。',
324
326
  'panels.market.moduleRefused': '模块版本与工作台不匹配,暂时无法使用',
325
327
  'panels.market.moduleRestartHint': '重启 dsh 后生效',
326
328
  'panels.market.pendingRestart': '重启后生效',
@@ -1,7 +1,7 @@
1
1
  import type { SlotRegistry } from '@deepseek-ai/dsh-client-ui-renderer/client';
2
2
  import type { PropsRenderSlots, SlotLabel } from '@deepseek-ai/dsh-client-ui-slots';
3
3
  import type { SessionInput as OfficialSessionInput } from '@deepseek-ai/dsh-client-ui-conversation/client';
4
- import type { SessionStatus as OfficialSessionStatus } from '@deepseek-ai/dsh-client-ui-session-status/client';
4
+ import type { SessionStatus as OfficialSessionStatus } from '@deepseek-ai/dsh-client-ui-session/client';
5
5
  import type { SessionSummary as OfficialSessionSummary } from '@deepseek-ai/dsh-api-session-controller/client';
6
6
  import type { WorkspaceSnapshot as OfficialWorkspaceSnapshot, WorkspaceView as OfficialWorkspaceView } from '@deepseek-ai/dsh-api-workspace-controller/client';
7
7
  import type { SubagentCatalogEntry as OfficialSubagentCatalogEntry } from '@deepseek-ai/dsh-subagent';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-workbench/shared",
3
- "version": "1.5.2-alpha.0",
3
+ "version": "1.5.2-alpha.2",
4
4
  "description": "工作台与模块共享的纯代码与契约类型:类型、纯逻辑、哑组件、平台解析。宿主侧的东西从 /host 进(不影响浏览器产物)。",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -30,57 +30,53 @@
30
30
  "access": "public"
31
31
  },
32
32
  "peerDependencies": {
33
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.3-alpha.2",
34
- "react": "*"
33
+ "react": "*",
34
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.2"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@arch-guard/core": "^0.12.0",
38
- "@deepseek-ai/cordis-plugin-group": "1.2.0-alpha.1",
39
- "@deepseek-ai/cordis-plugin-include": "1.2.0-alpha.1",
40
- "@deepseek-ai/cordis-plugin-timer": "1.3.0-alpha.1",
41
- "@deepseek-ai/dsh-agent": "^0.2.3-alpha.2",
42
- "@deepseek-ai/dsh-agent-preset": "^0.2.3-alpha.2",
43
- "@deepseek-ai/dsh-agent-preset-registry": "^0.2.3-alpha.2",
44
- "@deepseek-ai/dsh-api-gateway": "^0.2.3-alpha.2",
45
- "@deepseek-ai/dsh-api-remote-access": "^0.2.3-alpha.2",
46
- "@deepseek-ai/dsh-api-remotes": "^0.2.3-alpha.2",
47
- "@deepseek-ai/dsh-api-session-controller": "^0.2.3-alpha.2",
48
- "@deepseek-ai/dsh-api-workspace-controller": "^0.2.3-alpha.2",
49
- "@deepseek-ai/dsh-app-boot": "^0.2.3-alpha.2",
50
- "@deepseek-ai/dsh-client-locale": "^0.2.3-alpha.2",
51
- "@deepseek-ai/dsh-client-shortcuts": "^0.2.3-alpha.2",
52
- "@deepseek-ai/dsh-client-store": "^0.2.3-alpha.2",
53
- "@deepseek-ai/dsh-client-ui-commands": "^0.2.3-alpha.2",
54
- "@deepseek-ai/dsh-client-ui-context-menu": "^0.2.3-alpha.2",
55
- "@deepseek-ai/dsh-client-ui-conversation": "^0.2.3-alpha.2",
56
- "@deepseek-ai/dsh-client-ui-input-trigger": "^0.2.3-alpha.2",
57
- "@deepseek-ai/dsh-client-ui-layout": "^0.2.3-alpha.2",
58
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.3-alpha.2",
59
- "@deepseek-ai/dsh-client-ui-renderer": "^0.2.3-alpha.2",
60
- "@deepseek-ai/dsh-client-ui-session": "^0.2.3-alpha.2",
61
- "@deepseek-ai/dsh-client-ui-session-status": "^0.2.3-alpha.2",
62
- "@deepseek-ai/dsh-client-ui-settings": "^0.2.3-alpha.2",
63
- "@deepseek-ai/dsh-client-ui-sidebar-right": "^0.2.3-alpha.2",
64
- "@deepseek-ai/dsh-client-ui-slots": "^0.2.3-alpha.2",
65
- "@deepseek-ai/dsh-client-ui-workspace": "^0.2.3-alpha.2",
66
- "@deepseek-ai/dsh-hmr": "^0.2.3-alpha.2",
67
- "@deepseek-ai/dsh-home-paths": "^0.2.3-alpha.2",
68
- "@deepseek-ai/dsh-host-webserver": "^0.2.3-alpha.2",
69
- "@deepseek-ai/dsh-llm": "^0.2.3-alpha.2",
70
- "@deepseek-ai/dsh-mcp-client": "^0.2.3-alpha.2",
71
- "@deepseek-ai/dsh-package-manifest": "^0.2.3-alpha.2",
72
- "@deepseek-ai/dsh-plugin-manager": "^0.2.3-alpha.2",
73
- "@deepseek-ai/dsh-sandbox": "^0.2.3-alpha.2",
74
- "@deepseek-ai/dsh-sandbox-policy": "^0.2.3-alpha.2",
75
- "@deepseek-ai/dsh-session": "^0.2.3-alpha.2",
76
- "@deepseek-ai/dsh-session-projection": "^0.2.3-alpha.2",
77
- "@deepseek-ai/dsh-shell": "^0.2.3-alpha.2",
78
- "@deepseek-ai/dsh-subagent": "^0.2.3-alpha.2",
79
- "@deepseek-ai/dsh-system-prompt": "^0.2.3-alpha.2",
80
- "@deepseek-ai/dsh-tools": "^0.2.3-alpha.2",
81
- "@deepseek-ai/dsh-typert-protocol": "^0.2.3-alpha.2",
82
- "@deepseek-ai/dsh-user-approval": "^0.2.3-alpha.2",
83
- "@deepseek-ai/dsh-workspace": "^0.2.3-alpha.2",
38
+ "@deepseek-ai/dsh-agent": "^0.2.2-rc.2",
39
+ "@deepseek-ai/dsh-agent-preset": "^0.2.2-rc.2",
40
+ "@deepseek-ai/dsh-agent-preset-registry": "^0.2.2-rc.2",
41
+ "@deepseek-ai/dsh-api-gateway": "^0.2.2-rc.2",
42
+ "@deepseek-ai/dsh-api-remote-access": "^0.2.2-rc.2",
43
+ "@deepseek-ai/dsh-api-remotes": "^0.2.2-rc.2",
44
+ "@deepseek-ai/dsh-api-session-controller": "^0.2.2-rc.2",
45
+ "@deepseek-ai/dsh-api-workspace-controller": "^0.2.2-rc.2",
46
+ "@deepseek-ai/dsh-app-boot": "^0.2.2-rc.2",
47
+ "@deepseek-ai/dsh-client-locale": "^0.2.2-rc.2",
48
+ "@deepseek-ai/dsh-client-shortcuts": "^0.2.2-rc.2",
49
+ "@deepseek-ai/dsh-client-store": "^0.2.2-rc.2",
50
+ "@deepseek-ai/dsh-client-ui-commands": "^0.2.2-rc.2",
51
+ "@deepseek-ai/dsh-client-ui-context-menu": "^0.2.2-rc.2",
52
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.2.2-rc.2",
53
+ "@deepseek-ai/dsh-client-ui-input-trigger": "^0.2.2-rc.2",
54
+ "@deepseek-ai/dsh-client-ui-layout": "^0.2.2-rc.2",
55
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.2",
56
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.2.2-rc.2",
57
+ "@deepseek-ai/dsh-client-ui-session": "^0.2.2-rc.2",
58
+ "@deepseek-ai/dsh-client-ui-settings": "^0.2.2-rc.2",
59
+ "@deepseek-ai/dsh-client-ui-sidebar-right": "^0.2.2-rc.2",
60
+ "@deepseek-ai/dsh-client-ui-slots": "^0.2.2-rc.2",
61
+ "@deepseek-ai/dsh-client-ui-workspace": "^0.2.2-rc.2",
62
+ "@deepseek-ai/dsh-hmr": "^0.2.2-rc.2",
63
+ "@deepseek-ai/dsh-home-paths": "^0.2.2-rc.2",
64
+ "@deepseek-ai/dsh-host-webserver": "^0.2.2-rc.2",
65
+ "@deepseek-ai/dsh-llm": "^0.2.2-rc.2",
66
+ "@deepseek-ai/dsh-mcp-client": "^0.2.2-rc.2",
67
+ "@deepseek-ai/dsh-package-manifest": "^0.2.2-rc.2",
68
+ "@deepseek-ai/dsh-plugin-manager": "^0.2.2-rc.2",
69
+ "@deepseek-ai/dsh-sandbox": "^0.2.2-rc.2",
70
+ "@deepseek-ai/dsh-sandbox-policy": "^0.2.2-rc.2",
71
+ "@deepseek-ai/dsh-session": "^0.2.2-rc.2",
72
+ "@deepseek-ai/dsh-session-projection": "^0.2.2-rc.2",
73
+ "@deepseek-ai/dsh-shell": "^0.2.2-rc.2",
74
+ "@deepseek-ai/dsh-subagent": "^0.2.2-rc.2",
75
+ "@deepseek-ai/dsh-system-prompt": "^0.2.2-rc.2",
76
+ "@deepseek-ai/dsh-tools": "^0.2.2-rc.2",
77
+ "@deepseek-ai/dsh-typert-protocol": "^0.2.2-rc.2",
78
+ "@deepseek-ai/dsh-user-approval": "^0.2.2-rc.2",
79
+ "@deepseek-ai/dsh-workspace": "^0.2.2-rc.2",
84
80
  "@types/node": "^24.19.0",
85
81
  "@types/proper-lockfile": "^4.1.4",
86
82
  "@types/react": "^19.3.0",
@@ -92,8 +88,8 @@
92
88
  "vitest": "^5.0.2"
93
89
  },
94
90
  "dependencies": {
95
- "@deepseek-ai/cordis": "4.2.0-alpha.1",
96
- "@deepseek-ai/cordis-plugin-loader": "1.2.0-alpha.1",
91
+ "@deepseek-ai/cordis": "4.1.0",
92
+ "@deepseek-ai/cordis-plugin-loader": "1.1.0",
97
93
  "dayjs": "^1.11.23",
98
94
  "execa": "^10.2.0",
99
95
  "proper-lockfile": "^4.1.2",
@@ -90,6 +90,10 @@ export const SELF_UPDATE_REASONS = ['occupied', 'incomplete'] as const;
90
90
 
91
91
  export type SelfUpdateReason = (typeof SELF_UPDATE_REASONS)[number];
92
92
 
93
+ export const SELF_UPDATE_FAILURES = ['incompatible'] as const;
94
+
95
+ export type SelfUpdateFailure = (typeof SELF_UPDATE_FAILURES)[number];
96
+
93
97
  export type SelfUpdateReinstallState = 'pending' | 'failed';
94
98
 
95
99
  export interface SelfUpdateReinstall {
@@ -109,6 +113,9 @@ export interface WorkbenchSelfUpdate {
109
113
  readonly version?: string;
110
114
  readonly at?: string;
111
115
  readonly reason?: SelfUpdateReason;
116
+ readonly failure?: SelfUpdateFailure;
117
+ readonly requirements?: Readonly<Record<string, string>>;
118
+ readonly runtimeVersion?: string;
112
119
  readonly tail?: string;
113
120
  readonly reinstall?: SelfUpdateReinstall;
114
121
  }
@@ -273,7 +280,7 @@ export interface BundleCancellationPayload {
273
280
  }
274
281
 
275
282
  export interface ModuleUpdateBlock {
276
- readonly kind: 'needs-workbench' | 'incompatible';
283
+ readonly kind: 'needs-workbench' | 'incompatible' | 'unverified';
277
284
  readonly requirements?: Readonly<Record<string, string>>;
278
285
  readonly runtimeVersion?: string;
279
286
  }
@@ -307,6 +314,7 @@ export interface WorkbenchVersion {
307
314
  readonly local?: boolean;
308
315
  readonly spec?: string;
309
316
  readonly registry?: string;
317
+ readonly dshVersion?: string;
310
318
  readonly broken?: boolean;
311
319
  readonly rescue?: string;
312
320
  readonly followUp?: {
@@ -8,6 +8,7 @@ const ROOT = mkdtempSync(join(tmpdir(), 'dsh-wb-dsh-compat-'));
8
8
 
9
9
  beforeEach(() => {
10
10
  vi.stubEnv('DSH_VERSION', '');
11
+ vi.stubEnv('DSH_CLIENT_VERSION', '');
11
12
  });
12
13
 
13
14
  afterEach(() => {
@@ -110,6 +111,28 @@ describe('dsh 版本从 profile 的安装锚点读', () => {
110
111
  expect(dshVersionIn(join(ROOT, 'nothing-here'))).toBeUndefined();
111
112
  });
112
113
 
114
+ it('★ 桌面端启动器塞进来的 DSH_CLIENT_VERSION 优先:它才是正在跑的那份 dsh', () => {
115
+ const dir = profileWith({
116
+ 'node_modules/@deepseek-ai/dsh/package.json': { name: '@deepseek-ai/dsh', version: '0.2.3-alpha.2' },
117
+ });
118
+ vi.stubEnv('DSH_CLIENT_VERSION', '0.2.2-rc.5');
119
+
120
+ expect(dshVersionIn(dir)).toBe('0.2.2-rc.5');
121
+
122
+ vi.stubEnv('DSH_CLIENT_VERSION', 'garbage');
123
+ expect(dshVersionIn(dir)).toBe('0.2.3-alpha.2');
124
+ });
125
+
126
+ it('★ dsh 装在 profile 的上一层(~/.dsh/profiles/node_modules)也认', () => {
127
+ const parent = profileWith({
128
+ 'node_modules/@deepseek-ai/dsh/package.json': { name: '@deepseek-ai/dsh', version: '0.2.3-alpha.2' },
129
+ });
130
+ const child = join(parent, 'workbench');
131
+ mkdirSync(child, { recursive: true });
132
+
133
+ expect(dshVersionIn(child)).toBe('0.2.3-alpha.2');
134
+ });
135
+
113
136
  it('profile 里都没有时用启动器导出的 DSH_VERSION;非法值忽略', () => {
114
137
  const dir = profileWith({});
115
138
  vi.stubEnv('DSH_VERSION', '0.2.3');
@@ -1,4 +1,4 @@
1
- import { join } from 'node:path';
1
+ import { dirname, join } from 'node:path';
2
2
  import semver from 'semver';
3
3
  import { readJsonObject } from './read-json.js';
4
4
 
@@ -68,12 +68,25 @@ export function dshCompatibilityOf(input: {
68
68
  }
69
69
 
70
70
  export function dshVersionIn(profileDir: string): string | undefined {
71
- const own = readManifest(join(profileDir, 'node_modules', '@deepseek-ai', 'dsh', 'package.json'))?.['version'];
72
- if (typeof own === 'string' && semver.valid(own) !== null) return own;
71
+ const fromClient = process.env['DSH_CLIENT_VERSION'];
72
+ if (typeof fromClient === 'string' && semver.valid(fromClient.trim()) !== null) return fromClient.trim();
73
+ for (const dir of searchDirsOf(profileDir)) {
74
+ const own = readManifest(join(dir, 'node_modules', '@deepseek-ai', 'dsh', 'package.json'))?.['version'];
75
+ if (typeof own === 'string' && semver.valid(own) !== null) return own;
76
+ }
73
77
  const fromEnv = process.env['DSH_VERSION'];
74
78
  if (typeof fromEnv === 'string' && semver.valid(fromEnv.trim()) !== null) return fromEnv.trim();
75
- const anchor = readManifest(join(profileDir, 'node_modules', '@deepseek-ai', 'dsh-app-boot', 'package.json'));
76
- return dependencyVersionOf(anchor, '@deepseek-ai/dsh');
79
+ for (const dir of searchDirsOf(profileDir)) {
80
+ const anchor = readManifest(join(dir, 'node_modules', '@deepseek-ai', 'dsh-app-boot', 'package.json'));
81
+ const version = dependencyVersionOf(anchor, '@deepseek-ai/dsh');
82
+ if (version !== undefined) return version;
83
+ }
84
+ return undefined;
85
+ }
86
+
87
+ function searchDirsOf(profileDir: string): readonly string[] {
88
+ const parent = dirname(profileDir);
89
+ return parent === profileDir ? [profileDir] : [profileDir, parent];
77
90
  }
78
91
 
79
92
  function dependencyVersionOf(