@deepseek-harness-tui/dsh-tui 0.18.0 → 0.19.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 (209) hide show
  1. package/README.md +35 -10
  2. package/bin/dsh-tui.js +46 -3
  3. package/guide/dsh-tui-guide/codex-backend.en.md +2 -2
  4. package/guide/dsh-tui-guide/codex-backend.md +2 -2
  5. package/guide/dsh-tui-guide/configuration.en.md +7 -2
  6. package/guide/dsh-tui-guide/configuration.md +7 -2
  7. package/guide/dsh-tui-guide/getting-started.en.md +168 -4
  8. package/guide/dsh-tui-guide/getting-started.md +121 -14
  9. package/guide/dsh-tui-guide/interaction.en.md +11 -10
  10. package/guide/dsh-tui-guide/interaction.md +5 -4
  11. package/guide/dsh-tui-guide/user-guide.en.md +6 -5
  12. package/guide/dsh-tui-guide/user-guide.md +6 -5
  13. package/lib/settings.json +1 -1
  14. package/lib/types/adapter/ports/channel-ui.d.ts +10 -7
  15. package/lib/types/adapter/ports/channel-ui.d.ts.map +1 -1
  16. package/lib/types/adapter/ports/channel-view.d.ts +28 -5
  17. package/lib/types/adapter/ports/channel-view.d.ts.map +1 -1
  18. package/lib/types/agent/events.d.ts +12 -5
  19. package/lib/types/agent/events.d.ts.map +1 -1
  20. package/lib/types/agent/session.d.ts +5 -0
  21. package/lib/types/agent/session.d.ts.map +1 -1
  22. package/lib/types/backends/claude/translate/core.d.ts +2 -2
  23. package/lib/types/backends/claude/translate/core.d.ts.map +1 -1
  24. package/lib/types/backends/claude/translate/core.js +10 -6
  25. package/lib/types/backends/codex/session/commands.d.ts +2 -0
  26. package/lib/types/backends/codex/session/commands.d.ts.map +1 -1
  27. package/lib/types/backends/codex/session/commands.js +8 -4
  28. package/lib/types/backends/codex/session/input.d.ts +11 -7
  29. package/lib/types/backends/codex/session/input.d.ts.map +1 -1
  30. package/lib/types/backends/codex/session/input.js +68 -15
  31. package/lib/types/backends/codex/session/session.d.ts.map +1 -1
  32. package/lib/types/backends/codex/session/session.js +2 -3
  33. package/lib/types/channel/projection.d.ts.map +1 -1
  34. package/lib/types/channel/projection.js +78 -10
  35. package/lib/types/channel/questions.d.ts +19 -3
  36. package/lib/types/channel/questions.d.ts.map +1 -1
  37. package/lib/types/channel/sanitize.d.ts.map +1 -1
  38. package/lib/types/channel/sanitize.js +8 -4
  39. package/lib/types/channel/subagent-failure.d.ts +49 -0
  40. package/lib/types/channel/subagent-failure.d.ts.map +1 -0
  41. package/lib/types/channel/subagent-failure.js +59 -0
  42. package/lib/types/channel/transcript.d.ts +17 -0
  43. package/lib/types/channel/transcript.d.ts.map +1 -1
  44. package/lib/types/channel/transcript.js +35 -0
  45. package/lib/types/commands.js +1 -1
  46. package/lib/types/components/MessageList.d.ts.map +1 -1
  47. package/lib/types/components/MessageList.js +11 -7
  48. package/lib/types/components/PromptInput.d.ts.map +1 -1
  49. package/lib/types/components/PromptInput.js +61 -6
  50. package/lib/types/components/SubagentDashboard.d.ts.map +1 -1
  51. package/lib/types/components/SubagentDashboard.js +7 -1
  52. package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -1
  53. package/lib/types/components/messages/AssistantToolUseMessage.js +5 -2
  54. package/lib/types/components/questions/AskUserQuestionPanel.d.ts +5 -8
  55. package/lib/types/components/questions/AskUserQuestionPanel.d.ts.map +1 -1
  56. package/lib/types/components/questions/AskUserQuestionPanel.js +7 -4
  57. package/lib/types/components/questions/PlanReviewPanel.d.ts +3 -6
  58. package/lib/types/components/questions/PlanReviewPanel.d.ts.map +1 -1
  59. package/lib/types/components/revealScope.d.ts +15 -0
  60. package/lib/types/components/revealScope.d.ts.map +1 -0
  61. package/lib/types/components/revealScope.js +17 -0
  62. package/lib/types/components/sidePanel/btw/BtwComposer.d.ts +34 -1
  63. package/lib/types/components/sidePanel/btw/BtwComposer.d.ts.map +1 -1
  64. package/lib/types/components/sidePanel/btw/BtwComposer.js +108 -7
  65. package/lib/types/components/sidePanel/btw/BtwPanelAdapter.d.ts.map +1 -1
  66. package/lib/types/components/sidePanel/btw/BtwPanelAdapter.js +1 -1
  67. package/lib/types/components/sidePanel/btw/BtwThreadScene.d.ts.map +1 -1
  68. package/lib/types/components/sidePanel/btw/BtwThreadScene.js +1 -1
  69. package/lib/types/components/smoothReveal.d.ts +36 -6
  70. package/lib/types/components/smoothReveal.d.ts.map +1 -1
  71. package/lib/types/components/smoothReveal.js +92 -21
  72. package/lib/types/components/workspaces/HomeWorkspaceRow.d.ts +4 -14
  73. package/lib/types/components/workspaces/HomeWorkspaceRow.d.ts.map +1 -1
  74. package/lib/types/components/workspaces/HomeWorkspaceRow.js +26 -17
  75. package/lib/types/dsh-adapter/backend/session.d.ts.map +1 -1
  76. package/lib/types/dsh-adapter/backend/session.js +12 -0
  77. package/lib/types/dsh-adapter/backend/translate.d.ts.map +1 -1
  78. package/lib/types/dsh-adapter/backend/translate.js +6 -1
  79. package/lib/types/dsh-adapter/channel/attached-context.d.ts +15 -2
  80. package/lib/types/dsh-adapter/channel/attached-context.d.ts.map +1 -1
  81. package/lib/types/dsh-adapter/channel/attached-context.js +26 -3
  82. package/lib/types/dsh-adapter/channel/binding-events.d.ts +3 -0
  83. package/lib/types/dsh-adapter/channel/binding-events.d.ts.map +1 -1
  84. package/lib/types/dsh-adapter/channel/binding-events.js +43 -2
  85. package/lib/types/dsh-adapter/channel/context-bookkeeping.d.ts +2 -6
  86. package/lib/types/dsh-adapter/channel/context-bookkeeping.d.ts.map +1 -1
  87. package/lib/types/dsh-adapter/channel/context-bookkeeping.js +7 -1
  88. package/lib/types/dsh-adapter/channel/core/compose.d.ts +2 -6
  89. package/lib/types/dsh-adapter/channel/core/compose.d.ts.map +1 -1
  90. package/lib/types/dsh-adapter/channel/core/compose.js +1 -1
  91. package/lib/types/dsh-adapter/channel/core/local-actions.d.ts.map +1 -1
  92. package/lib/types/dsh-adapter/channel/core/local-actions.js +3 -26
  93. package/lib/types/dsh-adapter/channel/emitter.js +1 -1
  94. package/lib/types/dsh-adapter/channel/extensions.d.ts.map +1 -1
  95. package/lib/types/dsh-adapter/channel/extensions.js +8 -0
  96. package/lib/types/dsh-adapter/channel/input-actions.d.ts +2 -2
  97. package/lib/types/dsh-adapter/channel/input-actions.d.ts.map +1 -1
  98. package/lib/types/dsh-adapter/channel/input-actions.js +34 -10
  99. package/lib/types/dsh-adapter/channel/input-delivery.d.ts +3 -7
  100. package/lib/types/dsh-adapter/channel/input-delivery.d.ts.map +1 -1
  101. package/lib/types/dsh-adapter/channel/input-delivery.js +14 -5
  102. package/lib/types/dsh-adapter/channel/model-actions.d.ts +4 -1
  103. package/lib/types/dsh-adapter/channel/model-actions.d.ts.map +1 -1
  104. package/lib/types/dsh-adapter/channel/model-actions.js +26 -9
  105. package/lib/types/dsh-adapter/channel/model-selection.d.ts +27 -2
  106. package/lib/types/dsh-adapter/channel/model-selection.d.ts.map +1 -1
  107. package/lib/types/dsh-adapter/channel/model-selection.js +81 -37
  108. package/lib/types/dsh-adapter/channel/model-switch.d.ts +1 -1
  109. package/lib/types/dsh-adapter/channel/model-switch.d.ts.map +1 -1
  110. package/lib/types/dsh-adapter/channel/session-rewind.d.ts.map +1 -1
  111. package/lib/types/dsh-adapter/channel/session-rewind.js +6 -2
  112. package/lib/types/dsh-adapter/channel/session-tree-actions.d.ts.map +1 -1
  113. package/lib/types/dsh-adapter/channel/session-tree-actions.js +8 -4
  114. package/lib/types/dsh-adapter/channel/settings-host.d.ts.map +1 -1
  115. package/lib/types/dsh-adapter/channel/settings-host.js +6 -3
  116. package/lib/types/dsh-adapter/channel/transcript.d.ts +3 -2
  117. package/lib/types/dsh-adapter/channel/transcript.d.ts.map +1 -1
  118. package/lib/types/dsh-adapter/channel/transcript.js +13 -4
  119. package/lib/types/dsh-adapter/channel/types.d.ts +11 -2
  120. package/lib/types/dsh-adapter/channel/types.d.ts.map +1 -1
  121. package/lib/types/dsh-adapter/contract.d.ts +26 -3
  122. package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
  123. package/lib/types/dsh-adapter/contract.js +44 -5
  124. package/lib/types/dsh-adapter/fresh-agent.d.ts +1 -1
  125. package/lib/types/dsh-adapter/fresh-agent.d.ts.map +1 -1
  126. package/lib/types/dsh-adapter/fresh-agent.js +60 -11
  127. package/lib/types/dsh-adapter/host-access.d.ts.map +1 -1
  128. package/lib/types/dsh-adapter/host-access.js +60 -11
  129. package/lib/types/dsh-adapter/host-contract.d.ts +1 -1
  130. package/lib/types/dsh-adapter/host-contract.d.ts.map +1 -1
  131. package/lib/types/dsh-adapter/host-contract.js +4 -2
  132. package/lib/types/dsh-adapter/host-dsh.d.ts +0 -8
  133. package/lib/types/dsh-adapter/host-dsh.d.ts.map +1 -1
  134. package/lib/types/dsh-adapter/host-dsh.js +27 -6
  135. package/lib/types/dsh-adapter/host-entry.js +4 -0
  136. package/lib/types/dsh-adapter/oauth/profiles.d.ts.map +1 -1
  137. package/lib/types/dsh-adapter/oauth/profiles.js +14 -1
  138. package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
  139. package/lib/types/dsh-adapter/plugin.js +143 -44
  140. package/lib/types/dsh-adapter/presets.d.ts +38 -11
  141. package/lib/types/dsh-adapter/presets.d.ts.map +1 -1
  142. package/lib/types/dsh-adapter/presets.js +46 -17
  143. package/lib/types/dsh-adapter/process-exit.d.ts +1 -1
  144. package/lib/types/dsh-adapter/process-exit.js +1 -1
  145. package/lib/types/dsh-adapter/questions.d.ts +3 -4
  146. package/lib/types/dsh-adapter/questions.d.ts.map +1 -1
  147. package/lib/types/dsh-adapter/questions.js +1 -1
  148. package/lib/types/dsh-adapter/session-list-metadata.js +2 -2
  149. package/lib/types/dsh-adapter/subagents.d.ts +5 -0
  150. package/lib/types/dsh-adapter/subagents.d.ts.map +1 -1
  151. package/lib/types/dsh-adapter/subagents.js +22 -1
  152. package/lib/types/dsh-adapter/team-mode.d.ts +17 -10
  153. package/lib/types/dsh-adapter/team-mode.d.ts.map +1 -1
  154. package/lib/types/dsh-adapter/team-mode.js +19 -12
  155. package/lib/types/dsh-adapter/tool-scope.d.ts +24 -0
  156. package/lib/types/dsh-adapter/tool-scope.d.ts.map +1 -0
  157. package/lib/types/dsh-adapter/tool-scope.js +127 -0
  158. package/lib/types/dsh-adapter/types.d.ts +2 -1
  159. package/lib/types/dsh-adapter/types.d.ts.map +1 -1
  160. package/lib/types/heldInputs.d.ts +55 -16
  161. package/lib/types/heldInputs.d.ts.map +1 -1
  162. package/lib/types/heldInputs.js +277 -41
  163. package/lib/types/i18n.d.ts +227 -11
  164. package/lib/types/i18n.d.ts.map +1 -1
  165. package/lib/types/i18n.js +60 -5
  166. package/lib/types/ink/components/App.d.ts +2 -0
  167. package/lib/types/ink/components/App.d.ts.map +1 -1
  168. package/lib/types/ink/components/App.js +8 -0
  169. package/lib/types/ink/events/input-event.d.ts.map +1 -1
  170. package/lib/types/ink/events/input-event.js +7 -6
  171. package/lib/types/ink/hit-test.d.ts +2 -0
  172. package/lib/types/ink/hit-test.d.ts.map +1 -1
  173. package/lib/types/ink/hit-test.js +10 -0
  174. package/lib/types/ink/hooks/use-program-status.d.ts +1 -1
  175. package/lib/types/ink/hooks/use-program-status.d.ts.map +1 -1
  176. package/lib/types/ink/hooks/use-program-status.js +3 -2
  177. package/lib/types/ink/ink.d.ts +1 -0
  178. package/lib/types/ink/ink.d.ts.map +1 -1
  179. package/lib/types/ink/ink.js +5 -2
  180. package/lib/types/ink/parse-keypress.d.ts.map +1 -1
  181. package/lib/types/ink/parse-keypress.js +25 -0
  182. package/lib/types/ink/terminal.d.ts +13 -2
  183. package/lib/types/ink/terminal.d.ts.map +1 -1
  184. package/lib/types/ink/terminal.js +29 -5
  185. package/lib/types/screens/Chat.d.ts.map +1 -1
  186. package/lib/types/screens/Chat.js +43 -2
  187. package/lib/types/screens/SessionSupervisor.d.ts +3 -6
  188. package/lib/types/screens/SessionSupervisor.d.ts.map +1 -1
  189. package/lib/types/screens/SessionSupervisor.js +5 -8
  190. package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.d.ts +1 -2
  191. package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.d.ts.map +1 -1
  192. package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.js +2 -2
  193. package/lib/types/screens/sessionSupervisor/model.d.ts +1 -1
  194. package/lib/types/screens/sessionSupervisor/model.js +1 -1
  195. package/lib/types/sessionMounts.d.ts +12 -5
  196. package/lib/types/sessionMounts.d.ts.map +1 -1
  197. package/lib/types/sessionMounts.js +33 -6
  198. package/lib/types/update.d.ts +412 -20
  199. package/lib/types/update.d.ts.map +1 -1
  200. package/lib/types/update.js +2094 -193
  201. package/lib/types/updateHost.d.ts +198 -0
  202. package/lib/types/updateHost.d.ts.map +1 -0
  203. package/lib/types/updateHost.js +608 -0
  204. package/lib/types/utils/processName.d.ts +16 -0
  205. package/lib/types/utils/processName.d.ts.map +1 -0
  206. package/lib/types/utils/processName.js +27 -0
  207. package/package.json +111 -108
  208. package/tui-profile/feed/README.md +1 -1
  209. package/tui-profile/feed/first-party.json +1 -1
@@ -1261,6 +1261,10 @@ declare const dict: {
1261
1261
  readonly zh: "…(命令输出已截断:最多 200 行、65536 个 UTF-16 码元、每行 4000 显示单元)";
1262
1262
  readonly en: "… (command output truncated: 200 lines, 65536 UTF-16 code units, 4000 cells per line)";
1263
1263
  };
1264
+ readonly 'command-output-title': {
1265
+ readonly zh: "命令输出";
1266
+ readonly en: "Command output";
1267
+ };
1264
1268
  readonly 'context-truncated': {
1265
1269
  readonly zh: "…(已截断)";
1266
1270
  readonly en: "… (truncated)";
@@ -1642,8 +1646,8 @@ declare const dict: {
1642
1646
  readonly en: "Pick a directory and add it to the list";
1643
1647
  };
1644
1648
  readonly 'home-workspace-missing': {
1645
- readonly zh: "目录不存在";
1646
- readonly en: "directory missing";
1649
+ readonly zh: "缺失";
1650
+ readonly en: "gone";
1647
1651
  };
1648
1652
  readonly 'home-no-workspaces': {
1649
1653
  readonly zh: "还没有工作区 · 在任意目录启动 dsh-tui 即可自动加入";
@@ -1733,6 +1737,10 @@ declare const dict: {
1733
1737
  readonly zh: "仅历史";
1734
1738
  readonly en: "History only";
1735
1739
  };
1740
+ readonly 'supervisor-history-only-short': {
1741
+ readonly zh: "历史";
1742
+ readonly en: "Hist";
1743
+ };
1736
1744
  readonly 'supervisor-workspace-groups': {
1737
1745
  readonly zh: "工作区 {{registered}} · 历史目录 {{history}}";
1738
1746
  readonly en: "Workspaces {{registered}} · History {{history}}";
@@ -2334,12 +2342,8 @@ declare const dict: {
2334
2342
  readonly en: "Updating @deepseek-harness-tui/dsh-tui. The TUI will restart and resume this session when finished…";
2335
2343
  };
2336
2344
  readonly 'update-available': {
2337
- readonly zh: "发现新版本:v{{latest}}(当前 v{{current}})· 输入 /update 更新 TUI";
2338
- readonly en: "New version available: v{{latest}} (current v{{current}}) · type /update to update the TUI";
2339
- };
2340
- readonly 'update-already-latest': {
2341
- readonly zh: "当前已是最新版本(v{{current}})。";
2342
- readonly en: "Already on the latest version (v{{current}}).";
2345
+ readonly zh: "发现新版本:v{{latest}}(当前 v{{current}})· 输入 /update 一次性对齐 TUI、dsh 引擎与启动器";
2346
+ readonly en: "New version available: v{{latest}} (current v{{current}}) · type /update to align the TUI, dsh engine and launcher together";
2343
2347
  };
2344
2348
  readonly 'update-check-failed': {
2345
2349
  readonly zh: "无法确认新版本(网络或 registry 不可达),已尝试直接更新……";
@@ -2365,6 +2369,210 @@ declare const dict: {
2365
2369
  readonly zh: "正在下载便携包新版本并自动替换,完成后会自动重启并恢复当前会话……";
2366
2370
  readonly en: "Downloading and replacing standalone binary. The TUI will restart and resume this session when finished…";
2367
2371
  };
2372
+ readonly 'update-plan-starting': {
2373
+ readonly zh: "即将对齐:{{layers}}。完成后会自动重启并恢复当前会话……";
2374
+ readonly en: "Aligning: {{layers}}. The TUI will restart and resume this session when finished…";
2375
+ };
2376
+ readonly 'update-cli-starting': {
2377
+ readonly zh: "即将对齐:{{layers}}。";
2378
+ readonly en: "Aligning: {{layers}}.";
2379
+ };
2380
+ readonly 'update-plan-empty': {
2381
+ readonly zh: "已成套最新:{{layers}}。";
2382
+ readonly en: "Everything is already aligned: {{layers}}.";
2383
+ };
2384
+ readonly 'update-plan-idle': {
2385
+ readonly zh: "TUI 已是最新({{current}});{{reason}},本次未做改动。";
2386
+ readonly en: "The TUI is already current ({{current}}); {{reason}} — nothing was changed this time.";
2387
+ };
2388
+ readonly 'update-plan-manual-title': {
2389
+ readonly zh: "引擎需要手动对齐";
2390
+ readonly en: "Engine alignment needs a manual step";
2391
+ };
2392
+ readonly 'update-plan-manual': {
2393
+ readonly zh: "TUI 已是最新({{current}});{{reason}},本次未做改动。请手动执行:\n {{command}}";
2394
+ readonly en: "The TUI is already current ({{current}}); {{reason}} — nothing was changed this time. Run this manually:\n {{command}}";
2395
+ };
2396
+ readonly 'update-plan-manual-toast': {
2397
+ readonly zh: "TUI 已最新;引擎无法自动对齐,完整修复指引已写入会话。";
2398
+ readonly en: "The TUI is current; the engine cannot be aligned automatically — the full repair guidance is in the transcript.";
2399
+ };
2400
+ readonly 'update-plan-newer-title': {
2401
+ readonly zh: "dsh 有新版本尚未纳入验证";
2402
+ readonly en: "A newer dsh release is outside the validated line";
2403
+ };
2404
+ readonly 'update-plan-newer': {
2405
+ readonly zh: "当前 TUI({{tui}})声明的 dsh 范围是 {{range}};registry 上已有 dsh {{newer}},但该 TUI 版本尚未声明支持它,因此本次没有改动引擎。等 dsh-tui 适配后重新 /update 即可;这不是安装失败,无需手工安装。";
2406
+ readonly en: "The current TUI ({{tui}}) declares dsh {{range}}; dsh {{newer}} is already on the registry, but this TUI release does not declare support for it yet, so this run left the engine untouched. Run /update again once a dsh-tui release adds support — this is not an install failure, and no manual install is needed.";
2407
+ };
2408
+ readonly 'update-plan-newer-toast': {
2409
+ readonly zh: "dsh {{newer}} 已发布,但尚未纳入本 TUI 的验证范围;原因已写入会话。";
2410
+ readonly en: "dsh {{newer}} is published but outside this TUI’s validated line; the reason is in the transcript.";
2411
+ };
2412
+ readonly 'update-plan-blocked': {
2413
+ readonly zh: "已取消更新:新 TUI({{tui}})支持的 dsh 范围是 {{range}},当前 dsh 为 {{current}},且引擎无法自动升级。原因:{{reason}}。";
2414
+ readonly en: "Update cancelled: the new TUI ({{tui}}) supports dsh {{range}}, but the current dsh is {{current}} and the engine cannot be upgraded automatically. Why: {{reason}}.";
2415
+ };
2416
+ readonly 'update-plan-blocked-engine-first': {
2417
+ readonly zh: "已取消更新:官方插件管理器用「当前」引擎校验新 TUI({{tui}}),它只接受 dsh {{range}},而当前是 {{current}};引擎升级排在 TUI 之后,所以这次安装必然被拒绝。先把引擎对齐,再重新 /update,TUI 与启动器会自动跟上。";
2418
+ readonly en: "Update cancelled: the official plugin manager validates the new TUI ({{tui}}) against the CURRENT engine; it accepts dsh {{range}}, but this engine is {{current}}. The engine step runs after the TUI, so that install would always be rejected. Align the engine first, then rerun /update — the TUI and launcher follow automatically.";
2419
+ };
2420
+ readonly 'update-plan-blocked-title': {
2421
+ readonly zh: "更新已取消:新 TUI {{tui}} 需要更新的 dsh";
2422
+ readonly en: "Update cancelled: the new TUI ({{tui}}) needs a newer dsh";
2423
+ };
2424
+ readonly 'update-plan-blocked-toast': {
2425
+ readonly zh: "更新已取消:新 TUI {{tui}} 需要更新的 dsh;完整说明已写入会话。";
2426
+ readonly en: "Update cancelled: the new TUI ({{tui}}) needs a newer dsh; the full explanation is in the transcript.";
2427
+ };
2428
+ readonly 'update-plan-blocked-next-retry': {
2429
+ readonly zh: "这是 registry 查询失败,不代表版本不兼容;网络或镜像恢复后重新 /update 即可。\n 若现在就要安装:{{command}}";
2430
+ readonly en: "The registry lookup failed; this is not a compatibility verdict. Retry /update once the network or mirror is reachable.\n To install now anyway: {{command}}";
2431
+ };
2432
+ readonly 'update-plan-blocked-next-wait': {
2433
+ readonly zh: "该范围要求的 dsh 版本尚未发布;等 dsh 发布后重新 /update 即可,无需手工安装。";
2434
+ readonly en: "The dsh release this range requires is not published yet; run /update again after it ships. No manual install is needed.";
2435
+ };
2436
+ readonly 'update-plan-blocked-next-switch': {
2437
+ readonly zh: "引擎自动安装被 DSH_TUI_UPDATE_ENGINE=0 关闭;去掉该开关重新 /update,或现在手动执行:\n {{command}}";
2438
+ readonly en: "Engine auto-install is switched off by DSH_TUI_UPDATE_ENGINE=0. Drop that switch and rerun /update, or install manually now:\n {{command}}";
2439
+ };
2440
+ readonly 'update-plan-blocked-next-repair': {
2441
+ readonly zh: "这是全局 dsh 安装本身的问题(见上);修复后重新 /update,或现在手动执行:\n {{command}}";
2442
+ readonly en: "The global dsh install itself is the problem (see above). Fix it and rerun /update, or install manually now:\n {{command}}";
2443
+ };
2444
+ readonly 'update-plan-blocked-next-engine-first': {
2445
+ readonly zh: "先升级引擎,然后重新 /update:\n {{command}}";
2446
+ readonly en: "Upgrade the engine first, then rerun /update:\n {{command}}";
2447
+ };
2448
+ readonly 'update-plan-blocked-too-new': {
2449
+ readonly zh: "已取消更新:新 TUI({{tui}})的 dsh 范围最高到 {{range}},当前 dsh({{current}})比它新;不会降级,也不会安装未验证的组合。等 dsh-tui 适配该引擎后再 /update。";
2450
+ readonly en: "Update cancelled: the new TUI ({{tui}}) declares dsh up to {{range}}, but the current dsh ({{current}}) is newer. This tool never downgrades and will not install an unvalidated combination. Run /update again after a dsh-tui release supports this engine.";
2451
+ };
2452
+ readonly 'update-plan-blocked-too-new-title': {
2453
+ readonly zh: "更新已取消:新 TUI {{tui}} 尚未声明支持当前更新的 dsh";
2454
+ readonly en: "Update cancelled: the new TUI ({{tui}}) does not declare support for your newer dsh";
2455
+ };
2456
+ readonly 'update-plan-blocked-too-new-toast': {
2457
+ readonly zh: "更新已取消:新 TUI {{tui}} 尚未声明支持当前更新的 dsh;完整说明已写入会话。";
2458
+ readonly en: "Update cancelled: the new TUI ({{tui}}) does not declare support for your newer dsh; the full explanation is in the transcript.";
2459
+ };
2460
+ readonly 'update-plan-blocked-next-too-new': {
2461
+ readonly zh: "目标 TUI 尚未声明支持这个更新的 dsh;等 dsh-tui 适配后重新 /update 即可,不要降级。";
2462
+ readonly en: "This TUI release does not declare support for the newer dsh yet; rerun /update after a dsh-tui release adds it. Do not downgrade.";
2463
+ };
2464
+ readonly 'update-launcher-unresolved': {
2465
+ readonly zh: "无法确认全局启动器的位置";
2466
+ readonly en: "the global launcher could not be located";
2467
+ };
2468
+ readonly 'update-launcher-disabled': {
2469
+ readonly zh: "全局启动器对齐已被 DSH_TUI_UPDATE_LAUNCHER=0 跳过";
2470
+ readonly en: "global launcher alignment is skipped by DSH_TUI_UPDATE_LAUNCHER=0";
2471
+ };
2472
+ readonly 'update-launcher-unsafe-restart': {
2473
+ readonly zh: "dsh 引擎已推进到 {{version}},但全局启动器对齐失败——旧启动器与新引擎可能无法加载更新后的 profile,本次不重启。请先对齐启动器,再手动启动:\n {{command}}";
2474
+ readonly en: "The dsh engine advanced to {{version}}, but global launcher alignment failed — the old launcher and new engine may not load the updated profile; not restarting. Align the launcher before starting again:\n {{command}}";
2475
+ };
2476
+ readonly 'update-tui-already-current': {
2477
+ readonly zh: "dsh-tui 已是最新({{version}}),继续对齐引擎与启动器……";
2478
+ readonly en: "dsh-tui is already current ({{version}}); aligning the engine and launcher…";
2479
+ };
2480
+ readonly 'update-engine-starting': {
2481
+ readonly zh: "正在对齐 dsh 引擎:{{from}} → {{to}}……";
2482
+ readonly en: "Aligning the dsh engine: {{from}} → {{to}}…";
2483
+ };
2484
+ readonly 'update-engine-failed': {
2485
+ readonly zh: "dsh 引擎未对齐(退出码 {{code}}),正在检查现有引擎是否仍可启动……若为网络或镜像原因,可稍后重新 /update;否则手动修复:\n {{command}}";
2486
+ readonly en: "The dsh engine was not aligned (exit {{code}}); checking whether the existing engine still starts… For a network or mirror failure, retry /update later; otherwise repair manually:\n {{command}}";
2487
+ };
2488
+ readonly 'update-engine-unverified': {
2489
+ readonly zh: "dsh 引擎安装后版本校验未通过(期望 {{expected}},读到 {{installed}})。手动修复:\n {{command}}";
2490
+ readonly en: "The dsh engine install failed its version check (expected {{expected}}, read {{installed}}). Repair manually:\n {{command}}";
2491
+ };
2492
+ readonly 'update-engine-skip-title': {
2493
+ readonly zh: "dsh {{version}} 未对齐";
2494
+ readonly en: "dsh {{version}} was not aligned";
2495
+ };
2496
+ readonly 'update-engine-skip': {
2497
+ readonly zh: "{{reason}}。更新会继续;稍后重试 /update 即可。";
2498
+ readonly en: "{{reason}}. The update continues; retry /update later.";
2499
+ };
2500
+ readonly 'update-engine-skip-manual': {
2501
+ readonly zh: "{{reason}}。更新会继续;请手动对齐引擎:\n {{command}}";
2502
+ readonly en: "{{reason}}. The update continues; align the engine manually:\n {{command}}";
2503
+ };
2504
+ readonly 'update-engine-skip-toast': {
2505
+ readonly zh: "dsh 引擎未对齐,完整指引已写入会话。";
2506
+ readonly en: "The dsh engine was not aligned; the full guidance is in the transcript.";
2507
+ };
2508
+ readonly 'update-engine-failure-tolerated': {
2509
+ readonly zh: "现有 dsh {{current}} 仍可启动,且在目标 TUI 支持的 {{range}} 内;继续。";
2510
+ readonly en: "The existing dsh {{current}} still starts and is within the target TUI’s supported {{range}}; continuing.";
2511
+ };
2512
+ readonly 'update-engine-unsafe-restart': {
2513
+ readonly zh: "引擎步骤失败,且无法证明现有 dsh 仍可启动(入口进程启动失败,`dsh --version` 也跑不通)——为避免重启到半损坏的引擎,本次不重启。当前 dsh:{{current}};目标范围:{{range}}。请先修复引擎(Windows 上可先执行 `dsh-tui update`):\n {{command}}";
2514
+ readonly en: "The engine step failed and the existing dsh cannot be proven bootable (its entry point failed to start and `dsh --version` did not run) — not restarting into a half-written engine. Current dsh: {{current}}; target range: {{range}}. Repair the engine first (on Windows, `dsh-tui update` is the clean path):\n {{command}}";
2515
+ };
2516
+ readonly 'update-engine-entry-unresolved': {
2517
+ readonly zh: "引擎安装已结束,但无法确认可启动的 dsh JS 入口——为避免执行已删除的旧安装路径,本次不重启。当前 dsh:{{current}};目标范围:{{range}}。请先修复引擎:\n {{command}}";
2518
+ readonly en: "The engine install finished, but a bootable dsh JS entry could not be confirmed — not restarting through a stale install path. Current dsh: {{current}}; target range: {{range}}. Repair the engine first:\n {{command}}";
2519
+ };
2520
+ readonly 'update-engine-path-mismatch': {
2521
+ readonly zh: "dsh 引擎已装到目标前缀,但 PATH 上的 `dsh --version` 仍报告 {{cli}}(期望 {{expected}})——下一次启动可能仍用旧引擎。请检查 PATH,或手动执行:\n {{command}}";
2522
+ readonly en: "The dsh engine landed in the target prefix, but `dsh --version` on PATH still reports {{cli}} (expected {{expected}}) — the next launch may still use the old engine. Check PATH, or run:\n {{command}}";
2523
+ };
2524
+ readonly 'update-engine-not-advanced': {
2525
+ readonly zh: "dsh 引擎更新后版本没有前进(仍为 {{now}},原为 {{from}});请执行 {{command}} 后重试。";
2526
+ readonly en: "The dsh engine did not advance after the update (still {{now}}, was {{from}}); run {{command}} and retry.";
2527
+ };
2528
+ readonly 'update-suite-incompatible': {
2529
+ readonly zh: "TUI 已更新,但 dsh {{current}} 不在新 TUI 支持的 {{range}} 内,引擎升级失败——为避免启动失败,本次不重启。请任选其一:\n {{commands}}";
2530
+ readonly en: "The TUI was updated, but dsh {{current}} is outside the supported {{range}} of the new TUI and the engine upgrade failed — not restarting to avoid a broken boot. Choose one:\n {{commands}}";
2531
+ };
2532
+ readonly 'update-host-pending': {
2533
+ readonly zh: "引擎升级待执行";
2534
+ readonly en: "engine upgrade pending";
2535
+ };
2536
+ readonly 'update-host-disabled': {
2537
+ readonly zh: "引擎升级已被 DSH_TUI_UPDATE_ENGINE=0 禁用";
2538
+ readonly en: "engine upgrades are disabled by DSH_TUI_UPDATE_ENGINE=0";
2539
+ };
2540
+ readonly 'update-host-unknown-current': {
2541
+ readonly zh: "无法读取当前 dsh 版本";
2542
+ readonly en: "the current dsh version could not be read";
2543
+ };
2544
+ readonly 'update-host-unknown-range': {
2545
+ readonly zh: "无法确定目标 TUI 支持的 dsh 范围";
2546
+ readonly en: "the target TUI dsh range could not be determined";
2547
+ };
2548
+ readonly 'update-host-newer': {
2549
+ readonly zh: "当前 dsh 比目标 TUI 验证过的版本更新(不降级;等 dsh-tui 适配后会重新纳入验证)";
2550
+ readonly en: "the current dsh is newer than the target TUI validates (never downgraded; it is re-validated once a dsh-tui release supports it)";
2551
+ };
2552
+ readonly 'update-host-newer-published': {
2553
+ readonly zh: "registry 上已有 dsh {{newer}},但该 TUI 版本尚未声明支持它(停在验证线内,等 dsh-tui 适配后再 /update)";
2554
+ readonly en: "dsh {{newer}} is already on the registry, but this TUI release does not declare support for it yet (staying on the validated line; run /update after a dsh-tui update adds support)";
2555
+ };
2556
+ readonly 'update-host-offline': {
2557
+ readonly zh: "无法查询 registry 上的 dsh 版本(离线或 registry 不可达)";
2558
+ readonly en: "could not check dsh versions on the registry (offline or registry unreachable)";
2559
+ };
2560
+ readonly 'update-host-no-version': {
2561
+ readonly zh: "registry 上没有该 TUI 版本支持的 dsh 发行版";
2562
+ readonly en: "the registry has no dsh release supported by the target TUI";
2563
+ };
2564
+ readonly 'update-host-no-installer': {
2565
+ readonly zh: "无法识别 dsh 的全局安装方式";
2566
+ readonly en: "the dsh global install layout is not recognised";
2567
+ };
2568
+ readonly 'update-host-group-unproven': {
2569
+ readonly zh: "无法证明 dsh 所属的 pnpm 安装组只含它自己(单包安装会替换整组并移除同组其他工具)";
2570
+ readonly en: "the pnpm group that owns dsh cannot be proven to contain only it (a one-package install replaces the whole group and removes its other tools)";
2571
+ };
2572
+ readonly 'update-host-not-writable': {
2573
+ readonly zh: "dsh 的全局安装目录不可写";
2574
+ readonly en: "the dsh global prefix is not writable";
2575
+ };
2368
2576
  readonly 'reload-header': {
2369
2577
  readonly zh: "已重读偏好文件:";
2370
2578
  readonly en: "Preferences reloaded:";
@@ -2418,8 +2626,8 @@ declare const dict: {
2418
2626
  readonly en: "Restarting dsh-tui. The session resumes when it comes back…";
2419
2627
  };
2420
2628
  readonly 'restart-during-turn': {
2421
- readonly zh: "当前回合仍在运行,正在中断重启;排队输入会在重启后暂存(仅保留文字,图片不保留),不会自动发送。若进程无法正常收尾,退出后会打印恢复本会话的命令,并注明排队输入保存在哪里。";
2422
- readonly en: "The current turn is still running; interrupting and restarting. Queued input is held after the restart (text only, images are not kept), not sent automatically. If the process cannot shut down cleanly it exits and prints the command that resumes this session and where the queued input is kept.";
2629
+ readonly zh: "当前回合仍在运行,正在中断重启;排队输入(连同图片)会在重启后暂存,不会自动发送。若进程无法正常收尾,退出后会打印恢复本会话的命令,并注明排队输入保存在哪里。";
2630
+ readonly en: "The current turn is still running; interrupting and restarting. Queued input is held after the restart, images included, not sent automatically. If the process cannot shut down cleanly it exits and prints the command that resumes this session and where the queued input is kept.";
2423
2631
  };
2424
2632
  readonly 'restart-unavailable': {
2425
2633
  readonly zh: "当前运行方式不支持进程内重启(未挂载重启通道)。";
@@ -3638,6 +3846,10 @@ declare const dict: {
3638
3846
  readonly zh: "↑/↓ 滚动 · Esc 关闭";
3639
3847
  readonly en: "↑/↓ scroll · Esc to close";
3640
3848
  };
3849
+ readonly 'session-stopped': {
3850
+ readonly zh: "会话已停止";
3851
+ readonly en: "Session stopped";
3852
+ };
3641
3853
  readonly 'interrupted-by-user': {
3642
3854
  readonly zh: "已打断 ";
3643
3855
  readonly en: "Interrupted ";
@@ -5311,6 +5523,10 @@ declare const dict: {
5311
5523
  readonly zh: "错误";
5312
5524
  readonly en: "Error";
5313
5525
  };
5526
+ readonly 'subagent-channel-degraded': {
5527
+ readonly zh: "通道 {{provider}}:结算 {{settled}} 次、失败 {{failed}} 次——可改用其他 delegation provider";
5528
+ readonly en: "channel {{provider}}: {{failed}} of {{settled}} settled runs failed — try another delegation provider";
5529
+ };
5314
5530
  readonly 'subagent-output-label': {
5315
5531
  readonly zh: "输出";
5316
5532
  readonly en: "Output";
@@ -7445,7 +7661,7 @@ declare const dict: {
7445
7661
  readonly zh: "插件诊断;`list` 列额外插件与可开启的实验性功能,`info` 查单个条目或待装 spec";
7446
7662
  };
7447
7663
  readonly 'cmd-desc-update': {
7448
- readonly zh: "更新 dsh-tui 并重启";
7664
+ readonly zh: "一次性对齐 dsh-tui、dsh 引擎与全局启动器并重启";
7449
7665
  };
7450
7666
  readonly 'cmd-desc-vim': {
7451
7667
  readonly zh: "切换 vim 模式";
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AAOH,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAI9B,+DAA+D;AAC/D,eAAO,MAAM,KAAK,uBAAwB,CAAA;AAE1C;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE9D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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', en: '📋 Questionnaire answered · {{total}} questions' },
454
454
  // ── utils/loaded-context.ts ─────────────────────────────────────────
455
455
  'command-output-truncated': { zh: '…(命令输出已截断:最多 200 行、65536 个 UTF-16 码元、每行 4000 显示单元)', en: '… (command output truncated: 200 lines, 65536 UTF-16 code units, 4000 cells per line)' },
456
+ 'command-output-title': { zh: '命令输出', en: 'Command output' },
456
457
  'context-truncated': { zh: '…(已截断)', en: '… (truncated)' },
457
458
  'context-sections': { zh: '系统提示词 {{n}} 段', en: 'System prompt {{n}} sections' },
458
459
  'context-files': { zh: '工作区指令 ×{{n}}', en: 'Workspace instructions ×{{n}}' },
@@ -550,7 +551,7 @@ const dict = {
550
551
  'home-section-workspaces': { zh: '工作区({{n}})', en: 'Workspaces ({{n}})' },
551
552
  'home-add-workspace': { zh: '添加工作区', en: 'Add workspace' },
552
553
  'home-add-hint': { zh: '选择目录并加入列表', en: 'Pick a directory and add it to the list' },
553
- 'home-workspace-missing': { zh: '目录不存在', en: 'directory missing' },
554
+ 'home-workspace-missing': { zh: '缺失', en: 'gone' },
554
555
  'home-no-workspaces': { zh: '还没有工作区 · 在任意目录启动 dsh-tui 即可自动加入', en: 'No workspaces yet · start dsh-tui in a directory to add it' },
555
556
  'home-sessions-title': { zh: '{{name}} 的会话', en: 'Sessions in {{name}}' },
556
557
  'home-no-sessions': { zh: '这个工作区还没有会话 · Enter 新建一个', en: 'No sessions in this workspace yet · Enter starts one' },
@@ -574,6 +575,7 @@ const dict = {
574
575
  'supervisor-title': { zh: '会话管理', en: 'Sessions' },
575
576
  'supervisor-unregistered': { zh: '未登记的工作区', en: 'Unregistered' },
576
577
  'supervisor-history-only': { zh: '仅历史', en: 'History only' },
578
+ 'supervisor-history-only-short': { zh: '历史', en: 'Hist' },
577
579
  'supervisor-workspace-groups': { zh: '工作区 {{registered}} · 历史目录 {{history}}', en: 'Workspaces {{registered}} · History {{history}}' },
578
580
  'supervisor-workspace-removed': { zh: '工作区登记已移除;目录与历史会话仍保留', en: 'Workspace registration removed; directory and past sessions remain' },
579
581
  'supervisor-no-matches': { zh: '没有匹配的会话 · Esc 清空筛选', en: 'No sessions match · Esc clears the filter' },
@@ -737,14 +739,65 @@ const dict = {
737
739
  'update-unavailable': { zh: '当前运行方式不支持自动更新(需经 dsh --profile 启动),请在终端执行 dsh plugin --profile <name> update @deepseek-harness-tui/dsh-tui', en: 'Automatic update is unavailable in this launch mode (needs dsh --profile). Run dsh plugin --profile <name> update @deepseek-harness-tui/dsh-tui in a terminal.' },
738
740
  'update-working': { zh: '当前回合仍在运行,请等待完成后再更新 TUI。', en: 'The current turn is still running. Wait for it to finish before updating the TUI.' },
739
741
  'update-starting': { zh: '正在更新 @deepseek-harness-tui/dsh-tui,完成后会自动重启并恢复当前会话……', en: 'Updating @deepseek-harness-tui/dsh-tui. The TUI will restart and resume this session when finished…' },
740
- 'update-available': { zh: '发现新版本:v{{latest}}(当前 v{{current}})· 输入 /update 更新 TUI', en: 'New version available: v{{latest}} (current v{{current}}) · type /update to update the TUI' },
741
- 'update-already-latest': { zh: '当前已是最新版本(v{{current}})。', en: 'Already on the latest version (v{{current}}).' },
742
+ 'update-available': { zh: '发现新版本:v{{latest}}(当前 v{{current}})· 输入 /update 一次性对齐 TUI、dsh 引擎与启动器', en: 'New version available: v{{latest}} (current v{{current}}) · type /update to align the TUI, dsh engine and launcher together' },
742
743
  'update-check-failed': { zh: '无法确认新版本(网络或 registry 不可达),已尝试直接更新……', en: 'Could not confirm a newer version (network or registry unreachable); attempting the update anyway…' },
743
744
  'update-refused-deadlock': { zh: '已取消更新:镜像 registry 目前只能装到 v{{latest}},而该版本在旧全局启动器的 patch 下会启动死锁(#183/#307);官方最新为 v{{authoritative}},待镜像同步后再 /update。', en: 'Update cancelled: the mirror registry can only serve v{{latest}}, which deadlocks boot under older global-launcher patches (#183/#307); official latest is v{{authoritative}} — retry /update after the mirror syncs.' },
744
745
  'update-mirror-lag': { zh: '镜像 registry 滞后:本次安装 v{{latest}};官方最新 v{{authoritative}},镜像同步后可再 /update。', en: 'Mirror registry lag: installing v{{latest}} now; official latest is v{{authoritative}} — run /update again once the mirror syncs.' },
745
746
  'update-standalone-available': { zh: '发现便携包新版本:v{{latest}}(当前 v{{current}})· 输入 /update 自动更新', en: 'New standalone version available: v{{latest}} (current v{{current}}) · type /update to update' },
746
747
  'update-standalone-no-checksum': { zh: '该版本未发布 SHA256 校验和,更新包完整性无法验证', en: 'this release publishes no SHA256 checksums; the update payload cannot be integrity-verified' },
747
748
  'update-standalone-starting': { zh: '正在下载便携包新版本并自动替换,完成后会自动重启并恢复当前会话……', en: 'Downloading and replacing standalone binary. The TUI will restart and resume this session when finished…' },
749
+ // ── /update 三层对齐:TUI / dsh 引擎 / 全局启动器(#1844)──────────────
750
+ 'update-plan-starting': { zh: '即将对齐:{{layers}}。完成后会自动重启并恢复当前会话……', en: 'Aligning: {{layers}}. The TUI will restart and resume this session when finished…' },
751
+ 'update-cli-starting': { zh: '即将对齐:{{layers}}。', en: 'Aligning: {{layers}}.' },
752
+ 'update-plan-empty': { zh: '已成套最新:{{layers}}。', en: 'Everything is already aligned: {{layers}}.' },
753
+ 'update-plan-idle': { zh: 'TUI 已是最新({{current}});{{reason}},本次未做改动。', en: 'The TUI is already current ({{current}}); {{reason}} — nothing was changed this time.' },
754
+ 'update-plan-manual-title': { zh: '引擎需要手动对齐', en: 'Engine alignment needs a manual step' },
755
+ 'update-plan-manual': { zh: 'TUI 已是最新({{current}});{{reason}},本次未做改动。请手动执行:\n {{command}}', en: 'The TUI is already current ({{current}}); {{reason}} — nothing was changed this time. Run this manually:\n {{command}}' },
756
+ 'update-plan-manual-toast': { zh: 'TUI 已最新;引擎无法自动对齐,完整修复指引已写入会话。', en: 'The TUI is current; the engine cannot be aligned automatically — the full repair guidance is in the transcript.' },
757
+ 'update-plan-newer-title': { zh: 'dsh 有新版本尚未纳入验证', en: 'A newer dsh release is outside the validated line' },
758
+ 'update-plan-newer': { zh: '当前 TUI({{tui}})声明的 dsh 范围是 {{range}};registry 上已有 dsh {{newer}},但该 TUI 版本尚未声明支持它,因此本次没有改动引擎。等 dsh-tui 适配后重新 /update 即可;这不是安装失败,无需手工安装。', en: 'The current TUI ({{tui}}) declares dsh {{range}}; dsh {{newer}} is already on the registry, but this TUI release does not declare support for it yet, so this run left the engine untouched. Run /update again once a dsh-tui release adds support — this is not an install failure, and no manual install is needed.' },
759
+ 'update-plan-newer-toast': { zh: 'dsh {{newer}} 已发布,但尚未纳入本 TUI 的验证范围;原因已写入会话。', en: 'dsh {{newer}} is published but outside this TUI’s validated line; the reason is in the transcript.' },
760
+ 'update-plan-blocked': { zh: '已取消更新:新 TUI({{tui}})支持的 dsh 范围是 {{range}},当前 dsh 为 {{current}},且引擎无法自动升级。原因:{{reason}}。', en: 'Update cancelled: the new TUI ({{tui}}) supports dsh {{range}}, but the current dsh is {{current}} and the engine cannot be upgraded automatically. Why: {{reason}}.' },
761
+ 'update-plan-blocked-engine-first': { zh: '已取消更新:官方插件管理器用「当前」引擎校验新 TUI({{tui}}),它只接受 dsh {{range}},而当前是 {{current}};引擎升级排在 TUI 之后,所以这次安装必然被拒绝。先把引擎对齐,再重新 /update,TUI 与启动器会自动跟上。', en: 'Update cancelled: the official plugin manager validates the new TUI ({{tui}}) against the CURRENT engine; it accepts dsh {{range}}, but this engine is {{current}}. The engine step runs after the TUI, so that install would always be rejected. Align the engine first, then rerun /update — the TUI and launcher follow automatically.' },
762
+ 'update-plan-blocked-title': { zh: '更新已取消:新 TUI {{tui}} 需要更新的 dsh', en: 'Update cancelled: the new TUI ({{tui}}) needs a newer dsh' },
763
+ 'update-plan-blocked-toast': { zh: '更新已取消:新 TUI {{tui}} 需要更新的 dsh;完整说明已写入会话。', en: 'Update cancelled: the new TUI ({{tui}}) needs a newer dsh; the full explanation is in the transcript.' },
764
+ 'update-plan-blocked-next-retry': { zh: '这是 registry 查询失败,不代表版本不兼容;网络或镜像恢复后重新 /update 即可。\n 若现在就要安装:{{command}}', en: 'The registry lookup failed; this is not a compatibility verdict. Retry /update once the network or mirror is reachable.\n To install now anyway: {{command}}' },
765
+ 'update-plan-blocked-next-wait': { zh: '该范围要求的 dsh 版本尚未发布;等 dsh 发布后重新 /update 即可,无需手工安装。', en: 'The dsh release this range requires is not published yet; run /update again after it ships. No manual install is needed.' },
766
+ 'update-plan-blocked-next-switch': { zh: '引擎自动安装被 DSH_TUI_UPDATE_ENGINE=0 关闭;去掉该开关重新 /update,或现在手动执行:\n {{command}}', en: 'Engine auto-install is switched off by DSH_TUI_UPDATE_ENGINE=0. Drop that switch and rerun /update, or install manually now:\n {{command}}' },
767
+ 'update-plan-blocked-next-repair': { zh: '这是全局 dsh 安装本身的问题(见上);修复后重新 /update,或现在手动执行:\n {{command}}', en: 'The global dsh install itself is the problem (see above). Fix it and rerun /update, or install manually now:\n {{command}}' },
768
+ 'update-plan-blocked-next-engine-first': { zh: '先升级引擎,然后重新 /update:\n {{command}}', en: 'Upgrade the engine first, then rerun /update:\n {{command}}' },
769
+ 'update-plan-blocked-too-new': { zh: '已取消更新:新 TUI({{tui}})的 dsh 范围最高到 {{range}},当前 dsh({{current}})比它新;不会降级,也不会安装未验证的组合。等 dsh-tui 适配该引擎后再 /update。', en: 'Update cancelled: the new TUI ({{tui}}) declares dsh up to {{range}}, but the current dsh ({{current}}) is newer. This tool never downgrades and will not install an unvalidated combination. Run /update again after a dsh-tui release supports this engine.' },
770
+ 'update-plan-blocked-too-new-title': { zh: '更新已取消:新 TUI {{tui}} 尚未声明支持当前更新的 dsh', en: 'Update cancelled: the new TUI ({{tui}}) does not declare support for your newer dsh' },
771
+ 'update-plan-blocked-too-new-toast': { zh: '更新已取消:新 TUI {{tui}} 尚未声明支持当前更新的 dsh;完整说明已写入会话。', en: 'Update cancelled: the new TUI ({{tui}}) does not declare support for your newer dsh; the full explanation is in the transcript.' },
772
+ 'update-plan-blocked-next-too-new': { zh: '目标 TUI 尚未声明支持这个更新的 dsh;等 dsh-tui 适配后重新 /update 即可,不要降级。', en: 'This TUI release does not declare support for the newer dsh yet; rerun /update after a dsh-tui release adds it. Do not downgrade.' },
773
+ 'update-launcher-unresolved': { zh: '无法确认全局启动器的位置', en: 'the global launcher could not be located' },
774
+ 'update-launcher-disabled': { zh: '全局启动器对齐已被 DSH_TUI_UPDATE_LAUNCHER=0 跳过', en: 'global launcher alignment is skipped by DSH_TUI_UPDATE_LAUNCHER=0' },
775
+ 'update-launcher-unsafe-restart': { zh: 'dsh 引擎已推进到 {{version}},但全局启动器对齐失败——旧启动器与新引擎可能无法加载更新后的 profile,本次不重启。请先对齐启动器,再手动启动:\n {{command}}', en: 'The dsh engine advanced to {{version}}, but global launcher alignment failed — the old launcher and new engine may not load the updated profile; not restarting. Align the launcher before starting again:\n {{command}}' },
776
+ 'update-tui-already-current': { zh: 'dsh-tui 已是最新({{version}}),继续对齐引擎与启动器……', en: 'dsh-tui is already current ({{version}}); aligning the engine and launcher…' },
777
+ 'update-engine-starting': { zh: '正在对齐 dsh 引擎:{{from}} → {{to}}……', en: 'Aligning the dsh engine: {{from}} → {{to}}…' },
778
+ 'update-engine-failed': { zh: 'dsh 引擎未对齐(退出码 {{code}}),正在检查现有引擎是否仍可启动……若为网络或镜像原因,可稍后重新 /update;否则手动修复:\n {{command}}', en: 'The dsh engine was not aligned (exit {{code}}); checking whether the existing engine still starts… For a network or mirror failure, retry /update later; otherwise repair manually:\n {{command}}' },
779
+ 'update-engine-unverified': { zh: 'dsh 引擎安装后版本校验未通过(期望 {{expected}},读到 {{installed}})。手动修复:\n {{command}}', en: 'The dsh engine install failed its version check (expected {{expected}}, read {{installed}}). Repair manually:\n {{command}}' },
780
+ 'update-engine-skip-title': { zh: 'dsh {{version}} 未对齐', en: 'dsh {{version}} was not aligned' },
781
+ 'update-engine-skip': { zh: '{{reason}}。更新会继续;稍后重试 /update 即可。', en: '{{reason}}. The update continues; retry /update later.' },
782
+ 'update-engine-skip-manual': { zh: '{{reason}}。更新会继续;请手动对齐引擎:\n {{command}}', en: '{{reason}}. The update continues; align the engine manually:\n {{command}}' },
783
+ 'update-engine-skip-toast': { zh: 'dsh 引擎未对齐,完整指引已写入会话。', en: 'The dsh engine was not aligned; the full guidance is in the transcript.' },
784
+ 'update-engine-failure-tolerated': { zh: '现有 dsh {{current}} 仍可启动,且在目标 TUI 支持的 {{range}} 内;继续。', en: 'The existing dsh {{current}} still starts and is within the target TUI’s supported {{range}}; continuing.' },
785
+ 'update-engine-unsafe-restart': { zh: '引擎步骤失败,且无法证明现有 dsh 仍可启动(入口进程启动失败,`dsh --version` 也跑不通)——为避免重启到半损坏的引擎,本次不重启。当前 dsh:{{current}};目标范围:{{range}}。请先修复引擎(Windows 上可先执行 `dsh-tui update`):\n {{command}}', en: 'The engine step failed and the existing dsh cannot be proven bootable (its entry point failed to start and `dsh --version` did not run) — not restarting into a half-written engine. Current dsh: {{current}}; target range: {{range}}. Repair the engine first (on Windows, `dsh-tui update` is the clean path):\n {{command}}' },
786
+ 'update-engine-entry-unresolved': { zh: '引擎安装已结束,但无法确认可启动的 dsh JS 入口——为避免执行已删除的旧安装路径,本次不重启。当前 dsh:{{current}};目标范围:{{range}}。请先修复引擎:\n {{command}}', en: 'The engine install finished, but a bootable dsh JS entry could not be confirmed — not restarting through a stale install path. Current dsh: {{current}}; target range: {{range}}. Repair the engine first:\n {{command}}' },
787
+ 'update-engine-path-mismatch': { zh: 'dsh 引擎已装到目标前缀,但 PATH 上的 `dsh --version` 仍报告 {{cli}}(期望 {{expected}})——下一次启动可能仍用旧引擎。请检查 PATH,或手动执行:\n {{command}}', en: 'The dsh engine landed in the target prefix, but `dsh --version` on PATH still reports {{cli}} (expected {{expected}}) — the next launch may still use the old engine. Check PATH, or run:\n {{command}}' },
788
+ 'update-engine-not-advanced': { zh: 'dsh 引擎更新后版本没有前进(仍为 {{now}},原为 {{from}});请执行 {{command}} 后重试。', en: 'The dsh engine did not advance after the update (still {{now}}, was {{from}}); run {{command}} and retry.' },
789
+ 'update-suite-incompatible': { zh: 'TUI 已更新,但 dsh {{current}} 不在新 TUI 支持的 {{range}} 内,引擎升级失败——为避免启动失败,本次不重启。请任选其一:\n {{commands}}', en: 'The TUI was updated, but dsh {{current}} is outside the supported {{range}} of the new TUI and the engine upgrade failed — not restarting to avoid a broken boot. Choose one:\n {{commands}}' },
790
+ 'update-host-pending': { zh: '引擎升级待执行', en: 'engine upgrade pending' },
791
+ 'update-host-disabled': { zh: '引擎升级已被 DSH_TUI_UPDATE_ENGINE=0 禁用', en: 'engine upgrades are disabled by DSH_TUI_UPDATE_ENGINE=0' },
792
+ 'update-host-unknown-current': { zh: '无法读取当前 dsh 版本', en: 'the current dsh version could not be read' },
793
+ 'update-host-unknown-range': { zh: '无法确定目标 TUI 支持的 dsh 范围', en: 'the target TUI dsh range could not be determined' },
794
+ 'update-host-newer': { zh: '当前 dsh 比目标 TUI 验证过的版本更新(不降级;等 dsh-tui 适配后会重新纳入验证)', en: 'the current dsh is newer than the target TUI validates (never downgraded; it is re-validated once a dsh-tui release supports it)' },
795
+ 'update-host-newer-published': { zh: 'registry 上已有 dsh {{newer}},但该 TUI 版本尚未声明支持它(停在验证线内,等 dsh-tui 适配后再 /update)', en: 'dsh {{newer}} is already on the registry, but this TUI release does not declare support for it yet (staying on the validated line; run /update after a dsh-tui update adds support)' },
796
+ 'update-host-offline': { zh: '无法查询 registry 上的 dsh 版本(离线或 registry 不可达)', en: 'could not check dsh versions on the registry (offline or registry unreachable)' },
797
+ 'update-host-no-version': { zh: 'registry 上没有该 TUI 版本支持的 dsh 发行版', en: 'the registry has no dsh release supported by the target TUI' },
798
+ 'update-host-no-installer': { zh: '无法识别 dsh 的全局安装方式', en: 'the dsh global install layout is not recognised' },
799
+ 'update-host-group-unproven': { zh: '无法证明 dsh 所属的 pnpm 安装组只含它自己(单包安装会替换整组并移除同组其他工具)', en: 'the pnpm group that owns dsh cannot be proven to contain only it (a one-package install replaces the whole group and removes its other tools)' },
800
+ 'update-host-not-writable': { zh: 'dsh 的全局安装目录不可写', en: 'the dsh global prefix is not writable' },
748
801
  // ── /reload (pi-style soft reload) ────────────────────────────────────
749
802
  'reload-header': { zh: '已重读偏好文件:', en: 'Preferences reloaded:' },
750
803
  'reload-applied': { zh: '{{kind}} {{from}} → {{to}}(已应用)', en: '{{kind}} {{from}} → {{to}} (applied)' },
@@ -760,7 +813,7 @@ const dict = {
760
813
  'reload-kind-activity': { zh: '活动指示', en: 'activity' },
761
814
  // ── /restart (process restart with session resume) ────────────────────
762
815
  'restart-starting': { zh: '正在重启 dsh-tui,完成后自动恢复当前会话……', en: 'Restarting dsh-tui. The session resumes when it comes back…' },
763
- 'restart-during-turn': { zh: '当前回合仍在运行,正在中断重启;排队输入会在重启后暂存(仅保留文字,图片不保留),不会自动发送。若进程无法正常收尾,退出后会打印恢复本会话的命令,并注明排队输入保存在哪里。', en: 'The current turn is still running; interrupting and restarting. Queued input is held after the restart (text only, images are not kept), not sent automatically. If the process cannot shut down cleanly it exits and prints the command that resumes this session and where the queued input is kept.' },
816
+ 'restart-during-turn': { zh: '当前回合仍在运行,正在中断重启;排队输入(连同图片)会在重启后暂存,不会自动发送。若进程无法正常收尾,退出后会打印恢复本会话的命令,并注明排队输入保存在哪里。', en: 'The current turn is still running; interrupting and restarting. Queued input is held after the restart, images included, not sent automatically. If the process cannot shut down cleanly it exits and prints the command that resumes this session and where the queued input is kept.' },
764
817
  'restart-unavailable': { zh: '当前运行方式不支持进程内重启(未挂载重启通道)。', en: 'Restart is unavailable in this launch mode (no restart channel mounted).' },
765
818
  'streaming-folded': { zh: '…(前 {{count}} 字符流式期间已折叠,落定后完整显示)', en: '…(first {{count}} chars folded while streaming; full text renders once the turn settles)' },
766
819
  'mermaid-too-wide': { zh: '(图需要 {{width}} 列,当前宽度不足,显示源码)', en: '(diagram needs {{width}} columns; showing the source)' },
@@ -1188,6 +1241,7 @@ const dict = {
1188
1241
  'tips-title': { zh: '使用技巧(快捷键 · 命令 · 工作流 · 个性化 · 避坑)', en: 'Usage tips (shortcuts · commands · workflow · display · gotchas)' },
1189
1242
  'tips-hint': { zh: '↑/↓ 滚动 · Esc 关闭', en: '↑/↓ scroll · Esc to close' },
1190
1243
  // ── components/TurnInterruptedRow.tsx ────────────────────────────────
1244
+ 'session-stopped': { zh: '会话已停止', en: 'Session stopped' },
1191
1245
  'interrupted-by-user': { zh: '已打断 ', en: 'Interrupted ' },
1192
1246
  'interrupted-ask-next': { zh: '· 接下来想让 DeepSeek 做什么?', en: '· What should DeepSeek do instead?' },
1193
1247
  'interrupted-ask-backend': { zh: '· 接下来想让 {{name}} 做什么?', en: '· What should {{name}} do instead?' },
@@ -1850,6 +1904,7 @@ const dict = {
1850
1904
  'subagent-started': { zh: '开始时间', en: 'Started' },
1851
1905
  'subagent-completed': { zh: '完成时间', en: 'Completed' },
1852
1906
  'subagent-error-label': { zh: '错误', en: 'Error' },
1907
+ 'subagent-channel-degraded': { zh: '通道 {{provider}}:结算 {{settled}} 次、失败 {{failed}} 次——可改用其他 delegation provider', en: 'channel {{provider}}: {{failed}} of {{settled}} settled runs failed — try another delegation provider' },
1853
1908
  'subagent-output-label': { zh: '输出', en: 'Output' },
1854
1909
  'subagent-no-output': { zh: '暂无输出', en: 'No output yet' },
1855
1910
  'subagent-dashboard-title': { zh: ' 子代理面板 ', en: ' Subagent Dashboard ' },
@@ -2463,7 +2518,7 @@ const dict = {
2463
2518
  'cmd-desc-mcp': { zh: '查看 MCP 状态' },
2464
2519
  'cmd-desc-skills': { zh: '列出所有可用技能' },
2465
2520
  'cmd-desc-plugin': { zh: '插件诊断;`list` 列额外插件与可开启的实验性功能,`info` 查单个条目或待装 spec' },
2466
- 'cmd-desc-update': { zh: '更新 dsh-tui 并重启' },
2521
+ 'cmd-desc-update': { zh: '一次性对齐 dsh-tui、dsh 引擎与全局启动器并重启' },
2467
2522
  // Misc
2468
2523
  'cmd-desc-vim': { zh: '切换 vim 模式' },
2469
2524
  'cmd-desc-terminal-setup': { zh: '查看终端配置建议' },
@@ -19,6 +19,7 @@ type Props = {
19
19
  readonly selection: SelectionState;
20
20
  readonly onSelectionChange: () => void;
21
21
  readonly onClickAt: (col: number, row: number, button?: number, deferProbe?: boolean) => boolean;
22
+ readonly onClickTargetAt?: (col: number, row: number) => DOMElement | null;
22
23
  readonly onContextMenuAt: (col: number, row: number, button?: number) => boolean;
23
24
  readonly onHoverAt: (col: number, row: number) => void;
24
25
  readonly onWheelAt: (col: number, row: number, deltaY: number, deltaX: number, button?: number) => boolean;
@@ -62,6 +63,7 @@ export default class App extends PureComponent<Props, State> {
62
63
  lastClickTime: number;
63
64
  lastClickCol: number;
64
65
  lastClickRow: number;
66
+ lastClickTarget: DOMElement | null;
65
67
  clickCount: number;
66
68
  pendingHyperlinkTimer: ReturnType<typeof setTimeout> | null;
67
69
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../../src/ink/components/App.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAW7D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAIpD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAEN,KAAK,aAAa,EAElB,KAAK,SAAS,EACd,KAAK,WAAW,EAEhB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAGN,KAAK,cAAc,EACnB,MAAM,iBAAiB,CAAC;AAWzB,OAAO,EAAE,eAAe,EAAa,MAAM,wBAAwB,CAAC;AAqBpE,OAAiC,EAEhC,KAAK,uBAAuB,EAC5B,MAAM,+BAA+B,CAAC;AAcvC,KAAK,KAAK,GAAG;IACZ,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC7B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,UAAU,CAAC;IACjC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,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;
104
104
  lastClickCol = -1;
105
105
  lastClickRow = -1;
106
+ lastClickTarget = null;
106
107
  clickCount = 0;
107
108
  // Deferred hyperlink-open timer — cancelled if a second click arrives
108
109
  // within MULTI_CLICK_TIMEOUT_MS (so double-clicking a hyperlink selects
@@ -186,6 +187,7 @@ export default class App extends PureComponent {
186
187
  this.lastClickTime = 0;
187
188
  this.lastClickCol = -1;
188
189
  this.lastClickRow = -1;
190
+ this.lastClickTarget = null;
189
191
  this.lastHoverCol = -1;
190
192
  this.lastHoverRow = -1;
191
193
  // Do NOT clear the pointer gesture latch here. A geometry reset
@@ -992,13 +994,16 @@ export function handleMouseEvent(app, m) {
992
994
  // release, which meant (a) visible latency before the word highlights
993
995
  // and (b) double-click+drag fell through to char-mode selection.
994
996
  const now = Date.now();
997
+ const target = app.props.onClickTargetAt?.(col, row) ?? null;
995
998
  const nearLast = now - app.lastClickTime < MULTI_CLICK_TIMEOUT_MS &&
999
+ target === app.lastClickTarget &&
996
1000
  Math.abs(col - app.lastClickCol) <= MULTI_CLICK_DISTANCE &&
997
1001
  Math.abs(row - app.lastClickRow) <= MULTI_CLICK_DISTANCE;
998
1002
  app.clickCount = nearLast ? app.clickCount + 1 : 1;
999
1003
  app.lastClickTime = now;
1000
1004
  app.lastClickCol = col;
1001
1005
  app.lastClickRow = row;
1006
+ app.lastClickTarget = target;
1002
1007
  if (app.clickCount >= 2) {
1003
1008
  // Cancel any pending hyperlink-open from the first click — this is
1004
1009
  // a double-click, not a single-click on a link.
@@ -1065,6 +1070,9 @@ export function handleMouseEvent(app, m) {
1065
1070
  // the health probe is deferred to the batch tail — a single stdin
1066
1071
  // chunk can carry `release → next press`, and the probe must not
1067
1072
  // write before the next press latch is established.
1073
+ // The click is dispatched at release coordinates; capture that target
1074
+ // before its handler can synchronously change the DOM tree.
1075
+ app.lastClickTarget = app.props.onClickTargetAt?.(col, row) ?? null;
1068
1076
  app.pendingClickProbe = true;
1069
1077
  if (!app.props.onClickAt(col, row, m.button, true)) {
1070
1078
  // Resolve the hyperlink URL synchronously while the screen buffer
@@ -1 +1 @@
1
- {"version":3,"file":"input-event.d.ts","sourceRoot":"","sources":["../../../../src/ink/events/input-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAElC;;;GAGG;AACH,MAAM,MAAM,GAAG,GAAG;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;IACnB,IAAI,EAAE,OAAO,CAAA;IACb,GAAG,EAAE,OAAO,CAAA;IACZ,MAAM,EAAE,OAAO,CAAA;IACf,MAAM,EAAE,OAAO,CAAA;IACf,IAAI,EAAE,OAAO,CAAA;IACb,KAAK,EAAE,OAAO,CAAA;IACd,EAAE,EAAE,OAAO,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,SAAS,EAAE,OAAO,CAAA;IAClB,MAAM,EAAE,OAAO,CAAA;IACf,IAAI,EAAE,OAAO,CAAA;IACb,KAAK,EAAE,OAAO,CAAA;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AA4KD;;;GAGG;AACH,qBAAa,UAAW,SAAQ,KAAK;IACnC;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;IAE5B;;OAEG;IACH,QA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