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

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 (478) 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/desktop-history-B0iUekXf.js +72 -0
  6. package/lib/desktop-history-DvgkONgj.js +2 -0
  7. package/lib/{dump-config-D8kXfdTs.js → dump-config-CgIYHBp2.js} +1 -1
  8. package/lib/dump-config-D6TruNva.js +2 -0
  9. package/lib/{dump-config-schema-CtZbroi6.js → dump-config-schema-GiAtkJwx.js} +2 -2
  10. package/lib/{plugin-CYw-MBRn.js → plugin-BACkrsVG.js} +1 -1
  11. package/lib/{profile-boot-CffsubnV.js → profile-boot-c5YKtUIb.js} +17 -4
  12. package/lib/profile-boot.js +1 -1
  13. package/lib/tui-compat.js +1 -1
  14. package/lib/types/args.d.ts +8 -1
  15. package/lib/types/desktop-history.d.ts +31 -0
  16. package/lib/types/installed-bin.d.ts +9 -0
  17. package/package.json +25 -25
  18. package/runtime/manifest.json +3 -2
  19. package/runtime/node_modules/@chatcode/runtime-client/README.md +225 -0
  20. package/runtime/node_modules/@chatcode/runtime-client/desktop-history-guard.mjs +65 -0
  21. package/runtime/node_modules/@chatcode/runtime-client/desktop-history.mjs +278 -0
  22. package/runtime/node_modules/@chatcode/runtime-client/desktop-permission-gate.mjs +28 -0
  23. package/runtime/node_modules/@chatcode/runtime-client/execution.mjs +593 -0
  24. package/runtime/node_modules/@chatcode/runtime-client/index.d.ts +449 -0
  25. package/runtime/node_modules/@chatcode/runtime-client/model-preferences.mjs +57 -0
  26. package/runtime/node_modules/@chatcode/runtime-client/package.json +53 -0
  27. package/runtime/node_modules/@chatcode/runtime-client/runtime-connector.mjs +736 -0
  28. package/runtime/node_modules/@chatcode/runtime-client/session-activity.mjs +121 -0
  29. package/runtime/node_modules/@chatcode/runtime-client/session-browser.mjs +122 -0
  30. package/runtime/node_modules/@chatcode/runtime-client/stdio-bridge.mjs +103 -0
  31. package/runtime/node_modules/@chatcode/runtime-client/user-questions.mjs +108 -0
  32. package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/journal.d.ts +69 -0
  33. package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/journal.d.ts.map +1 -0
  34. package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/patch.d.ts +68 -0
  35. package/runtime/node_modules/@deepseek-ai/cordis-plugin-include/lib/types/patch.d.ts.map +1 -0
  36. package/runtime/node_modules/@deepseek-ai/cordis-plugin-loader/lib/types/resolve.d.ts +9 -0
  37. package/runtime/node_modules/@deepseek-ai/cordis-plugin-loader/lib/types/resolve.d.ts.map +1 -0
  38. package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/index.js +2 -2
  39. package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/types/model-selection.d.ts +6 -0
  40. package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/types/model-selection.js +2 -2
  41. package/runtime/node_modules/@deepseek-ai/dsh-agent/lib/types/runtime-types.d.ts +12 -3
  42. package/runtime/node_modules/@deepseek-ai/dsh-agent-default-model/lib/index.js +11 -0
  43. package/runtime/node_modules/@deepseek-ai/dsh-agent-default-model/lib/types/index.d.ts +7 -0
  44. package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +69 -17
  45. package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/invariant.js +1 -1
  46. package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/types/agent.d.ts +3 -1
  47. package/runtime/node_modules/@deepseek-ai/dsh-agent-loop/lib/types/inbox.d.ts +13 -0
  48. package/runtime/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +5 -5
  49. package/runtime/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/access.d.ts +40 -0
  50. package/runtime/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/access.js +164 -0
  51. package/runtime/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +460 -79
  52. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +636 -44
  53. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +483 -55
  54. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.d.ts +19 -1
  55. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +377 -40
  56. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.d.ts +24 -4
  57. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.js +97 -15
  58. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/catalog.js +1 -1
  59. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.d.ts +11 -2
  60. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +172 -18
  61. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/continuation.d.ts +35 -0
  62. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/continuation.js +48 -0
  63. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/assistant-stream.d.ts +43 -0
  64. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/assistant-stream.js +80 -0
  65. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/controller.d.ts +104 -0
  66. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/controller.js +294 -0
  67. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/listener.d.ts +105 -0
  68. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/listener.js +297 -0
  69. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history.js +4 -4
  70. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.d.ts +88 -1
  71. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +230 -6
  72. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/login-token-store.d.ts +64 -0
  73. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/login-token-store.js +79 -0
  74. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/controller.d.ts +45 -0
  75. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/controller.js +289 -0
  76. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/listener.d.ts +40 -0
  77. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/listener.js +112 -0
  78. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/types.d.ts +93 -1
  79. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/web/controller.d.ts +25 -0
  80. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/web/controller.js +139 -0
  81. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +9 -0
  82. package/runtime/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +5 -5
  83. package/runtime/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/inventory.d.ts +42 -0
  84. package/runtime/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/inventory.js +101 -0
  85. package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/bundle-platform.d.ts +17 -0
  86. package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/startup-diagnostics.d.ts +38 -0
  87. package/runtime/node_modules/@deepseek-ai/dsh-client-connection/lib/types/client/socket.d.ts +50 -0
  88. package/runtime/node_modules/@deepseek-ai/dsh-client-connection/lib/types/connect-protocol.d.ts +6 -0
  89. package/runtime/node_modules/@deepseek-ai/dsh-client-connection/lib/types/peer.d.ts +36 -0
  90. package/runtime/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +5 -5
  91. package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/de.d.ts +47 -0
  92. package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/es.d.ts +47 -0
  93. package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/fr.d.ts +47 -0
  94. package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/ja.d.ts +47 -0
  95. package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/pt.d.ts +47 -0
  96. package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/types/locales/ru.d.ts +47 -0
  97. package/runtime/node_modules/@deepseek-ai/dsh-client-modules/lib/types/assets.d.ts +51 -0
  98. package/runtime/node_modules/@deepseek-ai/dsh-client-modules/lib/types/client/notify.d.ts +8 -0
  99. package/runtime/node_modules/@deepseek-ai/dsh-client-modules/lib/types/client/release-change.d.ts +44 -0
  100. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/types/client/CreatePluginMenuItem.d.ts +20 -0
  101. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/types/client/analytics.d.ts +8 -0
  102. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/types/client/ApprovalCard.d.ts +8 -0
  103. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/types/client/ApprovalWarning.d.ts +10 -0
  104. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/PixelWhale.d.ts +14 -0
  105. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/artwork.d.ts +17 -0
  106. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/code-fill.d.ts +21 -0
  107. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/types/client/home-whale/renderer.d.ts +20 -0
  108. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/ChatFlow.d.ts +4 -0
  109. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/ReasoningContent.d.ts +16 -0
  110. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/RunningStatus.d.ts +18 -0
  111. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/RunningWhaleTail.d.ts +6 -0
  112. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/UserContent.d.ts +9 -0
  113. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/flow-motion.d.ts +110 -0
  114. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/text-interaction.d.ts +19 -0
  115. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/chat/text-selection.d.ts +20 -0
  116. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/contract/group-tree.d.ts +32 -0
  117. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/conversation-nodes/group-tree-segments.d.ts +42 -0
  118. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/file-path.d.ts +11 -0
  119. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/client/reasoning-text.d.ts +8 -0
  120. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/index.d.ts +2 -2
  121. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/types/client/option-groups.d.ts +15 -0
  122. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/contract/text-interaction.d.ts +31 -0
  123. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/contract/user-text.d.ts +60 -0
  124. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/conversation/interaction-registry.d.ts +28 -0
  125. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/conversation/user-text-document.d.ts +21 -0
  126. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/conversation/user-text-registry.d.ts +26 -0
  127. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/draft.d.ts +23 -0
  128. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/CommandChip.d.ts +13 -0
  129. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/QuoteNode.d.ts +61 -0
  130. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/command-chip-node.d.ts +87 -0
  131. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/editor/command-chip-selection.d.ts +20 -0
  132. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/prompt.d.ts +9 -0
  133. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/submission-analytics.d.ts +10 -0
  134. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/user-text/UserText.d.ts +22 -0
  135. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/user-text/session-reference-rule.d.ts +15 -0
  136. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/user-text/whitespace-rules.d.ts +7 -0
  137. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/view-pins.d.ts +22 -0
  138. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/types/client/GoalCommandReference.d.ts +9 -0
  139. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/types/client/user-text-rules.d.ts +21 -0
  140. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/types/client/provider-order.d.ts +10 -0
  141. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/context-menus.d.ts +18 -0
  142. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/open-toast.d.ts +40 -0
  143. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/outcome.d.ts +7 -0
  144. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/types/client/session-open-with.d.ts +14 -0
  145. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/BundleDetailSection.d.ts +26 -0
  146. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/PluginRefreshToast.d.ts +17 -0
  147. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/detail-store.d.ts +76 -0
  148. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/header-scroll.d.ts +14 -0
  149. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/sanitize-install-input.d.ts +8 -0
  150. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/tab-ledger.d.ts +15 -0
  151. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/types/client/versions.d.ts +33 -0
  152. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/AnimatedRows.module.css +7 -0
  153. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CommandText.module.css +12 -0
  154. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DetailDocument.module.css +67 -0
  155. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/InlineEditor.module.css +23 -0
  156. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuGroup.module.css +37 -0
  157. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/QuotePreview.module.css +101 -0
  158. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RowDragPreview.module.css +12 -0
  159. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/UserMessageBubble.module.css +11 -0
  160. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ZoomControls.module.css +54 -0
  161. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/AnimatedRows.d.ts +49 -0
  162. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CommandText.d.ts +16 -0
  163. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DetailDocument.d.ts +78 -0
  164. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DraggableImage.d.ts +19 -0
  165. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCardGroup.d.ts +25 -0
  166. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/InlineEditor.d.ts +23 -0
  167. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuGroup.d.ts +22 -0
  168. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuRow.d.ts +37 -0
  169. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/QuotePreview.d.ts +24 -0
  170. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SubmenuPanel.d.ts +19 -0
  171. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/UserMessageBubble.d.ts +11 -0
  172. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ZoomControls.d.ts +27 -0
  173. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/document-zoom.d.ts +17 -0
  174. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/file-drag-actions.d.ts +32 -0
  175. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/artwork.d.ts +426 -0
  176. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/image-drag.d.ts +17 -0
  177. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/copy-tex.d.ts +14 -0
  178. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/quote-text.d.ts +8 -0
  179. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/windows-path-destinations.d.ts +11 -0
  180. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/menu-submenu-position.d.ts +15 -0
  181. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/tooltip-placement.d.ts +35 -0
  182. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/use-clipboard-copy.d.ts +14 -0
  183. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useMenuSubmenu.d.ts +43 -0
  184. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useRowDragPreview.d.ts +20 -0
  185. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/types/client/FileReference.d.ts +29 -0
  186. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/types/client/user-text-rules.d.ts +18 -0
  187. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/NewSessionLimit.d.ts +12 -0
  188. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/RuleSelectRow.d.ts +22 -0
  189. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/ScheduleEmptyIllustration.d.ts +12 -0
  190. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/TaskEditorFields.d.ts +54 -0
  191. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/TaskRuleControls.d.ts +50 -0
  192. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/clear-ended.d.ts +33 -0
  193. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/editor-store.d.ts +32 -0
  194. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/editor-timing.d.ts +47 -0
  195. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/types/client/task-record.d.ts +30 -0
  196. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
  197. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/client/account-avatar.d.ts +37 -0
  198. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/client/browser-login.d.ts +33 -0
  199. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/client/notice-transition.d.ts +7 -0
  200. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/index.d.ts +2 -2
  201. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/onboarding-settings.d.ts +1 -1
  202. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
  203. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/DesktopChannelRow.d.ts +31 -0
  204. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/HostReleasePrompt.d.ts +24 -0
  205. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/desktop-channel-source.d.ts +43 -0
  206. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/types/client/ApiKeyInput.d.ts +17 -0
  207. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/types/client/ModelReasoningEfforts.d.ts +43 -0
  208. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/types/client/useModelRows.d.ts +41 -0
  209. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
  210. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/types/client/PanelIcon.d.ts +9 -0
  211. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/types/client/panel-pins.d.ts +21 -0
  212. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/types/client/scroll-handoff.d.ts +24 -0
  213. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.frontmatter-fields.js +5768 -0
  214. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/PreviewFrame.d.ts +34 -0
  215. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/image/pan.d.ts +8 -0
  216. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/markdown/frontmatter-fields.d.ts +20 -0
  217. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/markdown/frontmatter.d.ts +13 -0
  218. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/FileNavigator.d.ts +33 -0
  219. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/FileTree.d.ts +114 -0
  220. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/NavigatorToggle.d.ts +28 -0
  221. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/navigator-layout.d.ts +6 -0
  222. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/types/client/workspace-tree.d.ts +51 -0
  223. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/shell/TabMenuContent.d.ts +13 -0
  224. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/shell/flash.d.ts +10 -0
  225. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/tabs/guide/GuideMoreIcon.d.ts +7 -0
  226. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/types/client/tabs/guide/guide-pins.d.ts +28 -0
  227. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/types/client/SkillReference.d.ts +19 -0
  228. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/types/client/user-text-rules.d.ts +17 -0
  229. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/types/client/slots.d.ts +12 -0
  230. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/types/client/FontFamilyRow.d.ts +19 -0
  231. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/types/client/FontSettingsGroup.d.ts +19 -0
  232. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/types/client/icon-sprite.d.ts +17 -0
  233. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/components/ExitCodeBadge.d.ts +9 -0
  234. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/components/QuestionToolRow.d.ts +13 -0
  235. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/file-menu.d.ts +15 -0
  236. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/types/client/tool/models/recorded-path.d.ts +8 -0
  237. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/types/client/watch-tool-result.d.ts +15 -0
  238. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/types/types.d.ts +16 -0
  239. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/types/client/QuestionReplyView.d.ts +16 -0
  240. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/types/client/question-reply.d.ts +74 -0
  241. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/contract/toast.d.ts +67 -0
  242. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/path-suffix.d.ts +15 -0
  243. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/rows/WorkspaceDialogs.d.ts +10 -0
  244. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/session-actions/SessionMenu.d.ts +6 -0
  245. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/session-actions/context-menus.d.ts +12 -0
  246. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/toast/Toast.d.ts +21 -0
  247. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/toast/register.d.ts +10 -0
  248. package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +5 -5
  249. package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/types/builtin.d.ts +46 -0
  250. package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/types/builtin.js +39 -0
  251. package/runtime/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +11 -8
  252. package/runtime/node_modules/@deepseek-ai/dsh-compaction-basic/lib/types/index.d.ts +3 -1
  253. package/runtime/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +10 -10
  254. package/runtime/node_modules/@deepseek-ai/dsh-experimental-auto-review/lib/types/locales.d.ts +48 -0
  255. package/runtime/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/types/client/MicrophonePicker.d.ts +6 -0
  256. package/runtime/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/types/client/failure-text.d.ts +11 -0
  257. package/runtime/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/types/client/microphone-device.d.ts +13 -0
  258. package/runtime/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +5 -5
  259. package/runtime/node_modules/@deepseek-ai/dsh-headless/lib/{json-stream-Bh4BGGk9.js → json-stream-Dc3g2Bl1.js} +11 -7
  260. package/runtime/node_modules/@deepseek-ai/dsh-hmr/lib/types/module-files.d.ts +48 -0
  261. package/runtime/node_modules/@deepseek-ai/dsh-hmr/lib/types/package-manifest.d.ts +35 -0
  262. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/index.js +241 -64
  263. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +26 -11
  264. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/typert.remote-client.js +3 -3
  265. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/call-config.d.ts +19 -0
  266. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/call-config.js +5 -1
  267. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/index.d.ts +30 -6
  268. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +109 -8
  269. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/message.d.ts +5 -0
  270. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/prompt-protocol-options.d.ts +5 -0
  271. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/prompt-protocol-options.js +32 -0
  272. package/runtime/node_modules/@deepseek-ai/dsh-llm/lib/types/types.d.ts +7 -0
  273. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +19 -7
  274. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/config.d.ts +3 -3
  275. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/credential.d.ts +34 -0
  276. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listed-catalog.d.ts +56 -0
  277. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listing-cache.d.ts +71 -0
  278. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listing-config.d.ts +48 -0
  279. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/listing.d.ts +91 -0
  280. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocol-adapter.d.ts +3 -1
  281. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/types/config.d.ts +2 -2
  282. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/types/config.d.ts +2 -2
  283. package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +149 -28
  284. package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/adapter.d.ts +3 -1
  285. package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/prompt-options.d.ts +17 -0
  286. package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/provider-data.d.ts +10 -0
  287. package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/provider-data.generated.d.ts +10 -0
  288. package/runtime/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/types/types.d.ts +8 -0
  289. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/credentials.d.ts +34 -0
  290. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/deadline.d.ts +12 -0
  291. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/diagnostic.d.ts +22 -0
  292. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/generation.d.ts +42 -0
  293. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/probe.d.ts +37 -0
  294. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/status.d.ts +87 -0
  295. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/templates.d.ts +37 -0
  296. package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/types.d.ts +85 -0
  297. package/runtime/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +4 -4
  298. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/bundle-detail.d.ts +40 -0
  299. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/bundle-detail.js +85 -0
  300. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/diagnostic.d.ts +17 -0
  301. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/diagnostic.js +72 -0
  302. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/git-transport.d.ts +27 -0
  303. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/git-transport.js +65 -0
  304. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/official-install-target.d.ts +15 -0
  305. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/official-install-target.js +54 -0
  306. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/versions.d.ts +40 -0
  307. package/runtime/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/versions.js +61 -0
  308. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/config.d.ts +38 -0
  309. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/configuration.d.ts +10 -0
  310. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/async-function.d.ts +8 -0
  311. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/index.d.ts +12 -0
  312. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/repl.d.ts +8 -0
  313. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/types.d.ts +68 -0
  314. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/vm-script-await.d.ts +8 -0
  315. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/evaluators/vm-script.d.ts +8 -0
  316. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/execution.d.ts +66 -0
  317. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/imports/evaluation-ended.d.ts +7 -0
  318. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/imports/module-hooks.d.ts +37 -0
  319. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/imports/vm-modules.d.ts +35 -0
  320. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/persistent-process-entry.d.ts +2 -0
  321. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/persistent-process.d.ts +16 -0
  322. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/policy-processes.d.ts +30 -0
  323. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/rpc.d.ts +13 -0
  324. package/runtime/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/types/worker.d.ts +66 -0
  325. package/runtime/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +215 -9
  326. package/runtime/node_modules/@deepseek-ai/dsh-sandbox/lib/types/locales.d.ts +41 -0
  327. package/runtime/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/types/acl-skill.d.ts +19 -0
  328. package/runtime/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/{types-Ci-q7_aQ.js → types-DwkEVVWZ.js} +357 -81
  329. package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/query-activity.d.ts +43 -0
  330. package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/query-content.d.ts +21 -0
  331. package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/query-input.d.ts +12 -0
  332. package/runtime/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/types/user-questions.d.ts +17 -0
  333. package/runtime/node_modules/@deepseek-ai/dsh-session/lib/index.js +2 -1
  334. package/runtime/node_modules/@deepseek-ai/dsh-session/lib/types/request-header.js +2 -0
  335. package/runtime/node_modules/@deepseek-ai/dsh-session/lib/types/types.d.ts +2 -0
  336. package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/types/client/CopyToast.d.ts +21 -0
  337. package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/types/client/copy-controller.d.ts +76 -0
  338. package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/types/markdown.d.ts +22 -0
  339. package/runtime/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +197 -9
  340. package/runtime/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +5 -5
  341. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +5 -5
  342. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/activation.d.ts +112 -0
  343. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/activation.js +112 -0
  344. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.d.ts +232 -0
  345. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.js +1250 -0
  346. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/names.d.ts +56 -0
  347. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/names.js +96 -0
  348. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/structured.d.ts +49 -0
  349. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/structured.js +130 -0
  350. package/runtime/node_modules/@deepseek-ai/dsh-subprocess-local/lib/types/linux-scope-selector.d.ts +60 -0
  351. package/runtime/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +215 -9
  352. package/runtime/node_modules/@deepseek-ai/dsh-token-meter/lib/types/measurement-projection.d.ts +74 -0
  353. package/runtime/node_modules/@deepseek-ai/dsh-token-meter/lib/types/measurement-projection.js +94 -0
  354. package/runtime/node_modules/@deepseek-ai/dsh-tool-ask-user/lib/types/timed.d.ts +13 -0
  355. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +31 -1
  356. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/apply-patch-output.d.ts +140 -0
  357. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/apply-patch-presentation.d.ts +15 -0
  358. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/apply-patch.d.ts +10 -0
  359. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/mutation-result.d.ts +18 -0
  360. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/execute.d.ts +17 -0
  361. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/index.d.ts +17 -0
  362. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/plan.d.ts +52 -0
  363. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/preflight.d.ts +18 -0
  364. package/runtime/node_modules/@deepseek-ai/dsh-tool-fs/lib/types/patch/types.d.ts +106 -0
  365. package/runtime/node_modules/@deepseek-ai/dsh-tool-subagent/lib/types/preset-selection.d.ts +36 -0
  366. package/runtime/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/wait-agent.d.ts +8 -0
  367. package/runtime/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/wait-agent.js +104 -0
  368. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/batch.d.ts +26 -0
  369. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/batch.js +246 -0
  370. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/contracts.d.ts +376 -0
  371. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/contracts.js +51 -0
  372. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/events.d.ts +58 -0
  373. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/events.js +2 -0
  374. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/executor.d.ts +90 -0
  375. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/executor.js +19 -0
  376. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/pipeline.d.ts +154 -0
  377. package/runtime/node_modules/@deepseek-ai/dsh-tools/lib/types/pipeline.js +701 -0
  378. package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/principal.d.ts +13 -0
  379. package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/principal.js +15 -0
  380. package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-access.d.ts +32 -0
  381. package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-access.js +9 -0
  382. package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-info.d.ts +21 -0
  383. package/runtime/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-info.js +143 -0
  384. package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/projection.d.ts +85 -0
  385. package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/projection.js +298 -0
  386. package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/timed-wait.d.ts +37 -0
  387. package/runtime/node_modules/@deepseek-ai/dsh-user-questions/lib/types/timed-wait.js +85 -0
  388. package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/cron.d.ts +54 -0
  389. package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/duration.d.ts +61 -0
  390. package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/instant.d.ts +145 -0
  391. package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/recurrence.d.ts +38 -0
  392. package/runtime/node_modules/@deepseek-ai/dsh-util-time/lib/types/rrule.d.ts +34 -0
  393. package/runtime/node_modules/@deepseek-ai/dsh-util-values/lib/types/partial-json.d.ts +152 -0
  394. package/runtime/node_modules/@deepseek-ai/dsh-web-app/lib/types/public-url.d.ts +16 -0
  395. package/runtime/node_modules/@deepseek-ai/node-addon-system/lib/.tsbuildinfo +1 -1
  396. package/lib/dump-config-DuCc-QB7.js +0 -2
  397. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/queue-mirror.d.ts +0 -26
  398. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/queue-mirror.js +0 -61
  399. package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/watch-config.d.ts +0 -13
  400. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/types/ImageLightbox.d.ts +0 -27
  401. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/contract/queue.d.ts +0 -9
  402. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/input/queue-store.d.ts +0 -20
  403. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/types/client/ProducedFiles.d.ts +0 -14
  404. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/types/client/icons.d.ts +0 -8
  405. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/OnboardingSurface.module.css +0 -29
  406. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/OnboardingSurface.d.ts +0 -11
  407. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/types/client/settings-contract.d.ts +0 -86
  408. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/types/client/settings-scope.d.ts +0 -141
  409. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/desktop-update-bridge.d.ts +0 -23
  410. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/AgentLoopCard.d.ts +0 -12
  411. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/BashCard.d.ts +0 -12
  412. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/ConfigurablePluginsTab.d.ts +0 -19
  413. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/PluginCard.d.ts +0 -42
  414. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/PluginConfigForm.d.ts +0 -34
  415. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentCard.d.ts +0 -12
  416. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentLimitsFields.d.ts +0 -14
  417. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentModelSelectionCard.d.ts +0 -12
  418. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/SubagentModelSelectionFields.d.ts +0 -14
  419. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/WebSearchCard.d.ts +0 -16
  420. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/agent-loop-card-controller.d.ts +0 -43
  421. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/bash-card-controller.d.ts +0 -45
  422. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/card-form.d.ts +0 -171
  423. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/fields.d.ts +0 -69
  424. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/slot-contract.d.ts +0 -31
  425. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/subagent-card-controller.d.ts +0 -32
  426. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/subagent-limits-card-controller.d.ts +0 -33
  427. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/subagent-model-selection-card-controller.d.ts +0 -129
  428. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/tab-store.d.ts +0 -65
  429. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/types/client/web-search-card-controller.d.ts +0 -93
  430. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/code/languages.d.ts +0 -9
  431. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/icons.d.ts +0 -14
  432. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/types/client/pdf/PdfBody.d.ts +0 -24
  433. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/types/client/TerminalBody.d.ts +0 -14
  434. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/types/client/subagent-lineage.d.ts +0 -21
  435. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/subagent-lineage.d.ts +0 -21
  436. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/defaults.d.ts +0 -24
  437. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/file-id.d.ts +0 -19
  438. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/file-store.d.ts +0 -86
  439. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/files-api.d.ts +0 -111
  440. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/image-tokens.d.ts +0 -34
  441. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/messages-api.d.ts +0 -10
  442. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/model-info.d.ts +0 -16
  443. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/models.d.ts +0 -4
  444. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/request-extensions.d.ts +0 -16
  445. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/request-files.d.ts +0 -49
  446. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/request-pricing.d.ts +0 -60
  447. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/types.d.ts +0 -119
  448. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/common/upload-index.d.ts +0 -68
  449. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/adapter.d.ts +0 -45
  450. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/serialize.d.ts +0 -78
  451. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/sse.d.ts +0 -24
  452. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/translate.d.ts +0 -37
  453. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/chat-completions/types.d.ts +0 -178
  454. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/adapter.d.ts +0 -47
  455. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/images.d.ts +0 -35
  456. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/replay.d.ts +0 -27
  457. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/serialize.d.ts +0 -18
  458. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/sse.d.ts +0 -8
  459. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/translate.d.ts +0 -14
  460. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/transport.d.ts +0 -15
  461. package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocols/messages/types.d.ts +0 -62
  462. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/persistence.d.ts +0 -19
  463. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/persistence.js +0 -30
  464. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/projection.d.ts +0 -35
  465. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/projection.js +0 -68
  466. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/transaction.d.ts +0 -10
  467. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/transaction.js +0 -22
  468. package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/types/invariant.d.ts +0 -16
  469. package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/types/invariant.js +0 -41
  470. package/runtime/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-DGV26RBf.js +0 -1525
  471. package/runtime/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-UEJ3Ntqn.js +0 -1511
  472. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/fiber-state.d.ts +0 -28
  473. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/fiber-state.js +0 -25
  474. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/inspect.d.ts +0 -93
  475. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/inspect.js +0 -303
  476. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/prompt.d.ts +0 -3
  477. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/prompt.js +0 -5
  478. package/lib/{plugin-d65VulBk.js → plugin-BccFcAte.js} +1 -1
@@ -0,0 +1,19 @@
1
+ import type { RefObject } from 'react';
2
+ import type { TextInteractionGesture, TextInteractionSurface, TextInteractionTrigger } from '@deepseek-ai/dsh-client-ui-conversation/client';
3
+ /** Current area-owned surface and its actions. */
4
+ export interface TextInteractionBinding extends Omit<TextInteractionSurface, 'trigger'> {
5
+ readonly active: {
6
+ readonly id: string;
7
+ readonly trigger: TextInteractionTrigger;
8
+ } | null;
9
+ }
10
+ /**
11
+ * Own text interactions for one positioned content area and its local surface.
12
+ * @param rootRef - existing content element with position: relative.
13
+ * @param surfaceRef - absolute surface inside that element; only the selected Slot consumer is mounted.
14
+ * @param dispatchInteraction - framework-injected plugin gesture dispatch.
15
+ * @param registeredIds - live registered owners used to dismiss removed plugins.
16
+ * @returns current owner and area-local selection actions.
17
+ */
18
+ export declare function useTextInteraction(rootRef: RefObject<HTMLElement>, surfaceRef: RefObject<HTMLElement>, dispatchInteraction: (gesture: TextInteractionGesture) => string | null, registeredIds: readonly string[]): TextInteractionBinding;
19
+ //# sourceMappingURL=text-interaction.d.ts.map
@@ -0,0 +1,20 @@
1
+ /** DOM selection validation and visible-text projection, independent of business actions. */
2
+ /** One browser range contained by an enabled text source. */
3
+ export interface TextSelection {
4
+ readonly source: HTMLElement;
5
+ readonly range: Range;
6
+ }
7
+ /**
8
+ * Find a single noncollapsed selection inside one enabled source.
9
+ * @param root - mounted interaction area.
10
+ * @param selection - browser selection in that area's document.
11
+ * @returns the selected source and range, or null across sources and excluded content.
12
+ */
13
+ export declare function readTextSelection(root: HTMLElement, selection: Selection | null): TextSelection | null;
14
+ /**
15
+ * Project selected DOM text with visible block boundaries and without renderer chrome.
16
+ * @param selection - range and its source, obtained through readTextSelection.
17
+ * @returns trimmed visible text; empty or excluded selections return null.
18
+ */
19
+ export declare function selectedText(selection: TextSelection): string | null;
20
+ //# sourceMappingURL=text-selection.d.ts.map
@@ -0,0 +1,32 @@
1
+ import type { ChatConversationViewNode } from './chat-nodes.ts';
2
+ /**
3
+ * Chat group-tree positions from the outermost inward; a Node at a position
4
+ * also has the effect of every inner position.
5
+ * - `exchange`: the Node's Turn opens an exchange, the run of Turns that lasts
6
+ * until the next opening Turn.
7
+ * - `input`: the Node is an input of its Turn. An input before the Turn's
8
+ * process is the Turn's opening input; a later one is interleaved and keeps
9
+ * the whole Turn open.
10
+ * - `turn`: the Node stays in its Turn outside the Turn's process disclosure.
11
+ * - `process`: the Node stays in the process disclosure outside step runs.
12
+ * - absent: the Node joins the step run around it.
13
+ *
14
+ * The Definition that builds a Node chooses its position, and step runs, the
15
+ * process disclosure, and Turn inputs are selected by position. An
16
+ * `assistant-step` Node places its rows without one: its reasoning row joins
17
+ * the step run and its reply row stands outside it.
18
+ *
19
+ * Whole-Turn folding also exempts reply rows: with the default Replies After
20
+ * Collapse choice every `assistant-step` reply row stays visible, and with
21
+ * Final answer only just the final answer's reply row does. Reasoning rows
22
+ * stay in the folded process in both choices.
23
+ */
24
+ export type ChatGroupTree = 'exchange' | 'input' | 'turn' | 'process';
25
+ /**
26
+ * Test whether a Node stands at a group-tree position or outside it.
27
+ * @param node - Chat Node.
28
+ * @param position - group-tree position to compare against.
29
+ * @returns whether the Node's position is `position` or an outer one.
30
+ */
31
+ export declare function isAtOrOutside(node: Pick<ChatConversationViewNode, 'groupTree'>, position: ChatGroupTree): boolean;
32
+ //# sourceMappingURL=group-tree.d.ts.map
@@ -0,0 +1,42 @@
1
+ import type { ChatConversationViewNode } from '../contract/chat-nodes.ts';
2
+ import { type ChatGroupTree } from '../contract/group-tree.ts';
3
+ /**
4
+ * Loaded Turns split into consecutive segments at the Turns holding a Node at
5
+ * one group-tree position, visible or hidden. The latest segment starts at the
6
+ * last such Turn, or at the first loaded Turn when none is loaded. Node changes
7
+ * update per-Turn counts without scanning the loaded Nodes; `settle` returns at
8
+ * once while the start holds and otherwise reads loaded Turns only from the
9
+ * earlier of the previous and new starts.
10
+ */
11
+ export declare class GroupTreeSegments {
12
+ private readonly position;
13
+ /** Opening Node count by owning Turn. */
14
+ private readonly openings;
15
+ private latestOpening;
16
+ private latestStart;
17
+ /** @param position - group-tree position whose Nodes open a segment. */
18
+ constructor(position: ChatGroupTree);
19
+ /**
20
+ * Account one Node change.
21
+ * @param previous - replaced Node; absent for an addition.
22
+ * @param next - replacing Node; absent for a removal.
23
+ */
24
+ track(previous: ChatConversationViewNode | undefined, next: ChatConversationViewNode | undefined): void;
25
+ /**
26
+ * Test latest-segment membership as of the last `settle`.
27
+ * @param turn - owning Turn, when resolved.
28
+ * @returns whether the Turn belongs to the latest segment.
29
+ */
30
+ inLatest(turn: number | undefined): boolean;
31
+ /**
32
+ * Move the latest segment start for the currently loaded Turns.
33
+ * @param turnOrder - loaded Turns in ascending timeline order.
34
+ * @returns loaded Turns that entered or left the latest segment, in ascending order.
35
+ */
36
+ settle(turnOrder: readonly number[]): readonly number[];
37
+ private openingTurn;
38
+ private lastOpeningTurn;
39
+ /** @returns the Turn's opening count after the change; zero removes the Turn. */
40
+ private adjust;
41
+ }
42
+ //# sourceMappingURL=group-tree-segments.d.ts.map
@@ -0,0 +1,11 @@
1
+ /** Gesture-time path resolution for Chat-owned file references. */
2
+ import type { Context } from '@deepseek-ai/cordis';
3
+ import type { SessionId } from '@deepseek-ai/dsh-session/types';
4
+ /**
5
+ * Bind path resolution to the originating Session without capturing its current directory.
6
+ * @param ctx - Chat plugin context.
7
+ * @param sessionId - Original Session identity.
8
+ * @returns Resolver using the live working directory, falling back to the workspace root.
9
+ */
10
+ export declare function sessionFilePath(ctx: Context, sessionId: SessionId): (path: string) => string;
11
+ //# sourceMappingURL=file-path.d.ts.map
@@ -0,0 +1,8 @@
1
+ /** Display text preparation for model reasoning. */
2
+ /**
3
+ * Prepare complete or streaming reasoning for display.
4
+ * @param text - original complete or streaming reasoning.
5
+ * @returns display text, or empty text when no displayable content is available.
6
+ */
7
+ export declare function reasoningText(text: string): string;
8
+ //# sourceMappingURL=reasoning-text.d.ts.map
@@ -13,11 +13,11 @@ export interface Config {
13
13
  }
14
14
  /** Live preferences projected to the browser. */
15
15
  export declare const Config: z<Schemastery.ObjectS<NoInfer<{
16
- transcriptView: z<"compact" | "detailed" | "standard" | "verbose" | "normal" | "expanded", "compact" | "detailed" | "standard" | "verbose" | "normal" | "expanded", "volatile-defined">;
16
+ transcriptView: z<"compact" | "standard" | "detailed" | "verbose" | "normal" | "expanded", "compact" | "standard" | "detailed" | "verbose" | "normal" | "expanded", "volatile-defined">;
17
17
  performanceUsage: z<"compact" | "detailed", "compact" | "detailed", "volatile-defined">;
18
18
  linkOpening: z<"sidebar" | "new-tab", "sidebar" | "new-tab", "volatile-defined">;
19
19
  }>>, Schemastery.ObjectT<NoInfer<{
20
- transcriptView: z<"compact" | "detailed" | "standard" | "verbose" | "normal" | "expanded", "compact" | "detailed" | "standard" | "verbose" | "normal" | "expanded", "volatile-defined">;
20
+ transcriptView: z<"compact" | "standard" | "detailed" | "verbose" | "normal" | "expanded", "compact" | "standard" | "detailed" | "verbose" | "normal" | "expanded", "volatile-defined">;
21
21
  performanceUsage: z<"compact" | "detailed", "compact" | "detailed", "volatile-defined">;
22
22
  linkOpening: z<"sidebar" | "new-tab", "sidebar" | "new-tab", "volatile-defined">;
23
23
  }>>, "plain">;
@@ -0,0 +1,15 @@
1
+ /** Stable grouping shared by popup filtering and rendering. */
2
+ import type { SelectOption, SelectOptionGroup } from './contract.ts';
3
+ interface OptionGroup {
4
+ readonly group: SelectOptionGroup | undefined;
5
+ readonly rows: readonly SelectOption[];
6
+ }
7
+ /**
8
+ * Group rows by their caller-owned group name, without sorting groups or rows.
9
+ * Ungrouped rows occupy one block at their first occurrence.
10
+ * @param options - Options in display order.
11
+ * @returns groups in first-occurrence order, with original option objects.
12
+ */
13
+ export declare function groupOptions(options: readonly SelectOption[]): OptionGroup[];
14
+ export {};
15
+ //# sourceMappingURL=option-groups.d.ts.map
@@ -0,0 +1,31 @@
1
+ /** Conversation text gestures and plugin-owned action surfaces. */
2
+ import type { SessionId } from '@deepseek-ai/dsh-session/types';
3
+ /** Browser gesture offered to text interaction consumers. */
4
+ export type TextInteractionTrigger = 'selection' | 'contextmenu';
5
+ /** Synchronous browser gesture; reading text does not imply source-data offsets. */
6
+ export interface TextInteractionGesture {
7
+ readonly trigger: TextInteractionTrigger;
8
+ readonly hasSelection: boolean;
9
+ readonly readText: () => string | null;
10
+ /** Cancel the originating browser event during dispatch only. */
11
+ readonly preventDefault: () => void;
12
+ }
13
+ /** Scoped gesture offered to one registered plugin. */
14
+ export interface TextInteractionRequest extends TextInteractionGesture {
15
+ readonly sessionId: SessionId;
16
+ /** Select this plugin's keyed surface for the current gesture. */
17
+ readonly open: () => void;
18
+ }
19
+ /** One consumer whose ID also names its keyed Slot renderer. */
20
+ export interface TextInteractionDefinition {
21
+ readonly id: string;
22
+ readonly onInteraction: (request: TextInteractionRequest) => void;
23
+ }
24
+ /** Area-local actions provided to the currently selected plugin component. */
25
+ export interface TextInteractionSurface {
26
+ readonly trigger: TextInteractionTrigger;
27
+ readonly dismiss: () => void;
28
+ readonly readText: () => string | null;
29
+ readonly clearSelection: () => void;
30
+ }
31
+ //# sourceMappingURL=text-interaction.d.ts.map
@@ -0,0 +1,60 @@
1
+ /** Readonly JSON candidates, forward matching, and tracked caller Facts. */
2
+ import type { UserTextDataMap, UserTextFacts } from '../index.ts';
3
+ /** Registered business IDs plus the document-owned `text` ID. */
4
+ export type UserTextId = Extract<keyof UserTextDataMap, string>;
5
+ type JsonPayload<T> = T extends string | number | boolean | null ? T : T extends (...args: never[]) => unknown ? never : T extends readonly unknown[] ? {
6
+ readonly [K in keyof T]: JsonPayload<T[K]>;
7
+ } : T extends object ? {
8
+ readonly [K in keyof T]: JsonPayload<T[K]>;
9
+ } : never;
10
+ /** Original UTF-16 text and readonly Facts; absence is observable through `context.read`. */
11
+ export interface UserTextDocumentInput {
12
+ readonly text: string;
13
+ readonly facts: Readonly<Partial<UserTextFacts>>;
14
+ }
15
+ /** Discriminated JSON node over a nonempty half-open UTF-16 range in the original text. */
16
+ export type UserTextNode<K extends UserTextId = UserTextId> = {
17
+ [Id in K]: {
18
+ readonly id: Id;
19
+ readonly start: number;
20
+ readonly end: number;
21
+ readonly data: JsonPayload<UserTextDataMap[Id]>;
22
+ };
23
+ }[K];
24
+ /** Facts reader valid only during its owning synchronous query; never retain it. */
25
+ export interface UserTextTransformContext {
26
+ /**
27
+ * Record a field dependency, including an absent value; throws after the call returns or throws.
28
+ * @param key - field of the caller's readonly Facts snapshot.
29
+ * @returns the borrowed readonly value, or undefined when absent.
30
+ */
31
+ read<K extends keyof UserTextFacts>(key: K): UserTextFacts[K] | undefined;
32
+ }
33
+ /** One forward matcher for business references or Text replacements; order only resolves same-start candidates. */
34
+ export interface UserTextRule<out Id extends string = string> {
35
+ readonly id: Id;
36
+ /** Finite ascending priority; equal values use stable ID ordering, never plugin load order. */
37
+ readonly order: number;
38
+ /**
39
+ * Find one nearest original-text candidate at or after `from`, resolving own same-start alternatives deterministically.
40
+ * Search uses original lexical boundaries, not the beginning of a sliced suffix. Queries are independent of accepted nodes.
41
+ * @param text - complete original text; neither this string nor caller Facts may be mutated.
42
+ * @param from - inclusive original UTF-16 start offset, advancing within one reconciliation.
43
+ * @param context - synchronous Facts reader; all retained queries contribute dependencies.
44
+ * @returns one nonempty node using this rule's ID or `text`, or undefined when no later candidate exists.
45
+ * Text candidates preserve the exact source substring and may supply `data.display`.
46
+ */
47
+ match(this: void, text: string, from: number, context: UserTextTransformContext): (UserTextNode & {
48
+ readonly id: Id;
49
+ }) | UserTextNode<'text'> | undefined;
50
+ }
51
+ /**
52
+ * Reconcile one document using current rules and independently cached candidate queries.
53
+ * Reentrant calls throw. Failures carry ruleId and cause without publishing partial output;
54
+ * failed queries retry when their offset, definition, original text, or read Facts change.
55
+ * @param input - original text and readonly JSON Facts; fields are compared with Object.is.
56
+ * @returns readonly nodes covering the text, or [] for empty text; equivalent results retain identities.
57
+ */
58
+ export type UserTextEvaluator = (input: UserTextDocumentInput) => readonly UserTextNode[];
59
+ export {};
60
+ //# sourceMappingURL=user-text.d.ts.map
@@ -0,0 +1,28 @@
1
+ /** Plugin-owned text gesture handlers, scoped by the dispatching conversation. */
2
+ import type { SessionId } from '@deepseek-ai/dsh-session/types';
3
+ import type { TextInteractionDefinition, TextInteractionGesture } from '../contract/text-interaction.ts';
4
+ import { ConversationDefinitionRegistry } from './definition-registry.ts';
5
+ /** Effect-owned registrations; active surfaces belong to individual Chat views. */
6
+ export declare class ConversationInteractionRegistry extends ConversationDefinitionRegistry<TextInteractionDefinition> {
7
+ private ids;
8
+ /**
9
+ * Register a synchronous handler and its keyed renderer identity.
10
+ * @param definition - uniquely named plugin handler.
11
+ * @returns idempotent disposer tied to the registering plugin's lifetime.
12
+ */
13
+ register(definition: TextInteractionDefinition): () => void;
14
+ /**
15
+ * Offer a gesture until one handler opens its surface; opening never prevents browser defaults.
16
+ * @param sessionId - conversation where the gesture occurred.
17
+ * @param gesture - synchronous access to the browser event and DOM text.
18
+ * @returns selected renderer ID, or null when no plugin opens a surface.
19
+ */
20
+ dispatch(sessionId: SessionId, gesture: TextInteractionGesture): string | null;
21
+ /**
22
+ * Observe registration changes so Chat views can dismiss stale surfaces.
23
+ * @returns stable IDs until the registry changes.
24
+ */
25
+ getSnapshot(): readonly string[];
26
+ protected refresh(): void;
27
+ }
28
+ //# sourceMappingURL=interaction-registry.d.ts.map
@@ -0,0 +1,21 @@
1
+ import type { UserTextDocumentInput, UserTextNode, UserTextRule } from '../contract/user-text.ts';
2
+ /** Data-layer cache owned by one caller; initialization and refresh share one reconciliation. */
3
+ export declare class UserTextDocument {
4
+ private text;
5
+ private rules;
6
+ private initial;
7
+ private output;
8
+ private readonly matchers;
9
+ private complete;
10
+ private evaluating;
11
+ /**
12
+ * Reconcile original text using current rule definitions and valid query records.
13
+ * @param input - original text and readonly Facts, compared by fields actually read.
14
+ * @param rules - unique definitions ordered by ascending order and stable ID.
15
+ * @returns complete readonly nodes; failures retain caches but publish no partial result.
16
+ */
17
+ evaluate(input: UserTextDocumentInput, rules: readonly UserTextRule[]): readonly UserTextNode[];
18
+ private prepare;
19
+ private reconcile;
20
+ }
21
+ //# sourceMappingURL=user-text-document.d.ts.map
@@ -0,0 +1,26 @@
1
+ /** Effect-owned user-text rules and their revision; document caches belong only to evaluator callers. */
2
+ import type { UserTextEvaluator, UserTextRule } from '../contract/user-text.ts';
3
+ import { ConversationDefinitionRegistry } from './definition-registry.ts';
4
+ /** Observable rule revision with no retained documents or document subscriptions. */
5
+ export declare class UserTextRegistry extends ConversationDefinitionRegistry<UserTextRule> {
6
+ private rules;
7
+ private revision;
8
+ /**
9
+ * Register a uniquely named rule; invalid IDs, duplicate IDs and non-finite order throw before publication.
10
+ * @param rule - readonly synchronous candidate matcher with a nonempty ID other than the reserved `text` ID.
11
+ * @returns idempotent disposer; removal synchronously publishes a new revision.
12
+ */
13
+ register(rule: UserTextRule): () => void;
14
+ /**
15
+ * Create an independent document evaluator; it reads current rules at each call and never subscribes.
16
+ * @returns callback owning its document cache, released when the caller releases the callback.
17
+ */
18
+ createEvaluator(): UserTextEvaluator;
19
+ /**
20
+ * Read the observable rule revision.
21
+ * @returns monotonic revision, stable until a successful registration or disposal.
22
+ */
23
+ getSnapshot(): number;
24
+ protected refresh(): void;
25
+ }
26
+ //# sourceMappingURL=user-text-registry.d.ts.map
@@ -0,0 +1,23 @@
1
+ import type { DraftInput, DraftQuote, DraftSnapshot, Occurrence } from './contract/draft-editor.ts';
2
+ /**
3
+ * Copy input into the semantic draft representation without editor runtime identities.
4
+ * @param input - plain text or caller-owned structured content.
5
+ * @returns an owned snapshot ready for editor import.
6
+ */
7
+ export declare function resolveDraftInput(input: DraftInput): DraftSnapshot;
8
+ /**
9
+ * Decode persisted drafts, accepting the earlier plain-string representation.
10
+ * @param value - JSON value read from browser storage.
11
+ * @returns the decoded draft, or undefined for invalid data.
12
+ */
13
+ export declare function parseStoredDraft(value: unknown): DraftSnapshot | undefined;
14
+ /**
15
+ * Export reference identities without their editor-local occurrence ids.
16
+ * @param text - current clipboard projection.
17
+ * @param occurrences - matching reference projections from the same document revision.
18
+ * @param commandToken - claim token of the command chip opening the document, if any.
19
+ * @param quotes - atomic quotes from the same document revision.
20
+ * @returns an editor-independent snapshot.
21
+ */
22
+ export declare function snapshotDraft(text: string, occurrences: readonly Occurrence[], commandToken?: string, quotes?: readonly DraftQuote[]): DraftSnapshot;
23
+ //# sourceMappingURL=draft.d.ts.map
@@ -0,0 +1,13 @@
1
+ import type { ReactNode } from 'react';
2
+ /** Display inputs of the command chip. */
3
+ export interface CommandChipProps {
4
+ /** Claimed token without its argument separator, e.g. `/goal`. */
5
+ readonly token: string;
6
+ }
7
+ /**
8
+ * Render the claimed command chip.
9
+ * @param props - the token to display.
10
+ * @returns the chip body.
11
+ */
12
+ export declare function CommandChip({ token }: CommandChipProps): ReactNode;
13
+ //# sourceMappingURL=CommandChip.d.ts.map
@@ -0,0 +1,61 @@
1
+ /** Atomic composer quote node and whole-node removal command. */
2
+ import type { JSX } from 'react';
3
+ import type { EditorConfig, LexicalEditor, LexicalNode, NodeKey, SerializedLexicalNode, Spread } from 'lexical';
4
+ import { DecoratorNode } from 'lexical';
5
+ /** Localized non-persisted labels applied by the owning input shell. */
6
+ export interface QuoteNodeLabels {
7
+ readonly remove: string;
8
+ }
9
+ /** JSON form used only by Lexical's editor-state APIs, not browser persistence. */
10
+ export type SerializedQuoteNode = Spread<{
11
+ text: string;
12
+ }, SerializedLexicalNode>;
13
+ /** Remove one quote occurrence by its Lexical identity. */
14
+ export declare const REMOVE_QUOTE_COMMAND: import("lexical").LexicalCommand<string>;
15
+ /** Pure React face of one quote node. */
16
+ export declare function QuoteNodeView({ editor, nodeKey, text, labels }: {
17
+ readonly editor: LexicalEditor;
18
+ readonly nodeKey: NodeKey;
19
+ readonly text: string;
20
+ readonly labels: QuoteNodeLabels;
21
+ }): JSX.Element;
22
+ /** One selected transcript range represented as an atomic inline decorator. */
23
+ export declare class QuoteNode extends DecoratorNode<JSX.Element> {
24
+ __text: string;
25
+ __labels: QuoteNodeLabels;
26
+ /** Lexical node registry type tag. */
27
+ static getType(): string;
28
+ /** @param node - node to clone. @returns a copy carrying the same NodeKey. */
29
+ static clone(node: QuoteNode): QuoteNode;
30
+ /** @param json - serialized editor node. @returns a fresh node with default runtime labels. */
31
+ static importJSON(json: SerializedQuoteNode): QuoteNode;
32
+ /**
33
+ * @param text - selected text.
34
+ * @param labels - runtime-only localized labels.
35
+ * @param key - Lexical clone-path key; absent for fresh nodes.
36
+ */
37
+ constructor(text: string, labels?: QuoteNodeLabels, key?: NodeKey);
38
+ /** Serialize the quote data without its runtime presentation state. */
39
+ exportJSON(): SerializedQuoteNode;
40
+ /** Mount one non-editable inline host. */
41
+ createDOM(_config: EditorConfig): HTMLElement;
42
+ /** Updates reuse the existing host element. */
43
+ updateDOM(): boolean;
44
+ /** Quotes flow with draft text and wrap at their own text boundary. */
45
+ isInline(): boolean;
46
+ /** Arrow movement crosses the quote without entering a NodeSelection. */
47
+ isKeyboardSelectable(): boolean;
48
+ /** Clipboard text is the exact model-visible Markdown blockquote. */
49
+ getTextContent(): string;
50
+ /** Selected visible quote text. */
51
+ getQuoteText(): string;
52
+ /** Update the localized remove label without changing persisted quote data. */
53
+ setLabels(labels: QuoteNodeLabels): void;
54
+ /** Render the quote body and its independent close control. */
55
+ decorate(editor: LexicalEditor): JSX.Element;
56
+ }
57
+ /** @param text - selected quote text. @param labels - runtime labels. @returns a fresh node. */
58
+ export declare function $createQuoteNode(text: string, labels: QuoteNodeLabels): QuoteNode;
59
+ /** @param node - possible Lexical node. @returns whether it is a QuoteNode. */
60
+ export declare function $isQuoteNode(node: LexicalNode | null | undefined): node is QuoteNode;
61
+ //# sourceMappingURL=QuoteNode.d.ts.map
@@ -0,0 +1,87 @@
1
+ /**
2
+ * CommandChipNode: the claimed slash command as one atomic Lexical decorator
3
+ * on the document's leading seat. The node carries the claim it was inserted
4
+ * for, so a history restore of the node restores the claim with it.
5
+ * `getTextContent()` answers the token without its argument separator; the
6
+ * separator is an ordinary text node after the chip. The detect projection
7
+ * counts the chip as one U+FFFC; see projection.ts.
8
+ */
9
+ import type { JSX } from 'react';
10
+ import type { LexicalEditor, LexicalNode, NodeKey, SerializedLexicalNode, Spread } from 'lexical';
11
+ import { DecoratorNode } from 'lexical';
12
+ import type { CommandClaim } from '../../contract/input.ts';
13
+ /** JSON form of one command chip (Lexical node serialization contract). */
14
+ export type SerializedCommandChipNode = Spread<{
15
+ text: string;
16
+ }, SerializedLexicalNode>;
17
+ /** One claimed command as an atomic decorator node. */
18
+ export declare class CommandChipNode extends DecoratorNode<JSX.Element> {
19
+ /** The claim this chip anchors; its submit closure has no JSON form. */
20
+ __claim: CommandClaim;
21
+ /** Lexical node registry type tag. */
22
+ static getType(): string;
23
+ /**
24
+ * Clone with identity (Lexical writable-copy contract).
25
+ * @param node - node to clone.
26
+ * @returns a copy carrying the same NodeKey and claim.
27
+ */
28
+ static clone(node: CommandChipNode): CommandChipNode;
29
+ /**
30
+ * Rebuild one chip from its JSON form. JSON cannot carry the claim's
31
+ * submit closure, so an imported command is its literal token text.
32
+ * @param json - serialized chip.
33
+ * @returns a plain text node holding the token.
34
+ */
35
+ static importJSON(json: SerializedCommandChipNode): LexicalNode;
36
+ /**
37
+ * @param claim - the command claim the chip anchors.
38
+ * @param key - Lexical clone-path key; absent for fresh nodes.
39
+ */
40
+ constructor(claim: CommandClaim, key?: NodeKey);
41
+ /** Serialize to the JSON node form (the token text alone). */
42
+ exportJSON(): SerializedCommandChipNode;
43
+ /**
44
+ * Mount the chip's host element; the decorator portal renders into it.
45
+ * @returns an inline, non-editable span carrying the test/e2e anchor.
46
+ */
47
+ createDOM(): HTMLElement;
48
+ /** Host element never changes shape. */
49
+ updateDOM(): boolean;
50
+ /** The chip sits in the text line. */
51
+ isInline(): boolean;
52
+ /**
53
+ * Arrows step across the chip and the default character deletion removes
54
+ * it whole, for the reason documented on ReferenceChipNode.isKeyboardSelectable;
55
+ * registerCommandChipSelection inserts the selecting step before that deletion.
56
+ */
57
+ isKeyboardSelectable(): boolean;
58
+ /** Clipboard / persistence projection: the token without its separator. */
59
+ getTextContent(): string;
60
+ /** The claim this chip anchors. */
61
+ getClaim(): CommandClaim;
62
+ /** React face rendered into the host element by the decorator portal. */
63
+ decorate(): JSX.Element;
64
+ }
65
+ /**
66
+ * Mint one chip node for a claim.
67
+ * @param claim - the command claim.
68
+ * @returns the fresh node.
69
+ */
70
+ export declare function $createCommandChipNode(claim: CommandClaim): CommandChipNode;
71
+ /**
72
+ * Command chip type guard.
73
+ * @param node - any node or nullish.
74
+ * @returns whether the node is a CommandChipNode.
75
+ */
76
+ export declare function $isCommandChipNode(node: LexicalNode | null | undefined): node is CommandChipNode;
77
+ /**
78
+ * Keep command chips on the leading seat. A chip anywhere but the first
79
+ * child of the first block (text, a line break, or a block inserted before
80
+ * it) becomes its literal token, which releases the claim. Inserting a
81
+ * sibling before the chip or moving it to another block marks the chip dirty;
82
+ * a block inserted before the chip's block marks only that block dirty.
83
+ * @param editor - the shell-owned editor.
84
+ * @returns the unregister disposer.
85
+ */
86
+ export declare function registerCommandChipSeat(editor: LexicalEditor): () => void;
87
+ //# sourceMappingURL=command-chip-node.d.ts.map
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Two-step command chip deletion. A character deletion whose direction
3
+ * reaches the command chip from a collapsed caret first selects the chip; the
4
+ * next deletion in that direction removes it. Deletions arrive as the
5
+ * character-deletion command (Backspace, Delete, and the platform shortcuts
6
+ * the engine maps to them) or as a deletion input event, which some platforms
7
+ * apply without that command. A key that produces no character deletion, a
8
+ * click, blur, or a caret that no longer touches the chip clears the
9
+ * selection. The selected state is presentation on the chip's host and the
10
+ * root element; the editor selection stays a collapsed range beside the chip,
11
+ * so typing and arrows keep their plain-text behavior.
12
+ */
13
+ import type { LexicalEditor } from 'lexical';
14
+ /**
15
+ * Register two-step deletion for the command chip.
16
+ * @param editor - the shell-owned editor.
17
+ * @returns the unregister disposer, which also clears a selected chip.
18
+ */
19
+ export declare function registerCommandChipSelection(editor: LexicalEditor): () => void;
20
+ //# sourceMappingURL=command-chip-selection.d.ts.map
@@ -0,0 +1,9 @@
1
+ import type { DraftSnapshot } from '../contract/draft-editor.ts';
2
+ /**
3
+ * Serialize the captured draft through reference codecs, formatting quotes as Markdown.
4
+ * @param draft - one semantic draft revision.
5
+ * @param serializeReference - owner-routed reference serializer.
6
+ * @returns synchronous content without references, otherwise the resolving promise.
7
+ */
8
+ export declare function serializeDraftPrompt(draft: DraftSnapshot, serializeReference: (source: string, ref: string) => Promise<string>): string | Promise<string>;
9
+ //# sourceMappingURL=prompt.d.ts.map
@@ -0,0 +1,10 @@
1
+ /** Maps ordinary message occurrences to Desktop product events. */
2
+ import type { Context } from '@deepseek-ai/cordis';
3
+ import type { MessageSubmission } from '../contract/composer-submission.ts';
4
+ /**
5
+ * Report the original message occurrence without reading newer Session facts.
6
+ * @param ctx - client context.
7
+ * @param submission - original occurrence and Session snapshot.
8
+ */
9
+ export declare function reportMessageSubmission(ctx: Context, submission: MessageSubmission): void;
10
+ //# sourceMappingURL=submission-analytics.d.ts.map
@@ -0,0 +1,22 @@
1
+ import type { FactoryComponentPropsOf } from '@deepseek-ai/dsh-client-ui-slots';
2
+ import type { UserTextNodeProps } from '../contract/slots.ts';
3
+ /**
4
+ * Render original text through pure matching rules and business-owned node Slots.
5
+ * A failed parse retains the entire original text and reports the rule error.
6
+ * @param props - original text, confirmed facts, display policy, and framework seats.
7
+ * @returns ordered inline nodes with raw-text fallbacks for missing registrations.
8
+ */
9
+ export declare function UserText({ text, facts, interactive, ellipsis, useUserTextRevision, createUserTextEvaluator, reportTransformFailure, renderSlot, }: FactoryComponentPropsOf<'conversation.user.text'>): import("react").JSX.Element;
10
+ /**
11
+ * Display an unmatched substring without business interpretation.
12
+ * @param props - parser-produced plain-text node.
13
+ * @returns its inline text.
14
+ */
15
+ export declare function PlainUserText({ node }: UserTextNodeProps<'text'>): import("react").JSX.Element;
16
+ /**
17
+ * Display a confirmed Session label without inventing navigation behavior.
18
+ * @param props - Session reference JSON and its original spelling.
19
+ * @returns the existing non-interactive Session chip.
20
+ */
21
+ export declare function SessionReference({ node, raw }: UserTextNodeProps<'session'>): import("react").JSX.Element;
22
+ //# sourceMappingURL=UserText.d.ts.map
@@ -0,0 +1,15 @@
1
+ /** Original-text Session candidates with explicit wire spelling and longest known labels. */
2
+ import type { UserTextRule } from '@deepseek-ai/dsh-client-ui-conversation/client';
3
+ declare module '@deepseek-ai/dsh-client-ui-conversation/client' {
4
+ interface UserTextDataMap {
5
+ session: {
6
+ readonly label: string;
7
+ };
8
+ }
9
+ interface UserTextFacts {
10
+ sessionLabels: readonly string[];
11
+ }
12
+ }
13
+ /** Find the nearest Session reference; bare labels read their Facts only at a non-wire @ position. */
14
+ export declare const sessionReferenceRule: UserTextRule<'session'>;
15
+ //# sourceMappingURL=session-reference-rule.d.ts.map
@@ -0,0 +1,7 @@
1
+ /** Whitespace candidates use the same cursor, priority and Facts cache as reference candidates. */
2
+ import type { UserTextRule } from '../contract/user-text.ts';
3
+ /** Offer the next whitespace run whose display collapses to one space. */
4
+ export declare const collapseWhitespaceRule: UserTextRule<'text.collapse-whitespace'>;
5
+ /** Offer original document-edge whitespace, winning same-start collisions with collapse. */
6
+ export declare const trimWhitespaceRule: UserTextRule<'text.trim-whitespace'>;
7
+ //# sourceMappingURL=whitespace-rules.d.ts.map