@chatcode/chatcode-cli 3.0.5 → 3.0.6-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (495) hide show
  1. package/README.i18n.yaml +6 -6
  2. package/README.md +7 -0
  3. package/README.zh.md +7 -0
  4. package/lib/bin.js +19 -5
  5. package/lib/{command-errors-CnbcOM1a.js → command-errors-vCFKCJFq.js} +12 -12
  6. package/lib/{command-trees-CU7BxVJo.js → command-trees-N2_LR4f-.js} +2 -2
  7. package/lib/{component-identity-kZK1_hFy.js → component-identity-CaV_MmmE.js} +3 -3
  8. package/lib/desktop-history-B0iUekXf.js +72 -0
  9. package/lib/desktop-history-DvgkONgj.js +2 -0
  10. package/lib/{dump-config-D8kXfdTs.js → dump-config-CgIYHBp2.js} +1 -1
  11. package/lib/dump-config-D6TruNva.js +2 -0
  12. package/lib/{dump-config-schema-CtZbroi6.js → dump-config-schema-GiAtkJwx.js} +2 -2
  13. package/lib/{extension-events-hLxwPvpg.js → extension-events-B5qKP0-X.js} +20 -20
  14. package/lib/{host-access-kT-u85k_.js → host-access-BRXW3V8i.js} +1 -1
  15. package/lib/{keymap-DS1M8sDo.js → keymap-BYjklwli.js} +2 -2
  16. package/lib/{plugin-CYw-MBRn.js → plugin-BACkrsVG.js} +1 -1
  17. package/lib/{plugin-d65VulBk.js → plugin-VYAv2o0K.js} +498 -348
  18. package/lib/{profile-boot-CffsubnV.js → profile-boot-c5YKtUIb.js} +17 -4
  19. package/lib/profile-boot.js +1 -1
  20. package/lib/{scenes-DG6T8t-A.js → scenes-B-iDMpgW.js} +3 -3
  21. package/lib/{settings-sections-2SuE0biI.js → settings-sections-CYCrZKUk.js} +3 -3
  22. package/lib/{statusBarSettings-B2MEAwnI.js → statusBarSettings-Cu-b_o4Q.js} +3 -3
  23. package/lib/{themes-DUO7kGW-.js → themes-DC9GpV6q.js} +12 -12
  24. package/lib/tui-compat-command-trees.js +1 -1
  25. package/lib/tui-compat-extensions.js +3 -3
  26. package/lib/tui-compat-plugin-host.js +5 -5
  27. package/lib/tui-compat-scenes.js +1 -1
  28. package/lib/tui-compat-settings-sections.js +1 -1
  29. package/lib/tui-compat-working-activity.js +1 -1
  30. package/lib/tui-compat-workspaces.js +1 -1
  31. package/lib/tui-compat.js +6 -6
  32. package/lib/types/args.d.ts +8 -1
  33. package/lib/types/desktop-history.d.ts +31 -0
  34. package/lib/types/installed-bin.d.ts +9 -0
  35. package/lib/{workspaces-CLOkL_yE.js → workspaces-BchdRzlw.js} +2 -2
  36. package/package.json +26 -26
  37. package/runtime/manifest.json +3 -2
  38. package/runtime/node_modules/@chatcode/runtime-client/README.md +225 -0
  39. package/runtime/node_modules/@chatcode/runtime-client/desktop-history-guard.mjs +65 -0
  40. package/runtime/node_modules/@chatcode/runtime-client/desktop-history.mjs +278 -0
  41. package/runtime/node_modules/@chatcode/runtime-client/desktop-permission-gate.mjs +28 -0
  42. package/runtime/node_modules/@chatcode/runtime-client/execution.mjs +593 -0
  43. package/runtime/node_modules/@chatcode/runtime-client/index.d.ts +449 -0
  44. package/runtime/node_modules/@chatcode/runtime-client/model-preferences.mjs +57 -0
  45. package/runtime/node_modules/@chatcode/runtime-client/package.json +53 -0
  46. package/runtime/node_modules/@chatcode/runtime-client/runtime-connector.mjs +736 -0
  47. package/runtime/node_modules/@chatcode/runtime-client/session-activity.mjs +121 -0
  48. package/runtime/node_modules/@chatcode/runtime-client/session-browser.mjs +122 -0
  49. package/runtime/node_modules/@chatcode/runtime-client/stdio-bridge.mjs +103 -0
  50. package/runtime/node_modules/@chatcode/runtime-client/user-questions.mjs +108 -0
  51. package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/journal.d.ts +69 -0
  52. package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/journal.d.ts.map +1 -0
  53. package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/patch.d.ts +68 -0
  54. package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/patch.d.ts.map +1 -0
  55. package/runtime/node_modules/@deepseek-ai/cordis-plugin-loader/lib/types/resolve.d.ts +9 -0
  56. package/runtime/node_modules/@deepseek-ai/cordis-plugin-loader/lib/types/resolve.d.ts.map +1 -0
  57. package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/index.js +2 -2
  58. package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/types/model-selection.d.ts +6 -0
  59. package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/types/model-selection.js +2 -2
  60. package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/types/runtime-types.d.ts +12 -3
  61. package/runtime/node_modules/@deepseek-ai/dsh-agent-default-model/lib/index.js +11 -0
  62. package/runtime/node_modules/@deepseek-ai/dsh-agent-default-model/lib/types/index.d.ts +7 -0
  63. package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +69 -17
  64. package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/invariant.js +1 -1
  65. package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/types/agent.d.ts +3 -1
  66. package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/types/inbox.d.ts +13 -0
  67. package/runtime/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +5 -5
  68. package/runtime/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/access.d.ts +40 -0
  69. package/runtime/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/access.js +164 -0
  70. package/runtime/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +460 -79
  71. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +636 -44
  72. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +483 -55
  73. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.d.ts +19 -1
  74. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +377 -40
  75. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.d.ts +24 -4
  76. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.js +97 -15
  77. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/catalog.js +1 -1
  78. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.d.ts +11 -2
  79. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +172 -18
  80. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/continuation.d.ts +35 -0
  81. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/continuation.js +48 -0
  82. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/assistant-stream.d.ts +43 -0
  83. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/assistant-stream.js +80 -0
  84. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/controller.d.ts +104 -0
  85. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/controller.js +294 -0
  86. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/listener.d.ts +105 -0
  87. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/listener.js +297 -0
  88. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history.js +4 -4
  89. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.d.ts +88 -1
  90. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +230 -6
  91. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/login-token-store.d.ts +64 -0
  92. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/login-token-store.js +79 -0
  93. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/controller.d.ts +45 -0
  94. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/controller.js +289 -0
  95. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/listener.d.ts +40 -0
  96. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/listener.js +112 -0
  97. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/types.d.ts +93 -1
  98. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/web/controller.d.ts +25 -0
  99. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/web/controller.js +139 -0
  100. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +9 -0
  101. package/runtime/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +5 -5
  102. package/runtime/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/inventory.d.ts +42 -0
  103. package/runtime/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/inventory.js +101 -0
  104. package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/bundle-platform.d.ts +17 -0
  105. package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/startup-diagnostics.d.ts +38 -0
  106. package/runtime/node_modules/@deepseek-ai/dsh-client-connection/lib/types/client/socket.d.ts +50 -0
  107. package/runtime/node_modules/@deepseek-ai/dsh-client-connection/lib/types/connect-protocol.d.ts +6 -0
  108. package/runtime/node_modules/@deepseek-ai/dsh-client-connection/lib/types/peer.d.ts +36 -0
  109. package/runtime/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +5 -5
  110. package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/de.d.ts +47 -0
  111. package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/es.d.ts +47 -0
  112. package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/fr.d.ts +47 -0
  113. package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/ja.d.ts +47 -0
  114. package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/pt.d.ts +47 -0
  115. package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/ru.d.ts +47 -0
  116. package/runtime/node_modules/@deepseek-ai/dsh-client-modules/lib/types/assets.d.ts +51 -0
  117. package/runtime/node_modules/@deepseek-ai/dsh-client-modules/lib/types/client/notify.d.ts +8 -0
  118. package/runtime/node_modules/@deepseek-ai/dsh-client-modules/lib/types/client/release-change.d.ts +44 -0
  119. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/types/client/CreatePluginMenuItem.d.ts +20 -0
  120. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/types/client/analytics.d.ts +8 -0
  121. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/types/client/ApprovalCard.d.ts +8 -0
  122. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/types/client/ApprovalWarning.d.ts +10 -0
  123. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/PixelWhale.d.ts +14 -0
  124. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/artwork.d.ts +17 -0
  125. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/code-fill.d.ts +21 -0
  126. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/renderer.d.ts +20 -0
  127. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/ChatFlow.d.ts +4 -0
  128. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/ReasoningContent.d.ts +16 -0
  129. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/RunningStatus.d.ts +18 -0
  130. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/RunningWhaleTail.d.ts +6 -0
  131. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/UserContent.d.ts +9 -0
  132. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/flow-motion.d.ts +110 -0
  133. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/text-interaction.d.ts +19 -0
  134. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/text-selection.d.ts +20 -0
  135. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/contract/group-tree.d.ts +32 -0
  136. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/conversation-nodes/group-tree-segments.d.ts +42 -0
  137. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/file-path.d.ts +11 -0
  138. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/reasoning-text.d.ts +8 -0
  139. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/index.d.ts +2 -2
  140. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/types/client/option-groups.d.ts +15 -0
  141. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/contract/text-interaction.d.ts +31 -0
  142. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/contract/user-text.d.ts +60 -0
  143. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/conversation/interaction-registry.d.ts +28 -0
  144. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/conversation/user-text-document.d.ts +21 -0
  145. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/conversation/user-text-registry.d.ts +26 -0
  146. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/draft.d.ts +23 -0
  147. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/CommandChip.d.ts +13 -0
  148. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/QuoteNode.d.ts +61 -0
  149. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/command-chip-node.d.ts +87 -0
  150. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/command-chip-selection.d.ts +20 -0
  151. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/prompt.d.ts +9 -0
  152. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/submission-analytics.d.ts +10 -0
  153. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/user-text/UserText.d.ts +22 -0
  154. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/user-text/session-reference-rule.d.ts +15 -0
  155. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/user-text/whitespace-rules.d.ts +7 -0
  156. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/view-pins.d.ts +22 -0
  157. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/types/client/GoalCommandReference.d.ts +9 -0
  158. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/types/client/user-text-rules.d.ts +21 -0
  159. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/types/client/provider-order.d.ts +10 -0
  160. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/context-menus.d.ts +18 -0
  161. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/open-toast.d.ts +40 -0
  162. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/outcome.d.ts +7 -0
  163. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/session-open-with.d.ts +14 -0
  164. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/BundleDetailSection.d.ts +26 -0
  165. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/PluginRefreshToast.d.ts +17 -0
  166. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/detail-store.d.ts +76 -0
  167. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/header-scroll.d.ts +14 -0
  168. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/sanitize-install-input.d.ts +8 -0
  169. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/tab-ledger.d.ts +15 -0
  170. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/versions.d.ts +33 -0
  171. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/AnimatedRows.module.css +7 -0
  172. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CommandText.module.css +12 -0
  173. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DetailDocument.module.css +67 -0
  174. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/InlineEditor.module.css +23 -0
  175. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuGroup.module.css +37 -0
  176. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/QuotePreview.module.css +101 -0
  177. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RowDragPreview.module.css +12 -0
  178. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/UserMessageBubble.module.css +11 -0
  179. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ZoomControls.module.css +54 -0
  180. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/AnimatedRows.d.ts +49 -0
  181. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CommandText.d.ts +16 -0
  182. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DetailDocument.d.ts +78 -0
  183. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DraggableImage.d.ts +19 -0
  184. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCardGroup.d.ts +25 -0
  185. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/InlineEditor.d.ts +23 -0
  186. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuGroup.d.ts +22 -0
  187. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuRow.d.ts +37 -0
  188. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/QuotePreview.d.ts +24 -0
  189. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SubmenuPanel.d.ts +19 -0
  190. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/UserMessageBubble.d.ts +11 -0
  191. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ZoomControls.d.ts +27 -0
  192. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/document-zoom.d.ts +17 -0
  193. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/file-drag-actions.d.ts +32 -0
  194. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/artwork.d.ts +426 -0
  195. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/image-drag.d.ts +17 -0
  196. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/copy-tex.d.ts +14 -0
  197. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/quote-text.d.ts +8 -0
  198. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/windows-path-destinations.d.ts +11 -0
  199. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/menu-submenu-position.d.ts +15 -0
  200. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/tooltip-placement.d.ts +35 -0
  201. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/use-clipboard-copy.d.ts +14 -0
  202. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useMenuSubmenu.d.ts +43 -0
  203. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useRowDragPreview.d.ts +20 -0
  204. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/types/client/FileReference.d.ts +29 -0
  205. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/types/client/user-text-rules.d.ts +18 -0
  206. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/NewSessionLimit.d.ts +12 -0
  207. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/RuleSelectRow.d.ts +22 -0
  208. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/ScheduleEmptyIllustration.d.ts +12 -0
  209. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/TaskEditorFields.d.ts +54 -0
  210. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/TaskRuleControls.d.ts +50 -0
  211. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/clear-ended.d.ts +33 -0
  212. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/editor-store.d.ts +32 -0
  213. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/editor-timing.d.ts +47 -0
  214. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/task-record.d.ts +30 -0
  215. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
  216. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/client/account-avatar.d.ts +37 -0
  217. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/client/browser-login.d.ts +33 -0
  218. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/client/notice-transition.d.ts +7 -0
  219. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/index.d.ts +2 -2
  220. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/onboarding-settings.d.ts +1 -1
  221. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
  222. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/DesktopChannelRow.d.ts +31 -0
  223. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/HostReleasePrompt.d.ts +24 -0
  224. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/desktop-channel-source.d.ts +43 -0
  225. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/types/client/ApiKeyInput.d.ts +17 -0
  226. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/types/client/ModelReasoningEfforts.d.ts +43 -0
  227. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/types/client/useModelRows.d.ts +41 -0
  228. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
  229. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/types/client/PanelIcon.d.ts +9 -0
  230. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/types/client/panel-pins.d.ts +21 -0
  231. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/types/client/scroll-handoff.d.ts +24 -0
  232. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.frontmatter-fields.js +5768 -0
  233. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/PreviewFrame.d.ts +34 -0
  234. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/image/pan.d.ts +8 -0
  235. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/markdown/frontmatter-fields.d.ts +20 -0
  236. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/markdown/frontmatter.d.ts +13 -0
  237. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/FileNavigator.d.ts +33 -0
  238. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/FileTree.d.ts +114 -0
  239. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/NavigatorToggle.d.ts +28 -0
  240. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/navigator-layout.d.ts +6 -0
  241. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/workspace-tree.d.ts +51 -0
  242. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/shell/TabMenuContent.d.ts +13 -0
  243. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/shell/flash.d.ts +10 -0
  244. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/tabs/guide/GuideMoreIcon.d.ts +7 -0
  245. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/tabs/guide/guide-pins.d.ts +28 -0
  246. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/types/client/SkillReference.d.ts +19 -0
  247. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/types/client/user-text-rules.d.ts +17 -0
  248. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/types/client/slots.d.ts +12 -0
  249. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/types/client/FontFamilyRow.d.ts +19 -0
  250. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/types/client/FontSettingsGroup.d.ts +19 -0
  251. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/types/client/icon-sprite.d.ts +17 -0
  252. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/components/ExitCodeBadge.d.ts +9 -0
  253. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/components/QuestionToolRow.d.ts +13 -0
  254. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/file-menu.d.ts +15 -0
  255. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/models/recorded-path.d.ts +8 -0
  256. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/types/client/watch-tool-result.d.ts +15 -0
  257. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/types/types.d.ts +16 -0
  258. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/types/client/QuestionReplyView.d.ts +16 -0
  259. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/types/client/question-reply.d.ts +74 -0
  260. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/contract/toast.d.ts +67 -0
  261. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/path-suffix.d.ts +15 -0
  262. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/rows/WorkspaceDialogs.d.ts +10 -0
  263. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/session-actions/SessionMenu.d.ts +6 -0
  264. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/session-actions/context-menus.d.ts +12 -0
  265. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/toast/Toast.d.ts +21 -0
  266. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/toast/register.d.ts +10 -0
  267. package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +5 -5
  268. package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/types/builtin.d.ts +46 -0
  269. package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/types/builtin.js +39 -0
  270. package/runtime/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +11 -8
  271. package/runtime/node_modules/@deepseek-ai/dsh-compaction-basic/lib/types/index.d.ts +3 -1
  272. package/runtime/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +10 -10
  273. package/runtime/node_modules/@deepseek-ai/dsh-experimental-auto-review/lib/types/locales.d.ts +48 -0
  274. package/runtime/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/types/client/MicrophonePicker.d.ts +6 -0
  275. package/runtime/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/types/client/failure-text.d.ts +11 -0
  276. package/runtime/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/types/client/microphone-device.d.ts +13 -0
  277. package/runtime/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +5 -5
  278. package/runtime/node_modules/@deepseek-ai/dsh-headless/lib/{json-stream-Bh4BGGk9.js → json-stream-Dc3g2Bl1.js} +11 -7
  279. package/runtime/node_modules/@deepseek-ai/dsh-hmr/lib/types/module-files.d.ts +48 -0
  280. package/runtime/node_modules/@deepseek-ai/dsh-hmr/lib/types/package-manifest.d.ts +35 -0
  281. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/index.js +241 -64
  282. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +26 -11
  283. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/typert.remote-client.js +3 -3
  284. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/call-config.d.ts +19 -0
  285. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/call-config.js +5 -1
  286. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/index.d.ts +30 -6
  287. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +109 -8
  288. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/message.d.ts +5 -0
  289. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/prompt-protocol-options.d.ts +5 -0
  290. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/prompt-protocol-options.js +32 -0
  291. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/types.d.ts +7 -0
  292. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +19 -7
  293. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/config.d.ts +3 -3
  294. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/credential.d.ts +34 -0
  295. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listed-catalog.d.ts +56 -0
  296. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listing-cache.d.ts +71 -0
  297. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listing-config.d.ts +48 -0
  298. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listing.d.ts +91 -0
  299. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocol-adapter.d.ts +3 -1
  300. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/types/config.d.ts +2 -2
  301. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/types/config.d.ts +2 -2
  302. package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +149 -28
  303. package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/adapter.d.ts +3 -1
  304. package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/prompt-options.d.ts +17 -0
  305. package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/provider-data.d.ts +10 -0
  306. package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/provider-data.generated.d.ts +10 -0
  307. package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/types.d.ts +8 -0
  308. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/credentials.d.ts +34 -0
  309. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/deadline.d.ts +12 -0
  310. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/diagnostic.d.ts +22 -0
  311. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/generation.d.ts +42 -0
  312. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/probe.d.ts +37 -0
  313. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/status.d.ts +87 -0
  314. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/templates.d.ts +37 -0
  315. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/types.d.ts +85 -0
  316. package/runtime/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +4 -4
  317. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/bundle-detail.d.ts +40 -0
  318. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/bundle-detail.js +85 -0
  319. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/diagnostic.d.ts +17 -0
  320. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/diagnostic.js +72 -0
  321. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/git-transport.d.ts +27 -0
  322. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/git-transport.js +65 -0
  323. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/official-install-target.d.ts +15 -0
  324. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/official-install-target.js +54 -0
  325. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/versions.d.ts +40 -0
  326. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/versions.js +61 -0
  327. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/config.d.ts +38 -0
  328. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/configuration.d.ts +10 -0
  329. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/async-function.d.ts +8 -0
  330. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/index.d.ts +12 -0
  331. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/repl.d.ts +8 -0
  332. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/types.d.ts +68 -0
  333. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/vm-script-await.d.ts +8 -0
  334. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/vm-script.d.ts +8 -0
  335. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/execution.d.ts +66 -0
  336. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/imports/evaluation-ended.d.ts +7 -0
  337. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/imports/module-hooks.d.ts +37 -0
  338. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/imports/vm-modules.d.ts +35 -0
  339. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/persistent-process-entry.d.ts +2 -0
  340. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/persistent-process.d.ts +16 -0
  341. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/policy-processes.d.ts +30 -0
  342. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/rpc.d.ts +13 -0
  343. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/worker.d.ts +66 -0
  344. package/runtime/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +215 -9
  345. package/runtime/node_modules/@deepseek-ai/dsh-sandbox/lib/types/locales.d.ts +41 -0
  346. package/runtime/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/types/acl-skill.d.ts +19 -0
  347. package/runtime/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/{types-Ci-q7_aQ.js → types-DwkEVVWZ.js} +357 -81
  348. package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/query-activity.d.ts +43 -0
  349. package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/query-content.d.ts +21 -0
  350. package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/query-input.d.ts +12 -0
  351. package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/user-questions.d.ts +17 -0
  352. package/runtime/node_modules/@deepseek-ai/dsh-session/lib/index.js +2 -1
  353. package/runtime/node_modules/@deepseek-ai/dsh-session/lib/types/request-header.js +2 -0
  354. package/runtime/node_modules/@deepseek-ai/dsh-session/lib/types/types.d.ts +2 -0
  355. package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/types/client/CopyToast.d.ts +21 -0
  356. package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/types/client/copy-controller.d.ts +76 -0
  357. package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/types/markdown.d.ts +22 -0
  358. package/runtime/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +197 -9
  359. package/runtime/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +5 -5
  360. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +5 -5
  361. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/activation.d.ts +112 -0
  362. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/activation.js +112 -0
  363. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.d.ts +232 -0
  364. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.js +1250 -0
  365. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/names.d.ts +56 -0
  366. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/names.js +96 -0
  367. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/structured.d.ts +49 -0
  368. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/structured.js +130 -0
  369. package/runtime/node_modules/@deepseek-ai/dsh-subprocess-local/lib/types/linux-scope-selector.d.ts +60 -0
  370. package/runtime/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +215 -9
  371. package/runtime/node_modules/@deepseek-ai/dsh-token-meter/lib/types/measurement-projection.d.ts +74 -0
  372. package/runtime/node_modules/@deepseek-ai/dsh-token-meter/lib/types/measurement-projection.js +94 -0
  373. package/runtime/node_modules/@deepseek-ai/dsh-tool-ask-user/lib/types/timed.d.ts +13 -0
  374. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +31 -1
  375. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/apply-patch-output.d.ts +140 -0
  376. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/apply-patch-presentation.d.ts +15 -0
  377. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/apply-patch.d.ts +10 -0
  378. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/mutation-result.d.ts +18 -0
  379. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/execute.d.ts +17 -0
  380. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/index.d.ts +17 -0
  381. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/plan.d.ts +52 -0
  382. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/preflight.d.ts +18 -0
  383. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/types.d.ts +106 -0
  384. package/runtime/node_modules/@deepseek-ai/dsh-tool-subagent/lib/types/preset-selection.d.ts +36 -0
  385. package/runtime/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/wait-agent.d.ts +8 -0
  386. package/runtime/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/wait-agent.js +104 -0
  387. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/batch.d.ts +26 -0
  388. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/batch.js +246 -0
  389. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/contracts.d.ts +376 -0
  390. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/contracts.js +51 -0
  391. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/events.d.ts +58 -0
  392. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/events.js +2 -0
  393. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/executor.d.ts +90 -0
  394. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/executor.js +19 -0
  395. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/pipeline.d.ts +154 -0
  396. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/pipeline.js +701 -0
  397. package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/principal.d.ts +13 -0
  398. package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/principal.js +15 -0
  399. package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-access.d.ts +32 -0
  400. package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-access.js +9 -0
  401. package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-info.d.ts +21 -0
  402. package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-info.js +143 -0
  403. package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/projection.d.ts +85 -0
  404. package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/projection.js +298 -0
  405. package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/timed-wait.d.ts +37 -0
  406. package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/timed-wait.js +85 -0
  407. package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/cron.d.ts +54 -0
  408. package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/duration.d.ts +61 -0
  409. package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/instant.d.ts +145 -0
  410. package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/recurrence.d.ts +38 -0
  411. package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/rrule.d.ts +34 -0
  412. package/runtime/node_modules/@deepseek-ai/dsh-util-values/lib/types/partial-json.d.ts +152 -0
  413. package/runtime/node_modules/@deepseek-ai/dsh-web-app/lib/types/public-url.d.ts +16 -0
  414. package/lib/dump-config-DuCc-QB7.js +0 -2
  415. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/queue-mirror.d.ts +0 -26
  416. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/queue-mirror.js +0 -61
  417. package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/watch-config.d.ts +0 -13
  418. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/types/ImageLightbox.d.ts +0 -27
  419. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/contract/queue.d.ts +0 -9
  420. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/queue-store.d.ts +0 -20
  421. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/types/client/ProducedFiles.d.ts +0 -14
  422. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/types/client/icons.d.ts +0 -8
  423. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/OnboardingSurface.module.css +0 -29
  424. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/OnboardingSurface.d.ts +0 -11
  425. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/types/client/settings-contract.d.ts +0 -86
  426. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/types/client/settings-scope.d.ts +0 -141
  427. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/desktop-update-bridge.d.ts +0 -23
  428. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/AgentLoopCard.d.ts +0 -12
  429. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/BashCard.d.ts +0 -12
  430. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/ConfigurablePluginsTab.d.ts +0 -19
  431. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/PluginCard.d.ts +0 -42
  432. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/PluginConfigForm.d.ts +0 -34
  433. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentCard.d.ts +0 -12
  434. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentLimitsFields.d.ts +0 -14
  435. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentModelSelectionCard.d.ts +0 -12
  436. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentModelSelectionFields.d.ts +0 -14
  437. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/WebSearchCard.d.ts +0 -16
  438. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/agent-loop-card-controller.d.ts +0 -43
  439. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/bash-card-controller.d.ts +0 -45
  440. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/card-form.d.ts +0 -171
  441. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/fields.d.ts +0 -69
  442. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/slot-contract.d.ts +0 -31
  443. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/subagent-card-controller.d.ts +0 -32
  444. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/subagent-limits-card-controller.d.ts +0 -33
  445. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/subagent-model-selection-card-controller.d.ts +0 -129
  446. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/tab-store.d.ts +0 -65
  447. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/web-search-card-controller.d.ts +0 -93
  448. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/code/languages.d.ts +0 -9
  449. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/icons.d.ts +0 -14
  450. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/pdf/PdfBody.d.ts +0 -24
  451. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/types/client/TerminalBody.d.ts +0 -14
  452. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/types/client/subagent-lineage.d.ts +0 -21
  453. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/subagent-lineage.d.ts +0 -21
  454. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/defaults.d.ts +0 -24
  455. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/file-id.d.ts +0 -19
  456. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/file-store.d.ts +0 -86
  457. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/files-api.d.ts +0 -111
  458. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/image-tokens.d.ts +0 -34
  459. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/messages-api.d.ts +0 -10
  460. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/model-info.d.ts +0 -16
  461. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/models.d.ts +0 -4
  462. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/request-extensions.d.ts +0 -16
  463. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/request-files.d.ts +0 -49
  464. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/request-pricing.d.ts +0 -60
  465. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/types.d.ts +0 -119
  466. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/upload-index.d.ts +0 -68
  467. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/adapter.d.ts +0 -45
  468. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/serialize.d.ts +0 -78
  469. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/sse.d.ts +0 -24
  470. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/translate.d.ts +0 -37
  471. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/types.d.ts +0 -178
  472. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/adapter.d.ts +0 -47
  473. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/images.d.ts +0 -35
  474. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/replay.d.ts +0 -27
  475. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/serialize.d.ts +0 -18
  476. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/sse.d.ts +0 -8
  477. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/translate.d.ts +0 -14
  478. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/transport.d.ts +0 -15
  479. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/types.d.ts +0 -62
  480. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/persistence.d.ts +0 -19
  481. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/persistence.js +0 -30
  482. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/projection.d.ts +0 -35
  483. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/projection.js +0 -68
  484. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/transaction.d.ts +0 -10
  485. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/transaction.js +0 -22
  486. package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/types/invariant.d.ts +0 -16
  487. package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/types/invariant.js +0 -41
  488. package/runtime/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-DGV26RBf.js +0 -1525
  489. package/runtime/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-UEJ3Ntqn.js +0 -1511
  490. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/fiber-state.d.ts +0 -28
  491. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/fiber-state.js +0 -25
  492. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/inspect.d.ts +0 -93
  493. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/inspect.js +0 -303
  494. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/prompt.d.ts +0 -3
  495. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/prompt.js +0 -5
@@ -0,0 +1,74 @@
1
+ import type { ConversationNodeDefinition } from '@deepseek-ai/dsh-client-ui-conversation/client';
2
+ import type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots';
3
+ /** One asked question as echoed in the reply payload. */
4
+ export interface QuestionReplyQuestion {
5
+ readonly id: string;
6
+ readonly question: string;
7
+ readonly header?: string;
8
+ }
9
+ /** One structured answer as echoed in the reply payload. */
10
+ export interface QuestionReplyAnswer {
11
+ readonly id: string;
12
+ readonly selected: readonly string[];
13
+ readonly custom?: string;
14
+ }
15
+ /** Presentation data of one submitted answer batch. */
16
+ export interface QuestionReplyData {
17
+ readonly callId: string;
18
+ /** A submitted answer batch, including individually skipped questions. */
19
+ readonly outcome: 'answered';
20
+ readonly questions: readonly QuestionReplyQuestion[];
21
+ readonly answers: readonly QuestionReplyAnswer[];
22
+ /** Model-facing text, shown when the payload is unreadable. */
23
+ readonly text: string;
24
+ readonly time: number;
25
+ }
26
+ declare module '@deepseek-ai/dsh-client-ui-chat/client' {
27
+ interface ChatNodeDataMap {
28
+ /** One answered question batch, regardless of foreground wait timing. */
29
+ 'question-reply': QuestionReplyData;
30
+ }
31
+ }
32
+ interface QuestionReplyState extends QuestionReplyData {
33
+ readonly seq: number;
34
+ }
35
+ /**
36
+ * Read the question and answer pairs out of the reply text at the conversation boundary.
37
+ * @param text - Model-facing JSON payload of the steered message.
38
+ * @returns The pairs, or empty lists when the payload is unreadable.
39
+ */
40
+ export declare function replyPairsOf(text: string): Pick<QuestionReplyData, 'questions' | 'answers'>;
41
+ /**
42
+ * Answer values of one question in display order: the selected option labels
43
+ * followed by a non-blank custom answer.
44
+ * @param data - Projected reply holding the recorded answers.
45
+ * @param id - Question id to read.
46
+ * @returns The values, empty when the user skipped that question.
47
+ */
48
+ export declare function replyAnswerValues(data: QuestionReplyData, id: string): string[];
49
+ /**
50
+ * Clipboard text of one answer batch: every question with the answer the user
51
+ * gave, without question details or unselected options.
52
+ * @param data - Projected reply to copy.
53
+ * @param t - Bound `question` namespace translator owning the answer labels.
54
+ * @returns One block per question, or the model-facing text when the payload was unreadable.
55
+ */
56
+ export declare function replyClipboardText(data: QuestionReplyData, t: PropsLocale<'question'>['t']): string;
57
+ /** Reply data retained until a matching tool result records a complete answer batch. */
58
+ interface AnsweredQuestionState {
59
+ readonly questions: readonly QuestionReplyQuestion[] | null;
60
+ readonly reply: QuestionReplyState | undefined;
61
+ }
62
+ /**
63
+ * In-time ask-user answers paired by native callId or PTC subCallId. Pending, failed, and
64
+ * malformed results retain their generic Tool presentation; late answers are
65
+ * owned by questionReplyDefinition. Work is bounded by this call's answer batch.
66
+ */
67
+ export declare const answeredQuestionDefinition: ConversationNodeDefinition<AnsweredQuestionState>;
68
+ /**
69
+ * Late-reply projection owned by the questions UI. It claims the reply message
70
+ * on the Chat target, so the generic message Definition never presents it.
71
+ */
72
+ export declare const questionReplyDefinition: ConversationNodeDefinition<QuestionReplyState>;
73
+ export {};
74
+ //# sourceMappingURL=question-reply.d.ts.map
@@ -0,0 +1,67 @@
1
+ /** Keyed Workspace notices and the shared Toast Factory's display data. */
2
+ import type { FactoryComponentPropsOf, InjectFace, PropsLocale, PropsRenderFactories, PropsRuntime, PropsStore } from '@deepseek-ai/dsh-client-ui-slots';
3
+ import type { RowToastState, WorkspaceViewStoreHandle } from './slots.ts';
4
+ /** Business key of one existing Workspace notice. */
5
+ export type ToastKind = RowToastState['kind'];
6
+ /** Notice payload selected by the keyed registration. */
7
+ export type ToastNotice<K extends ToastKind> = Extract<RowToastState, {
8
+ kind: K;
9
+ }>;
10
+ /** Plain display fields consumed by the shared Factory. */
11
+ export interface ToastDisplay {
12
+ text: string;
13
+ tone: 'plain' | 'warning' | 'success';
14
+ holdMs?: number;
15
+ actions?: readonly {
16
+ label: string;
17
+ prefix?: string;
18
+ onClick: () => void;
19
+ }[];
20
+ }
21
+ /** Per-display identity and dismissal; neither changes when localized content updates. */
22
+ export interface ToastOccurrence extends ToastDisplay {
23
+ seq: number;
24
+ onDone: () => void;
25
+ }
26
+ /** Pure localized display mapping owned by a keyed notice registration. */
27
+ export interface ToastDisplayInjected<K extends ToastKind> {
28
+ display: (notice: ToastNotice<K>, t: PropsLocale<'workspace'>['t'], dismiss: () => void) => ToastDisplay;
29
+ }
30
+ /** Shared adapter props; each registration narrows its notice payload. */
31
+ export type ToastEntryProps<P extends PropsRuntime<'workspace.toast'>> = P & PropsLocale<'workspace'> & PropsRenderFactories & InjectFace<{
32
+ display: (notice: P, t: PropsLocale<'workspace'>['t'], dismiss: () => void) => ToastDisplay;
33
+ }>;
34
+ /** Archive adapters additionally read the existing viewing store. */
35
+ export interface ArchiveToastInjected extends ToastDisplayInjected<'archived' | 'stoppedAndArchived'> {
36
+ filterAction: (t: PropsLocale<'workspace'>['t'], dismiss: () => void) => NonNullable<ToastDisplay['actions']>[number];
37
+ }
38
+ /** Archive adapter props with its injected action and viewing-state seats. */
39
+ export type ArchiveToastEntryProps = PropsRuntime<'workspace.toast', 'archived' | 'stoppedAndArchived'> & PropsLocale<'workspace'> & PropsRenderFactories & PropsStore<WorkspaceViewStoreHandle> & InjectFace<ArchiveToastInjected>;
40
+ /** Complete props of the shared Workspace Toast Factory. */
41
+ export type WorkspaceToastProps = FactoryComponentPropsOf<'workspace.toast.content'>;
42
+ /** Owner operations available to every keyed Workspace notice. */
43
+ export interface WorkspaceToastOwnerProps {
44
+ /** Dismiss the displayed notice. */
45
+ dismissToast: () => void;
46
+ }
47
+ declare module '@deepseek-ai/dsh-client-ui-slots' {
48
+ interface SlotMap {
49
+ /** Workspace notices selected by their existing business discriminator. */
50
+ 'workspace.toast': {
51
+ kind: 'keyed';
52
+ scope: 'root';
53
+ owner: WorkspaceToastOwnerProps;
54
+ keyProps: {
55
+ [K in ToastKind]: ToastNotice<K>;
56
+ };
57
+ };
58
+ }
59
+ interface SlotFactoryMap {
60
+ /** Shared Toast presentation; business registrations supply only display data and callbacks. */
61
+ 'workspace.toast.content': {
62
+ scope: 'root';
63
+ props: ToastOccurrence;
64
+ };
65
+ }
66
+ }
67
+ //# sourceMappingURL=toast.d.ts.map
@@ -0,0 +1,15 @@
1
+ /** Path suffixes that tell same-titled Workspaces apart. */
2
+ /**
3
+ * Map each Workspace whose display title another listed Workspace shares to
4
+ * the shortest run of trailing path segments that no other same-titled
5
+ * Workspace's path ends with, keeping the path's own separators. Workspaces
6
+ * with a unique title get no entry.
7
+ * @param workspaces - id, display title, and canonical path of each listed Workspace.
8
+ * @returns distinguishing suffix by Workspace id.
9
+ */
10
+ export declare function distinguishingPathSuffixes<Id>(workspaces: readonly {
11
+ readonly id: Id;
12
+ readonly title: string;
13
+ readonly path: string;
14
+ }[]): ReadonlyMap<Id, string>;
15
+ //# sourceMappingURL=path-suffix.d.ts.map
@@ -0,0 +1,10 @@
1
+ import type { WorkspaceView } from '@deepseek-ai/dsh-api-workspace-controller/client';
2
+ import type { WorkspaceActionRequest, WorkspaceBrowserProps } from '../contract/slots.ts';
3
+ type Props = Pick<WorkspaceBrowserProps, 'renameWorkspace' | 'deleteWorkspace' | 'settleWorkspaceAction' | 't'> & {
4
+ request: WorkspaceActionRequest;
5
+ workspaces: readonly WorkspaceView[];
6
+ };
7
+ /** @param props - captured request, current Workspace list, and existing mutations. @returns the active dialog. */
8
+ export declare function WorkspaceDialogs({ request, workspaces, renameWorkspace, deleteWorkspace, settleWorkspaceAction, t }: Props): import("react").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=WorkspaceDialogs.d.ts.map
@@ -0,0 +1,6 @@
1
+ import type { PropsRenderSlots, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots';
2
+ type Props = Pick<PropsRuntime<'contextMenu.content'>, 'target' | 'dismiss'> & PropsRenderSlots<'sidebar.workspaces.session.menu.item'>;
3
+ /** @param props - captured Session and the existing extension position. @returns legacy component contributions. */
4
+ export declare function SessionMenu({ target, dismiss, renderSlot }: Props): import("react").ReactNode;
5
+ export {};
6
+ //# sourceMappingURL=SessionMenu.d.ts.map
@@ -0,0 +1,12 @@
1
+ /** Structured Session actions over the workspace owner's existing callbacks. */
2
+ import type { Context } from '@deepseek-ai/cordis';
3
+ import type { ArchiveSessionInjected, ForkSessionInjected, PinSessionInjected, RenameSessionInjected, SessionIdInjected } from '../contract/slots.ts';
4
+ type Actions = Omit<PinSessionInjected & ArchiveSessionInjected, 'hooks'> & ForkSessionInjected & RenameSessionInjected & SessionIdInjected;
5
+ /**
6
+ * Register built-in actions while retaining the legacy Slot for external components.
7
+ * @param ctx - workspace plugin context owning menus, access, membership, and locale.
8
+ * @param actions - shared row and dialog callbacks; execution always uses the captured Session.
9
+ */
10
+ export declare function registerSessionMenus(ctx: Context, actions: Actions): void;
11
+ export {};
12
+ //# sourceMappingURL=context-menus.d.ts.map
@@ -0,0 +1,21 @@
1
+ import type { PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots';
2
+ import type { ArchiveToastEntryProps, ToastEntryProps, WorkspaceToastProps } from '../contract/toast.ts';
3
+ /**
4
+ * Render one notice using the shared Factory.
5
+ * @param props - Keyed payload, injected display mapping, locale, and Factory renderer.
6
+ * @returns The shared Toast occurrence.
7
+ */
8
+ export declare function ToastEntry<P extends PropsRuntime<'workspace.toast'>>(props: ToastEntryProps<P>): import("react").ReactNode;
9
+ /**
10
+ * Keep the archive filter action reactive without subscribing unrelated notices.
11
+ * @param props - Archive notice, display mapping, and the existing viewing store.
12
+ * @returns The shared Toast occurrence with its current actions.
13
+ */
14
+ export declare function ArchiveToastEntry(props: ArchiveToastEntryProps): import("react").ReactNode;
15
+ /**
16
+ * Present plain display data with the shared primitive's timing and portal.
17
+ * @param props - Localized display fields, display identity, and dismissal.
18
+ * @returns One Toast, remounted only for a new display identity.
19
+ */
20
+ export declare function WorkspaceToast({ seq, text, tone, holdMs, actions, onDone }: WorkspaceToastProps): import("react").JSX.Element;
21
+ //# sourceMappingURL=Toast.d.ts.map
@@ -0,0 +1,10 @@
1
+ /** Business-owned mappings into the keyed Workspace Toast slot. */
2
+ import type { Context } from '@deepseek-ai/cordis';
3
+ import type { RowToastActions, WorkspaceViewStoreHandle } from '../contract/slots.ts';
4
+ /** Register notice presentations with their business-owned display fields and actions.
5
+ * @param ctx - Workspace plugin context.
6
+ * @param viewStore - Viewing store, read only by archive notices.
7
+ * @param actions - Archive and source-opening callbacks.
8
+ */
9
+ export declare function registerToasts(ctx: Context, viewStore: WorkspaceViewStoreHandle, actions: Pick<RowToastActions, 'undoArchive' | 'showArchived' | 'openForkSource'>): void;
10
+ //# sourceMappingURL=register.d.ts.map
@@ -186,7 +186,7 @@ export const TYPERT = {
186
186
  },
187
187
  {
188
188
  "name": "Agent",
189
- "declaration": "export interface Agent {\n readonly id: SessionId;\n readonly options: AgentOptions;\n readonly session: Session;\n readonly inbox: Inbox;\n readonly status: AgentStatus;\n readonly ctx: Context;\n cancel(cause: AgentCancelCause, options?: CancelOptions): void;\n whenIdle(): Promise<void>;\n runMaintenance<T>(task: (signal: AbortSignal) => Promise<T>): Promise<T>;\n send(message: UserMessage, target: InboxTarget, wakeup: boolean): void;\n followup(message: UserMessage): void;\n steer(message: UserMessage): void;\n inject(message: UserMessage): void;\n}"
189
+ "declaration": "export interface Agent {\n readonly id: SessionId;\n readonly options: AgentOptions;\n readonly session: Session;\n readonly inbox: Inbox;\n readonly status: AgentStatus;\n readonly ctx: Context;\n cancel(cause: AgentCancelCause, options?: CancelOptions): void;\n whenIdle(): Promise<void>;\n runMaintenance<T>(task: (signal: AbortSignal) => Promise<T>): Promise<T>;\n send(message: UserMessage, target: InboxTarget, wakeup: boolean): void;\n followup(message: UserMessage, promptApiKey?: string): void;\n restorePromptApiKey?(message: UserMessage, apiKey: string): void;\n steer(message: UserMessage): void;\n inject(message: UserMessage): void;\n}"
190
190
  },
191
191
  {
192
192
  "name": "AgentCancelCause",
@@ -338,7 +338,7 @@ export const TYPERT = {
338
338
  },
339
339
  {
340
340
  "name": "EpochHeader",
341
- "declaration": "export interface EpochHeader {\n config: LlmCallConfig;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n tools?: ToolSchema[];\n system?: never;\n}"
341
+ "declaration": "export interface EpochHeader {\n config: LlmCallConfig;\n promptScoped?: true;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n tools?: ToolSchema[];\n system?: never;\n}"
342
342
  },
343
343
  {
344
344
  "name": "EveryScheduleDispatchChange",
@@ -462,7 +462,7 @@ export const TYPERT = {
462
462
  },
463
463
  {
464
464
  "name": "LlmCallConfig",
465
- "declaration": "export interface LlmCallConfig {\n provider: string;\n model: string;\n reasoningEffort?: ReasoningEffortId;\n temperature?: number;\n maxTokens?: number;\n stop?: string[];\n}"
465
+ "declaration": "export interface LlmCallConfig {\n provider: string;\n model: string;\n reasoningEffort?: ReasoningEffortId;\n temperature?: number;\n maxTokens?: number;\n stop?: string[];\n contextWindow?: number;\n protocol?: string;\n protocolOptions?: Readonly<Record<string, JsonValue>>;\n}"
466
466
  },
467
467
  {
468
468
  "name": "LlmCallConfigAdapterDefaults",
@@ -514,7 +514,7 @@ export const TYPERT = {
514
514
  },
515
515
  {
516
516
  "name": "MessageSourceMap",
517
- "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; };\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n goal: GoalMessageSource;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'session-reference': SessionReferenceSource;\n}"
517
+ "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; promptDigest?: string; };\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n goal: GoalMessageSource;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'session-reference': SessionReferenceSource;\n}"
518
518
  },
519
519
  {
520
520
  "name": "ModelMessageSource",
@@ -762,7 +762,7 @@ export const TYPERT = {
762
762
  },
763
763
  {
764
764
  "name": "UserMessage",
765
- "declaration": "export interface UserMessage extends MessageBase {\n readonly role: 'user';\n}"
765
+ "declaration": "export interface UserMessage extends MessageBase {\n readonly role: 'user';\n readonly promptConfig?: LlmCallConfig;\n readonly promptApiKeyRequired?: true;\n}"
766
766
  }
767
767
  ]
768
768
  }
@@ -0,0 +1,46 @@
1
+ /** First-party command identities and input spellings shared by Host and Client adapters. */
2
+ import type { CommandDescriptor } from './types.ts';
3
+ declare const BUILTINS: {
4
+ readonly goal: "@deepseek-ai/dsh-command-goal";
5
+ readonly plan: "@deepseek-ai/dsh-plan-mode";
6
+ readonly feedback: "@deepseek-ai/dsh-command-feedback";
7
+ readonly compact: "@deepseek-ai/dsh-command-compact";
8
+ readonly permission: "@deepseek-ai/dsh-permission-presets";
9
+ readonly export: "@deepseek-ai/dsh-session-log-export";
10
+ };
11
+ /** Stable first-party capabilities, independent of their registered command names. */
12
+ export type BuiltinCommandName = keyof typeof BUILTINS;
13
+ /** English and Simplified Chinese spellings recognized by command input. */
14
+ export declare const builtinCommandTokens: {
15
+ readonly en: {
16
+ readonly goal: "goal";
17
+ readonly plan: "plan";
18
+ readonly feedback: "feedback";
19
+ readonly compact: "compact";
20
+ readonly permission: "permission";
21
+ readonly export: "export";
22
+ };
23
+ readonly zh: {
24
+ readonly goal: "目标";
25
+ readonly plan: "计划";
26
+ readonly feedback: "反馈";
27
+ readonly compact: "压缩";
28
+ readonly permission: "权限";
29
+ readonly export: "导出";
30
+ };
31
+ };
32
+ /**
33
+ * Identify a first-party definition after scoped shadowing.
34
+ * @param descriptor - effective descriptor from the receiving Agent's catalog.
35
+ * @returns its capability name, or undefined for another definition.
36
+ */
37
+ export declare function builtinCommandName(descriptor: CommandDescriptor): BuiltinCommandName | undefined;
38
+ /**
39
+ * Resolve typed spelling without overriding an exact scoped command name.
40
+ * @param token - typed name without its leading slash.
41
+ * @param descriptors - effective descriptors in the receiving Agent's catalog.
42
+ * @returns the matching descriptor; aliases only select their first-party definition.
43
+ */
44
+ export declare function resolveCommand(token: string, descriptors: readonly CommandDescriptor[]): CommandDescriptor | undefined;
45
+ export {};
46
+ //# sourceMappingURL=builtin.d.ts.map
@@ -0,0 +1,39 @@
1
+ const BUILTINS = {
2
+ goal: '@deepseek-ai/dsh-command-goal',
3
+ plan: '@deepseek-ai/dsh-plan-mode',
4
+ feedback: '@deepseek-ai/dsh-command-feedback',
5
+ compact: '@deepseek-ai/dsh-command-compact',
6
+ permission: '@deepseek-ai/dsh-permission-presets',
7
+ export: '@deepseek-ai/dsh-session-log-export',
8
+ };
9
+ /** English and Simplified Chinese spellings recognized by command input. */
10
+ export const builtinCommandTokens = {
11
+ en: { goal: 'goal', plan: 'plan', feedback: 'feedback', compact: 'compact', permission: 'permission', export: 'export' },
12
+ zh: { goal: '目标', plan: '计划', feedback: '反馈', compact: '压缩', permission: '权限', export: '导出' },
13
+ };
14
+ /**
15
+ * Identify a first-party definition after scoped shadowing.
16
+ * @param descriptor - effective descriptor from the receiving Agent's catalog.
17
+ * @returns its capability name, or undefined for another definition.
18
+ */
19
+ export function builtinCommandName(descriptor) {
20
+ return Object.keys(BUILTINS)
21
+ .find(name => descriptor.definitionId === BUILTINS[name]);
22
+ }
23
+ const TOKEN_ALIASES = new Map(Object.keys(BUILTINS).flatMap(name => [builtinCommandTokens.zh[name], builtinCommandTokens.en[name]].map(token => [token, name])));
24
+ /**
25
+ * Resolve typed spelling without overriding an exact scoped command name.
26
+ * @param token - typed name without its leading slash.
27
+ * @param descriptors - effective descriptors in the receiving Agent's catalog.
28
+ * @returns the matching descriptor; aliases only select their first-party definition.
29
+ */
30
+ export function resolveCommand(token, descriptors) {
31
+ const exact = descriptors.find(descriptor => descriptor.name === token);
32
+ if (exact !== undefined)
33
+ return exact;
34
+ const name = TOKEN_ALIASES.get(token);
35
+ if (name === undefined)
36
+ return undefined;
37
+ return descriptors.find(descriptor => descriptor.definitionId === BUILTINS[name]);
38
+ }
39
+ //# sourceMappingURL=builtin.js.map
@@ -828,8 +828,9 @@ function routedTarget(session) {
828
828
  * the adapter's per-request default, which the adapter materializes when that
829
829
  * envelope omits one. No declared cap means no reservation.
830
830
  */
831
- function reservedCompletionTokens(agent, defaultMaxTokens) {
832
- return agent.session.requestHeader()?.config.maxTokens ?? defaultMaxTokens ?? 0;
831
+ function reservedCompletionTokens(agent, defaultMaxTokens, promptConfig) {
832
+ const header = agent.session.requestHeader();
833
+ return (promptConfig === void 0 && header?.promptScoped !== true ? header?.config.maxTokens : promptConfig?.maxTokens) ?? defaultMaxTokens ?? 0;
833
834
  }
834
835
  /** Resolve the conversation target used to select an optional policy override. */
835
836
  function conversationTarget(agent) {
@@ -910,9 +911,9 @@ var BasicCompactionEngine = class extends CompactionEngine {
910
911
  const logResult = (result, trigger) => {
911
912
  ctx.logger.info(`compaction (${trigger}): shadowed ${result.shadowedSeqs.length} surface nodes (seqs ${result.shadowedRange.start}-${result.shadowedRange.end}, ~${result.shadowedTokenCount} tokens)`);
912
913
  };
913
- ctx.on("agent/pre-step", async ({ agent, signal }, next) => {
914
+ ctx.on("agent/pre-step", async ({ agent, signal, promptConfig }, next) => {
914
915
  if (!signal.aborted) try {
915
- const result = await this.compactIfNeeded(agent, "pressure", signal);
916
+ const result = await this.compactIfNeeded(agent, "pressure", signal, promptConfig);
916
917
  if (result !== null) logResult(result, "step pressure");
917
918
  } catch (error) {
918
919
  if (error instanceof TargetPressureConfigError) {
@@ -983,10 +984,11 @@ var BasicCompactionEngine = class extends CompactionEngine {
983
984
  * @param agent - agent whose latest durable routed request is measured.
984
985
  * @param trigger - normal step-boundary pressure or context-overflow recovery.
985
986
  * @param signal - live turn cancellation signal forwarded to summarization.
987
+ * @param promptConfig - optional queued prompt route and capacity for step-boundary pressure.
986
988
  * @returns the latest summary compaction result, or `null` when no summary ran.
987
989
  */
988
- async compactIfNeeded(agent, trigger, signal) {
989
- const target = routedTarget(agent.session);
990
+ async compactIfNeeded(agent, trigger, signal, promptConfig) {
991
+ const target = promptConfig ?? routedTarget(agent.session);
990
992
  if (target === void 0) return null;
991
993
  const policy = resolveTargetPolicy(this.config, target);
992
994
  const meter = this.ctx.tokenMeter;
@@ -1010,8 +1012,9 @@ var BasicCompactionEngine = class extends CompactionEngine {
1010
1012
  const info = await this.ctx.llm.resolveModelInfo(target.provider, target.model, signal);
1011
1013
  assertNoActiveCompaction(agent.session, "automatic pressure compaction");
1012
1014
  const targetKey = `${target.provider}/${target.model}`;
1013
- if (info.context === void 0) throw new TargetPressureConfigError(targetKey, `compaction-basic: no context capacity for ${targetKey}; configure contextWindow on that adapter model`);
1014
- const spec = resolveCompactSpec(policy, info.context.contextWindow, reservedCompletionTokens(agent, info.defaultMaxTokens));
1015
+ const contextWindow = promptConfig?.contextWindow ?? info.context?.contextWindow;
1016
+ if (contextWindow === void 0) throw new TargetPressureConfigError(targetKey, `compaction-basic: no context capacity for ${targetKey}; configure contextWindow on that adapter model`);
1017
+ const spec = resolveCompactSpec(policy, contextWindow, reservedCompletionTokens(agent, info.defaultMaxTokens, promptConfig));
1015
1018
  if (measurement.totalTokens < spec.thresholdTokens) return null;
1016
1019
  if (prune !== void 0) {
1017
1020
  prune.pruneSession(agent.session);
@@ -8,6 +8,7 @@ import z from '@deepseek-ai/schemastery';
8
8
  import { CompactionEngine } from '@deepseek-ai/dsh-compaction';
9
9
  import type { CompactionResult, CompactionTrigger } from '@deepseek-ai/dsh-compaction';
10
10
  import type { SessionSeq } from '@deepseek-ai/dsh-session';
11
+ import type { LlmCallConfig } from '@deepseek-ai/dsh-llm';
11
12
  import type { Agent } from '@deepseek-ai/dsh-agent';
12
13
  import type { CommandId } from '@deepseek-ai/dsh-commands/brand';
13
14
  import type { SummarizationInput, SummaryResult } from './summarizer.ts';
@@ -55,9 +56,10 @@ export declare class BasicCompactionEngine extends CompactionEngine {
55
56
  * @param agent - agent whose latest durable routed request is measured.
56
57
  * @param trigger - normal step-boundary pressure or context-overflow recovery.
57
58
  * @param signal - live turn cancellation signal forwarded to summarization.
59
+ * @param promptConfig - optional queued prompt route and capacity for step-boundary pressure.
58
60
  * @returns the latest summary compaction result, or `null` when no summary ran.
59
61
  */
60
- compactIfNeeded(agent: Agent, trigger: CompactionTrigger, signal: AbortSignal): Promise<CompactionResult | null>;
62
+ compactIfNeeded(agent: Agent, trigger: CompactionTrigger, signal: AbortSignal, promptConfig?: LlmCallConfig): Promise<CompactionResult | null>;
61
63
  /**
62
64
  * Compact one inclusive positional range from the agent-owned surface using
63
65
  * the effective token meter for all retention and shrink pricing.
@@ -870,7 +870,7 @@ export const TYPERT = {
870
870
  },
871
871
  {
872
872
  "name": "Agent",
873
- "declaration": "export interface Agent {\n readonly id: SessionId;\n readonly options: AgentOptions;\n readonly session: Session;\n readonly inbox: Inbox;\n readonly status: AgentStatus;\n readonly ctx: Context;\n cancel(cause: AgentCancelCause, options?: CancelOptions): void;\n whenIdle(): Promise<void>;\n runMaintenance<T>(task: (signal: AbortSignal) => Promise<T>): Promise<T>;\n send(message: UserMessage, target: InboxTarget, wakeup: boolean): void;\n followup(message: UserMessage): void;\n steer(message: UserMessage): void;\n inject(message: UserMessage): void;\n}"
873
+ "declaration": "export interface Agent {\n readonly id: SessionId;\n readonly options: AgentOptions;\n readonly session: Session;\n readonly inbox: Inbox;\n readonly status: AgentStatus;\n readonly ctx: Context;\n cancel(cause: AgentCancelCause, options?: CancelOptions): void;\n whenIdle(): Promise<void>;\n runMaintenance<T>(task: (signal: AbortSignal) => Promise<T>): Promise<T>;\n send(message: UserMessage, target: InboxTarget, wakeup: boolean): void;\n followup(message: UserMessage, promptApiKey?: string): void;\n restorePromptApiKey?(message: UserMessage, apiKey: string): void;\n steer(message: UserMessage): void;\n inject(message: UserMessage): void;\n}"
874
874
  },
875
875
  {
876
876
  "name": "AgentCancelCause",
@@ -1010,7 +1010,7 @@ export const TYPERT = {
1010
1010
  },
1011
1011
  {
1012
1012
  "name": "EpochHeader",
1013
- "declaration": "export interface EpochHeader {\n config: LlmCallConfig;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n tools?: ToolSchema[];\n system?: never;\n}"
1013
+ "declaration": "export interface EpochHeader {\n config: LlmCallConfig;\n promptScoped?: true;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n tools?: ToolSchema[];\n system?: never;\n}"
1014
1014
  },
1015
1015
  {
1016
1016
  "name": "EveryScheduleDispatchChange",
@@ -1142,7 +1142,7 @@ export const TYPERT = {
1142
1142
  },
1143
1143
  {
1144
1144
  "name": "LlmCallConfig",
1145
- "declaration": "export interface LlmCallConfig {\n provider: string;\n model: string;\n reasoningEffort?: ReasoningEffortId;\n temperature?: number;\n maxTokens?: number;\n stop?: string[];\n}"
1145
+ "declaration": "export interface LlmCallConfig {\n provider: string;\n model: string;\n reasoningEffort?: ReasoningEffortId;\n temperature?: number;\n maxTokens?: number;\n stop?: string[];\n contextWindow?: number;\n protocol?: string;\n protocolOptions?: Readonly<Record<string, JsonValue>>;\n}"
1146
1146
  },
1147
1147
  {
1148
1148
  "name": "LlmCallConfigAdapterDefaults",
@@ -1194,7 +1194,7 @@ export const TYPERT = {
1194
1194
  },
1195
1195
  {
1196
1196
  "name": "MessageSourceMap",
1197
- "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; };\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n goal: GoalMessageSource;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'session-reference': SessionReferenceSource;\n}"
1197
+ "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; promptDigest?: string; };\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n goal: GoalMessageSource;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'session-reference': SessionReferenceSource;\n}"
1198
1198
  },
1199
1199
  {
1200
1200
  "name": "ModelMessageSource",
@@ -1442,7 +1442,7 @@ export const TYPERT = {
1442
1442
  },
1443
1443
  {
1444
1444
  "name": "UserMessage",
1445
- "declaration": "export interface UserMessage extends MessageBase {\n readonly role: 'user';\n}"
1445
+ "declaration": "export interface UserMessage extends MessageBase {\n readonly role: 'user';\n readonly promptConfig?: LlmCallConfig;\n readonly promptApiKeyRequired?: true;\n}"
1446
1446
  }
1447
1447
  ]
1448
1448
  },
@@ -1609,7 +1609,7 @@ export const TYPERT = {
1609
1609
  },
1610
1610
  {
1611
1611
  "name": "Agent",
1612
- "declaration": "export interface Agent {\n readonly id: SessionId;\n readonly options: AgentOptions;\n readonly session: Session;\n readonly inbox: Inbox;\n readonly status: AgentStatus;\n readonly ctx: Context;\n cancel(cause: AgentCancelCause, options?: CancelOptions): void;\n whenIdle(): Promise<void>;\n runMaintenance<T>(task: (signal: AbortSignal) => Promise<T>): Promise<T>;\n send(message: UserMessage, target: InboxTarget, wakeup: boolean): void;\n followup(message: UserMessage): void;\n steer(message: UserMessage): void;\n inject(message: UserMessage): void;\n}"
1612
+ "declaration": "export interface Agent {\n readonly id: SessionId;\n readonly options: AgentOptions;\n readonly session: Session;\n readonly inbox: Inbox;\n readonly status: AgentStatus;\n readonly ctx: Context;\n cancel(cause: AgentCancelCause, options?: CancelOptions): void;\n whenIdle(): Promise<void>;\n runMaintenance<T>(task: (signal: AbortSignal) => Promise<T>): Promise<T>;\n send(message: UserMessage, target: InboxTarget, wakeup: boolean): void;\n followup(message: UserMessage, promptApiKey?: string): void;\n restorePromptApiKey?(message: UserMessage, apiKey: string): void;\n steer(message: UserMessage): void;\n inject(message: UserMessage): void;\n}"
1613
1613
  },
1614
1614
  {
1615
1615
  "name": "AgentCancelCause",
@@ -1849,7 +1849,7 @@ export const TYPERT = {
1849
1849
  },
1850
1850
  {
1851
1851
  "name": "EpochHeader",
1852
- "declaration": "export interface EpochHeader {\n config: LlmCallConfig;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n tools?: ToolSchema[];\n system?: never;\n}"
1852
+ "declaration": "export interface EpochHeader {\n config: LlmCallConfig;\n promptScoped?: true;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n tools?: ToolSchema[];\n system?: never;\n}"
1853
1853
  },
1854
1854
  {
1855
1855
  "name": "EveryScheduleDispatchChange",
@@ -1973,7 +1973,7 @@ export const TYPERT = {
1973
1973
  },
1974
1974
  {
1975
1975
  "name": "LlmCallConfig",
1976
- "declaration": "export interface LlmCallConfig {\n provider: string;\n model: string;\n reasoningEffort?: ReasoningEffortId;\n temperature?: number;\n maxTokens?: number;\n stop?: string[];\n}"
1976
+ "declaration": "export interface LlmCallConfig {\n provider: string;\n model: string;\n reasoningEffort?: ReasoningEffortId;\n temperature?: number;\n maxTokens?: number;\n stop?: string[];\n contextWindow?: number;\n protocol?: string;\n protocolOptions?: Readonly<Record<string, JsonValue>>;\n}"
1977
1977
  },
1978
1978
  {
1979
1979
  "name": "LlmCallConfigAdapterDefaults",
@@ -2025,7 +2025,7 @@ export const TYPERT = {
2025
2025
  },
2026
2026
  {
2027
2027
  "name": "MessageSourceMap",
2028
- "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; };\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n goal: GoalMessageSource;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'session-reference': SessionReferenceSource;\n}"
2028
+ "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; promptDigest?: string; };\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n goal: GoalMessageSource;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'session-reference': SessionReferenceSource;\n}"
2029
2029
  },
2030
2030
  {
2031
2031
  "name": "ModelMessageSource",
@@ -2273,7 +2273,7 @@ export const TYPERT = {
2273
2273
  },
2274
2274
  {
2275
2275
  "name": "UserMessage",
2276
- "declaration": "export interface UserMessage extends MessageBase {\n readonly role: 'user';\n}"
2276
+ "declaration": "export interface UserMessage extends MessageBase {\n readonly role: 'user';\n readonly promptConfig?: LlmCallConfig;\n readonly promptApiKeyRequired?: true;\n}"
2277
2277
  }
2278
2278
  ]
2279
2279
  }
@@ -0,0 +1,48 @@
1
+ /** Locale-owned approval text; reviewer reasons remain verbatim in every language. */
2
+ /** English approval messages. */
3
+ export declare const en: {
4
+ denied: string;
5
+ deniedWithReason: (reason: string) => string;
6
+ };
7
+ /** Chinese approval messages. */
8
+ export declare const zh: {
9
+ denied: string;
10
+ deniedWithReason: (reason: string) => string;
11
+ };
12
+ /** Japanese approval messages. */
13
+ export declare const ja: {
14
+ denied: string;
15
+ deniedWithReason: (reason: string) => string;
16
+ };
17
+ /** Spanish dictionary, checked against the English keys. */
18
+ export declare const es: {
19
+ denied: string;
20
+ deniedWithReason: (reason: string) => string;
21
+ };
22
+ /** French dictionary, checked against the English keys. */
23
+ export declare const fr: {
24
+ denied: string;
25
+ deniedWithReason: (reason: string) => string;
26
+ };
27
+ /** German dictionary, checked against the English keys. */
28
+ export declare const de: {
29
+ denied: string;
30
+ deniedWithReason: (reason: string) => string;
31
+ };
32
+ /** Russian dictionary, checked against the English keys. */
33
+ export declare const ru: {
34
+ denied: string;
35
+ deniedWithReason: (reason: string) => string;
36
+ };
37
+ /** Portuguese dictionary, checked against the English keys. */
38
+ export declare const pt: {
39
+ denied: string;
40
+ deniedWithReason: (reason: string) => string;
41
+ };
42
+ /**
43
+ * Build all display translations without translating the reviewer's raw reason.
44
+ * @param reason - optional reviewer explanation.
45
+ * @returns text for the Client's localized-text resolver.
46
+ */
47
+ export declare function deniedDisplayReason(reason?: string): Record<'en' | 'zh' | 'ja' | 'es' | 'fr' | 'de' | 'ru' | 'pt', string>;
48
+ //# sourceMappingURL=locales.d.ts.map
@@ -0,0 +1,6 @@
1
+ import type { InjectFace, PropsLocale } from '@deepseek-ai/dsh-client-ui-slots';
2
+ import type { VoiceInputInjected } from './VoiceInput.tsx';
3
+ import { NS } from './locales.ts';
4
+ /** Render the selected input and preview its measured level without recording audio. */
5
+ export declare function MicrophonePicker({ useMicrophoneDevice, selectMicrophone, createRecording, t }: Pick<InjectFace<VoiceInputInjected>, 'useMicrophoneDevice' | 'selectMicrophone' | 'createRecording'> & PropsLocale<typeof NS>): import("react").JSX.Element;
6
+ //# sourceMappingURL=MicrophonePicker.d.ts.map
@@ -0,0 +1,11 @@
1
+ /** Locale-owned messages shared by microphone preview and dictation. */
2
+ import type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots';
3
+ import type { NS } from './locales.ts';
4
+ /**
5
+ * Translate a capture or transcription failure.
6
+ * @param failure - the rejected value.
7
+ * @param t - the active voice-input translator.
8
+ * @returns localized failure text.
9
+ */
10
+ export declare function failureText(failure: unknown, t: PropsLocale<typeof NS>['t']): string;
11
+ //# sourceMappingURL=failure-text.d.ts.map
@@ -0,0 +1,13 @@
1
+ /** Browser-local microphone preference shared by settings previews and dictation. */
2
+ import { type SnapshotStore } from '@deepseek-ai/dsh-client-store';
3
+ /** An empty id follows the system input; labels store browser names without localized placeholders. */
4
+ export interface MicrophoneDevice {
5
+ readonly id: string;
6
+ readonly label: string;
7
+ }
8
+ /**
9
+ * Restore the browser preference independently of Host recognition settings.
10
+ * @returns validated device selection, persisted through the shared Client store.
11
+ */
12
+ export declare function createMicrophoneDeviceStore(): SnapshotStore<MicrophoneDevice>;
13
+ //# sourceMappingURL=microphone-device.d.ts.map