@deepseek-harness-tui/dsh-tui 0.14.1 → 0.16.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 (886) hide show
  1. package/README.md +163 -17
  2. package/bin/dsh-tui.js +200 -34
  3. package/cordis.patch.yml +16 -52
  4. package/cordis.yml +6 -2
  5. package/guide/dsh-tui-guide/claude-backend.en.md +44 -7
  6. package/guide/dsh-tui-guide/claude-backend.md +28 -6
  7. package/guide/dsh-tui-guide/codex-backend.en.md +47 -10
  8. package/guide/dsh-tui-guide/codex-backend.md +26 -4
  9. package/guide/dsh-tui-guide/configuration.en.md +168 -18
  10. package/guide/dsh-tui-guide/configuration.md +144 -16
  11. package/guide/dsh-tui-guide/getting-started.en.md +15 -0
  12. package/guide/dsh-tui-guide/getting-started.md +15 -0
  13. package/guide/dsh-tui-guide/interaction.en.md +64 -24
  14. package/guide/dsh-tui-guide/interaction.md +49 -19
  15. package/guide/dsh-tui-guide/plugins.en.md +97 -3
  16. package/guide/dsh-tui-guide/plugins.md +55 -2
  17. package/guide/dsh-tui-guide/themes.en.md +23 -14
  18. package/guide/dsh-tui-guide/themes.md +19 -12
  19. package/guide/dsh-tui-guide/user-guide.en.md +53 -21
  20. package/guide/dsh-tui-guide/user-guide.md +43 -22
  21. package/lib/settings.json +103 -9
  22. package/lib/types/adapter/channel/projection.d.ts.map +1 -1
  23. package/lib/types/adapter/channel/projection.js +1 -0
  24. package/lib/types/adapter/channel/ui-policy.d.ts +1 -1
  25. package/lib/types/adapter/channel/ui-policy.d.ts.map +1 -1
  26. package/lib/types/adapter/channel/ui-policy.js +4 -0
  27. package/lib/types/adapter/channel/ui.d.ts +2 -0
  28. package/lib/types/adapter/channel/ui.d.ts.map +1 -1
  29. package/lib/types/adapter/channel/ui.js +6 -2
  30. package/lib/types/adapter/kernel/runtime.d.ts.map +1 -1
  31. package/lib/types/adapter/kernel/runtime.js +2 -0
  32. package/lib/types/adapter/ports/channel-catalog.d.ts +5 -1
  33. package/lib/types/adapter/ports/channel-catalog.d.ts.map +1 -1
  34. package/lib/types/adapter/ports/channel-settings.d.ts +14 -3
  35. package/lib/types/adapter/ports/channel-settings.d.ts.map +1 -1
  36. package/lib/types/adapter/ports/channel-ui.d.ts +56 -12
  37. package/lib/types/adapter/ports/channel-ui.d.ts.map +1 -1
  38. package/lib/types/adapter/ports/channel-view.d.ts +68 -0
  39. package/lib/types/adapter/ports/channel-view.d.ts.map +1 -1
  40. package/lib/types/adapter/ports/channel.d.ts +2 -0
  41. package/lib/types/adapter/ports/channel.d.ts.map +1 -1
  42. package/lib/types/adapter/spec/backend-capabilities.d.ts +22 -0
  43. package/lib/types/adapter/spec/backend-capabilities.d.ts.map +1 -0
  44. package/lib/types/adapter/spec/backend-capabilities.js +49 -0
  45. package/lib/types/adapter/spec/protocol-constants.d.ts.map +1 -1
  46. package/lib/types/adapter/spec/protocol-constants.js +10 -3
  47. package/lib/types/adapter/spec/tui-contributions.d.ts +3 -0
  48. package/lib/types/adapter/spec/tui-contributions.d.ts.map +1 -1
  49. package/lib/types/adapter/spec/tui-contributions.js +7 -0
  50. package/lib/types/adapter/standard/registry.d.ts +6 -0
  51. package/lib/types/adapter/standard/registry.d.ts.map +1 -1
  52. package/lib/types/adapter/standard/registry.js +65 -15
  53. package/lib/types/adapter/standard/tui-extension.d.ts.map +1 -1
  54. package/lib/types/adapter/standard/tui-extension.js +7 -1
  55. package/lib/types/adapter/standard/types.d.ts +10 -1
  56. package/lib/types/adapter/standard/types.d.ts.map +1 -1
  57. package/lib/types/adapter/upstream/host-descriptor-driver.d.ts.map +1 -1
  58. package/lib/types/adapter/upstream/host-descriptor-driver.js +52 -0
  59. package/lib/types/agent/backend-manifest.d.ts +152 -0
  60. package/lib/types/agent/backend-manifest.d.ts.map +1 -0
  61. package/lib/types/agent/backend-manifest.js +14 -0
  62. package/lib/types/agent/backend.d.ts +71 -5
  63. package/lib/types/agent/backend.d.ts.map +1 -1
  64. package/lib/types/agent/capabilities.d.ts +6 -0
  65. package/lib/types/agent/capabilities.d.ts.map +1 -1
  66. package/lib/types/agent/events.d.ts +3 -2
  67. package/lib/types/agent/events.d.ts.map +1 -1
  68. package/lib/types/agent/index.d.ts +2 -0
  69. package/lib/types/agent/index.d.ts.map +1 -1
  70. package/lib/types/agent/refs.d.ts +11 -1
  71. package/lib/types/agent/refs.d.ts.map +1 -1
  72. package/lib/types/agent/starting-session.d.ts +4 -0
  73. package/lib/types/agent/starting-session.d.ts.map +1 -0
  74. package/lib/types/agent/starting-session.js +19 -0
  75. package/lib/types/backends/claude/activity.d.ts +1 -1
  76. package/lib/types/backends/claude/activity.d.ts.map +1 -1
  77. package/lib/types/backends/claude/activity.js +5 -5
  78. package/lib/types/backends/claude/auth.d.ts.map +1 -1
  79. package/lib/types/backends/claude/auth.js +10 -3
  80. package/lib/types/backends/claude/backend.d.ts.map +1 -1
  81. package/lib/types/backends/claude/backend.js +103 -29
  82. package/lib/types/backends/claude/catalog.d.ts +2 -1
  83. package/lib/types/backends/claude/catalog.d.ts.map +1 -1
  84. package/lib/types/backends/claude/catalog.js +15 -5
  85. package/lib/types/backends/claude/channels.d.ts +5 -3
  86. package/lib/types/backends/claude/channels.d.ts.map +1 -1
  87. package/lib/types/backends/claude/channels.js +5 -4
  88. package/lib/types/backends/claude/contract.d.ts +4 -0
  89. package/lib/types/backends/claude/contract.d.ts.map +1 -1
  90. package/lib/types/backends/claude/contract.js +4 -0
  91. package/lib/types/backends/claude/controls.d.ts +4 -0
  92. package/lib/types/backends/claude/controls.d.ts.map +1 -1
  93. package/lib/types/backends/claude/controls.js +34 -42
  94. package/lib/types/backends/claude/dialogs.d.ts +8 -2
  95. package/lib/types/backends/claude/dialogs.d.ts.map +1 -1
  96. package/lib/types/backends/claude/dialogs.js +24 -16
  97. package/lib/types/backends/claude/images.d.ts +1 -1
  98. package/lib/types/backends/claude/images.d.ts.map +1 -1
  99. package/lib/types/backends/claude/images.js +7 -7
  100. package/lib/types/backends/claude/manifest.d.ts +21 -0
  101. package/lib/types/backends/claude/manifest.d.ts.map +1 -0
  102. package/lib/types/backends/claude/manifest.js +29 -0
  103. package/lib/types/backends/claude/older-history.js +2 -2
  104. package/lib/types/backends/claude/permissions.js +11 -11
  105. package/lib/types/backends/claude/prefs.d.ts +4 -2
  106. package/lib/types/backends/claude/prefs.d.ts.map +1 -1
  107. package/lib/types/backends/claude/prefs.js +4 -3
  108. package/lib/types/backends/claude/process.d.ts +16 -4
  109. package/lib/types/backends/claude/process.d.ts.map +1 -1
  110. package/lib/types/backends/claude/process.js +100 -37
  111. package/lib/types/backends/claude/send-message.d.ts +1 -1
  112. package/lib/types/backends/claude/send-message.d.ts.map +1 -1
  113. package/lib/types/backends/claude/session/auth.js +22 -22
  114. package/lib/types/backends/claude/session/channels.d.ts +4 -0
  115. package/lib/types/backends/claude/session/channels.d.ts.map +1 -1
  116. package/lib/types/backends/claude/session/channels.js +5 -3
  117. package/lib/types/backends/claude/session/lifecycle.d.ts.map +1 -1
  118. package/lib/types/backends/claude/session/lifecycle.js +31 -23
  119. package/lib/types/backends/claude/session/store.js +8 -8
  120. package/lib/types/backends/claude/session/subagents.js +2 -2
  121. package/lib/types/backends/claude/session/types.d.ts +7 -0
  122. package/lib/types/backends/claude/session/types.d.ts.map +1 -1
  123. package/lib/types/backends/claude/side-query.js +3 -3
  124. package/lib/types/backends/claude/task-output.js +5 -5
  125. package/lib/types/backends/claude/text.d.ts +778 -0
  126. package/lib/types/backends/claude/text.d.ts.map +1 -0
  127. package/lib/types/backends/claude/text.js +298 -0
  128. package/lib/types/backends/claude/transcript-file.d.ts +1 -1
  129. package/lib/types/backends/claude/transcript-file.d.ts.map +1 -1
  130. package/lib/types/backends/claude/transcript-file.js +4 -4
  131. package/lib/types/backends/claude/translate/attempts.js +2 -2
  132. package/lib/types/backends/claude/translate/core.js +3 -3
  133. package/lib/types/backends/claude/translate/messages.js +4 -4
  134. package/lib/types/backends/claude/translate/system.js +14 -14
  135. package/lib/types/backends/claude/translate/tasks.js +2 -2
  136. package/lib/types/backends/claude/translate/types.d.ts +1 -1
  137. package/lib/types/backends/claude/translate/types.d.ts.map +1 -1
  138. package/lib/types/backends/codex/auth/external-tokens.js +16 -16
  139. package/lib/types/backends/codex/auth/status.js +14 -14
  140. package/lib/types/backends/codex/backend.d.ts +4 -19
  141. package/lib/types/backends/codex/backend.d.ts.map +1 -1
  142. package/lib/types/backends/codex/backend.js +118 -25
  143. package/lib/types/backends/codex/catalog.d.ts +2 -1
  144. package/lib/types/backends/codex/catalog.d.ts.map +1 -1
  145. package/lib/types/backends/codex/catalog.js +63 -18
  146. package/lib/types/backends/codex/channels.d.ts +6 -3
  147. package/lib/types/backends/codex/channels.d.ts.map +1 -1
  148. package/lib/types/backends/codex/channels.js +15 -13
  149. package/lib/types/backends/codex/contract.d.ts +3 -0
  150. package/lib/types/backends/codex/contract.d.ts.map +1 -1
  151. package/lib/types/backends/codex/contract.js +3 -0
  152. package/lib/types/backends/codex/detect.d.ts.map +1 -1
  153. package/lib/types/backends/codex/detect.js +9 -6
  154. package/lib/types/backends/codex/manifest.d.ts +30 -0
  155. package/lib/types/backends/codex/manifest.d.ts.map +1 -0
  156. package/lib/types/backends/codex/manifest.js +23 -0
  157. package/lib/types/backends/codex/prefs.d.ts +4 -2
  158. package/lib/types/backends/codex/prefs.d.ts.map +1 -1
  159. package/lib/types/backends/codex/prefs.js +4 -3
  160. package/lib/types/backends/codex/rpc/hub.js +2 -2
  161. package/lib/types/backends/codex/session/activity.d.ts +1 -1
  162. package/lib/types/backends/codex/session/activity.d.ts.map +1 -1
  163. package/lib/types/backends/codex/session/activity.js +13 -13
  164. package/lib/types/backends/codex/session/approvals.js +30 -30
  165. package/lib/types/backends/codex/session/async-questions.d.ts +17 -0
  166. package/lib/types/backends/codex/session/async-questions.d.ts.map +1 -0
  167. package/lib/types/backends/codex/session/async-questions.js +89 -0
  168. package/lib/types/backends/codex/session/commands.d.ts +8 -2
  169. package/lib/types/backends/codex/session/commands.d.ts.map +1 -1
  170. package/lib/types/backends/codex/session/commands.js +71 -23
  171. package/lib/types/backends/codex/session/controls.d.ts +1 -1
  172. package/lib/types/backends/codex/session/controls.d.ts.map +1 -1
  173. package/lib/types/backends/codex/session/controls.js +21 -16
  174. package/lib/types/backends/codex/session/goals.d.ts.map +1 -1
  175. package/lib/types/backends/codex/session/goals.js +3 -3
  176. package/lib/types/backends/codex/session/history.js +2 -2
  177. package/lib/types/backends/codex/session/images.js +8 -8
  178. package/lib/types/backends/codex/session/input.d.ts +6 -2
  179. package/lib/types/backends/codex/session/input.d.ts.map +1 -1
  180. package/lib/types/backends/codex/session/input.js +55 -13
  181. package/lib/types/backends/codex/session/plan-review.js +6 -6
  182. package/lib/types/backends/codex/session/session.d.ts.map +1 -1
  183. package/lib/types/backends/codex/session/session.js +100 -42
  184. package/lib/types/backends/codex/session/side-query.d.ts.map +1 -1
  185. package/lib/types/backends/codex/session/side-query.js +27 -9
  186. package/lib/types/backends/codex/session/state.d.ts +6 -1
  187. package/lib/types/backends/codex/session/state.d.ts.map +1 -1
  188. package/lib/types/backends/codex/session/subagents.js +5 -5
  189. package/lib/types/backends/codex/session/tasks.js +4 -4
  190. package/lib/types/backends/codex/text.d.ts +933 -0
  191. package/lib/types/backends/codex/text.d.ts.map +1 -0
  192. package/lib/types/backends/codex/text.js +313 -0
  193. package/lib/types/backends/codex/translate/items.d.ts.map +1 -1
  194. package/lib/types/backends/codex/translate/items.js +7 -5
  195. package/lib/types/backends/codex/translate/live.d.ts.map +1 -1
  196. package/lib/types/backends/codex/translate/live.js +11 -8
  197. package/lib/types/backends/codex/translate/notices.js +10 -10
  198. package/lib/types/backends/codex/translate/question-reply.d.ts +11 -0
  199. package/lib/types/backends/codex/translate/question-reply.d.ts.map +1 -0
  200. package/lib/types/backends/codex/translate/question-reply.js +53 -0
  201. package/lib/types/backends/shared/channel-slug.d.ts +4 -0
  202. package/lib/types/backends/shared/channel-slug.d.ts.map +1 -0
  203. package/lib/types/backends/shared/channel-slug.js +25 -0
  204. package/lib/types/backends/shared/channel-tokens.d.ts.map +1 -1
  205. package/lib/types/backends/shared/channel-tokens.js +30 -23
  206. package/lib/types/{channel → backends/shared}/elicitation.d.ts +78 -21
  207. package/lib/types/backends/shared/elicitation.d.ts.map +1 -0
  208. package/lib/types/{channel → backends/shared}/elicitation.js +64 -66
  209. package/lib/types/backends/shared/image-size.d.ts +33 -0
  210. package/lib/types/backends/shared/image-size.d.ts.map +1 -0
  211. package/lib/types/backends/shared/image-size.js +134 -0
  212. package/lib/types/{utils → backends/shared}/jsonl.d.ts +5 -1
  213. package/lib/types/backends/shared/jsonl.d.ts.map +1 -0
  214. package/lib/types/{utils → backends/shared}/jsonl.js +5 -1
  215. package/lib/types/backends/shared/localized-text.d.ts +30 -0
  216. package/lib/types/backends/shared/localized-text.d.ts.map +1 -0
  217. package/lib/types/backends/shared/localized-text.js +24 -0
  218. package/lib/types/backends/shared/platform-text.d.ts +88 -0
  219. package/lib/types/backends/shared/platform-text.d.ts.map +1 -0
  220. package/lib/types/backends/shared/platform-text.js +33 -0
  221. package/lib/types/branding.d.ts +13 -0
  222. package/lib/types/branding.d.ts.map +1 -1
  223. package/lib/types/branding.js +18 -0
  224. package/lib/types/channel/channel-slug.d.ts +3 -1
  225. package/lib/types/channel/channel-slug.d.ts.map +1 -1
  226. package/lib/types/channel/channel-slug.js +3 -1
  227. package/lib/types/channel/projection.d.ts.map +1 -1
  228. package/lib/types/channel/projection.js +10 -0
  229. package/lib/types/channel/sanitize.d.ts +7 -0
  230. package/lib/types/channel/sanitize.d.ts.map +1 -1
  231. package/lib/types/channel/sanitize.js +9 -0
  232. package/lib/types/channel/usage.d.ts.map +1 -1
  233. package/lib/types/channel/usage.js +5 -0
  234. package/lib/types/commands.d.ts +15 -0
  235. package/lib/types/commands.d.ts.map +1 -1
  236. package/lib/types/commands.js +58 -10
  237. package/lib/types/components/AgentMessageComposer.d.ts.map +1 -1
  238. package/lib/types/components/AgentMessageComposer.js +3 -2
  239. package/lib/types/components/BtwPanel.d.ts.map +1 -1
  240. package/lib/types/components/BtwPanel.js +4 -2
  241. package/lib/types/components/Chat/JobCard.js +3 -3
  242. package/lib/types/components/CommandSuggestions.d.ts.map +1 -1
  243. package/lib/types/components/CommandSuggestions.js +24 -7
  244. package/lib/types/components/ContextBarView.d.ts +5 -1
  245. package/lib/types/components/ContextBarView.d.ts.map +1 -1
  246. package/lib/types/components/ContextBarView.js +6 -3
  247. package/lib/types/components/ExtensionDialog.d.ts.map +1 -1
  248. package/lib/types/components/ExtensionDialog.js +2 -3
  249. package/lib/types/components/GoalTodoPanel.d.ts.map +1 -1
  250. package/lib/types/components/GoalTodoPanel.js +14 -3
  251. package/lib/types/components/InlineMathParagraph.js +1 -1
  252. package/lib/types/components/KernelPicker.d.ts.map +1 -1
  253. package/lib/types/components/KernelPicker.js +1 -1
  254. package/lib/types/components/LogoV2.d.ts +4 -1
  255. package/lib/types/components/LogoV2.d.ts.map +1 -1
  256. package/lib/types/components/LogoV2.js +14 -9
  257. package/lib/types/components/MarkdownTable.d.ts.map +1 -1
  258. package/lib/types/components/MarkdownTable.js +4 -3
  259. package/lib/types/components/MessageList.d.ts.map +1 -1
  260. package/lib/types/components/MessageList.js +109 -15
  261. package/lib/types/components/ModelPicker.d.ts +24 -31
  262. package/lib/types/components/ModelPicker.d.ts.map +1 -1
  263. package/lib/types/components/ModelPicker.js +115 -40
  264. package/lib/types/components/PermissionsPicker.d.ts +10 -1
  265. package/lib/types/components/PermissionsPicker.d.ts.map +1 -1
  266. package/lib/types/components/PermissionsPicker.js +24 -16
  267. package/lib/types/components/PluginInstallPane.d.ts +21 -0
  268. package/lib/types/components/PluginInstallPane.d.ts.map +1 -0
  269. package/lib/types/components/PluginInstallPane.js +84 -0
  270. package/lib/types/components/PluginManagePane.d.ts +21 -0
  271. package/lib/types/components/PluginManagePane.d.ts.map +1 -0
  272. package/lib/types/components/PluginManagePane.js +69 -0
  273. package/lib/types/components/PromptEditor.d.ts +3 -3
  274. package/lib/types/components/PromptInput.d.ts +21 -3
  275. package/lib/types/components/PromptInput.d.ts.map +1 -1
  276. package/lib/types/components/PromptInput.js +65 -121
  277. package/lib/types/components/SdkInstallWizard.d.ts +3 -1
  278. package/lib/types/components/SdkInstallWizard.d.ts.map +1 -1
  279. package/lib/types/components/SdkInstallWizard.js +8 -1
  280. package/lib/types/components/SearchBox.d.ts +13 -15
  281. package/lib/types/components/SearchBox.d.ts.map +1 -1
  282. package/lib/types/components/SearchBox.js +58 -27
  283. package/lib/types/components/SubagentCard.d.ts +13 -1
  284. package/lib/types/components/SubagentCard.d.ts.map +1 -1
  285. package/lib/types/components/SubagentCard.js +27 -12
  286. package/lib/types/components/SubagentDashboard.d.ts +8 -1
  287. package/lib/types/components/SubagentDashboard.d.ts.map +1 -1
  288. package/lib/types/components/SubagentDashboard.js +58 -16
  289. package/lib/types/components/ThemePicker.d.ts +1 -1
  290. package/lib/types/components/ThemePicker.d.ts.map +1 -1
  291. package/lib/types/components/ThemePicker.js +14 -11
  292. package/lib/types/components/Tooltip.js +1 -1
  293. package/lib/types/components/WorkingSpinner.js +1 -1
  294. package/lib/types/components/WorkspaceFlowPicker.d.ts.map +1 -1
  295. package/lib/types/components/WorkspaceFlowPicker.js +4 -3
  296. package/lib/types/components/composerImageTokens.d.ts +24 -0
  297. package/lib/types/components/composerImageTokens.d.ts.map +1 -0
  298. package/lib/types/components/composerImageTokens.js +37 -0
  299. package/lib/types/components/design-system/InputCaret.d.ts +7 -0
  300. package/lib/types/components/design-system/InputCaret.d.ts.map +1 -0
  301. package/lib/types/components/design-system/InputCaret.js +9 -0
  302. package/lib/types/components/design-system/ListItem.d.ts +13 -2
  303. package/lib/types/components/design-system/ListItem.d.ts.map +1 -1
  304. package/lib/types/components/design-system/ListItem.js +11 -5
  305. package/lib/types/components/design-system/ThemeProvider.d.ts.map +1 -1
  306. package/lib/types/components/design-system/ThemeProvider.js +6 -8
  307. package/lib/types/components/kernelCatalog.d.ts +55 -11
  308. package/lib/types/components/kernelCatalog.d.ts.map +1 -1
  309. package/lib/types/components/kernelCatalog.js +42 -23
  310. package/lib/types/components/launchpadActions.d.ts +4 -0
  311. package/lib/types/components/launchpadActions.d.ts.map +1 -1
  312. package/lib/types/components/launchpadActions.js +5 -4
  313. package/lib/types/components/launchpadLayout.d.ts +14 -1
  314. package/lib/types/components/launchpadLayout.d.ts.map +1 -1
  315. package/lib/types/components/launchpadLayout.js +38 -19
  316. package/lib/types/components/messages/TeamMessageBubble.d.ts +20 -0
  317. package/lib/types/components/messages/TeamMessageBubble.d.ts.map +1 -0
  318. package/lib/types/components/messages/TeamMessageBubble.js +15 -0
  319. package/lib/types/components/messages/UserPromptMessage.d.ts +4 -3
  320. package/lib/types/components/messages/UserPromptMessage.d.ts.map +1 -1
  321. package/lib/types/components/messages/UserPromptMessage.js +4 -3
  322. package/lib/types/components/questions/AskUserQuestionPanel.d.ts.map +1 -1
  323. package/lib/types/components/questions/AskUserQuestionPanel.js +8 -3
  324. package/lib/types/components/questions/PlanReviewPanel.d.ts.map +1 -1
  325. package/lib/types/components/questions/PlanReviewPanel.js +4 -3
  326. package/lib/types/components/questions/ProviderModelEditor.d.ts.map +1 -1
  327. package/lib/types/components/questions/ProviderModelEditor.js +3 -13
  328. package/lib/types/components/sessions/ForeignSessionRow.d.ts +3 -1
  329. package/lib/types/components/sessions/ForeignSessionRow.d.ts.map +1 -1
  330. package/lib/types/components/sessions/ForeignSessionRow.js +5 -2
  331. package/lib/types/components/sessions/SessionListRow.d.ts +3 -1
  332. package/lib/types/components/sessions/SessionListRow.d.ts.map +1 -1
  333. package/lib/types/components/sessions/SessionListRow.js +5 -2
  334. package/lib/types/components/sidePanel/PanelBar.d.ts +1 -0
  335. package/lib/types/components/sidePanel/PanelBar.d.ts.map +1 -1
  336. package/lib/types/components/sidePanel/PanelBar.js +21 -17
  337. package/lib/types/components/sidePanel/PanelHost.d.ts.map +1 -1
  338. package/lib/types/components/sidePanel/PanelHost.js +5 -1
  339. package/lib/types/components/sidePanel/PanelStore.d.ts +8 -0
  340. package/lib/types/components/sidePanel/PanelStore.d.ts.map +1 -1
  341. package/lib/types/components/sidePanel/PanelStore.js +11 -0
  342. package/lib/types/components/sidePanel/SidePanelColumn.d.ts +1 -1
  343. package/lib/types/components/sidePanel/SidePanelColumn.d.ts.map +1 -1
  344. package/lib/types/components/sidePanel/SidePanelColumn.js +15 -2
  345. package/lib/types/components/sidePanel/SidePanelLayout.d.ts +6 -4
  346. package/lib/types/components/sidePanel/SidePanelLayout.d.ts.map +1 -1
  347. package/lib/types/components/sidePanel/SidePanelLayout.js +33 -7
  348. package/lib/types/components/sidePanel/SidePanelRuntimeContext.d.ts +7 -0
  349. package/lib/types/components/sidePanel/SidePanelRuntimeContext.d.ts.map +1 -1
  350. package/lib/types/components/sidePanel/SidePanelRuntimeContext.js +4 -0
  351. package/lib/types/components/sidePanel/btw/BtwComposer.d.ts +7 -2
  352. package/lib/types/components/sidePanel/btw/BtwComposer.d.ts.map +1 -1
  353. package/lib/types/components/sidePanel/btw/BtwComposer.js +28 -8
  354. package/lib/types/components/sidePanel/btw/BtwPanelAdapter.d.ts +2 -1
  355. package/lib/types/components/sidePanel/btw/BtwPanelAdapter.d.ts.map +1 -1
  356. package/lib/types/components/sidePanel/btw/BtwPanelAdapter.js +156 -21
  357. package/lib/types/components/sidePanel/btw/BtwThreadScene.d.ts +6 -2
  358. package/lib/types/components/sidePanel/btw/BtwThreadScene.d.ts.map +1 -1
  359. package/lib/types/components/sidePanel/btw/BtwThreadScene.js +64 -16
  360. package/lib/types/components/sidePanel/btw/BtwThreadView.d.ts +15 -5
  361. package/lib/types/components/sidePanel/btw/BtwThreadView.d.ts.map +1 -1
  362. package/lib/types/components/sidePanel/btw/BtwThreadView.js +101 -10
  363. package/lib/types/components/sidePanel/btw/threads.d.ts +18 -0
  364. package/lib/types/components/sidePanel/btw/threads.d.ts.map +1 -1
  365. package/lib/types/components/sidePanel/btw/threads.js +51 -0
  366. package/lib/types/components/sidePanel/builtinPanels.d.ts.map +1 -1
  367. package/lib/types/components/sidePanel/builtinPanels.js +5 -1
  368. package/lib/types/components/sidePanel/companion/CompanionPanel.js +2 -2
  369. package/lib/types/components/sidePanel/companion/SplashMascot.d.ts +5 -1
  370. package/lib/types/components/sidePanel/companion/SplashMascot.d.ts.map +1 -1
  371. package/lib/types/components/sidePanel/companion/SplashMascot.js +19 -4
  372. package/lib/types/components/sidePanel/companion/skins.d.ts +8 -0
  373. package/lib/types/components/sidePanel/companion/skins.d.ts.map +1 -1
  374. package/lib/types/components/sidePanel/companion/skins.js +57 -12
  375. package/lib/types/components/sidePanel/types.d.ts +7 -1
  376. package/lib/types/components/sidePanel/types.d.ts.map +1 -1
  377. package/lib/types/components/sidePanel/useSidePanel.d.ts +2 -0
  378. package/lib/types/components/sidePanel/useSidePanel.d.ts.map +1 -1
  379. package/lib/types/components/sidePanel/useSidePanel.js +11 -1
  380. package/lib/types/components/splashArtRows.d.ts +29 -0
  381. package/lib/types/components/splashArtRows.d.ts.map +1 -0
  382. package/lib/types/components/splashArtRows.js +31 -0
  383. package/lib/types/components/splashFonts.d.ts +24 -1
  384. package/lib/types/components/splashFonts.d.ts.map +1 -1
  385. package/lib/types/components/splashFonts.js +40 -5
  386. package/lib/types/components/teamRoster.d.ts +70 -0
  387. package/lib/types/components/teamRoster.d.ts.map +1 -0
  388. package/lib/types/components/teamRoster.js +78 -0
  389. package/lib/types/components/workspaces/HomeWorkspaceRow.d.ts +3 -1
  390. package/lib/types/components/workspaces/HomeWorkspaceRow.d.ts.map +1 -1
  391. package/lib/types/components/workspaces/HomeWorkspaceRow.js +5 -2
  392. package/lib/types/dsh-adapter/admission-loader.d.ts +102 -0
  393. package/lib/types/dsh-adapter/admission-loader.d.ts.map +1 -0
  394. package/lib/types/dsh-adapter/admission-loader.js +301 -0
  395. package/lib/types/dsh-adapter/agent-view.d.ts.map +1 -1
  396. package/lib/types/dsh-adapter/agent-view.js +3 -1
  397. package/lib/types/dsh-adapter/approvals.d.ts +7 -0
  398. package/lib/types/dsh-adapter/approvals.d.ts.map +1 -1
  399. package/lib/types/dsh-adapter/approvals.js +45 -1
  400. package/lib/types/dsh-adapter/backend/translate.d.ts.map +1 -1
  401. package/lib/types/dsh-adapter/backend/translate.js +71 -8
  402. package/lib/types/dsh-adapter/backend-admission.d.ts +64 -0
  403. package/lib/types/dsh-adapter/backend-admission.d.ts.map +1 -0
  404. package/lib/types/dsh-adapter/backend-admission.js +34 -0
  405. package/lib/types/dsh-adapter/backend-assembly.d.ts +31 -0
  406. package/lib/types/dsh-adapter/backend-assembly.d.ts.map +1 -0
  407. package/lib/types/dsh-adapter/backend-assembly.js +225 -0
  408. package/lib/types/dsh-adapter/backend-contribution.d.ts +62 -0
  409. package/lib/types/dsh-adapter/backend-contribution.d.ts.map +1 -0
  410. package/lib/types/dsh-adapter/backend-contribution.js +78 -0
  411. package/lib/types/dsh-adapter/backend-registry.d.ts +136 -0
  412. package/lib/types/dsh-adapter/backend-registry.d.ts.map +1 -0
  413. package/lib/types/dsh-adapter/backend-registry.js +304 -0
  414. package/lib/types/dsh-adapter/backends.d.ts +67 -24
  415. package/lib/types/dsh-adapter/backends.d.ts.map +1 -1
  416. package/lib/types/dsh-adapter/backends.generated.d.ts +12 -0
  417. package/lib/types/dsh-adapter/backends.generated.d.ts.map +1 -0
  418. package/lib/types/dsh-adapter/backends.generated.js +6 -0
  419. package/lib/types/dsh-adapter/backends.js +91 -46
  420. package/lib/types/dsh-adapter/bundled-presets.d.ts.map +1 -1
  421. package/lib/types/dsh-adapter/bundled-presets.js +60 -3
  422. package/lib/types/dsh-adapter/channel/action-readiness.d.ts +2 -0
  423. package/lib/types/dsh-adapter/channel/action-readiness.d.ts.map +1 -1
  424. package/lib/types/dsh-adapter/channel/action-readiness.js +9 -3
  425. package/lib/types/dsh-adapter/channel/agent-view-projection.js +2 -2
  426. package/lib/types/dsh-adapter/channel/background-action.d.ts.map +1 -1
  427. package/lib/types/dsh-adapter/channel/background-action.js +8 -3
  428. package/lib/types/dsh-adapter/channel/binding-events.d.ts +17 -3
  429. package/lib/types/dsh-adapter/channel/binding-events.d.ts.map +1 -1
  430. package/lib/types/dsh-adapter/channel/binding-events.js +19 -46
  431. package/lib/types/dsh-adapter/channel/channel-host.d.ts +45 -0
  432. package/lib/types/dsh-adapter/channel/channel-host.d.ts.map +1 -0
  433. package/lib/types/dsh-adapter/channel/channel-host.js +1 -0
  434. package/lib/types/dsh-adapter/channel/command-completions.d.ts +5 -0
  435. package/lib/types/dsh-adapter/channel/command-completions.d.ts.map +1 -1
  436. package/lib/types/dsh-adapter/channel/command-completions.js +79 -6
  437. package/lib/types/dsh-adapter/channel/compaction.d.ts +7 -2
  438. package/lib/types/dsh-adapter/channel/compaction.d.ts.map +1 -1
  439. package/lib/types/dsh-adapter/channel/compaction.js +100 -26
  440. package/lib/types/dsh-adapter/channel/composer-images.d.ts +4 -2
  441. package/lib/types/dsh-adapter/channel/composer-images.d.ts.map +1 -1
  442. package/lib/types/dsh-adapter/channel/composer-images.js +36 -5
  443. package/lib/types/dsh-adapter/channel/cordis-host.d.ts +14 -0
  444. package/lib/types/dsh-adapter/channel/cordis-host.d.ts.map +1 -0
  445. package/lib/types/dsh-adapter/channel/cordis-host.js +35 -0
  446. package/lib/types/dsh-adapter/channel/core/actions.d.ts +3 -3
  447. package/lib/types/dsh-adapter/channel/core/actions.d.ts.map +1 -1
  448. package/lib/types/dsh-adapter/channel/core/actions.js +15 -6
  449. package/lib/types/dsh-adapter/channel/core/binding-feed.d.ts +10 -3
  450. package/lib/types/dsh-adapter/channel/core/binding-feed.d.ts.map +1 -1
  451. package/lib/types/dsh-adapter/channel/core/binding-feed.js +5 -1
  452. package/lib/types/dsh-adapter/channel/core/compose.d.ts +12 -28
  453. package/lib/types/dsh-adapter/channel/core/compose.d.ts.map +1 -1
  454. package/lib/types/dsh-adapter/channel/core/compose.js +330 -117
  455. package/lib/types/dsh-adapter/channel/core/files.d.ts +7 -2
  456. package/lib/types/dsh-adapter/channel/core/files.d.ts.map +1 -1
  457. package/lib/types/dsh-adapter/channel/core/files.js +1 -0
  458. package/lib/types/dsh-adapter/channel/core/host.d.ts +12 -6
  459. package/lib/types/dsh-adapter/channel/core/host.d.ts.map +1 -1
  460. package/lib/types/dsh-adapter/channel/core/host.js +69 -35
  461. package/lib/types/dsh-adapter/channel/core/local-actions.d.ts +5 -3
  462. package/lib/types/dsh-adapter/channel/core/local-actions.d.ts.map +1 -1
  463. package/lib/types/dsh-adapter/channel/core/local-actions.js +5 -2
  464. package/lib/types/dsh-adapter/channel/core/session-controls.js +2 -2
  465. package/lib/types/dsh-adapter/channel/core/session-switch.d.ts +7 -4
  466. package/lib/types/dsh-adapter/channel/core/session-switch.d.ts.map +1 -1
  467. package/lib/types/dsh-adapter/channel/core/session-switch.js +8 -4
  468. package/lib/types/dsh-adapter/channel/core/sessions.d.ts +1 -1
  469. package/lib/types/dsh-adapter/channel/core/sessions.d.ts.map +1 -1
  470. package/lib/types/dsh-adapter/channel/core/sessions.js +75 -16
  471. package/lib/types/dsh-adapter/channel/extensions.d.ts +4 -3
  472. package/lib/types/dsh-adapter/channel/extensions.d.ts.map +1 -1
  473. package/lib/types/dsh-adapter/channel/extensions.js +109 -30
  474. package/lib/types/dsh-adapter/channel/input-delivery.d.ts +2 -2
  475. package/lib/types/dsh-adapter/channel/input-delivery.d.ts.map +1 -1
  476. package/lib/types/dsh-adapter/channel/input-delivery.js +14 -5
  477. package/lib/types/dsh-adapter/channel/job-projection.d.ts +4 -0
  478. package/lib/types/dsh-adapter/channel/job-projection.d.ts.map +1 -1
  479. package/lib/types/dsh-adapter/channel/job-projection.js +205 -24
  480. package/lib/types/dsh-adapter/channel/mentions.d.ts +3 -3
  481. package/lib/types/dsh-adapter/channel/mentions.d.ts.map +1 -1
  482. package/lib/types/dsh-adapter/channel/mode-permission-actions.d.ts +7 -0
  483. package/lib/types/dsh-adapter/channel/mode-permission-actions.d.ts.map +1 -1
  484. package/lib/types/dsh-adapter/channel/mode-permission-actions.js +235 -13
  485. package/lib/types/dsh-adapter/channel/model-actions.d.ts +5 -1
  486. package/lib/types/dsh-adapter/channel/model-actions.d.ts.map +1 -1
  487. package/lib/types/dsh-adapter/channel/model-actions.js +48 -29
  488. package/lib/types/dsh-adapter/channel/model-selection.d.ts +17 -0
  489. package/lib/types/dsh-adapter/channel/model-selection.d.ts.map +1 -0
  490. package/lib/types/dsh-adapter/channel/model-selection.js +109 -0
  491. package/lib/types/dsh-adapter/channel/model-switch.d.ts +12 -21
  492. package/lib/types/dsh-adapter/channel/model-switch.d.ts.map +1 -1
  493. package/lib/types/dsh-adapter/channel/model-switch.js +39 -102
  494. package/lib/types/dsh-adapter/channel/permissions.d.ts.map +1 -1
  495. package/lib/types/dsh-adapter/channel/permissions.js +4 -1
  496. package/lib/types/dsh-adapter/channel/projection-helpers.d.ts.map +1 -1
  497. package/lib/types/dsh-adapter/channel/projection-helpers.js +2 -0
  498. package/lib/types/dsh-adapter/channel/projection.js +1 -1
  499. package/lib/types/dsh-adapter/channel/reports.d.ts +1 -1
  500. package/lib/types/dsh-adapter/channel/reports.d.ts.map +1 -1
  501. package/lib/types/dsh-adapter/channel/reports.js +11 -3
  502. package/lib/types/dsh-adapter/channel/session-fork.d.ts.map +1 -1
  503. package/lib/types/dsh-adapter/channel/session-fork.js +33 -20
  504. package/lib/types/dsh-adapter/channel/session-listing.d.ts +20 -0
  505. package/lib/types/dsh-adapter/channel/session-listing.d.ts.map +1 -0
  506. package/lib/types/dsh-adapter/channel/session-listing.js +51 -0
  507. package/lib/types/dsh-adapter/channel/session-metadata.d.ts +3 -1
  508. package/lib/types/dsh-adapter/channel/session-metadata.d.ts.map +1 -1
  509. package/lib/types/dsh-adapter/channel/session-metadata.js +60 -30
  510. package/lib/types/dsh-adapter/channel/session-reset.js +2 -2
  511. package/lib/types/dsh-adapter/channel/session-resume.d.ts.map +1 -1
  512. package/lib/types/dsh-adapter/channel/session-resume.js +22 -8
  513. package/lib/types/dsh-adapter/channel/session-rewind.d.ts.map +1 -1
  514. package/lib/types/dsh-adapter/channel/session-rewind.js +38 -24
  515. package/lib/types/dsh-adapter/channel/session-tree-actions.d.ts.map +1 -1
  516. package/lib/types/dsh-adapter/channel/session-tree-actions.js +38 -24
  517. package/lib/types/dsh-adapter/channel/settings-host.d.ts +5 -2
  518. package/lib/types/dsh-adapter/channel/settings-host.d.ts.map +1 -1
  519. package/lib/types/dsh-adapter/channel/settings-host.js +136 -5
  520. package/lib/types/dsh-adapter/channel/state.d.ts +43 -1
  521. package/lib/types/dsh-adapter/channel/state.d.ts.map +1 -1
  522. package/lib/types/dsh-adapter/channel/state.js +14 -1
  523. package/lib/types/dsh-adapter/channel/subagent-projection.d.ts.map +1 -1
  524. package/lib/types/dsh-adapter/channel/subagent-projection.js +84 -12
  525. package/lib/types/dsh-adapter/channel/task-completion.d.ts +6 -0
  526. package/lib/types/dsh-adapter/channel/task-completion.d.ts.map +1 -0
  527. package/lib/types/dsh-adapter/channel/task-completion.js +114 -0
  528. package/lib/types/dsh-adapter/channel/transcript.d.ts +8 -1
  529. package/lib/types/dsh-adapter/channel/transcript.d.ts.map +1 -1
  530. package/lib/types/dsh-adapter/channel/transcript.js +20 -3
  531. package/lib/types/dsh-adapter/channel/upstream-retry.d.ts +81 -0
  532. package/lib/types/dsh-adapter/channel/upstream-retry.d.ts.map +1 -0
  533. package/lib/types/dsh-adapter/channel/upstream-retry.js +138 -0
  534. package/lib/types/dsh-adapter/channel/workspace-actions.d.ts.map +1 -1
  535. package/lib/types/dsh-adapter/channel/workspace-actions.js +9 -8
  536. package/lib/types/dsh-adapter/channel-ui.d.ts +3 -1
  537. package/lib/types/dsh-adapter/channel-ui.d.ts.map +1 -1
  538. package/lib/types/dsh-adapter/channel-ui.js +4 -2
  539. package/lib/types/dsh-adapter/channel.d.ts +2 -2
  540. package/lib/types/dsh-adapter/channel.d.ts.map +1 -1
  541. package/lib/types/dsh-adapter/channel.js +19 -5
  542. package/lib/types/dsh-adapter/compat/agent-team-0.2.0.d.ts +55 -0
  543. package/lib/types/dsh-adapter/compat/agent-team-0.2.0.d.ts.map +1 -0
  544. package/lib/types/dsh-adapter/compat/agent-team-0.2.0.js +96 -0
  545. package/lib/types/dsh-adapter/context-occupancy.d.ts +81 -4
  546. package/lib/types/dsh-adapter/context-occupancy.d.ts.map +1 -1
  547. package/lib/types/dsh-adapter/context-occupancy.js +108 -17
  548. package/lib/types/dsh-adapter/contract.d.ts +4 -4
  549. package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
  550. package/lib/types/dsh-adapter/contract.js +20 -5
  551. package/lib/types/dsh-adapter/effect-ledger.d.ts +7 -0
  552. package/lib/types/dsh-adapter/effect-ledger.d.ts.map +1 -1
  553. package/lib/types/dsh-adapter/effect-ledger.js +8 -1
  554. package/lib/types/dsh-adapter/entry-slot.d.ts +38 -0
  555. package/lib/types/dsh-adapter/entry-slot.d.ts.map +1 -0
  556. package/lib/types/dsh-adapter/entry-slot.js +28 -0
  557. package/lib/types/dsh-adapter/fresh-agent.d.ts +22 -0
  558. package/lib/types/dsh-adapter/fresh-agent.d.ts.map +1 -0
  559. package/lib/types/dsh-adapter/fresh-agent.js +226 -0
  560. package/lib/types/dsh-adapter/host-access.d.ts +16 -1
  561. package/lib/types/dsh-adapter/host-access.d.ts.map +1 -1
  562. package/lib/types/dsh-adapter/host-access.js +148 -2
  563. package/lib/types/dsh-adapter/host-contract.d.ts +103 -0
  564. package/lib/types/dsh-adapter/host-contract.d.ts.map +1 -0
  565. package/lib/types/dsh-adapter/host-contract.js +77 -0
  566. package/lib/types/dsh-adapter/host-dsh.d.ts +112 -0
  567. package/lib/types/dsh-adapter/host-dsh.d.ts.map +1 -0
  568. package/lib/types/dsh-adapter/host-dsh.js +481 -0
  569. package/lib/types/dsh-adapter/host-entry.d.ts +9 -0
  570. package/lib/types/dsh-adapter/host-entry.d.ts.map +1 -0
  571. package/lib/types/dsh-adapter/host-entry.js +253 -0
  572. package/lib/types/dsh-adapter/index.d.ts +53 -17
  573. package/lib/types/dsh-adapter/index.d.ts.map +1 -1
  574. package/lib/types/dsh-adapter/index.js +63 -9
  575. package/lib/types/dsh-adapter/install/executors.d.ts +44 -0
  576. package/lib/types/dsh-adapter/install/executors.d.ts.map +1 -0
  577. package/lib/types/dsh-adapter/install/executors.js +15 -0
  578. package/lib/types/dsh-adapter/install/pnpm-profile-add.d.ts +3 -0
  579. package/lib/types/dsh-adapter/install/pnpm-profile-add.d.ts.map +1 -0
  580. package/lib/types/dsh-adapter/install/pnpm-profile-add.js +150 -0
  581. package/lib/types/dsh-adapter/invariant.d.ts +7 -2
  582. package/lib/types/dsh-adapter/invariant.d.ts.map +1 -1
  583. package/lib/types/dsh-adapter/invariant.js +6 -3
  584. package/lib/types/dsh-adapter/jobs.d.ts +7 -0
  585. package/lib/types/dsh-adapter/jobs.d.ts.map +1 -1
  586. package/lib/types/dsh-adapter/jobs.js +13 -0
  587. package/lib/types/dsh-adapter/lite-profile.d.ts +50 -0
  588. package/lib/types/dsh-adapter/lite-profile.d.ts.map +1 -0
  589. package/lib/types/dsh-adapter/lite-profile.js +49 -0
  590. package/lib/types/dsh-adapter/migrate/index.js +2 -2
  591. package/lib/types/dsh-adapter/migrate/parse/jsonl.d.ts +1 -1
  592. package/lib/types/dsh-adapter/migrate/parse/jsonl.d.ts.map +1 -1
  593. package/lib/types/dsh-adapter/migrate/parse/jsonl.js +4 -3
  594. package/lib/types/dsh-adapter/oauth/profiles.d.ts.map +1 -1
  595. package/lib/types/dsh-adapter/oauth/profiles.js +5 -1
  596. package/lib/types/dsh-adapter/panels.d.ts +7 -0
  597. package/lib/types/dsh-adapter/panels.d.ts.map +1 -1
  598. package/lib/types/dsh-adapter/panels.js +41 -2
  599. package/lib/types/dsh-adapter/plugin-completions.d.ts +32 -0
  600. package/lib/types/dsh-adapter/plugin-completions.d.ts.map +1 -0
  601. package/lib/types/dsh-adapter/plugin-completions.js +80 -0
  602. package/lib/types/dsh-adapter/plugin-declaration.d.ts +119 -0
  603. package/lib/types/dsh-adapter/plugin-declaration.d.ts.map +1 -0
  604. package/lib/types/dsh-adapter/plugin-declaration.js +183 -0
  605. package/lib/types/dsh-adapter/plugin-feed.d.ts +94 -0
  606. package/lib/types/dsh-adapter/plugin-feed.d.ts.map +1 -0
  607. package/lib/types/dsh-adapter/plugin-feed.js +135 -0
  608. package/lib/types/dsh-adapter/plugin-guard.d.ts +115 -0
  609. package/lib/types/dsh-adapter/plugin-guard.d.ts.map +1 -0
  610. package/lib/types/dsh-adapter/plugin-guard.js +108 -0
  611. package/lib/types/dsh-adapter/plugin-host.d.ts +13 -2
  612. package/lib/types/dsh-adapter/plugin-host.d.ts.map +1 -1
  613. package/lib/types/dsh-adapter/plugin-host.js +34 -8
  614. package/lib/types/dsh-adapter/plugin-install.d.ts +160 -0
  615. package/lib/types/dsh-adapter/plugin-install.d.ts.map +1 -0
  616. package/lib/types/dsh-adapter/plugin-install.js +545 -0
  617. package/lib/types/dsh-adapter/plugin-manage.d.ts +178 -0
  618. package/lib/types/dsh-adapter/plugin-manage.d.ts.map +1 -0
  619. package/lib/types/dsh-adapter/plugin-manage.js +468 -0
  620. package/lib/types/dsh-adapter/plugin-manager.d.ts +144 -0
  621. package/lib/types/dsh-adapter/plugin-manager.d.ts.map +1 -0
  622. package/lib/types/dsh-adapter/plugin-manager.js +83 -0
  623. package/lib/types/dsh-adapter/plugin.d.ts +50 -1
  624. package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
  625. package/lib/types/dsh-adapter/plugin.js +918 -234
  626. package/lib/types/dsh-adapter/plugins-info.d.ts +130 -8
  627. package/lib/types/dsh-adapter/plugins-info.d.ts.map +1 -1
  628. package/lib/types/dsh-adapter/plugins-info.js +469 -44
  629. package/lib/types/dsh-adapter/process-exit.d.ts +43 -0
  630. package/lib/types/dsh-adapter/process-exit.d.ts.map +1 -0
  631. package/lib/types/dsh-adapter/process-exit.js +60 -0
  632. package/lib/types/dsh-adapter/root-dispose.d.ts +18 -0
  633. package/lib/types/dsh-adapter/root-dispose.d.ts.map +1 -0
  634. package/lib/types/dsh-adapter/root-dispose.js +28 -0
  635. package/lib/types/dsh-adapter/session-list-metadata.d.ts +20 -0
  636. package/lib/types/dsh-adapter/session-list-metadata.d.ts.map +1 -0
  637. package/lib/types/dsh-adapter/session-list-metadata.js +56 -0
  638. package/lib/types/dsh-adapter/session-projection-store.d.ts +66 -0
  639. package/lib/types/dsh-adapter/session-projection-store.d.ts.map +1 -0
  640. package/lib/types/dsh-adapter/session-projection-store.js +149 -0
  641. package/lib/types/dsh-adapter/session-seed.d.ts +11 -0
  642. package/lib/types/dsh-adapter/session-seed.d.ts.map +1 -0
  643. package/lib/types/dsh-adapter/session-seed.js +47 -0
  644. package/lib/types/dsh-adapter/sessions/list.d.ts +3 -1
  645. package/lib/types/dsh-adapter/sessions/list.d.ts.map +1 -1
  646. package/lib/types/dsh-adapter/sessions/list.js +11 -5
  647. package/lib/types/dsh-adapter/sessions/snapshot.d.ts +0 -2
  648. package/lib/types/dsh-adapter/sessions/snapshot.d.ts.map +1 -1
  649. package/lib/types/dsh-adapter/sessions/snapshot.js +7 -70
  650. package/lib/types/dsh-adapter/settingsEditor.js +2 -2
  651. package/lib/types/dsh-adapter/sideQuestion.d.ts +21 -0
  652. package/lib/types/dsh-adapter/sideQuestion.d.ts.map +1 -1
  653. package/lib/types/dsh-adapter/sideQuestion.js +53 -0
  654. package/lib/types/dsh-adapter/startup-args.d.ts +2 -0
  655. package/lib/types/dsh-adapter/startup-args.d.ts.map +1 -1
  656. package/lib/types/dsh-adapter/startup-args.js +5 -0
  657. package/lib/types/dsh-adapter/subagents.d.ts +33 -1
  658. package/lib/types/dsh-adapter/subagents.d.ts.map +1 -1
  659. package/lib/types/dsh-adapter/subagents.js +112 -9
  660. package/lib/types/dsh-adapter/team-mode.d.ts +74 -0
  661. package/lib/types/dsh-adapter/team-mode.d.ts.map +1 -0
  662. package/lib/types/dsh-adapter/team-mode.js +188 -0
  663. package/lib/types/dsh-adapter/team-roster.d.ts +67 -0
  664. package/lib/types/dsh-adapter/team-roster.d.ts.map +1 -0
  665. package/lib/types/dsh-adapter/team-roster.js +136 -0
  666. package/lib/types/dsh-adapter/team-tools.d.ts +58 -0
  667. package/lib/types/dsh-adapter/team-tools.d.ts.map +1 -0
  668. package/lib/types/dsh-adapter/team-tools.js +208 -0
  669. package/lib/types/dsh-adapter/tui-settings.d.ts +57 -0
  670. package/lib/types/dsh-adapter/tui-settings.d.ts.map +1 -0
  671. package/lib/types/dsh-adapter/tui-settings.js +199 -0
  672. package/lib/types/dsh-adapter/types.d.ts +1 -1
  673. package/lib/types/dsh-adapter/types.d.ts.map +1 -1
  674. package/lib/types/effortPrefs.d.ts +6 -3
  675. package/lib/types/effortPrefs.d.ts.map +1 -1
  676. package/lib/types/effortPrefs.js +7 -4
  677. package/lib/types/hostEntryRoute.d.ts +18 -0
  678. package/lib/types/hostEntryRoute.d.ts.map +1 -0
  679. package/lib/types/hostEntryRoute.js +57 -0
  680. package/lib/types/i18n.d.ts +961 -1439
  681. package/lib/types/i18n.d.ts.map +1 -1
  682. package/lib/types/i18n.js +443 -387
  683. package/lib/types/ink/components/AlternateScreen.js +2 -2
  684. package/lib/types/ink/components/App.d.ts +1 -0
  685. package/lib/types/ink/components/App.d.ts.map +1 -1
  686. package/lib/types/ink/components/App.js +16 -4
  687. package/lib/types/ink/components/CursorDeclarationContext.d.ts +9 -0
  688. package/lib/types/ink/components/CursorDeclarationContext.d.ts.map +1 -1
  689. package/lib/types/ink/components/CursorDeclarationContext.js +2 -0
  690. package/lib/types/ink/components/ScrollBox.d.ts +9 -0
  691. package/lib/types/ink/components/ScrollBox.d.ts.map +1 -1
  692. package/lib/types/ink/components/ScrollBox.js +23 -0
  693. package/lib/types/ink/dom.d.ts.map +1 -1
  694. package/lib/types/ink/hooks/use-copy-on-select.d.ts +2 -2
  695. package/lib/types/ink/hooks/use-copy-on-select.d.ts.map +1 -1
  696. package/lib/types/ink/hooks/use-copy-on-select.js +13 -7
  697. package/lib/types/ink/hooks/use-declared-cursor.d.ts +11 -3
  698. package/lib/types/ink/hooks/use-declared-cursor.d.ts.map +1 -1
  699. package/lib/types/ink/hooks/use-declared-cursor.js +30 -10
  700. package/lib/types/ink/ink.d.ts +22 -17
  701. package/lib/types/ink/ink.d.ts.map +1 -1
  702. package/lib/types/ink/ink.js +151 -40
  703. package/lib/types/ink/kitty-graphics.d.ts +2 -0
  704. package/lib/types/ink/kitty-graphics.d.ts.map +1 -1
  705. package/lib/types/ink/kitty-graphics.js +6 -1
  706. package/lib/types/ink/node-cache.d.ts +2 -1
  707. package/lib/types/ink/node-cache.d.ts.map +1 -1
  708. package/lib/types/ink/output.d.ts +10 -4
  709. package/lib/types/ink/output.d.ts.map +1 -1
  710. package/lib/types/ink/output.js +14 -10
  711. package/lib/types/ink/render-node-to-output.d.ts +5 -2
  712. package/lib/types/ink/render-node-to-output.d.ts.map +1 -1
  713. package/lib/types/ink/render-node-to-output.js +27 -9
  714. package/lib/types/ink/renderer.d.ts +1 -0
  715. package/lib/types/ink/renderer.d.ts.map +1 -1
  716. package/lib/types/ink/renderer.js +4 -3
  717. package/lib/types/ink/root.d.ts +4 -1
  718. package/lib/types/ink/root.d.ts.map +1 -1
  719. package/lib/types/ink/screen.d.ts +4 -2
  720. package/lib/types/ink/screen.d.ts.map +1 -1
  721. package/lib/types/ink/selection.d.ts +10 -1
  722. package/lib/types/ink/selection.d.ts.map +1 -1
  723. package/lib/types/ink/selection.js +94 -25
  724. package/lib/types/ink/stdin-handoff.d.ts +11 -0
  725. package/lib/types/ink/stdin-handoff.d.ts.map +1 -0
  726. package/lib/types/ink/stdin-handoff.js +20 -0
  727. package/lib/types/ink/styles.d.ts +2 -1
  728. package/lib/types/ink/styles.d.ts.map +1 -1
  729. package/lib/types/ink/terminal-image.d.ts +6 -4
  730. package/lib/types/ink/terminal-image.d.ts.map +1 -1
  731. package/lib/types/ink/terminal-image.js +16 -39
  732. package/lib/types/ink/terminal-notification.d.ts +8 -0
  733. package/lib/types/ink/terminal-notification.d.ts.map +1 -0
  734. package/lib/types/ink/terminal-notification.js +83 -0
  735. package/lib/types/ink/terminal.d.ts +9 -0
  736. package/lib/types/ink/terminal.d.ts.map +1 -1
  737. package/lib/types/ink/terminal.js +34 -1
  738. package/lib/types/ink/termio/csi.d.ts +11 -0
  739. package/lib/types/ink/termio/csi.d.ts.map +1 -1
  740. package/lib/types/ink/termio/csi.js +13 -0
  741. package/lib/types/ink/update-overflow-guard.d.ts +6 -0
  742. package/lib/types/ink/update-overflow-guard.d.ts.map +1 -1
  743. package/lib/types/ink/update-overflow-guard.js +17 -0
  744. package/lib/types/ink/wrap-text.d.ts +6 -0
  745. package/lib/types/ink/wrap-text.d.ts.map +1 -1
  746. package/lib/types/ink/wrap-text.js +17 -0
  747. package/lib/types/kernelPrefs.d.ts +130 -17
  748. package/lib/types/kernelPrefs.d.ts.map +1 -1
  749. package/lib/types/kernelPrefs.js +98 -35
  750. package/lib/types/math/inline-layout.d.ts +2 -0
  751. package/lib/types/math/inline-layout.d.ts.map +1 -1
  752. package/lib/types/math/inline-layout.js +5 -27
  753. package/lib/types/modelGroups.d.ts +15 -27
  754. package/lib/types/modelGroups.d.ts.map +1 -1
  755. package/lib/types/modelGroups.js +17 -31
  756. package/lib/types/modelPrefs.d.ts +5 -4
  757. package/lib/types/modelPrefs.d.ts.map +1 -1
  758. package/lib/types/modelPrefs.js +5 -4
  759. package/lib/types/modelRoute.d.ts +23 -9
  760. package/lib/types/modelRoute.d.ts.map +1 -1
  761. package/lib/types/modelRoute.js +25 -11
  762. package/lib/types/native-ts/yoga-layout/index.d.ts.map +1 -1
  763. package/lib/types/native-ts/yoga-layout/index.js +8 -1
  764. package/lib/types/permissionPrefs.d.ts +34 -0
  765. package/lib/types/permissionPrefs.d.ts.map +1 -0
  766. package/lib/types/permissionPrefs.js +61 -0
  767. package/lib/types/permissionPresetLabels.d.ts +25 -0
  768. package/lib/types/permissionPresetLabels.d.ts.map +1 -0
  769. package/lib/types/permissionPresetLabels.js +33 -0
  770. package/lib/types/plugin-host.d.ts +1 -0
  771. package/lib/types/plugin-host.d.ts.map +1 -1
  772. package/lib/types/preset-patch.d.ts +22 -0
  773. package/lib/types/preset-patch.d.ts.map +1 -0
  774. package/lib/types/preset-patch.js +14 -0
  775. package/lib/types/presetPrefs.d.ts +17 -3
  776. package/lib/types/presetPrefs.d.ts.map +1 -1
  777. package/lib/types/presetPrefs.js +20 -3
  778. package/lib/types/reload.d.ts +6 -10
  779. package/lib/types/reload.d.ts.map +1 -1
  780. package/lib/types/reload.js +14 -14
  781. package/lib/types/screens/Chat.d.ts +55 -16
  782. package/lib/types/screens/Chat.d.ts.map +1 -1
  783. package/lib/types/screens/Chat.js +742 -280
  784. package/lib/types/screens/Launchpad.d.ts +33 -17
  785. package/lib/types/screens/Launchpad.d.ts.map +1 -1
  786. package/lib/types/screens/Launchpad.js +256 -78
  787. package/lib/types/screens/SessionSupervisor.d.ts.map +1 -1
  788. package/lib/types/screens/SessionSupervisor.js +53 -12
  789. package/lib/types/screens/Settings.d.ts.map +1 -1
  790. package/lib/types/screens/Settings.js +7 -0
  791. package/lib/types/screens/StatusLine.d.ts.map +1 -1
  792. package/lib/types/screens/StatusLine.js +24 -7
  793. package/lib/types/screens/StatusMetrics.d.ts +46 -1
  794. package/lib/types/screens/StatusMetrics.d.ts.map +1 -1
  795. package/lib/types/screens/StatusMetrics.js +72 -0
  796. package/lib/types/screens/chat/useKernelPicker.d.ts +8 -4
  797. package/lib/types/screens/chat/useKernelPicker.d.ts.map +1 -1
  798. package/lib/types/screens/chat/useKernelPicker.js +61 -21
  799. package/lib/types/screens/chat/useModelPicker.d.ts +42 -0
  800. package/lib/types/screens/chat/useModelPicker.d.ts.map +1 -0
  801. package/lib/types/screens/chat/useModelPicker.js +182 -0
  802. package/lib/types/screens/chat/usePluginWriteFlow.d.ts +68 -0
  803. package/lib/types/screens/chat/usePluginWriteFlow.d.ts.map +1 -0
  804. package/lib/types/screens/chat/usePluginWriteFlow.js +92 -0
  805. package/lib/types/screens/chatOverlay.d.ts +30 -5
  806. package/lib/types/screens/chatOverlay.d.ts.map +1 -1
  807. package/lib/types/screens/chatOverlay.js +0 -1
  808. package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.d.ts +4 -1
  809. package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.d.ts.map +1 -1
  810. package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.js +26 -5
  811. package/lib/types/screens/sessionSupervisor/useSessionSupervisor.d.ts +1 -1
  812. package/lib/types/screens/sessionSupervisor/useSessionSupervisor.d.ts.map +1 -1
  813. package/lib/types/screens/sessionSupervisor/useSessionSupervisor.js +51 -29
  814. package/lib/types/sessionHistory.d.ts +5 -0
  815. package/lib/types/sessionHistory.d.ts.map +1 -1
  816. package/lib/types/sessionHistory.js +5 -0
  817. package/lib/types/sessionModes.d.ts +5 -3
  818. package/lib/types/sessionModes.d.ts.map +1 -1
  819. package/lib/types/sessionModes.js +9 -3
  820. package/lib/types/sessions/listSnapshot.d.ts +6 -0
  821. package/lib/types/sessions/listSnapshot.d.ts.map +1 -0
  822. package/lib/types/sessions/listSnapshot.js +67 -0
  823. package/lib/types/settings/definitions.d.ts +50 -0
  824. package/lib/types/settings/definitions.d.ts.map +1 -1
  825. package/lib/types/settings/definitions.js +42 -8
  826. package/lib/types/terminal-utils/cjk-emphasis.d.ts +28 -0
  827. package/lib/types/terminal-utils/cjk-emphasis.d.ts.map +1 -0
  828. package/lib/types/terminal-utils/cjk-emphasis.js +31 -0
  829. package/lib/types/terminal-utils/markdown.d.ts +3 -1
  830. package/lib/types/terminal-utils/markdown.d.ts.map +1 -1
  831. package/lib/types/terminal-utils/markdown.js +7 -2
  832. package/lib/types/theme.d.ts +29 -12
  833. package/lib/types/theme.d.ts.map +1 -1
  834. package/lib/types/theme.js +310 -23
  835. package/lib/types/themeCatalog.d.ts.map +1 -1
  836. package/lib/types/themeCatalog.js +21 -2
  837. package/lib/types/tips.js +4 -4
  838. package/lib/types/tuiSettingsFile.d.ts +56 -0
  839. package/lib/types/tuiSettingsFile.d.ts.map +1 -0
  840. package/lib/types/tuiSettingsFile.js +206 -0
  841. package/lib/types/ui.d.ts +2 -0
  842. package/lib/types/ui.d.ts.map +1 -1
  843. package/lib/types/ui.js +2 -0
  844. package/lib/types/update.d.ts +72 -26
  845. package/lib/types/update.d.ts.map +1 -1
  846. package/lib/types/update.js +131 -43
  847. package/lib/types/utils/bmp.d.ts +7 -0
  848. package/lib/types/utils/bmp.d.ts.map +1 -1
  849. package/lib/types/utils/bmp.js +27 -0
  850. package/lib/types/utils/bootTrace.d.ts +2 -0
  851. package/lib/types/utils/bootTrace.d.ts.map +1 -0
  852. package/lib/types/utils/bootTrace.js +20 -0
  853. package/lib/types/utils/clipboard.d.ts.map +1 -1
  854. package/lib/types/utils/clipboard.js +11 -3
  855. package/lib/types/utils/credentials.d.ts +14 -2
  856. package/lib/types/utils/credentials.d.ts.map +1 -1
  857. package/lib/types/utils/credentials.js +34 -11
  858. package/lib/types/utils/imageResize.d.ts +10 -20
  859. package/lib/types/utils/imageResize.d.ts.map +1 -1
  860. package/lib/types/utils/imageResize.js +61 -134
  861. package/lib/types/utils/inputPaste.d.ts +2 -2
  862. package/lib/types/utils/inputPaste.js +2 -2
  863. package/lib/types/utils/pastedImagePath.d.ts +5 -0
  864. package/lib/types/utils/pastedImagePath.d.ts.map +1 -1
  865. package/lib/types/utils/pastedImagePath.js +33 -0
  866. package/lib/types/utils/paths.d.ts +11 -0
  867. package/lib/types/utils/paths.d.ts.map +1 -1
  868. package/lib/types/utils/paths.js +13 -0
  869. package/package.json +150 -114
  870. package/presets/winbash.mjs +716 -0
  871. package/tui-profile/feed/README.md +63 -0
  872. package/tui-profile/feed/first-party.json +10 -0
  873. package/tui-profile/protocols/profile-definitions.d.ts +1 -0
  874. package/tui-profile/protocols/profile-definitions.js +14 -0
  875. package/tui-profile/protocols/tui-contributions.d.ts +55 -0
  876. package/tui-profile/protocols/tui-contributions.js +141 -0
  877. package/tui-profile/registry/contracts/backend-v1alpha1.json +13 -0
  878. package/tui-profile/registry/registry-0.15.json +12 -0
  879. package/lib/types/backends/claude/install.d.ts +0 -15
  880. package/lib/types/backends/claude/install.d.ts.map +0 -1
  881. package/lib/types/backends/claude/install.js +0 -91
  882. package/lib/types/channel/elicitation.d.ts.map +0 -1
  883. package/lib/types/dsh-adapter/channel/session-lineage.d.ts +0 -42
  884. package/lib/types/dsh-adapter/channel/session-lineage.d.ts.map +0 -1
  885. package/lib/types/dsh-adapter/channel/session-lineage.js +0 -51
  886. package/lib/types/utils/jsonl.d.ts.map +0 -1
@@ -0,0 +1,933 @@
1
+ /**
2
+ * The Codex backend's own copy (B-5): every string this backend puts on
3
+ * screen, in the languages the TUI ships, keyed as the host dictionary
4
+ * happened to key them so the move stayed reviewable.
5
+ *
6
+ * Why a backend carries its own text (D2): the host's dictionary
7
+ * (`src/i18n.ts`) is not readable from a backend, and a plugin must not be
8
+ * able to pass itself off as first-party copy. The shape and the rule
9
+ * (`{{name}}` placeholders) are shared
10
+ * (`src/backends/shared/localized-text.ts`), so the mechanism cannot drift.
11
+ * The shared type also allows the `one`/`other` plural pair; no codex string
12
+ * uses it (counted: no `t()` call passes `count`), so this backend carries no
13
+ * plural selectors, unlike claude.
14
+ *
15
+ * The language is read live from the host (`BackendHost.locale`), installed by
16
+ * `detect()`/`open()`: a `/lang` switch applies to the next string, exactly
17
+ * as `t()` behaved. Before either runs there is no host to ask, and the
18
+ * fallback is `zh` — the same last-resort default `src/i18n.ts` documents for
19
+ * its own resolution order.
20
+ */
21
+ import type { BackendLocale } from '../../agent/backend.js';
22
+ import type { ElicitationText } from '../shared/elicitation.js';
23
+ import { type LocalizedText, type TextParams } from '../shared/localized-text.js';
24
+ /**
25
+ * Every string of this backend. `zh` and `en` are both required
26
+ * (`scripts/verify-i18n.ts` checks the same invariants the host dictionary
27
+ * gets: language completeness, placeholder parity and single-brace typos).
28
+ */
29
+ declare const texts: {
30
+ readonly 'capability-failed': Readonly<{
31
+ zh: "{{name}} 失败 · {{err}}";
32
+ en: "{{name}} failed · {{err}}";
33
+ }>;
34
+ readonly 'status-rate-limit-five-hour': Readonly<{
35
+ zh: "5小时";
36
+ en: "5h";
37
+ }>;
38
+ readonly 'status-rate-limit-seven-day': Readonly<{
39
+ zh: "7天";
40
+ en: "7d";
41
+ }>;
42
+ readonly 'doctor-unknown': Readonly<{
43
+ zh: "未知";
44
+ en: "unknown";
45
+ }>;
46
+ readonly 'effort-invalid': Readonly<{
47
+ zh: "未知推理等级 {{id}}(当前模型可选:{{ids}})";
48
+ en: "Unknown reasoning effort {{id}} (this model offers: {{ids}})";
49
+ }>;
50
+ readonly 'tool-name-bash': Readonly<{
51
+ zh: "Bash";
52
+ en: "Bash";
53
+ }>;
54
+ readonly 'tool-name-edit': Readonly<{
55
+ zh: "编辑";
56
+ en: "Edit";
57
+ }>;
58
+ readonly 'codex-approve-accept': {
59
+ readonly zh: "是,执行";
60
+ readonly en: "Yes, proceed";
61
+ };
62
+ readonly 'codex-approve-decline': {
63
+ readonly zh: "否,跳过它继续";
64
+ readonly en: "No, continue without running it";
65
+ };
66
+ readonly 'codex-approve-cancel': {
67
+ readonly zh: "否,并告诉 Codex 怎么做";
68
+ readonly en: "No, and tell Codex what to do differently";
69
+ };
70
+ readonly 'codex-approve-decline-files': {
71
+ readonly zh: "否,不应用这些改动,继续";
72
+ readonly en: "No, continue without these changes";
73
+ };
74
+ readonly 'codex-approve-grant-turn': {
75
+ readonly zh: "是,本回合授予这些权限";
76
+ readonly en: "Yes, grant these permissions for this turn";
77
+ };
78
+ readonly 'codex-approve-deny-permissions': {
79
+ readonly zh: "否,不授予权限继续";
80
+ readonly en: "No, continue without permissions";
81
+ };
82
+ readonly 'codex-approve-stdin-name': {
83
+ readonly zh: "终端输入";
84
+ readonly en: "Terminal input";
85
+ };
86
+ readonly 'codex-approve-stdin': {
87
+ readonly zh: "向运行中的终端写入输入";
88
+ readonly en: "writes input to a running terminal";
89
+ };
90
+ readonly 'codex-approve-network-context': {
91
+ readonly zh: "访问网络主机 {{host}}({{protocol}})";
92
+ readonly en: "network access to {{host}} ({{protocol}})";
93
+ };
94
+ readonly 'codex-approve-extra-permissions': {
95
+ readonly zh: "额外权限:{{what}}";
96
+ readonly en: "extra permissions: {{what}}";
97
+ };
98
+ readonly 'codex-approve-cwd': {
99
+ readonly zh: "在 {{cwd}} 中运行";
100
+ readonly en: "runs in {{cwd}}";
101
+ };
102
+ readonly 'codex-approve-prefix': {
103
+ readonly zh: "是,以后以 `{{prefix}}` 开头的命令不再询问";
104
+ readonly en: "Yes, and don't ask again for commands that start with `{{prefix}}`";
105
+ };
106
+ readonly 'codex-approve-session-command': {
107
+ readonly zh: "是,本会话内此命令不再询问";
108
+ readonly en: "Yes, and don't ask again for this command in this session";
109
+ };
110
+ readonly 'codex-approve-session-files': {
111
+ readonly zh: "是,本会话内这些文件不再询问";
112
+ readonly en: "Yes, and don't ask again for these files";
113
+ };
114
+ readonly 'codex-approve-session-permissions': {
115
+ readonly zh: "是,本会话内都授予这些权限";
116
+ readonly en: "Yes, grant these permissions for this session";
117
+ };
118
+ readonly 'codex-approve-network': {
119
+ readonly zh: "是,以后允许访问 {{host}}";
120
+ readonly en: "Yes, and allow {{host}} in the future";
121
+ };
122
+ readonly 'codex-permissions-name': {
123
+ readonly zh: "额外权限";
124
+ readonly en: "Extra permissions";
125
+ };
126
+ readonly 'codex-perm-network': {
127
+ readonly zh: "联网";
128
+ readonly en: "network";
129
+ };
130
+ readonly 'codex-perm-read': {
131
+ readonly zh: "读取 {{paths}}";
132
+ readonly en: "read {{paths}}";
133
+ };
134
+ readonly 'codex-perm-write': {
135
+ readonly zh: "写入 {{paths}}";
136
+ readonly en: "write {{paths}}";
137
+ };
138
+ readonly 'codex-declined': {
139
+ readonly zh: "已拒绝";
140
+ readonly en: "Declined";
141
+ };
142
+ readonly 'codex-interrupted': {
143
+ readonly zh: "已中断";
144
+ readonly en: "Interrupted";
145
+ };
146
+ readonly 'codex-tool-failed': {
147
+ readonly zh: "执行失败";
148
+ readonly en: "Failed";
149
+ };
150
+ readonly 'codex-tool-unfinished': {
151
+ readonly zh: "回合结束时仍未完成";
152
+ readonly en: "Unfinished when the turn ended";
153
+ };
154
+ readonly 'codex-turn-failed': {
155
+ readonly zh: "回合失败";
156
+ readonly en: "The turn failed";
157
+ };
158
+ readonly 'codex-turn-start-failed': {
159
+ readonly zh: "Codex 没有接受这条消息:{{err}}";
160
+ readonly en: "Codex did not take this message: {{err}}";
161
+ };
162
+ readonly 'codex-steer-fallback': {
163
+ readonly zh: "当前回合无法插话,这条消息会在回合结束后发送";
164
+ readonly en: "The running turn cannot take this message now; it will be sent when the turn ends";
165
+ };
166
+ readonly 'codex-cancel-forced': {
167
+ readonly zh: "中断 15 秒未得到确认,已在本地结束本回合";
168
+ readonly en: "The interrupt was not confirmed within 15s; the turn was closed here";
169
+ };
170
+ readonly 'codex-session-closed': {
171
+ readonly zh: "Codex 会话已关闭";
172
+ readonly en: "The Codex session is closed";
173
+ };
174
+ readonly 'codex-retrying': {
175
+ readonly zh: "请求失败,Codex 正在重试:{{message}}";
176
+ readonly en: "The request failed; Codex is retrying: {{message}}";
177
+ };
178
+ readonly 'codex-rerouted': {
179
+ readonly zh: "模型已由 {{from}} 改为 {{to}}({{reason}})";
180
+ readonly en: "The model was rerouted from {{from}} to {{to}} ({{reason}})";
181
+ };
182
+ readonly 'codex-system-error': {
183
+ readonly zh: "Codex 报告该会话出现系统错误";
184
+ readonly en: "Codex reported a system error on this thread";
185
+ };
186
+ readonly 'codex-review-start': {
187
+ readonly zh: "开始代码审查:{{review}}";
188
+ readonly en: "Code review started: {{review}}";
189
+ };
190
+ readonly 'codex-auto-review-started': {
191
+ readonly zh: "自动审查中…";
192
+ readonly en: "Auto-review in progress…";
193
+ };
194
+ readonly 'codex-auto-review-approved': {
195
+ readonly zh: "自动审查:已批准";
196
+ readonly en: "Auto-review: approved";
197
+ };
198
+ readonly 'codex-auto-review-denied': {
199
+ readonly zh: "自动审查:已拒绝";
200
+ readonly en: "Auto-review: denied";
201
+ };
202
+ readonly 'codex-auto-review-ended': {
203
+ readonly zh: "自动审查已结束";
204
+ readonly en: "Auto-review ended";
205
+ };
206
+ readonly 'codex-strict-review': {
207
+ readonly zh: "本回合之后的命令需要先通过审查";
208
+ readonly en: "Further commands in this turn need a review first";
209
+ };
210
+ readonly 'codex-hook-started': {
211
+ readonly zh: "hook {{event}} 运行中…";
212
+ readonly en: "Hook {{event}} running…";
213
+ };
214
+ readonly 'codex-hook-done': {
215
+ readonly zh: "hook {{event}} 完成 {{duration}}";
216
+ readonly en: "Hook {{event}} finished {{duration}}";
217
+ };
218
+ readonly 'codex-hook-failed': {
219
+ readonly zh: "hook {{event}} 失败 {{duration}}";
220
+ readonly en: "Hook {{event}} failed {{duration}}";
221
+ };
222
+ readonly 'codex-mcp-failed': {
223
+ readonly zh: "MCP 服务器 {{name}} 启动失败:{{error}}";
224
+ readonly en: "The MCP server {{name}} failed to start: {{error}}";
225
+ };
226
+ readonly 'codex-thread-closed': {
227
+ readonly zh: "该会话已在别处关闭,仍可继续对话";
228
+ readonly en: "This thread was closed elsewhere; you can keep talking";
229
+ };
230
+ readonly 'codex-thread-archived': {
231
+ readonly zh: "该会话已在别处归档,仍可继续对话";
232
+ readonly en: "This thread was archived elsewhere; you can keep talking";
233
+ };
234
+ readonly 'codex-thread-deleted': {
235
+ readonly zh: "该会话已在别处删除";
236
+ readonly en: "This thread was deleted elsewhere";
237
+ };
238
+ readonly 'codex-rate-limit-reached': {
239
+ readonly zh: "已达到 Codex 用量上限({{kind}})";
240
+ readonly en: "The Codex usage limit is reached ({{kind}})";
241
+ };
242
+ readonly 'codex-hint-unauthorized': {
243
+ readonly zh: "Codex 凭据无效或已过期:在终端运行 codex login 重新登录";
244
+ readonly en: "The Codex credential is invalid or expired: sign in again with `codex login` in a terminal";
245
+ };
246
+ readonly 'codex-hint-context': {
247
+ readonly zh: "上下文已满:可以用 /compact 压缩后继续";
248
+ readonly en: "The context is full: run /compact and continue";
249
+ };
250
+ readonly 'codex-hint-limit': {
251
+ readonly zh: "已达到用量上限,稍后再试";
252
+ readonly en: "A usage limit is reached; try again later";
253
+ };
254
+ readonly 'codex-hint-sandbox': {
255
+ readonly zh: "沙箱出错:Linux 上请安装 bubblewrap(例如 apt install bubblewrap)";
256
+ readonly en: "Sandbox error: on Linux install bubblewrap (e.g. apt install bubblewrap)";
257
+ };
258
+ readonly 'codex-connection-lost': {
259
+ readonly zh: "Codex 进程退出,正在重连…";
260
+ readonly en: "The Codex process exited; reconnecting…";
261
+ };
262
+ readonly 'codex-connection-failed': {
263
+ readonly zh: "Codex 进程无法启动:{{err}}";
264
+ readonly en: "The Codex process cannot start: {{err}}";
265
+ };
266
+ readonly 'codex-connection-dead': {
267
+ readonly zh: "连接已断开且无法恢复,请重新打开会话";
268
+ readonly en: "The connection is gone for good; please reopen the session";
269
+ };
270
+ readonly 'codex-reconnected': {
271
+ readonly zh: "已重新连接 Codex";
272
+ readonly en: "Reconnected to Codex";
273
+ };
274
+ readonly 'codex-not-installed': {
275
+ readonly zh: "未找到 codex:npm i -g @openai/codex 或 brew install codex,或设置 CODEX_EXECUTABLE";
276
+ readonly en: "codex was not found: npm i -g @openai/codex or brew install codex, or set CODEX_EXECUTABLE";
277
+ };
278
+ readonly 'codex-too-old': {
279
+ readonly zh: "codex {{version}} 太旧(至少 {{min}}):请升级";
280
+ readonly en: "codex {{version}} is too old (needs {{min}}): please upgrade";
281
+ };
282
+ readonly 'codex-auth-missing-hint': {
283
+ readonly zh: "未检测到 Codex 凭据:启动后用 /login 登录,或设置 OPENAI_API_KEY";
284
+ readonly en: "No Codex credential found: sign in with /login after start, or set OPENAI_API_KEY";
285
+ };
286
+ readonly 'codex-start-failed': {
287
+ readonly zh: "Codex app-server 启动失败:{{err}}";
288
+ readonly en: "The Codex app-server failed to start: {{err}}";
289
+ };
290
+ readonly 'codex-open-failed': {
291
+ readonly zh: "无法打开 Codex 会话:{{err}}";
292
+ readonly en: "Could not open the Codex thread: {{err}}";
293
+ };
294
+ readonly 'codex-thread-busy': {
295
+ readonly zh: "Codex 会话 {{id}} 正被另一个 Codex 进程使用,先关闭那边再打开";
296
+ readonly en: "The Codex thread {{id}} is in use by another Codex process; close it there first";
297
+ };
298
+ readonly 'codex-resume-not-found': {
299
+ readonly zh: "找不到 Codex 会话 {{id}}({{err}})";
300
+ readonly en: "The Codex thread {{id}} was not found ({{err}})";
301
+ };
302
+ readonly 'codex-version-drift': {
303
+ readonly zh: "codex {{version}} 未经本版 dsh-tui 验证(已验证:{{validated}}),继续运行";
304
+ readonly en: "codex {{version}} is not validated with this dsh-tui (validated: {{validated}}); continuing";
305
+ };
306
+ readonly 'codex-doctor-cli': {
307
+ readonly zh: "Codex CLI: {{path}}({{source}})· 版本 {{version}}";
308
+ readonly en: "Codex CLI: {{path}} ({{source}}) · version {{version}}";
309
+ };
310
+ readonly 'codex-doctor-home': {
311
+ readonly zh: "Codex 主目录: {{home}}";
312
+ readonly en: "Codex home: {{home}}";
313
+ };
314
+ readonly 'codex-doctor-thread': {
315
+ readonly zh: "Codex 会话: {{id}} · provider {{provider}} · 模型 {{model}}";
316
+ readonly en: "Codex thread: {{id}} · provider {{provider}} · model {{model}}";
317
+ };
318
+ readonly 'codex-doctor-mode': {
319
+ readonly zh: "权限模式: {{mode}}";
320
+ readonly en: "Permission mode: {{mode}}";
321
+ };
322
+ readonly 'codex-doctor-bubblewrap': {
323
+ readonly zh: "未找到 bubblewrap:Codex 改用自带沙箱;建议用系统包管理器安装 bubblewrap";
324
+ readonly en: "bubblewrap was not found: Codex uses its bundled sandbox; installing bubblewrap from the system package manager is recommended";
325
+ };
326
+ readonly 'codex-mode-read-only': {
327
+ readonly zh: "只读";
328
+ readonly en: "Read Only";
329
+ };
330
+ readonly 'codex-mode-read-only-desc': {
331
+ readonly zh: "只读取文件;命令和修改需审批";
332
+ readonly en: "Read files; commands and changes require approval";
333
+ };
334
+ readonly 'codex-mode-auto': {
335
+ readonly zh: "默认";
336
+ readonly en: "Default";
337
+ };
338
+ readonly 'codex-mode-auto-desc': {
339
+ readonly zh: "可修改工作区;工作区外和网络操作需审批";
340
+ readonly en: "Edit the workspace; ask before outside-workspace or network access";
341
+ };
342
+ readonly 'codex-mode-full-access': {
343
+ readonly zh: "完全访问";
344
+ readonly en: "Full Access";
345
+ };
346
+ readonly 'codex-mode-full-access-desc': {
347
+ readonly zh: "关闭沙箱和审批,仅通过显式选择进入";
348
+ readonly en: "Disable sandbox and approvals; explicit selection only";
349
+ };
350
+ readonly 'codex-mode-plan': {
351
+ readonly zh: "计划";
352
+ readonly en: "Plan";
353
+ };
354
+ readonly 'codex-mode-plan-desc': {
355
+ readonly zh: "先调研和规划,保留当前权限档";
356
+ readonly en: "Research and plan, preserving the current permissions";
357
+ };
358
+ readonly 'codex-mode-invalid': {
359
+ readonly zh: "未知 Codex 模式:{{mode}}";
360
+ readonly en: "Unknown Codex mode: {{mode}}";
361
+ };
362
+ readonly 'codex-settings-deferred': {
363
+ readonly zh: "当前 Codex 版本不支持即时改设置,选择将在下一回合生效";
364
+ readonly en: "This Codex version cannot update idle settings; your choices apply on the next turn";
365
+ };
366
+ readonly 'codex-capability-unavailable': {
367
+ readonly zh: "当前 Codex 版本不支持 {{feature}},请升级";
368
+ readonly en: "This Codex version does not support {{feature}}; please upgrade";
369
+ };
370
+ readonly 'codex-effort-none': {
371
+ readonly zh: "无";
372
+ readonly en: "None";
373
+ };
374
+ readonly 'codex-effort-minimal': {
375
+ readonly zh: "极低";
376
+ readonly en: "Minimal";
377
+ };
378
+ readonly 'codex-effort-low': {
379
+ readonly zh: "低";
380
+ readonly en: "Low";
381
+ };
382
+ readonly 'codex-effort-medium': {
383
+ readonly zh: "中";
384
+ readonly en: "Medium";
385
+ };
386
+ readonly 'codex-effort-high': {
387
+ readonly zh: "高";
388
+ readonly en: "High";
389
+ };
390
+ readonly 'codex-effort-xhigh': {
391
+ readonly zh: "极高";
392
+ readonly en: "Extra high";
393
+ };
394
+ readonly 'codex-effort-ultra': {
395
+ readonly zh: "超高";
396
+ readonly en: "Ultra";
397
+ };
398
+ readonly 'codex-command-idle': {
399
+ readonly zh: "请先结束或中断当前回合";
400
+ readonly en: "Finish or interrupt the current turn first";
401
+ };
402
+ readonly 'codex-command-review': {
403
+ readonly zh: "审查未提交改动、分支、提交或自定义范围";
404
+ readonly en: "Review working changes, a branch, a commit, or custom instructions";
405
+ };
406
+ readonly 'codex-command-diff': {
407
+ readonly zh: "显示最近回合的文件差异";
408
+ readonly en: "Show the latest turn's file diff";
409
+ };
410
+ readonly 'codex-command-plan': {
411
+ readonly zh: "切换到 Plan 模式,可附带提示词";
412
+ readonly en: "Enter Plan mode, optionally with a prompt";
413
+ };
414
+ readonly 'codex-command-usage': {
415
+ readonly zh: "查看 Codex 额度和重置时间";
416
+ readonly en: "Show Codex usage limits and reset times";
417
+ };
418
+ readonly 'codex-diff-empty': {
419
+ readonly zh: "没有文件差异";
420
+ readonly en: "No file differences";
421
+ };
422
+ readonly 'codex-usage-window': {
423
+ readonly zh: "{{name}}:已用 {{used}}% · 重置 {{reset}}";
424
+ readonly en: "{{name}}: {{used}}% used · resets {{reset}}";
425
+ };
426
+ readonly 'codex-usage-credits': {
427
+ readonly zh: "额度余额 {{balance}} · 不限量:{{unlimited}}";
428
+ readonly en: "Credits {{balance}} · unlimited: {{unlimited}}";
429
+ };
430
+ readonly 'codex-usage-unavailable': {
431
+ readonly zh: "当前 provider 未提供额度信息";
432
+ readonly en: "The current provider supplies no usage-limit information";
433
+ };
434
+ readonly 'codex-yes': {
435
+ readonly zh: "是";
436
+ readonly en: "yes";
437
+ };
438
+ readonly 'codex-no': {
439
+ readonly zh: "否";
440
+ readonly en: "no";
441
+ };
442
+ readonly 'codex-question-auto-answered': {
443
+ readonly zh: "问卷等待超时,已按服务端设置选择默认答案";
444
+ readonly en: "The question timed out; the server's default answer was selected";
445
+ };
446
+ readonly 'codex-plan-implement': {
447
+ readonly zh: "要实施这个计划吗?";
448
+ readonly en: "Implement this plan?";
449
+ };
450
+ readonly 'codex-plan-yes': {
451
+ readonly zh: "是,实施这个计划";
452
+ readonly en: "Yes, implement this plan";
453
+ };
454
+ readonly 'codex-plan-clear': {
455
+ readonly zh: "是,清空上下文后实施";
456
+ readonly en: "Yes, clear context and implement";
457
+ };
458
+ readonly 'codex-plan-stay': {
459
+ readonly zh: "否,留在 Plan 模式";
460
+ readonly en: "No, stay in Plan mode";
461
+ };
462
+ readonly 'codex-plan-action-failed': {
463
+ readonly zh: "无法开始实施计划:{{error}}";
464
+ readonly en: "Could not start implementing the plan: {{error}}";
465
+ };
466
+ readonly 'codex-bwrap-warning': {
467
+ readonly zh: "未找到 bubblewrap,沙箱命令可能失败。请安装(如 apt install bubblewrap),或在 /permission 中明确选择完全访问";
468
+ readonly en: "bubblewrap was not found; sandboxed commands may fail. Install it (e.g. apt install bubblewrap), or explicitly select Full Access in /permission";
469
+ };
470
+ readonly 'codex-model-waiting': {
471
+ readonly zh: "等待模型响应…";
472
+ readonly en: "Waiting for the model…";
473
+ };
474
+ readonly 'codex-model-stalled': {
475
+ readonly zh: "模型长时间无响应,可按 Esc 中断";
476
+ readonly en: "The model has not responded for a long time; press Esc to interrupt";
477
+ };
478
+ readonly 'codex-working-command': {
479
+ readonly zh: "运行 {{command}}";
480
+ readonly en: "Running {{command}}";
481
+ };
482
+ readonly 'codex-working-files': {
483
+ readonly zh: "编辑 {{files}}";
484
+ readonly en: "Editing {{files}}";
485
+ };
486
+ readonly 'codex-working-subagents': {
487
+ readonly zh: "等待子代理";
488
+ readonly en: "Waiting for subagents";
489
+ };
490
+ readonly 'codex-working-thinking': {
491
+ readonly zh: "思考中…";
492
+ readonly en: "Thinking…";
493
+ };
494
+ readonly 'codex-channel-url-required': {
495
+ readonly zh: "渠道连接缺少 base URL,请用 /channel 配置";
496
+ readonly en: "The channel connection has no base URL; configure it with /channel";
497
+ };
498
+ readonly 'codex-channel-token-missing': {
499
+ readonly zh: "渠道 {{name}} 缺少可用令牌,请用 /channel 补充";
500
+ readonly en: "Channel {{name}} has no usable token; add one with /channel";
501
+ };
502
+ readonly 'codex-channel-store-unavailable': {
503
+ readonly zh: "宿主未提供渠道令牌库,无法保存令牌";
504
+ readonly en: "The host did not provide a channel token store; the token cannot be saved";
505
+ };
506
+ readonly 'codex-channel-token-write-failed': {
507
+ readonly zh: "渠道令牌保存失败,连接未更新";
508
+ readonly en: "The channel token could not be saved; the connection was not updated";
509
+ };
510
+ readonly 'codex-auth-login-needed': {
511
+ readonly zh: "Codex 需要凭据:用 /login 登录";
512
+ readonly en: "Codex needs credentials: sign in with /login";
513
+ };
514
+ readonly 'codex-provider-env-key-missing': {
515
+ readonly zh: "provider {{provider}} 缺 {{env}}:Codex 会拒绝每个回合;导出它或写进 ~/.dsh/.credentials.yaml";
516
+ readonly en: "Provider {{provider}} is missing {{env}}: Codex rejects every turn. Export it or store it in ~/.dsh/.credentials.yaml";
517
+ };
518
+ readonly 'codex-auth-refresh-failed': {
519
+ readonly zh: "ChatGPT 订阅令牌刷新失败,已停止注入;用 /login 重新登录,或使用自己的 Codex 登录";
520
+ readonly en: "The ChatGPT subscription token refresh failed; injection stopped. Use /login again or your own Codex login";
521
+ };
522
+ readonly 'codex-auth-login-failed': {
523
+ readonly zh: "Codex 登录未完成,已停止托管令牌注入;请用 /login 重试";
524
+ readonly en: "Codex login did not complete; managed token injection stopped. Retry with /login";
525
+ };
526
+ readonly 'codex-auth-claims-missing': {
527
+ readonly zh: "内置 OAuth 令牌缺少 ChatGPT 账户信息,未注入;请用 /login 重新登录";
528
+ readonly en: "The built-in OAuth token has no ChatGPT account identity and was not injected; sign in again with /login";
529
+ };
530
+ readonly 'codex-auth-source-channel': {
531
+ readonly zh: "凭据来源:渠道 {{name}}";
532
+ readonly en: "Credential source: channel {{name}}";
533
+ };
534
+ readonly 'codex-auth-source-oauth': {
535
+ readonly zh: "凭据来源:dsh-auth ChatGPT 订阅";
536
+ readonly en: "Credential source: dsh-auth ChatGPT subscription";
537
+ };
538
+ readonly 'codex-auth-source-native': {
539
+ readonly zh: "凭据来源:Codex 自己的登录";
540
+ readonly en: "Credential source: Codex native login";
541
+ };
542
+ readonly 'codex-auth-source-api-key': {
543
+ readonly zh: "凭据来源:API key";
544
+ readonly en: "Credential source: API key";
545
+ };
546
+ readonly 'codex-auth-source-missing': {
547
+ readonly zh: "凭据来源:未登录";
548
+ readonly en: "Credential source: not signed in";
549
+ };
550
+ readonly 'codex-auth-source-unknown': {
551
+ readonly zh: "凭据来源:由 Codex 配置管理(无法确定)";
552
+ readonly en: "Credential source: managed by Codex configuration (unknown)";
553
+ };
554
+ readonly 'codex-auth-plan': {
555
+ readonly zh: "订阅:{{plan}}";
556
+ readonly en: "Subscription: {{plan}}";
557
+ };
558
+ readonly 'codex-auth-host': {
559
+ readonly zh: "Provider 主机:{{host}}";
560
+ readonly en: "Provider host: {{host}}";
561
+ };
562
+ readonly 'codex-auth-route-blocked': {
563
+ readonly zh: "当前路由不接受内置订阅令牌;请使用自己的 Codex 登录或 /channel 渠道";
564
+ readonly en: "This route does not accept built-in subscription tokens; use your own Codex login or /channel";
565
+ };
566
+ readonly 'codex-auth-channel-active': {
567
+ readonly zh: "当前使用渠道凭据;请在 /channel 管理连接,不改动 OpenAI 登录";
568
+ readonly en: "Channel credentials are active; manage the connection in /channel without changing OpenAI login";
569
+ };
570
+ readonly 'codex-auth-api-key-required': {
571
+ readonly zh: "请输入非空 API key";
572
+ readonly en: "Enter a non-empty API key";
573
+ };
574
+ readonly 'codex-login-choose': {
575
+ readonly zh: "选择 Codex 登录方式";
576
+ readonly en: "Choose a Codex sign-in method";
577
+ };
578
+ readonly 'codex-login-oauth': {
579
+ readonly zh: "内置 ChatGPT OAuth";
580
+ readonly en: "Built-in ChatGPT OAuth";
581
+ };
582
+ readonly 'codex-login-oauth-desc': {
583
+ readonly zh: "复用 dsh-auth 登录,只向第一方路由提供内存令牌";
584
+ readonly en: "Use dsh-auth; supply in-memory tokens only to first-party routes";
585
+ };
586
+ readonly 'codex-login-device': {
587
+ readonly zh: "Codex 设备码登录";
588
+ readonly en: "Codex device-code login";
589
+ };
590
+ readonly 'codex-login-device-desc': {
591
+ readonly zh: "在浏览器输入设备码,凭据由 Codex 保存";
592
+ readonly en: "Enter a device code in a browser; Codex stores the credential";
593
+ };
594
+ readonly 'codex-login-api-key': {
595
+ readonly zh: "API key";
596
+ readonly en: "API key";
597
+ };
598
+ readonly 'codex-login-api-key-prompt': {
599
+ readonly zh: "输入 OpenAI API key";
600
+ readonly en: "Enter an OpenAI API key";
601
+ };
602
+ readonly 'codex-login-api-key-storage': {
603
+ readonly zh: "此方式会把 API key 写入用户的 Codex 凭据存储";
604
+ readonly en: "This method writes the API key into your Codex credential store";
605
+ };
606
+ readonly 'codex-login-device-code': {
607
+ readonly zh: "在验证页面输入设备码:{{code}}";
608
+ readonly en: "Enter this device code on the verification page: {{code}}";
609
+ };
610
+ readonly 'codex-login-device-wait': {
611
+ readonly zh: "等待浏览器授权完成;可取消此次登录";
612
+ readonly en: "Waiting for browser authorization; you can cancel this login";
613
+ };
614
+ readonly 'codex-login-cancel': {
615
+ readonly zh: "取消此次登录";
616
+ readonly en: "Cancel this login";
617
+ };
618
+ readonly 'codex-login-success': {
619
+ readonly zh: "Codex 登录已完成";
620
+ readonly en: "Codex sign-in completed";
621
+ };
622
+ readonly 'codex-goal-usage-limited': {
623
+ readonly zh: "Codex 用量额度已达到上限";
624
+ readonly en: "The Codex usage limit was reached";
625
+ };
626
+ readonly 'codex-goal-budget-limited': {
627
+ readonly zh: "目标的 token 预算已用尽";
628
+ readonly en: "The goal token budget was exhausted";
629
+ };
630
+ readonly 'codex-goal-blocked': {
631
+ readonly zh: "Codex 目标暂时受阻";
632
+ readonly en: "The Codex goal is blocked";
633
+ };
634
+ readonly 'codex-tasks-unsupported': {
635
+ readonly zh: "此 Codex 不支持后台终端监控,任务能力已关闭";
636
+ readonly en: "This Codex does not support background terminal monitoring; task controls are unavailable";
637
+ };
638
+ readonly 'codex-terminal-ended': {
639
+ readonly zh: "终端已不在运行列表中;退出状态不可用";
640
+ readonly en: "The terminal is no longer running; exit status is unavailable";
641
+ };
642
+ readonly 'codex-terminal-stopped': {
643
+ readonly zh: "后台终端已停止";
644
+ readonly en: "The background terminal was stopped";
645
+ };
646
+ readonly 'codex-terminal-no-output': {
647
+ readonly zh: "此后台终端暂没有可读取的输出";
648
+ readonly en: "No readable output is available for this background terminal";
649
+ };
650
+ readonly 'codex-side-open-failed': {
651
+ readonly zh: "无法创建临时旁问会话";
652
+ readonly en: "Could not create the ephemeral side-question thread";
653
+ };
654
+ readonly 'codex-images-too-many': {
655
+ readonly zh: "Codex 一条消息最多接受 {{n}} 张图片";
656
+ readonly en: "Codex accepts at most {{n}} images per message";
657
+ };
658
+ readonly 'codex-image-type-refused': {
659
+ readonly zh: "图片 {{name}} 的格式 {{type}} 不受 Codex 支持";
660
+ readonly en: "Image {{name}} uses {{type}}, which Codex does not accept";
661
+ };
662
+ readonly 'codex-image-unreadable': {
663
+ readonly zh: "无法读取图片 {{name}}";
664
+ readonly en: "Image {{name}} could not be read";
665
+ };
666
+ readonly 'codex-image-too-large': {
667
+ readonly zh: "图片 {{name}} 超过 Codex 的 {{mb}} MiB 限制";
668
+ readonly en: "Image {{name}} exceeds the Codex {{mb}} MiB limit";
669
+ };
670
+ readonly 'codex-images-too-large': {
671
+ readonly zh: "本条消息的图片总大小超过 {{mb}} MiB";
672
+ readonly en: "The message images exceed {{mb}} MiB in total";
673
+ };
674
+ readonly 'codex-image-dimensions-refused': {
675
+ readonly zh: "图片 {{name}} 超过 {{px}} 像素限制,请缩小后重试";
676
+ readonly en: "Image {{name}} exceeds the {{px}} pixel limit; resize it and retry";
677
+ };
678
+ readonly 'codex-history-fetch-failed': {
679
+ readonly zh: "Codex 更早历史连续读取失败,暂时停止预取;可重新打开会话后重试";
680
+ readonly en: "Earlier Codex history could not be read after three attempts; reopen the session to retry";
681
+ };
682
+ readonly 'codex-preview-image': {
683
+ readonly zh: "[图片]";
684
+ readonly en: "[Image]";
685
+ };
686
+ readonly 'codex-archive-busy': {
687
+ readonly zh: "该 Codex 会话由活动中的内部任务使用,暂时无法归档";
688
+ readonly en: "This Codex thread is owned by an active internal worker and cannot be archived yet";
689
+ };
690
+ readonly 'codex-orphan-request': {
691
+ readonly zh: "无法确定 Codex 子代理请求所属会话,已取消该请求";
692
+ readonly en: "Could not find the session owning a Codex subagent request; the request was cancelled";
693
+ };
694
+ readonly 'codex-channel-url-invalid': {
695
+ readonly zh: "渠道 URL 只接受 HTTPS(HTTP 仅限 localhost/127.0.0.1),不能含账号密码、查询串、片段或疑似密钥路径";
696
+ readonly en: "A channel URL must use HTTPS (HTTP only on localhost/127.0.0.1), without userinfo, query, fragment, or key-like path segments";
697
+ };
698
+ readonly 'codex-channel-id-invalid': {
699
+ readonly zh: "渠道 ID 只能含字母、数字、下划线和连字符";
700
+ readonly en: "A channel ID may only contain letters, digits, underscores and hyphens";
701
+ };
702
+ readonly 'codex-channel-wire-api-invalid': {
703
+ readonly zh: "Codex 渠道仅支持 Responses API";
704
+ readonly en: "Codex channels only support the Responses API";
705
+ };
706
+ readonly 'codex-channel-env-invalid': {
707
+ readonly zh: "渠道 env 只能存非凭据变量;令牌请填入令牌输入框";
708
+ readonly en: "Channel env may only hold non-credential variables; use the token input for credentials";
709
+ };
710
+ readonly 'codex-anchor-missing': {
711
+ readonly zh: "找不到这条消息的原生回合,无法 fork 或回退";
712
+ readonly en: "The native turn for this message is unavailable; it cannot be forked or rewound";
713
+ };
714
+ readonly 'codex-rewind-files-unsupported': {
715
+ readonly zh: "Codex 仅支持对话回退,不恢复工作区文件";
716
+ readonly en: "Codex supports conversation rewind only; workspace files are not restored";
717
+ };
718
+ readonly 'codex-rewind-upgrade': {
719
+ readonly zh: "此处回退需要 Codex app-server {{min}} 或更新版本;请升级并重启 Codex 服务,或先加载更早消息后重试";
720
+ readonly en: "Rewinding here requires Codex app-server {{min}} or newer; upgrade and restart the Codex server, or load earlier messages and retry";
721
+ };
722
+ readonly 'codex-goals-unsupported': {
723
+ readonly zh: "此 Codex 不支持目标管理,目标能力已关闭";
724
+ readonly en: "This Codex does not support goal management; goal controls are unavailable";
725
+ };
726
+ readonly 'codex-subagent-unavailable': {
727
+ readonly zh: "无法读取此 Codex 子代理的历史";
728
+ readonly en: "This Codex subagent history is unavailable";
729
+ };
730
+ readonly 'codex-reconnect-incomplete': {
731
+ readonly zh: "Codex 恢复缺口超过读取预算或游标失效,请重新打开会话";
732
+ readonly en: "Codex recovery exceeded its history budget or could not reach a known turn; reopen the session";
733
+ };
734
+ readonly 'elicit-skip': {
735
+ readonly zh: "跳过";
736
+ readonly en: "Skip";
737
+ };
738
+ readonly 'elicit-skip-desc': {
739
+ readonly zh: "这一项不填";
740
+ readonly en: "Leave this field empty";
741
+ };
742
+ readonly 'elicit-optional': {
743
+ readonly zh: "{{title}}(可选)";
744
+ readonly en: "{{title}} (optional)";
745
+ };
746
+ readonly 'elicit-yes': {
747
+ readonly zh: "是";
748
+ readonly en: "Yes";
749
+ };
750
+ readonly 'elicit-no': {
751
+ readonly zh: "否";
752
+ readonly en: "No";
753
+ };
754
+ readonly 'elicit-send': {
755
+ readonly zh: "发送";
756
+ readonly en: "Send";
757
+ };
758
+ readonly 'elicit-send-desc': {
759
+ readonly zh: "把这些回答交给 MCP 服务器";
760
+ readonly en: "Give these answers to the MCP server";
761
+ };
762
+ readonly 'elicit-decline': {
763
+ readonly zh: "拒绝";
764
+ readonly en: "Decline";
765
+ };
766
+ readonly 'elicit-decline-desc': {
767
+ readonly zh: "不提供,告诉服务器你拒绝了";
768
+ readonly en: "Provide nothing; tell the server you declined";
769
+ };
770
+ readonly 'elicit-confirm': {
771
+ readonly zh: "把回答发送给 MCP 服务器 {{server}}?";
772
+ readonly en: "Send your answers to the MCP server {{server}}?";
773
+ };
774
+ readonly 'elicit-invalid': {
775
+ readonly zh: "请重新填写:{{reason}}";
776
+ readonly en: "Please answer again: {{reason}}";
777
+ };
778
+ readonly 'elicit-invalid-required': {
779
+ readonly zh: "这一项必填";
780
+ readonly en: "this field is required";
781
+ };
782
+ readonly 'elicit-invalid-choice': {
783
+ readonly zh: "请选择一项";
784
+ readonly en: "pick one of the options";
785
+ };
786
+ readonly 'elicit-invalid-number': {
787
+ readonly zh: "需要一个数字";
788
+ readonly en: "a number is expected";
789
+ };
790
+ readonly 'elicit-invalid-integer': {
791
+ readonly zh: "需要一个整数";
792
+ readonly en: "a whole number is expected";
793
+ };
794
+ readonly 'elicit-invalid-min': {
795
+ readonly zh: "不能小于 {{min}}";
796
+ readonly en: "must be at least {{min}}";
797
+ };
798
+ readonly 'elicit-invalid-max': {
799
+ readonly zh: "不能大于 {{max}}";
800
+ readonly en: "must be at most {{max}}";
801
+ };
802
+ readonly 'elicit-invalid-min-length': {
803
+ readonly zh: "至少 {{n}} 个字符";
804
+ readonly en: "at least {{n}} characters";
805
+ };
806
+ readonly 'elicit-invalid-max-length': {
807
+ readonly zh: "至多 {{n}} 个字符";
808
+ readonly en: "at most {{n}} characters";
809
+ };
810
+ readonly 'elicit-invalid-min-items': {
811
+ readonly zh: "至少选 {{n}} 项";
812
+ readonly en: "pick at least {{n}}";
813
+ };
814
+ readonly 'elicit-invalid-max-items': {
815
+ readonly zh: "至多选 {{n}} 项";
816
+ readonly en: "pick at most {{n}}";
817
+ };
818
+ readonly 'elicit-invalid-email': {
819
+ readonly zh: "需要一个邮箱地址";
820
+ readonly en: "an email address is expected";
821
+ };
822
+ readonly 'elicit-invalid-uri': {
823
+ readonly zh: "需要一个完整的网址(URI)";
824
+ readonly en: "a full URI is expected";
825
+ };
826
+ readonly 'elicit-invalid-date': {
827
+ readonly zh: "需要日期(YYYY-MM-DD)";
828
+ readonly en: "a date is expected (YYYY-MM-DD)";
829
+ };
830
+ readonly 'elicit-invalid-date-time': {
831
+ readonly zh: "需要日期时间(ISO 8601)";
832
+ readonly en: "a date and time is expected (ISO 8601)";
833
+ };
834
+ readonly 'elicit-invalid-pattern': {
835
+ readonly zh: "格式不符合要求";
836
+ readonly en: "the format does not match";
837
+ };
838
+ readonly 'elicit-invalid-json': {
839
+ readonly zh: "需要 JSON 形式的值";
840
+ readonly en: "a JSON value is expected";
841
+ };
842
+ readonly 'elicit-kind-number': {
843
+ readonly zh: "数字";
844
+ readonly en: "number";
845
+ };
846
+ readonly 'elicit-kind-integer': {
847
+ readonly zh: "整数";
848
+ readonly en: "whole number";
849
+ };
850
+ readonly 'elicit-hint-range': {
851
+ readonly zh: "{{kind}},{{min}}–{{max}}";
852
+ readonly en: "{{kind}}, {{min}}–{{max}}";
853
+ };
854
+ readonly 'elicit-hint-min': {
855
+ readonly zh: "{{kind}},不小于 {{min}}";
856
+ readonly en: "{{kind}}, at least {{min}}";
857
+ };
858
+ readonly 'elicit-hint-max': {
859
+ readonly zh: "{{kind}},不大于 {{max}}";
860
+ readonly en: "{{kind}}, at most {{max}}";
861
+ };
862
+ readonly 'elicit-hint-json': {
863
+ readonly zh: "以 JSON 形式输入";
864
+ readonly en: "enter it as JSON";
865
+ };
866
+ readonly 'elicit-hint-format': {
867
+ readonly zh: "格式:{{format}}";
868
+ readonly en: "format: {{format}}";
869
+ };
870
+ readonly 'elicit-url-notice': {
871
+ readonly zh: "MCP 服务器 {{server}} 请你在浏览器中打开:{{url}}";
872
+ readonly en: "The MCP server {{server}} asks you to open: {{url}}";
873
+ };
874
+ readonly 'elicit-url-question': {
875
+ readonly zh: "MCP 服务器 {{server}} 需要你在浏览器中完成一步";
876
+ readonly en: "The MCP server {{server}} needs you to finish a step in the browser";
877
+ };
878
+ readonly 'elicit-url-detail': {
879
+ readonly zh: "打开下面的链接完成后选「继续」;完成时服务器也可能自动关闭这个面板";
880
+ readonly en: "Open the link below, then choose Continue; the server may also close this panel when it is done";
881
+ };
882
+ readonly 'elicit-url-accept': {
883
+ readonly zh: "继续(已打开链接)";
884
+ readonly en: "Continue (link opened)";
885
+ };
886
+ readonly 'elicit-url-accept-desc': {
887
+ readonly zh: "告诉服务器你同意并已打开链接";
888
+ readonly en: "Tell the server you agreed and opened the link";
889
+ };
890
+ readonly 'elicit-url-complete': {
891
+ readonly zh: "MCP 服务器 {{server}} 确认已完成";
892
+ readonly en: "The MCP server {{server}} confirmed it is done";
893
+ };
894
+ readonly 'elicit-url-missing': {
895
+ readonly zh: "MCP 服务器 {{server}} 请求打开链接却没有给出网址,已拒绝";
896
+ readonly en: "The MCP server {{server}} asked to open a link but gave none; declined";
897
+ };
898
+ readonly 'elicit-unsupported': {
899
+ readonly zh: "MCP 服务器 {{server}} 的请求({{mode}})无法在此显示,已拒绝";
900
+ readonly en: "The request of the MCP server {{server}} ({{mode}}) cannot be shown here; declined";
901
+ };
902
+ };
903
+ /** Read-only view of {@link texts} for audits (`scripts/verify-i18n.ts` and the
904
+ * backend's own gates), mirroring `i18nDict` on the host side. */
905
+ export declare const codexTexts: Readonly<Record<string, {
906
+ readonly zh: LocalizedText;
907
+ readonly en: LocalizedText;
908
+ }>>;
909
+ /** A key of {@link texts}; a typo is a compile error. */
910
+ export type CodexTextKey = keyof typeof texts;
911
+ /** Values substituted into a string of {@link texts}. */
912
+ export type CodexTextParams = TextParams;
913
+ /** Install the language source (`BackendHost.locale`). Called on every
914
+ * `detect()`/`open()`, so a session started after a `/lang` switch writes in
915
+ * the new language. */
916
+ export declare function installCodexLocale(source: () => BackendLocale): void;
917
+ /** The language this backend is writing in right now. */
918
+ export declare function codexLocale(): BackendLocale;
919
+ /** The raw template of one key in the active language, without substitution:
920
+ * the elicitation flow fills its own placeholders (see
921
+ * {@link codexElicitationText}). */
922
+ export declare function codexTemplate(key: CodexTextKey): string;
923
+ /**
924
+ * The elicitation copy of one flow, in the language showing when the flow
925
+ * opens: the option labels of a flow are fixed then, because answers are
926
+ * matched against the strings the panel showed (a language switch meanwhile
927
+ * must not turn a valid answer into a mismatch).
928
+ */
929
+ export declare function codexElicitationText(): ElicitationText;
930
+ /** One string of this backend in the active language. */
931
+ export declare function codexText(key: CodexTextKey, params?: CodexTextParams): string;
932
+ export {};
933
+ //# sourceMappingURL=text.d.ts.map