@dsh-workbench/shared 1.5.2-alpha.4 → 1.5.2-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (344) hide show
  1. package/dist/components/Activity.css +69 -0
  2. package/dist/components/Activity.d.ts +56 -0
  3. package/dist/components/Activity.js +47 -0
  4. package/dist/components/ApprovalDetail.css +3 -0
  5. package/dist/components/ApprovalDetail.d.ts +42 -0
  6. package/dist/components/ApprovalDetail.js +53 -0
  7. package/dist/components/ApprovalPlan.css +39 -0
  8. package/dist/components/ApprovalPlan.d.ts +27 -0
  9. package/dist/components/ApprovalPlan.js +19 -0
  10. package/dist/components/Card.css +19 -0
  11. package/dist/components/Card.d.ts +26 -0
  12. package/dist/components/Card.js +18 -0
  13. package/dist/components/CardAnchor.d.ts +21 -0
  14. package/dist/components/CardAnchor.js +19 -0
  15. package/dist/components/CardAnchor.module.css +3 -0
  16. package/dist/components/CardBoundary.d.ts +42 -0
  17. package/dist/components/CardBoundary.js +58 -0
  18. package/dist/components/CardBoundary.module.css +5 -0
  19. package/dist/components/CardHead.css +87 -0
  20. package/dist/components/CardHead.d.ts +30 -0
  21. package/dist/components/CardHead.js +27 -0
  22. package/dist/components/ChoiceGroup.css +182 -0
  23. package/dist/components/ChoiceGroup.d.ts +54 -0
  24. package/dist/components/ChoiceGroup.js +63 -0
  25. package/dist/components/ConfirmBar.css +26 -0
  26. package/dist/components/ConfirmBar.d.ts +36 -0
  27. package/dist/components/ConfirmBar.js +26 -0
  28. package/dist/components/EmptyIllustration.d.ts +12 -0
  29. package/dist/components/EmptyIllustration.js +32 -0
  30. package/dist/components/Field.css +20 -0
  31. package/dist/components/Field.d.ts +18 -0
  32. package/dist/components/Field.js +15 -0
  33. package/dist/components/Form.css +6 -0
  34. package/dist/components/Form.d.ts +22 -0
  35. package/dist/components/Form.js +60 -0
  36. package/dist/components/FormActions.css +13 -0
  37. package/dist/components/FormActions.d.ts +29 -0
  38. package/dist/components/FormActions.js +43 -0
  39. package/dist/components/FormNodes.d.ts +107 -0
  40. package/dist/components/FormNodes.js +165 -0
  41. package/dist/components/FormRows.css +107 -0
  42. package/dist/components/FormRows.d.ts +36 -0
  43. package/dist/components/FormRows.js +26 -0
  44. package/dist/components/FormTypes.d.ts +84 -0
  45. package/dist/components/FormTypes.js +1 -0
  46. package/dist/components/Link.css +22 -0
  47. package/dist/components/Link.d.ts +22 -0
  48. package/dist/components/Link.js +17 -0
  49. package/dist/components/LongTaskRow.css +171 -0
  50. package/dist/components/LongTaskRow.d.ts +94 -0
  51. package/dist/components/LongTaskRow.js +103 -0
  52. package/dist/components/Note.css +13 -0
  53. package/dist/components/Note.d.ts +20 -0
  54. package/dist/components/Note.js +14 -0
  55. package/dist/components/ResourceStates.css +114 -0
  56. package/dist/components/ResourceStates.d.ts +44 -0
  57. package/dist/components/ResourceStates.js +41 -0
  58. package/dist/components/Rows.css +42 -0
  59. package/dist/components/Rows.d.ts +28 -0
  60. package/dist/components/Rows.js +21 -0
  61. package/dist/components/SaveBar.d.ts +24 -0
  62. package/dist/components/SaveBar.js +25 -0
  63. package/dist/components/SelectField.css +182 -0
  64. package/dist/components/SelectField.d.ts +89 -0
  65. package/dist/components/SelectField.js +260 -0
  66. package/dist/components/SelectFieldNodes.d.ts +49 -0
  67. package/dist/components/SelectFieldNodes.js +43 -0
  68. package/dist/components/SettingsSection.css +25 -0
  69. package/dist/components/SettingsSection.d.ts +20 -0
  70. package/dist/components/SettingsSection.js +17 -0
  71. package/dist/components/SetupShell.d.ts +93 -0
  72. package/dist/components/SetupShell.js +64 -0
  73. package/dist/components/SetupShell.module.css +81 -0
  74. package/dist/components/Spinner.css +5 -0
  75. package/dist/components/Spinner.d.ts +15 -0
  76. package/dist/components/Spinner.js +13 -0
  77. package/dist/components/Stack.css +6 -0
  78. package/dist/components/Stack.d.ts +14 -0
  79. package/dist/components/Stack.js +10 -0
  80. package/dist/components/StateBlock.css +38 -0
  81. package/dist/components/StateBlock.d.ts +24 -0
  82. package/dist/components/StateBlock.js +22 -0
  83. package/dist/components/TextField.css +32 -0
  84. package/dist/components/TextField.d.ts +14 -0
  85. package/dist/components/TextField.js +10 -0
  86. package/dist/components/board-module.d.ts +307 -0
  87. package/dist/components/board-module.js +1 -0
  88. package/dist/components/card-view-validate.d.ts +5 -0
  89. package/dist/components/card-view-validate.js +256 -0
  90. package/dist/components/icons.d.ts +63 -0
  91. package/dist/components/icons.js +107 -0
  92. package/dist/components/layout/icon-command.d.ts +8 -0
  93. package/dist/components/layout/icon-command.js +21 -0
  94. package/dist/contract/capture.d.ts +16 -0
  95. package/dist/contract/capture.js +1 -0
  96. package/dist/contract/diagnostics.d.ts +34 -0
  97. package/dist/contract/diagnostics.js +124 -0
  98. package/dist/contract/needs.d.ts +3 -1
  99. package/dist/contract/needs.js +4 -2
  100. package/dist/contract/protocol/bundle-install.d.ts +1 -1
  101. package/dist/contract/protocol/unit-manager.d.ts +50 -0
  102. package/dist/contract/protocol/unit-manager.js +2 -0
  103. package/dist/contract/unit.js +2 -1
  104. package/dist/host/adapter-contract.d.ts +3 -0
  105. package/dist/host/adapter-contract.js +95 -0
  106. package/dist/host/adapter-set.d.ts +27 -0
  107. package/dist/host/adapter-set.js +258 -0
  108. package/dist/host/adapter-types.d.ts +87 -0
  109. package/dist/host/adapter-types.js +23 -0
  110. package/dist/host/adapters/platform.d.ts +14 -0
  111. package/dist/host/adapters/platform.js +40 -0
  112. package/dist/host/adapters.d.ts +28 -0
  113. package/dist/host/adapters.js +9 -0
  114. package/dist/host/auth-loss.d.ts +33 -0
  115. package/dist/host/auth-loss.js +107 -0
  116. package/dist/host/board-fact.d.ts +8 -0
  117. package/dist/host/board-fact.js +16 -0
  118. package/dist/host/boot-record.d.ts +11 -0
  119. package/dist/host/boot-record.js +31 -0
  120. package/dist/host/browser.d.ts +3 -0
  121. package/dist/host/browser.js +3 -0
  122. package/dist/host/bundle-manager.d.ts +4 -0
  123. package/dist/host/bundle-manager.js +338 -0
  124. package/dist/host/changelog.d.ts +28 -0
  125. package/dist/host/changelog.js +201 -0
  126. package/dist/host/cli-error.d.ts +8 -0
  127. package/dist/host/cli-error.js +70 -0
  128. package/dist/host/cli.d.ts +4 -0
  129. package/dist/host/cli.js +9 -0
  130. package/dist/host/config-sync.d.ts +40 -0
  131. package/dist/host/config-sync.js +267 -0
  132. package/dist/host/context-ref.d.ts +13 -0
  133. package/dist/host/context-ref.js +41 -0
  134. package/dist/host/data-error.d.ts +15 -0
  135. package/dist/host/data-error.js +23 -0
  136. package/dist/host/data-plan-check.d.ts +10 -0
  137. package/dist/host/data-plan-check.js +315 -0
  138. package/dist/host/data-plan.d.ts +15 -0
  139. package/dist/host/data-plan.js +283 -0
  140. package/dist/host/data-root.d.ts +5 -0
  141. package/dist/host/data-root.js +23 -0
  142. package/dist/host/diy-debug.d.ts +80 -0
  143. package/dist/host/diy-debug.js +89 -0
  144. package/dist/host/diy-preset.d.ts +26 -0
  145. package/dist/host/diy-preset.js +115 -0
  146. package/dist/host/diy-record.d.ts +135 -0
  147. package/dist/host/diy-record.js +163 -0
  148. package/dist/host/dsh-compat.d.ts +27 -0
  149. package/dist/host/dsh-compat.js +75 -0
  150. package/dist/host/dsh-plugins.d.ts +5 -0
  151. package/dist/host/dsh-plugins.js +51 -0
  152. package/dist/host/env-policy.d.ts +82 -0
  153. package/dist/host/env-policy.js +181 -0
  154. package/dist/host/extension.d.ts +7 -0
  155. package/dist/host/extension.js +40 -0
  156. package/dist/host/facts.d.ts +31 -0
  157. package/dist/host/facts.js +58 -0
  158. package/dist/host/fs-write.d.ts +96 -0
  159. package/dist/host/fs-write.js +183 -0
  160. package/dist/host/git.d.ts +5 -0
  161. package/dist/host/git.js +1 -0
  162. package/dist/host/host-actions.d.ts +2 -0
  163. package/dist/host/host-actions.js +5 -0
  164. package/dist/host/host-kit.d.ts +37 -0
  165. package/dist/host/host-kit.js +27 -0
  166. package/dist/host/http.d.ts +47 -0
  167. package/dist/host/http.js +289 -0
  168. package/dist/host/install-failure.d.ts +50 -0
  169. package/dist/host/install-failure.js +184 -0
  170. package/dist/host/installed-module.d.ts +25 -0
  171. package/dist/host/installed-module.js +289 -0
  172. package/dist/host/installed-sources.d.ts +10 -0
  173. package/dist/host/installed-sources.js +63 -0
  174. package/dist/host/lease.d.ts +70 -0
  175. package/dist/host/lease.js +264 -0
  176. package/dist/host/lib-capabilities.d.ts +22 -0
  177. package/dist/host/lib-capabilities.js +37 -0
  178. package/dist/host/lib-install.d.ts +19 -0
  179. package/dist/host/lib-install.js +40 -0
  180. package/dist/host/lib-runners.d.ts +18 -0
  181. package/dist/host/lib-runners.js +46 -0
  182. package/dist/host/local-declaration.d.ts +7 -0
  183. package/dist/host/local-declaration.js +33 -0
  184. package/dist/host/long-task.d.ts +97 -0
  185. package/dist/host/long-task.js +297 -0
  186. package/dist/host/market-index-claim.d.ts +19 -0
  187. package/dist/host/market-index-claim.js +87 -0
  188. package/dist/host/market-index-doc.d.ts +12 -0
  189. package/dist/host/market-index-doc.js +1 -0
  190. package/dist/host/market-index-parse.d.ts +28 -0
  191. package/dist/host/market-index-parse.js +413 -0
  192. package/dist/host/market-index.d.ts +13 -0
  193. package/dist/host/market-index.js +105 -0
  194. package/dist/host/module-root.d.ts +1 -0
  195. package/dist/host/module-root.js +5 -0
  196. package/dist/host/needs.d.ts +4 -0
  197. package/dist/host/needs.js +2 -0
  198. package/dist/host/npm-registry.d.ts +10 -0
  199. package/dist/host/npm-registry.js +16 -0
  200. package/dist/host/package-content.d.ts +8 -0
  201. package/dist/host/package-content.js +90 -0
  202. package/dist/host/package-kind.d.ts +13 -0
  203. package/dist/host/package-kind.js +51 -0
  204. package/dist/host/package-route.d.ts +33 -0
  205. package/dist/host/package-route.js +68 -0
  206. package/dist/host/panel-state.d.ts +120 -0
  207. package/dist/host/panel-state.js +177 -0
  208. package/dist/host/patch-blocks.d.ts +13 -0
  209. package/dist/host/patch-blocks.js +52 -0
  210. package/dist/host/patch.d.ts +4 -0
  211. package/dist/host/patch.js +7 -0
  212. package/dist/host/paths.d.ts +12 -0
  213. package/dist/host/paths.js +20 -0
  214. package/dist/host/payload.d.ts +12 -0
  215. package/dist/host/payload.js +16 -0
  216. package/dist/host/plan-results.d.ts +5 -0
  217. package/dist/host/plan-results.js +71 -0
  218. package/dist/host/plan-run.d.ts +41 -0
  219. package/dist/host/plan-run.js +87 -0
  220. package/dist/host/platform.d.ts +14 -0
  221. package/dist/host/platform.js +40 -0
  222. package/dist/host/plugin-ledger.d.ts +32 -0
  223. package/dist/host/plugin-ledger.js +106 -0
  224. package/dist/host/plugin.d.ts +3 -0
  225. package/dist/host/plugin.js +38 -0
  226. package/dist/host/port-types.d.ts +233 -0
  227. package/dist/host/port-types.js +1 -0
  228. package/dist/host/preflight.d.ts +32 -0
  229. package/dist/host/preflight.js +1 -0
  230. package/dist/host/process-alive.d.ts +6 -0
  231. package/dist/host/process-alive.js +16 -0
  232. package/dist/host/profile-bundles.d.ts +20 -0
  233. package/dist/host/profile-bundles.js +48 -0
  234. package/dist/host/profile-create.d.ts +19 -0
  235. package/dist/host/profile-create.js +124 -0
  236. package/dist/host/profile-port.d.ts +4 -0
  237. package/dist/host/profile-port.js +4 -0
  238. package/dist/host/profile-registries.d.ts +10 -0
  239. package/dist/host/profile-registries.js +149 -0
  240. package/dist/host/provision.d.ts +32 -0
  241. package/dist/host/provision.js +105 -0
  242. package/dist/host/read-json.d.ts +1 -0
  243. package/dist/host/read-json.js +11 -0
  244. package/dist/host/recipe-rules.d.ts +5 -0
  245. package/dist/host/recipe-rules.js +412 -0
  246. package/dist/host/recipe.d.ts +14 -0
  247. package/dist/host/recipe.js +332 -0
  248. package/dist/host/registry-declaration.d.ts +21 -0
  249. package/dist/host/registry-declaration.js +42 -0
  250. package/dist/host/reinstall-record.d.ts +16 -0
  251. package/dist/host/reinstall-record.js +54 -0
  252. package/dist/host/release-age.d.ts +24 -0
  253. package/dist/host/release-age.js +92 -0
  254. package/dist/host/release-packages.generated.d.ts +1 -0
  255. package/dist/host/release-packages.generated.js +10 -0
  256. package/dist/host/release-probe.d.ts +37 -0
  257. package/dist/host/release-probe.js +156 -0
  258. package/dist/host/runtime/browser-argv.d.ts +1 -0
  259. package/dist/host/runtime/browser-argv.js +9 -0
  260. package/dist/host/runtime/dsh-compat.d.ts +4 -0
  261. package/dist/host/runtime/dsh-compat.js +32 -16
  262. package/dist/host/runtime/front-app.d.ts +6 -0
  263. package/dist/host/runtime/front-app.js +70 -0
  264. package/dist/host/runtime/verified-dsh.d.ts +5 -0
  265. package/dist/host/runtime/verified-dsh.js +20 -0
  266. package/dist/host/shell-render.d.ts +52 -0
  267. package/dist/host/shell-render.js +117 -0
  268. package/dist/host/shell-text.d.ts +30 -0
  269. package/dist/host/shell-text.js +40 -0
  270. package/dist/host/shell.d.ts +25 -0
  271. package/dist/host/shell.js +55 -0
  272. package/dist/host/site.d.ts +45 -0
  273. package/dist/host/site.js +182 -0
  274. package/dist/host/spec.d.ts +8 -0
  275. package/dist/host/spec.js +24 -0
  276. package/dist/host/submit-confirm.d.ts +19 -0
  277. package/dist/host/submit-confirm.js +45 -0
  278. package/dist/host/supply/builtin-catalog.d.ts +3 -0
  279. package/dist/host/supply/builtin-catalog.js +38 -0
  280. package/dist/host/supply/preflight.d.ts +14 -1
  281. package/dist/host/supply/supply-index.js +6 -0
  282. package/dist/host/supply-index.d.ts +38 -0
  283. package/dist/host/supply-index.js +209 -0
  284. package/dist/host/supply-port.d.ts +5 -0
  285. package/dist/host/supply-port.js +50 -0
  286. package/dist/host/time.d.ts +22 -0
  287. package/dist/host/time.js +33 -0
  288. package/dist/host/tokens.d.ts +26 -0
  289. package/dist/host/tokens.js +154 -0
  290. package/dist/host/tool-approval.d.ts +86 -0
  291. package/dist/host/tool-approval.js +118 -0
  292. package/dist/host/tool-kit.d.ts +8 -0
  293. package/dist/host/tool-kit.js +22 -0
  294. package/dist/host/toolbox-port.d.ts +16 -0
  295. package/dist/host/toolbox-port.js +1 -0
  296. package/dist/host/unit-config.d.ts +34 -0
  297. package/dist/host/unit-config.js +28 -0
  298. package/dist/host/unit-data.d.ts +3 -0
  299. package/dist/host/unit-data.js +127 -0
  300. package/dist/host/unit-face.d.ts +95 -0
  301. package/dist/host/unit-face.js +1 -0
  302. package/dist/host/unit-plugin.d.ts +24 -0
  303. package/dist/host/unit-plugin.js +25 -0
  304. package/dist/host/update-journal-manifest.d.ts +19 -0
  305. package/dist/host/update-journal-manifest.js +134 -0
  306. package/dist/host/update-journal-types.d.ts +33 -0
  307. package/dist/host/update-journal-types.js +2 -0
  308. package/dist/host/update-journal.d.ts +43 -0
  309. package/dist/host/update-journal.js +409 -0
  310. package/dist/host/value-handoff.d.ts +16 -0
  311. package/dist/host/value-handoff.js +22 -0
  312. package/dist/host/version-range.d.ts +2 -0
  313. package/dist/host/version-range.js +13 -0
  314. package/dist/host/version.d.ts +4 -0
  315. package/dist/host/version.js +32 -0
  316. package/dist/host/workspace-store.d.ts +19 -0
  317. package/dist/host/workspace-store.js +133 -0
  318. package/dist/host/write-result.d.ts +1 -0
  319. package/dist/host/write-result.js +18 -0
  320. package/dist/host.d.ts +2 -0
  321. package/dist/host.js +2 -0
  322. package/dist/i18n/en.js +14 -3
  323. package/dist/i18n/index.d.ts +15 -4
  324. package/dist/i18n/zh.d.ts +14 -3
  325. package/dist/i18n/zh.js +14 -3
  326. package/dist/lib/bundle-requirements.d.ts +1 -0
  327. package/dist/lib/bundle-requirements.js +9 -0
  328. package/package.json +1 -1
  329. package/src/contract/__tests__/unit.test.ts +7 -0
  330. package/src/contract/needs.ts +5 -3
  331. package/src/contract/protocol/bundle-install.ts +1 -0
  332. package/src/contract/unit.ts +2 -1
  333. package/src/host/runtime/__tests__/dsh-compat.test.ts +19 -1
  334. package/src/host/runtime/__tests__/verified-dsh.test.ts +55 -0
  335. package/src/host/runtime/dsh-compat.ts +36 -12
  336. package/src/host/runtime/verified-dsh.ts +22 -0
  337. package/src/host/supply/__tests__/builtin-catalog.test.ts +44 -0
  338. package/src/host/supply/builtin-catalog.ts +38 -0
  339. package/src/host/supply/preflight.ts +16 -1
  340. package/src/host/supply/supply-index.ts +3 -0
  341. package/src/host.ts +2 -0
  342. package/src/i18n/en.ts +17 -3
  343. package/src/i18n/zh.ts +16 -3
  344. package/src/lib/bundle-requirements.ts +11 -0
@@ -0,0 +1,133 @@
1
+ import { createHash } from 'node:crypto';
2
+ import fs from 'node:fs';
3
+ import path from 'node:path';
4
+ import { workspacesRoot } from '../host/data-root.js';
5
+ import { writeJsonFile } from './fs-write.js';
6
+ function slug(raw, max = 40) {
7
+ const cleaned = raw
8
+ .replace(/[^A-Za-z0-9._-]+/g, '-')
9
+ .replace(/^[-.]+|[-.]+$/g, '')
10
+ .slice(0, max);
11
+ return cleaned === '' ? 'workspace' : cleaned;
12
+ }
13
+ export function workspaceKey(workspace) {
14
+ const abs = path.resolve(workspace);
15
+ return `${slug(path.basename(abs))}-${createHash('sha1').update(abs).digest('hex').slice(0, 8)}`;
16
+ }
17
+ function safeName(name) {
18
+ const trimmed = name.trim();
19
+ if (trimmed === '' || trimmed === '.' || trimmed === '..') {
20
+ throw new Error(`模块文件夹里只接受相对文件名,收到的是「${name}」`);
21
+ }
22
+ if (trimmed.includes('\0') || path.isAbsolute(trimmed) || /^[A-Za-z]:[\\/]/.test(trimmed)) {
23
+ throw new Error(`模块只能写自己的文件夹:不接受绝对路径「${name}」`);
24
+ }
25
+ if (trimmed.replace(/\\/g, '/').split('/').includes('..')) {
26
+ throw new Error(`模块只能写自己的文件夹:路径越界「${name}」`);
27
+ }
28
+ return trimmed;
29
+ }
30
+ function inside(dir, name) {
31
+ const full = path.resolve(dir, safeName(name));
32
+ if (full !== dir && !full.startsWith(dir + path.sep)) {
33
+ throw new Error(`模块只能写自己的文件夹:路径越界「${name}」`);
34
+ }
35
+ return full;
36
+ }
37
+ function memoryStore(dir) {
38
+ const files = new Map();
39
+ return {
40
+ dir,
41
+ read: (name) => {
42
+ safeName(name);
43
+ return files.get(name) ?? null;
44
+ },
45
+ write: (name, value) => {
46
+ safeName(name);
47
+ files.set(name, value);
48
+ },
49
+ remove: (name) => {
50
+ safeName(name);
51
+ files.delete(name);
52
+ },
53
+ list: () => [...files.keys()].sort(),
54
+ };
55
+ }
56
+ function fileStore(dir) {
57
+ return {
58
+ dir,
59
+ read: (name) => {
60
+ const file = inside(dir, name);
61
+ try {
62
+ return JSON.parse(fs.readFileSync(file, 'utf8'));
63
+ }
64
+ catch {
65
+ return null;
66
+ }
67
+ },
68
+ write: (name, value) => {
69
+ writeJsonFile(inside(dir, name), value);
70
+ },
71
+ remove: (name) => {
72
+ const file = inside(dir, name);
73
+ try {
74
+ fs.unlinkSync(file);
75
+ }
76
+ catch {
77
+ }
78
+ },
79
+ list: () => {
80
+ try {
81
+ return fs
82
+ .readdirSync(dir, { withFileTypes: true })
83
+ .filter((entry) => entry.isFile())
84
+ .map((entry) => entry.name)
85
+ .sort();
86
+ }
87
+ catch {
88
+ return [];
89
+ }
90
+ },
91
+ };
92
+ }
93
+ export function createWorkspaceStore(options) {
94
+ const root = options.root === null ? null : options.root ?? workspacesRoot();
95
+ let warned = false;
96
+ const memory = new Map();
97
+ const fallback = (dir) => {
98
+ if (!warned) {
99
+ warned = true;
100
+ options.logger?.warn?.('[dsh-workbench] 没有可写的数据根:模块配置只在本进程内生效(见 shared/api/host/data-root.ts)');
101
+ }
102
+ const hit = memory.get(dir);
103
+ if (hit !== undefined)
104
+ return hit;
105
+ const created = memoryStore(dir);
106
+ memory.set(dir, created);
107
+ return created;
108
+ };
109
+ const open = (parts) => root === null
110
+ ? fallback(path.join('/_memory', ...parts))
111
+ : fileStore(path.join(root, ...parts.map((part) => slug(part))));
112
+ return {
113
+ for: (unitId, workspace) => workspace === null || workspace.trim() === ''
114
+ ? fallback(path.join('/_memory', slug(unitId)))
115
+ : open([workspaceKey(workspace), unitId]),
116
+ machine: (unitId) => open(['_machine', unitId]),
117
+ scan: (unitId) => {
118
+ if (root === null)
119
+ return [];
120
+ let entries;
121
+ try {
122
+ entries = fs.readdirSync(root, { withFileTypes: true })
123
+ .filter((entry) => entry.isDirectory() && !entry.name.startsWith('_'))
124
+ .map((entry) => entry.name)
125
+ .sort();
126
+ }
127
+ catch {
128
+ return [];
129
+ }
130
+ return entries.map((key) => fileStore(path.join(root, key, slug(unitId))));
131
+ },
132
+ };
133
+ }
@@ -0,0 +1 @@
1
+ export declare function writeResultForClient(value: unknown, code: string): unknown;
@@ -0,0 +1,18 @@
1
+ export function writeResultForClient(value, code) {
2
+ if (typeof value !== 'object' || value === null)
3
+ return value;
4
+ const box = value;
5
+ const existing = box['error'];
6
+ if (box['ok'] !== false || (typeof existing === 'object' && existing !== null))
7
+ return value;
8
+ const text = box['text'];
9
+ const detail = box['detail'];
10
+ return {
11
+ ok: false,
12
+ error: {
13
+ code,
14
+ message: typeof text === 'string' && text.trim() !== '' ? text : '这一步没有成功,也没说为什么',
15
+ ...(typeof detail === 'string' ? { detail } : {}),
16
+ },
17
+ };
18
+ }
package/dist/host.d.ts CHANGED
@@ -112,6 +112,7 @@ export * from './host/runtime/process-alive.js';
112
112
  export * from './host/runtime/read-json.js';
113
113
  export * from './host/runtime/time.js';
114
114
  export * from './host/runtime/version-range.js';
115
+ export * from './host/runtime/verified-dsh.js';
115
116
  export * from './host/runtime/version.js';
116
117
  export * from './host/runtime/workspace-store.js';
117
118
  export * from './host/runtime/write-result.js';
@@ -136,6 +137,7 @@ export * from './host/supply/installed-sources.js';
136
137
  export * from './host/supply/lib-capabilities.js';
137
138
  export * from './host/supply/lib-install.js';
138
139
  export * from './host/supply/lib-runners.js';
140
+ export * from './host/supply/builtin-catalog.js';
139
141
  export * from './host/supply/market-index-claim.js';
140
142
  export * from './host/supply/market-index-doc.js';
141
143
  export * from './host/supply/market-index-parse.js';
package/dist/host.js CHANGED
@@ -112,6 +112,7 @@ export * from './host/runtime/process-alive.js';
112
112
  export * from './host/runtime/read-json.js';
113
113
  export * from './host/runtime/time.js';
114
114
  export * from './host/runtime/version-range.js';
115
+ export * from './host/runtime/verified-dsh.js';
115
116
  export * from './host/runtime/version.js';
116
117
  export * from './host/runtime/workspace-store.js';
117
118
  export * from './host/runtime/write-result.js';
@@ -136,6 +137,7 @@ export * from './host/supply/installed-sources.js';
136
137
  export * from './host/supply/lib-capabilities.js';
137
138
  export * from './host/supply/lib-install.js';
138
139
  export * from './host/supply/lib-runners.js';
140
+ export * from './host/supply/builtin-catalog.js';
139
141
  export * from './host/supply/market-index-claim.js';
140
142
  export * from './host/supply/market-index-doc.js';
141
143
  export * from './host/supply/market-index-parse.js';
package/dist/i18n/en.js CHANGED
@@ -195,7 +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
+ 'panels.market.selfUpdateNeedsHost': 'Update failed: this version needs {host} {version} or newer; you have {runtime}.',
199
199
  'panels.market.selfUpdateBusy': 'The previous update has not finished. Wait for it to end, then update again.',
200
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.',
201
201
  'panels.market.selfUpdateReinstallStopped': 'Automatic dependency installation kept failing. Install manually with the command shown in the terminal.',
@@ -261,6 +261,7 @@ export const en = {
261
261
  'panels.market.needLib': 'Install the library {name} first.',
262
262
  'panels.market.localMark': 'local',
263
263
  'panels.market.noSource': 'This module does not declare an install method; handle it manually.',
264
+ 'panels.market.needBuiltinMissing': 'This module declares a broken dependency: the module author needs to fix it (or wait for a module update).',
264
265
  'panels.market.badSource': 'The install method is incomplete; handle it manually.',
265
266
  'panels.market.empty': 'No modules available to install yet. Add a module source or refresh and try again.',
266
267
  'panels.market.updateAllPlugins': 'Update all',
@@ -320,7 +321,9 @@ export const en = {
320
321
  'panels.market.configDriftedNote': 'The workbench config records {declared}, but {installed} is installed. Click Update to reinstall the recorded version.',
321
322
  'panels.market.olderOnDiskNote': 'Installed {installed} while {running} is running. Update before restarting; a restart now runs {installed}.',
322
323
  'panels.market.updateNeedsWorkbench': 'This version needs a newer workbench first.',
323
- 'panels.market.updateNeedsDsh': 'This version needs {dsh}; the running dsh is {runtime}.',
324
+ 'panels.market.needsHostVersion': 'This version needs {host} {version} or newer; you have {runtime}.',
325
+ 'panels.market.needsHostAction.desktop': 'Update DeepSeek Harness, then try again.',
326
+ 'panels.market.needsHostAction.dsh': 'Upgrade dsh, restart it, then try again.',
324
327
  'panels.market.updateIncompatible': 'The new version does not match this workbench, so it cannot be updated now.',
325
328
  'panels.market.updateUnverified': 'Compatibility is unverified; the update may fail.',
326
329
  'panels.market.moduleRefused': 'This module does not match this workbench, so it cannot be used for now.',
@@ -435,7 +438,6 @@ export const en = {
435
438
  'panels.market.add.failureModuleRow': 'The module is installed in this workbench, but the module list in its configuration was not updated, so it will not load. Fix that list, then restart the workbench.',
436
439
  'panels.market.add.failureModuleRowRemove': 'The module was removed from this workbench, but the module list in its configuration was not updated. Fix that list, then restart the workbench.',
437
440
  'panels.market.add.failureNoProfileDir': 'The directory for this workbench configuration cannot be found, so the module cannot be installed. Check the configuration directory in workbench settings, or install the workbench again.',
438
- 'panels.market.add.failureIncompatible': 'This version needs {dsh}; the running dsh is {runtime}. Upgrade dsh first.',
439
441
  'panels.market.add.failureCredentials': 'This repository needs credentials, and this machine has none for it. Run a clone once in a terminal and set up a credential helper, or switch to the SSH address and try again.',
440
442
  'panels.market.approve.title': 'Install scripts need approval',
441
443
  'panels.market.approve.caution': 'Approve only packages you trust. Install scripts run on this machine with your permissions.',
@@ -644,6 +646,7 @@ export const en = {
644
646
  'panels.market.add.removed': 'Removed.',
645
647
  'panels.market.add.supplyPending': 'The plugins this module needs will be installed after a restart.',
646
648
  'panels.market.add.supplyFailed': 'The plugins this module needs are not installed: {reason}',
649
+ 'panels.market.add.problemBuiltinMissing': 'This module declares a broken dependency: the module author needs to fix it (or wait for a module update).',
647
650
  'panels.market.add.notModule': "This is not a workbench module (no dsh.workbench declaration), so it will not show up on the board.",
648
651
  'panels.market.add.removedRestart': 'Uninstalled; restart to finish.',
649
652
  'panels.market.add.remove': 'Remove it',
@@ -749,6 +752,14 @@ export const en = {
749
752
  'env.diy.noRow': 'The startup check did not find “Workbench DIY mode” in dsh’s mode list. This workbench install most likely does not include the matching mode patch.',
750
753
  'env.diy.step': 'Upgrade dsh, then restart the workbench:',
751
754
  'env.diy.continue': 'Enter the workbench anyway',
755
+ 'env.step.hostVersion': 'Check {host} version',
756
+ 'env.hostVersion.newer': 'Unverified',
757
+ 'env.hostVersion.older': 'Too old',
758
+ 'env.hostVersion.newer.why': 'This machine has {host} {runtime}. The workbench is verified on {verified}. You can continue. Upgrade the workbench if a module or panel does not work as expected.',
759
+ 'env.hostVersion.older.why': 'The workbench needs {host} {verified} or later. This machine has {runtime}. Upgrade {host}, then restart.',
760
+ 'env.hostVersion.older.step': 'Upgrade {host}, then restart:',
761
+ 'env.hostVersion.recover': 'If the workbench keeps failing to open, remove it from this workbench configuration, then restart {host}.',
762
+ 'env.hostVersion.recover.detail': 'Remove @dsh-workbench/core from dsh.profile.bundles in package.json.',
752
763
  'env.copyCommand': 'Copy command',
753
764
  'env.copied': 'Copied',
754
765
  'env.step.toolchain': 'Check the environment',
@@ -205,7 +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
+ readonly 'panels.market.selfUpdateNeedsHost': "更新失败:这个版本要求 {host} {version} 或更高,当前为 {runtime}。";
209
209
  readonly 'panels.market.selfUpdateBusy': "上一次更新尚未结束,请等待结束后再更新。";
210
210
  readonly 'panels.market.selfUpdateReinstallFailed': "依赖重新安装失败,请重启工作台后重试;如果仍然失败,请按终端中的提示手动安装。";
211
211
  readonly 'panels.market.selfUpdateReinstallStopped': "依赖自动安装连续失败,请按终端中的提示手动安装。";
@@ -271,6 +271,7 @@ export declare const dictionaries: {
271
271
  readonly 'panels.market.needLib': "请先安装库 {name}。";
272
272
  readonly 'panels.market.localMark': "本地";
273
273
  readonly 'panels.market.noSource': "这个模块没有声明安装方式,只能手动处理。";
274
+ readonly 'panels.market.needBuiltinMissing': "这个模块声明的依赖有问题:需要模块作者修复(或等模块更新)。";
274
275
  readonly 'panels.market.badSource': "安装方式不完整,只能手动处理。";
275
276
  readonly 'panels.market.empty': "还没有可安装的模块。请添加模块来源或刷新后重试。";
276
277
  readonly 'panels.market.updateAllPlugins': "全部更新";
@@ -330,7 +331,9 @@ export declare const dictionaries: {
330
331
  readonly 'panels.market.configDriftedNote': "工作台配置记录的是 {declared},实际安装的是 {installed}。请点击「更新」按配置记录的版本重新安装。";
331
332
  readonly 'panels.market.olderOnDiskNote': "已安装 {installed},正在运行 {running}。请先更新再重启;直接重启会运行 {installed}。";
332
333
  readonly 'panels.market.updateNeedsWorkbench': "这个版本需要先升级工作台。";
333
- readonly 'panels.market.updateNeedsDsh': "这个版本需要 {dsh},当前 dsh 为 {runtime}。";
334
+ readonly 'panels.market.needsHostVersion': "这个版本要求 {host} {version} 或更高,当前为 {runtime}。";
335
+ readonly 'panels.market.needsHostAction.desktop': "更新 DeepSeek Harness 后再试。";
336
+ readonly 'panels.market.needsHostAction.dsh': "升级 dsh 后重启再试。";
334
337
  readonly 'panels.market.updateIncompatible': "新版本与当前工作台不匹配,暂时无法更新。";
335
338
  readonly 'panels.market.updateUnverified': "兼容性尚未验证,更新可能失败。";
336
339
  readonly 'panels.market.moduleRefused': "模块版本与工作台不匹配,暂时无法使用";
@@ -445,7 +448,6 @@ export declare const dictionaries: {
445
448
  readonly 'panels.market.add.failureModuleRow': "模块已安装到工作台配置,但工作台配置里的模块清单没有更新,因此还不会加载。请修好这份清单,再重启工作台。";
446
449
  readonly 'panels.market.add.failureModuleRowRemove': "模块已从工作台配置移除,但模块清单没有更新。请修好这份清单,再重启工作台。";
447
450
  readonly 'panels.market.add.failureNoProfileDir': "找不到这份工作台配置的目录,无法安装模块。请在工作台设置里检查配置目录,或重新安装工作台。";
448
- readonly 'panels.market.add.failureIncompatible': "这个版本需要 {dsh},当前 dsh 为 {runtime}。请先升级 dsh 再安装。";
449
451
  readonly 'panels.market.add.failureCredentials': "这个仓库需要凭证,本机没有它的 git 凭据。请先在终端中执行一次 clone,并配置凭据助手,或改用 SSH 地址后重试。";
450
452
  readonly 'panels.market.approve.title': "安装脚本需要批准";
451
453
  readonly 'panels.market.approve.caution': "请只批准可信的包。安装脚本会以你的权限在这台机器上运行。";
@@ -654,6 +656,7 @@ export declare const dictionaries: {
654
656
  readonly 'panels.market.add.removed': "已移除。";
655
657
  readonly 'panels.market.add.supplyPending': "该模块所需的插件会在重启后安装。";
656
658
  readonly 'panels.market.add.supplyFailed': "该模块所需的插件未安装:{reason}";
659
+ readonly 'panels.market.add.problemBuiltinMissing': "这个模块声明的依赖有问题:需要模块作者修复(或等模块更新)。";
657
660
  readonly 'panels.market.add.notModule': "这不是工作台模块(没有 dsh.workbench 声明),不会出现在面板上。";
658
661
  readonly 'panels.market.add.removedRestart': "已卸载,重启后彻底生效。";
659
662
  readonly 'panels.market.add.remove': "移除它";
@@ -759,6 +762,14 @@ export declare const dictionaries: {
759
762
  readonly 'env.diy.noRow': "启动检查没有在 dsh 的模式列表中找到「工作台 DIY 模式」,多半是这次工作台安装没有包含对应的模式补丁。";
760
763
  readonly 'env.diy.step': "升级 dsh,然后重启一次工作台:";
761
764
  readonly 'env.diy.continue': "先进入工作台";
765
+ readonly 'env.step.hostVersion': "检查 {host} 版本";
766
+ readonly 'env.hostVersion.newer': "未验证";
767
+ readonly 'env.hostVersion.older': "版本过低";
768
+ readonly 'env.hostVersion.newer.why': "{host} 的版本是 {runtime},工作台在 {verified} 上验证过。可以继续使用。如果模块或面板显示异常,请升级工作台。";
769
+ readonly 'env.hostVersion.older.why': "工作台需要 {host} {verified} 或更高,这台机器上是 {runtime}。请升级 {host},然后重启。";
770
+ readonly 'env.hostVersion.older.step': "升级 {host},然后重启:";
771
+ readonly 'env.hostVersion.recover': "如果工作台一直打不开,可以把它从这份工作台配置里去掉,再重启 {host}。";
772
+ readonly 'env.hostVersion.recover.detail': "从 package.json 的 dsh.profile.bundles 里删除 @dsh-workbench/core。";
762
773
  readonly 'env.copyCommand': "复制命令";
763
774
  readonly 'env.copied': "已复制";
764
775
  readonly 'env.step.toolchain': "检查运行环境";
@@ -1043,7 +1054,7 @@ export declare const dictionaries: {
1043
1054
  readonly 'diyPresetSource.empty': "没有可用的模式。请先在 dsh 中修复或新建一个模式。";
1044
1055
  readonly 'diyPresetSource.failed': "保存设置失败,请重试。";
1045
1056
  };
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>;
1057
+ 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.selfUpdateNeedsHost" | "panels.market.selfUpdateBusy" | "panels.market.selfUpdateReinstallFailed" | "panels.market.selfUpdateReinstallStopped" | "panels.market.uninstall" | "panels.market.uninstallLabel" | "panels.market.installing" | "panels.market.installingDeps" | "panels.market.updating" | "panels.market.updatingDeps" | "panels.market.uninstalling" | "panels.market.confirmUninstallTitle" | "panels.market.confirmUninstallDetail" | "panels.market.confirmUninstallAck" | "panels.market.confirmYes" | "panels.market.confirmNo" | "panels.market.noMarketSource" | "panels.market.failed" | "panels.market.failure.permission" | "panels.market.failure.diskFull" | "panels.market.failure.auth" | "panels.market.failure.sandbox" | "panels.market.failure.retryAdvice" | "panels.market.failure.copyOutput" | "panels.market.failure.copyOutputHint" | "panels.market.failure.unknown" | "panels.market.failure.factOwner" | "panels.market.failure.factMode" | "panels.market.failure.factSpace" | "panels.market.failure.factAuth" | "panels.market.failure.title" | "panels.market.failure.factSummary" | "panels.market.failure.factUnknown" | "panels.market.failure.factStuck" | "panels.market.failure.thisSource" | "panels.market.failure.noReason" | "panels.market.failure.nowhere" | "panels.market.failure.copyFix" | "panels.market.failure.copied" | "panels.market.failure.copiedHint" | "panels.market.failure.askAgent" | "panels.market.failure.askAgentText" | "panels.market.failure.askAgentAuth" | "panels.market.failure.askAgentUnknown" | "panels.market.failure.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.needBuiltinMissing" | "panels.market.badSource" | "panels.market.empty" | "panels.market.updateAllPlugins" | "panels.market.updatingAll" | "panels.market.sectionPlugins" | "panels.market.openDetail" | "panels.market.detailBack" | "panels.market.depKindExtension" | "panels.market.depKindLib" | "panels.market.depKindBin" | "panels.market.depKindEnv" | "panels.market.depEnvNotSet" | "panels.market.depOptional" | "panels.market.detailDepsTitle" | "panels.market.detailDepsEmpty" | "panels.market.detailSourceTitle" | "panels.market.detailSource" | "panels.market.detailRegistry" | "panels.market.detailSpec" | "panels.market.detailUnit" | "panels.market.detailVersion" | "panels.market.detailLatest" | "panels.market.detailRuntime" | "panels.market.detailExtension" | "panels.market.detailExtensionValue" | "panels.market.detailBridge" | "panels.market.detailBridgeValue" | "panels.market.detailBridgeStale" | "panels.market.detailRuntimeMismatch" | "panels.market.detailRuntimeReady" | "panels.market.detailRuntimeUnknown" | "panels.market.detailPluginName" | "panels.market.detailInstalledAt" | "panels.market.detailMarket" | "panels.market.detailRepository" | "panels.market.detailCommit" | "panels.market.detailDirectory" | "panels.market.detailUpdateSource" | "panels.market.detailUpdateVersion" | "panels.market.detailLocalDirectory" | "panels.market.detailUnknown" | "panels.market.detailSharedTitle" | "panels.market.detailTabs" | "panels.market.detailSharedTabs" | "panels.market.detailTabOverview" | "panels.market.detailTabReadme" | "panels.market.detailTabChangelog" | "panels.market.detailAuthor" | "panels.market.detailHomepage" | "panels.market.detailKeywords" | "panels.market.detailKind" | "panels.market.sharedKindPlugin" | "panels.market.sharedKindLib" | "panels.market.detailSharedUsedBy" | "panels.market.moduleOutdated" | "panels.market.olderOnDisk" | "panels.market.configDriftedNote" | "panels.market.olderOnDiskNote" | "panels.market.updateNeedsWorkbench" | "panels.market.needsHostVersion" | "panels.market.needsHostAction.desktop" | "panels.market.needsHostAction.dsh" | "panels.market.updateIncompatible" | "panels.market.updateUnverified" | "panels.market.moduleRefused" | "panels.market.moduleRestartHint" | "panels.market.pendingRestart" | "panels.market.pendingFollowUp" | "panels.market.migrationHint" | "panels.market.migrateAction" | "panels.market.migrating" | "panels.market.working" | "panels.market.migrateConfirmTitle" | "panels.market.migrateConfirmDetail" | "panels.market.migrateConfirmAck" | "panels.market.migrateConfirmYes" | "panels.market.migrateDone" | "panels.market.migrateDoneNoCount" | "panels.market.dismissFollowUp" | "panels.market.dismissing" | "panels.market.dismissFollowUpTitle" | "panels.market.dismissFollowUpDetail" | "panels.market.dismissFollowUpAck" | "panels.market.dismissFollowUpYes" | "panels.market.dismissed" | "panels.market.workbenchName" | "panels.market.workbenchBroken" | "panels.market.workbenchBrokenNoFix" | "panels.market.pluginBroken" | "panels.market.restartNeeded" | "panels.market.foot" | "panels.market.checkUpdates" | "panels.market.checkAll" | "panels.market.checkingNow" | "panels.market.checkFailed" | "panels.market.notCheckedYet" | "panels.market.checkedAt" | "panels.market.latestPartial" | "panels.market.sourceUnreachable" | "panels.market.latestNoRegistry" | "panels.market.latestProbeFailed" | "panels.market.justNow" | "panels.market.minutesAgo" | "panels.market.hoursAgo" | "panels.market.add.description" | "panels.market.add.specPlaceholder" | "panels.market.add.guideToggle" | "panels.market.add.guideHide" | "panels.market.add.guideIdTitle" | "panels.market.add.guideIdExample" | "panels.market.add.guideIdHint" | "panels.market.add.guideGitTitle" | "panels.market.add.guideGitExample" | "panels.market.add.guideGitHint" | "panels.market.add.guidePathTitle" | "panels.market.add.guidePathExample" | "panels.market.add.guidePathHint" | "panels.market.add.guideExampleLabel" | "panels.market.add.guideFill" | "panels.market.add.guideSafety" | "panels.market.add.registryLegend" | "panels.market.add.registryOfficial" | "panels.market.add.registryMirror" | "panels.market.add.registryWithHost" | "panels.market.add.registryToggle" | "panels.market.add.installVersion" | "panels.market.add.origins" | "panels.market.add.registryDefault" | "panels.market.add.registryCustom" | "panels.market.add.registryCustomPlaceholder" | "panels.market.add.registryCustomHint" | "panels.market.add.registryCustomInvalid" | "panels.market.add.run" | "panels.market.add.edit" | "panels.market.add.changeRegistry" | "panels.market.add.installingTitle" | "panels.market.add.installedTitle" | "panels.market.add.failedTitle" | "panels.market.add.cancelledTitle" | "panels.market.add.failureNetworkHost" | "panels.market.add.problemInvalid" | "panels.market.add.problemInstalled" | "panels.market.add.problemNotFound" | "panels.market.add.problemNotPackage" | "panels.market.add.problemNotBundle" | "panels.market.add.problemNotWorkbenchModule" | "panels.market.add.problemNotModuleOrPlugin" | "panels.market.add.failureNotModuleOrPlugin" | "panels.market.add.installedPlugin" | "panels.market.add.unknownModule" | "panels.market.add.sourceRepo" | "panels.market.add.sourceRef" | "panels.market.add.sourceBranch" | "panels.market.add.sourceDirectory" | "panels.market.add.sourceDir" | "panels.market.add.pluginPreview" | "panels.market.add.pluginAlias" | "panels.market.add.problemNetwork" | "panels.market.add.problemUnknown" | "panels.market.add.failureNetwork" | "panels.market.add.failureNotFound" | "panels.market.add.failureNoMatchingVersion" | "panels.market.add.failureDiskFull" | "panels.market.add.failurePermission" | "panels.market.add.failureBuildBlocked" | "panels.market.add.failureIntegrity" | "panels.market.add.failureStopProfile" | "panels.market.add.failureCancelled" | "panels.market.add.failureTimeout" | "panels.market.add.failurePnpmMissing" | "panels.market.add.failureInstalled" | "panels.market.add.failureGeneric" | "panels.market.add.failureBundleList" | "panels.market.add.failureModuleRow" | "panels.market.add.failureModuleRowRemove" | "panels.market.add.failureNoProfileDir" | "panels.market.add.failureCredentials" | "panels.market.approve.title" | "panels.market.approve.caution" | "panels.market.approve.install" | "panels.market.approve.update" | "panels.market.add.restart" | "panels.market.add.tookEffect" | "panels.market.add.details" | "panels.market.add.open" | "panels.market.add.title" | "panels.market.add.intro" | "panels.market.add.specLabel" | "panels.market.add.specHint" | "panels.market.add.exampleTitle" | "panels.market.add.exampleFill" | "panels.market.add.registryLabel" | "panels.market.add.registryProfile" | "panels.market.add.registryPnpm" | "panels.market.add.check" | "panels.market.add.checking" | "panels.market.add.classifying" | "panels.market.add.change" | "panels.market.add.previewTitle" | "panels.market.add.fieldName" | "panels.market.add.fieldVersion" | "panels.market.add.fieldDescription" | "panels.market.add.fieldSource" | "panels.market.add.install" | "panels.market.add.installing" | "panels.market.add.cancel" | "panels.market.add.close" | "panels.market.add.retry" | "panels.market.add.changeSource" | "panels.market.tabInstalled" | "panels.market.tabs" | "panels.tab.discover" | "panels.discover.loading" | "panels.discover.slowHint" | "panels.discover.lead" | "panels.discover.addSource" | "panels.discover.addingSource" | "panels.discover.addFirstSource" | "panels.discover.removeSource" | "panels.discover.removeTitle" | "panels.discover.removeBody" | "panels.discover.sourceActions" | "panels.discover.sourceStateWritable" | "panels.discover.sourceStateReadOnly" | "panels.discover.sourceEnable" | "panels.discover.sourceDisable" | "panels.discover.sourceWorking" | "panels.discover.sourceEnabled" | "panels.discover.sourceReadOnly" | "panels.discover.refresh" | "panels.discover.search" | "panels.discover.clearSearch" | "panels.discover.all" | "panels.discover.sourceLabel" | "panels.discover.sourceKind" | "panels.discover.sourceKindHttp" | "panels.discover.sourceKindGit" | "panels.discover.sourceUrl" | "panels.discover.sourcePlaceholder" | "panels.discover.sourceRef" | "panels.discover.sourcePath" | "panels.discover.sourceLocal" | "panels.discover.sourceLocalHint" | "panels.discover.save" | "panels.discover.cancel" | "panels.discover.retry" | "panels.discover.noSource" | "panels.discover.noSourceHint" | "panels.discover.sourcesFailed" | "panels.discover.unreadable" | "panels.discover.sandbox" | "panels.discover.sourceAuth" | "panels.discover.invalid" | "panels.discover.emptyRepo" | "panels.discover.missingIndex" | "panels.discover.initTitle" | "panels.discover.initCta" | "panels.discover.initWhat" | "panels.discover.initBranch" | "panels.discover.initBranchHint" | "panels.discover.initBranchBad" | "panels.discover.initOk" | "panels.discover.initBusy" | "panels.discover.initDone" | "panels.discover.stale" | "panels.discover.empty" | "panels.discover.noMatch" | "panels.discover.notInstalled" | "panels.discover.installed" | "panels.discover.installedVersion" | "panels.discover.update" | "panels.discover.badShell" | "panels.discover.badShellDetail" | "panels.discover.unverified" | "panels.discover.failed" | "panels.discover.transportTitle" | "panels.discover.transportSsh" | "panels.discover.transportHttps" | "panels.discover.transportOk" | "panels.discover.transportAuth" | "panels.discover.transportUnreachable" | "panels.discover.transportUnknown" | "panels.discover.transportChecking" | "panels.discover.transportTest" | "panels.discover.transportPlaceholder" | "panels.discover.transportNeedsAuth" | "panels.discover.transportChange" | "panels.discover.transportChangeHide" | "panels.discover.transportNone" | "panels.discover.expand" | "panels.discover.collapse" | "panels.discover.versionCount" | "panels.discover.sourceNpm" | "panels.discover.sourceNpmDefault" | "panels.discover.sourceGit" | "panels.discover.installVersion" | "panels.discover.confirmTitle" | "panels.discover.confirmDetail" | "panels.discover.confirmAck" | "panels.discover.confirmOk" | "panels.discover.confirmCancel" | "panels.discover.marketMenu" | "panels.discover.manageSources" | "panels.discover.sourcesTitle" | "panels.discover.sourcesIntro" | "panels.discover.sourcesLabel" | "panels.discover.sourceTrust" | "panels.discover.sourceDuplicate" | "panels.discover.sourceBadUrl" | "panels.discover.close" | "panels.discover.labelsMenu" | "panels.discover.labelsCount" | "panels.discover.tagsAll" | "panels.discover.sort" | "panels.discover.sortWith" | "panels.discover.sortRelevance" | "panels.discover.sortDefault" | "panels.discover.sortPublished" | "panels.discover.categoriesLabel" | "panels.discover.showMore" | "panels.discover.entryMeta" | "panels.discover.entryMetaAuthor" | "panels.discover.openEntry" | "panels.discover.cardInstall" | "panels.discover.cardInstalled" | "panels.discover.cardUpdate" | "panels.discover.cardBlocked" | "panels.discover.installTitle" | "panels.discover.installVersionTitle" | "panels.discover.openInstalled" | "panels.discover.noCompatibleVersion" | "panels.discover.detailBack" | "panels.discover.publishedAt" | "panels.discover.detailMarket" | "panels.discover.detailIncompatible" | "panels.discover.detailUnknown" | "panels.discover.detailSource" | "panels.discover.authorUnknown" | "panels.discover.tabOverview" | "panels.discover.tabReadme" | "panels.discover.tabChangelog" | "panels.discover.docReadme" | "panels.discover.docChangelog" | "panels.discover.docLoading" | "panels.discover.docMissing" | "panels.discover.docUnavailable" | "panels.discover.docUnknownReason" | "panels.discover.detailTabs" | "panels.discover.factPackage" | "panels.discover.factRegistry" | "panels.discover.factRepository" | "panels.discover.factCommit" | "panels.discover.factDirectory" | "panels.discover.factPublished" | "panels.discover.factAuthor" | "panels.discover.factHomepage" | "panels.discover.factCategory" | "panels.discover.factLabels" | "panels.discover.factMarket" | "panels.discover.detailVersions" | "panels.discover.versionsLabel" | "panels.discover.tagRecommended" | "panels.discover.tagPrerelease" | "panels.discover.tagInstalled" | "panels.discover.tagIncompatible" | "panels.discover.tagUnknown" | "panels.discover.selected" | "panels.discover.done" | "panels.discover.installTrust" | "panels.discover.progress" | "panels.market.approve.hint" | "panels.market.add.doneApplied" | "panels.market.add.doneRestart" | "panels.market.add.restartWhy" | "panels.market.add.restartWhy.no-hmr" | "panels.market.add.restartWhy.package-moved" | "panels.market.add.restartWhy.host-module" | "panels.market.add.restartWhy.unmanaged-plugin" | "panels.market.add.restartWhy.module-comparison" | "panels.market.add.cancelled" | "panels.market.add.failed" | "panels.market.add.removed" | "panels.market.add.supplyPending" | "panels.market.add.supplyFailed" | "panels.market.add.problemBuiltinMissing" | "panels.market.add.notModule" | "panels.market.add.removedRestart" | "panels.market.add.remove" | "panels.market.add.problem.invalidSpec" | "panels.market.add.problem.alreadyInstalled" | "panels.market.add.problem.notFound" | "panels.market.add.problem.notAPackage" | "panels.market.add.problem.notABundle" | "panels.market.add.problem.network" | "panels.market.add.problem.unknown" | "panels.market.add.reason.invalidSpec" | "panels.market.add.reason.incompatible" | "panels.market.add.reason.notBundle" | "panels.market.add.reason.notRemovable" | "panels.market.add.reason.bundleInUse" | "panels.market.add.reason.stopProfile" | "panels.market.add.reason.staleApproval" | "panels.market.add.reason.operationError" | "panels.market.add.reason.buildBlocked" | "panels.market.add.reason.pnpmMissing" | "panels.market.add.reason.noMatchingVersion" | "panels.market.add.reason.diskFull" | "panels.market.add.reason.permission" | "panels.market.add.reason.integrity" | "panels.market.add.reason.timeout" | "panels.market.add.reason.network" | "panels.market.add.reason.notFound" | "panels.market.add.reason.unknown" | "blocker.fix.update" | "blocker.fix.running" | "blocker.fix.failed" | "blocker.retry.running" | "panels.reading" | "panels.staleNote" | "panels.boardReadFailed" | "panels.boardReadFailedHint" | "panels.retry" | "panels.cardBroken" | "panels.cardRetry" | "panels.empty" | "panels.emptyHint" | "env.title" | "env.checking" | "env.installing" | "env.installingToolchain" | "env.failed" | "env.stepFailed.install" | "env.stepFailed.path" | "env.stepFailed.shell" | "env.stepFailed.host" | "env.toolchain.ok" | "env.toolchain.warn" | "env.runtime.ok" | "env.bridge.ok" | "env.bridge.short" | "env.bridge.why" | "env.bridge.extensionOffline" | "env.bridge.extensionLocal" | "env.bridge.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.step.hostVersion" | "env.hostVersion.newer" | "env.hostVersion.older" | "env.hostVersion.newer.why" | "env.hostVersion.older.why" | "env.hostVersion.older.step" | "env.hostVersion.recover" | "env.hostVersion.recover.detail" | "env.copyCommand" | "env.copied" | "env.step.toolchain" | "env.step.adapter" | "env.step.runtime" | "env.step.bridge" | "env.step.diy" | "env.step.warm" | "env.warm.done" | "env.warm.short" | "env.unit.hint" | "rightbar.label" | "rightbar.expand" | "rightbar.collapse" | "rightbar.column.label" | "rightbar.column.workbench" | "rightbar.column.dsh" | "rightbar.refresh" | "rightbar.refreshing" | "rightbar.updatedAt" | "rightbar.noProject" | "rightbar.openPlatform" | "error.unknown" | "board.title" | "panel.conversation" | "panels.label" | "panels.more" | "mcpOnDemand.nav" | "mcpOnDemand.lead" | "mcpOnDemand.failed" | "updatePrerelease.nav" | "updatePrerelease.lead" | "updatePrerelease.channel.rc" | "updatePrerelease.channel.beta" | "updatePrerelease.channel.alpha" | "updatePrerelease.none" | "updatePrerelease.separator" | "updatePrerelease.pick" | "updatePrerelease.failed" | "workbenchSettings.nav" | "workbenchSettings.readFailed" | "workbenchSettings.advanced" | "moduleModel.nav" | "moduleModel.lead" | "moduleModel.followDefault" | "moduleModel.followDefaultNamed" | "moduleModel.unavailable" | "moduleModel.reading" | "moduleModel.search" | "moduleModel.readFailed" | "moduleModel.failed" | "sidebarEdition.nav" | "sidebarEdition.official" | "sidebarEdition.officialHint" | "sidebarEdition.custom" | "sidebarEdition.customHint" | "sidebarEdition.saving" | "sidebarEdition.failed" | "debug.workspace" | "debug.status" | "debug.status.trouble" | "debug.stalled" | "debug.act.pause" | "debug.act.resume" | "debug.act.stop" | "debug.act.stop.ask" | "debug.card.here.title" | "debug.card.here.note" | "debug.card.away.note" | "debug.card.paused.note" | "debug.card.hidden.note" | "rightbar.flow.label" | "rightbar.record.label" | "rightbar.flow.done" | "rightbar.flow.active" | "rightbar.flow.pending" | "rightbar.flow.statusCompleted" | "rightbar.flow.statusInProgress" | "rightbar.flow.statusPending" | "rightbar.flow.steps" | "approval.plan.see" | "approval.plan.do" | "approval.plan.agent" | "approval.plan.data" | "approval.fact.object" | "approval.fact.change" | "approval.fact.target" | "approval.fact.impact" | "approval.missingDetail" | "approval.record.site" | "approval.record.what" | "approval.record.lands" | "approval.record.landsUnknown" | "approval.record.noUrl" | "approval.record.oneAction" | "approval.longTask.what" | "approval.longTask.signal" | "approval.shell.module" | "approval.shell.panel" | "approval.shell.bundle" | "approval.shell.dependency" | "approval.shell.plugin" | "approval.shell.workbench" | "approval.shell.itself" | "approval.shell.projectPanel" | "approval.shell.machineDefaults" | "approval.shell.thisMachine" | "approval.shell.config" | "approval.shell.page" | "approval.shell.addPanel" | "approval.shell.resetProject" | "approval.shell.resetMachine" | "approval.shell.followDefaults" | "approval.shell.moveFront" | "approval.shell.moveAt" | "approval.shell.uninstallModule" | "approval.shell.installBundle" | "approval.shell.updateLatest" | "approval.shell.uninstallPlugin" | "approval.shell.startDebug" | "approval.shell.resumeDebug" | "approval.shell.impactPanel" | "approval.shell.impactMove" | "approval.shell.impactReset" | "approval.shell.impactFollow" | "approval.shell.impactUninstallModule" | "approval.shell.impactInstallBundle" | "approval.shell.impactDependency" | "approval.shell.impactPlugin" | "approval.shell.impactUninstallPlugin" | "approval.shell.impactWorkbench" | "approval.shell.impactStartDebug" | "approval.shell.impactResumeDebug" | "approval.plugin.name" | "approval.plugin.command" | "approval.plugin.note" | "approval.supply.module" | "approval.supply.kind" | "approval.supply.plugin" | "approval.supply.lib" | "approval.supply.missing" | "approval.supply.none" | "approval.publish.module" | "approval.publish.target" | "approval.publish.version" | "approval.publish.author" | "approval.publish.authorMissing" | "approval.publish.labels" | "approval.publish.category" | "approval.publish.labelsNone" | "approval.publish.categoryMissing" | "approval.publish.categoryVocabulary" | "approval.publish.categoryVocabularyEmpty" | "approval.publish.owner" | "approval.publish.ownerUnowned" | "approval.publish.ownerTaken" | "approval.publish.unit" | "approval.publish.unitTaken" | "approval.publish.path" | "approval.publish.pathTaken" | "approval.publish.registry" | "approval.publish.repo" | "approval.publish.branch" | "approval.publish.defaultBranch" | "approval.publish.artifacts" | "approval.publish.index" | "approval.publish.commits" | "approval.publish.twoCommits" | "approval.publish.reading" | "approval.publish.changelog" | "approval.publish.changelogPending" | "approval.publish.changelogMissing" | "approval.publish.targetAuto" | "approval.publish.targetTeam" | "approval.publish.targetPublic" | "approval.publish.targetTarball" | "approval.publish.targetGit" | "approval.publish.targetMarket" | "approval.publish.targetLocal" | "approval.market.source" | "approval.market.url" | "approval.market.action" | "approval.market.policy" | "approval.market.enable" | "approval.market.disable" | "approval.market.writable" | "approval.market.readOnly" | "approval.market.reading" | "markdown.copy" | "markdown.copied" | "markdown.footnotes" | "card.chatFailed" | "longTask.act.open" | "longTask.act.copy" | "longTask.handled" | "longTask.submit" | "longTask.login" | "longTask.steps" | "longTask.stop" | "longTask.stopConfirm" | "longTask.stopArmed", string>;
1047
1058
  };
1048
1059
  /** 中文词表的键类型(从 `zh.ts` 转出):`en` 与模块词表都得覆盖同一批键。 */
1049
1060
  export type { WorkbenchMessages };
package/dist/i18n/zh.d.ts CHANGED
@@ -203,7 +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
+ readonly 'panels.market.selfUpdateNeedsHost': "更新失败:这个版本要求 {host} {version} 或更高,当前为 {runtime}。";
207
207
  readonly 'panels.market.selfUpdateBusy': "上一次更新尚未结束,请等待结束后再更新。";
208
208
  readonly 'panels.market.selfUpdateReinstallFailed': "依赖重新安装失败,请重启工作台后重试;如果仍然失败,请按终端中的提示手动安装。";
209
209
  readonly 'panels.market.selfUpdateReinstallStopped': "依赖自动安装连续失败,请按终端中的提示手动安装。";
@@ -269,6 +269,7 @@ export declare const zh: {
269
269
  readonly 'panels.market.needLib': "请先安装库 {name}。";
270
270
  readonly 'panels.market.localMark': "本地";
271
271
  readonly 'panels.market.noSource': "这个模块没有声明安装方式,只能手动处理。";
272
+ readonly 'panels.market.needBuiltinMissing': "这个模块声明的依赖有问题:需要模块作者修复(或等模块更新)。";
272
273
  readonly 'panels.market.badSource': "安装方式不完整,只能手动处理。";
273
274
  readonly 'panels.market.empty': "还没有可安装的模块。请添加模块来源或刷新后重试。";
274
275
  readonly 'panels.market.updateAllPlugins': "全部更新";
@@ -328,7 +329,9 @@ export declare const zh: {
328
329
  readonly 'panels.market.configDriftedNote': "工作台配置记录的是 {declared},实际安装的是 {installed}。请点击「更新」按配置记录的版本重新安装。";
329
330
  readonly 'panels.market.olderOnDiskNote': "已安装 {installed},正在运行 {running}。请先更新再重启;直接重启会运行 {installed}。";
330
331
  readonly 'panels.market.updateNeedsWorkbench': "这个版本需要先升级工作台。";
331
- readonly 'panels.market.updateNeedsDsh': "这个版本需要 {dsh},当前 dsh 为 {runtime}。";
332
+ readonly 'panels.market.needsHostVersion': "这个版本要求 {host} {version} 或更高,当前为 {runtime}。";
333
+ readonly 'panels.market.needsHostAction.desktop': "更新 DeepSeek Harness 后再试。";
334
+ readonly 'panels.market.needsHostAction.dsh': "升级 dsh 后重启再试。";
332
335
  readonly 'panels.market.updateIncompatible': "新版本与当前工作台不匹配,暂时无法更新。";
333
336
  readonly 'panels.market.updateUnverified': "兼容性尚未验证,更新可能失败。";
334
337
  readonly 'panels.market.moduleRefused': "模块版本与工作台不匹配,暂时无法使用";
@@ -443,7 +446,6 @@ export declare const zh: {
443
446
  readonly 'panels.market.add.failureModuleRow': "模块已安装到工作台配置,但工作台配置里的模块清单没有更新,因此还不会加载。请修好这份清单,再重启工作台。";
444
447
  readonly 'panels.market.add.failureModuleRowRemove': "模块已从工作台配置移除,但模块清单没有更新。请修好这份清单,再重启工作台。";
445
448
  readonly 'panels.market.add.failureNoProfileDir': "找不到这份工作台配置的目录,无法安装模块。请在工作台设置里检查配置目录,或重新安装工作台。";
446
- readonly 'panels.market.add.failureIncompatible': "这个版本需要 {dsh},当前 dsh 为 {runtime}。请先升级 dsh 再安装。";
447
449
  readonly 'panels.market.add.failureCredentials': "这个仓库需要凭证,本机没有它的 git 凭据。请先在终端中执行一次 clone,并配置凭据助手,或改用 SSH 地址后重试。";
448
450
  readonly 'panels.market.approve.title': "安装脚本需要批准";
449
451
  readonly 'panels.market.approve.caution': "请只批准可信的包。安装脚本会以你的权限在这台机器上运行。";
@@ -652,6 +654,7 @@ export declare const zh: {
652
654
  readonly 'panels.market.add.removed': "已移除。";
653
655
  readonly 'panels.market.add.supplyPending': "该模块所需的插件会在重启后安装。";
654
656
  readonly 'panels.market.add.supplyFailed': "该模块所需的插件未安装:{reason}";
657
+ readonly 'panels.market.add.problemBuiltinMissing': "这个模块声明的依赖有问题:需要模块作者修复(或等模块更新)。";
655
658
  readonly 'panels.market.add.notModule': "这不是工作台模块(没有 dsh.workbench 声明),不会出现在面板上。";
656
659
  readonly 'panels.market.add.removedRestart': "已卸载,重启后彻底生效。";
657
660
  readonly 'panels.market.add.remove': "移除它";
@@ -757,6 +760,14 @@ export declare const zh: {
757
760
  readonly 'env.diy.noRow': "启动检查没有在 dsh 的模式列表中找到「工作台 DIY 模式」,多半是这次工作台安装没有包含对应的模式补丁。";
758
761
  readonly 'env.diy.step': "升级 dsh,然后重启一次工作台:";
759
762
  readonly 'env.diy.continue': "先进入工作台";
763
+ readonly 'env.step.hostVersion': "检查 {host} 版本";
764
+ readonly 'env.hostVersion.newer': "未验证";
765
+ readonly 'env.hostVersion.older': "版本过低";
766
+ readonly 'env.hostVersion.newer.why': "{host} 的版本是 {runtime},工作台在 {verified} 上验证过。可以继续使用。如果模块或面板显示异常,请升级工作台。";
767
+ readonly 'env.hostVersion.older.why': "工作台需要 {host} {verified} 或更高,这台机器上是 {runtime}。请升级 {host},然后重启。";
768
+ readonly 'env.hostVersion.older.step': "升级 {host},然后重启:";
769
+ readonly 'env.hostVersion.recover': "如果工作台一直打不开,可以把它从这份工作台配置里去掉,再重启 {host}。";
770
+ readonly 'env.hostVersion.recover.detail': "从 package.json 的 dsh.profile.bundles 里删除 @dsh-workbench/core。";
760
771
  readonly 'env.copyCommand': "复制命令";
761
772
  readonly 'env.copied': "已复制";
762
773
  readonly 'env.step.toolchain': "检查运行环境";