@songtonyli/dsh-cli 0.1.94 → 0.1.95

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 (565) hide show
  1. package/README.md +1 -1
  2. package/bin/dsh.mjs +1 -1
  3. package/node_modules/@deepseek-ai/cordis/package.json +4 -4
  4. package/node_modules/@deepseek-ai/cordis-plugin-group/package.json +3 -3
  5. package/node_modules/@deepseek-ai/cordis-plugin-include/package.json +4 -4
  6. package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +4 -4
  7. package/node_modules/@deepseek-ai/cordis-plugin-timer/package.json +3 -3
  8. package/node_modules/@deepseek-ai/cosmokit/package.json +1 -1
  9. package/node_modules/@deepseek-ai/dsh/package.json +126 -126
  10. package/node_modules/@deepseek-ai/dsh-acp/package.json +26 -26
  11. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
  12. package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.host.js +7 -3
  13. package/node_modules/@deepseek-ai/dsh-action-cards/package.json +19 -19
  14. package/node_modules/@deepseek-ai/dsh-agent/package.json +21 -21
  15. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +10 -10
  16. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +28 -28
  17. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +27 -27
  18. package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +13 -13
  19. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +2 -2
  20. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +7 -3
  21. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +39 -39
  22. package/node_modules/@deepseek-ai/dsh-agent-team/README.i18n.yaml +12 -12
  23. package/node_modules/@deepseek-ai/dsh-agent-team/README.md +6 -6
  24. package/node_modules/@deepseek-ai/dsh-agent-team/README.zh.md +6 -6
  25. package/node_modules/@deepseek-ai/dsh-agent-team/lib/index.js +25 -11
  26. package/node_modules/@deepseek-ai/dsh-agent-team/lib/typert.host.js +8 -4
  27. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/projection.js +6 -1
  28. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/task-board.js +12 -8
  29. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/task-view.js +2 -1
  30. package/node_modules/@deepseek-ai/dsh-agent-team/package.json +25 -25
  31. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +13 -13
  32. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
  33. package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +9 -9
  34. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +13 -13
  35. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +14 -14
  36. package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +12 -12
  37. package/node_modules/@deepseek-ai/dsh-api-remote-access/package.json +9 -9
  38. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +67 -47
  39. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +48 -48
  40. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +6 -6
  41. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +6 -1
  42. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +6 -1
  43. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +19 -5
  44. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +52 -18
  45. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +69 -41
  46. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +51 -31
  47. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/service.js +20 -5
  48. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +58 -18
  49. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/continuation.js +48 -0
  50. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +5 -2
  51. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +79 -77
  52. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +16 -16
  53. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +7 -3
  54. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +22 -22
  55. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +21 -21
  56. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +15 -15
  57. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +19 -19
  58. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
  59. package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
  60. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +9 -9
  61. package/node_modules/@deepseek-ai/dsh-authorization/package.json +7 -7
  62. package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +2 -2
  63. package/node_modules/@deepseek-ai/dsh-base/README.md +1 -1
  64. package/node_modules/@deepseek-ai/dsh-base/README.zh.md +1 -1
  65. package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +3 -0
  66. package/node_modules/@deepseek-ai/dsh-base/package.json +103 -102
  67. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -11
  68. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +14 -14
  69. package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
  70. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +3 -3
  71. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +13 -13
  72. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +7 -3
  73. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +12 -12
  74. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +7 -7
  75. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +10 -10
  76. package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +1 -1
  77. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +6 -6
  78. package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +16 -16
  79. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +5 -5
  80. package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +9 -9
  81. package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/package.json +15 -15
  82. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +17 -17
  83. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.i18n.yaml +2 -2
  84. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.md +1 -1
  85. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.zh.md +1 -1
  86. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/lib/client.js +1 -1
  87. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/package.json +17 -17
  88. package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.i18n.yaml +2 -2
  89. package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.md +2 -0
  90. package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.zh.md +2 -0
  91. package/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/client.js +125 -5
  92. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +14 -13
  93. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +12 -12
  94. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/README.i18n.yaml +19 -16
  95. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/README.md +16 -7
  96. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/README.zh.md +16 -7
  97. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/assets/breach-atlas-43c5305a3d4d.webp +0 -0
  98. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/client.js +395 -3
  99. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +13 -9
  100. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +6 -6
  101. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +4 -2
  102. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +4 -2
  103. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +60 -37
  104. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +40 -40
  105. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +14 -14
  106. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/README.i18n.yaml +2 -2
  107. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/README.md +2 -0
  108. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/README.zh.md +2 -0
  109. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/lib/client.js +164 -40
  110. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/package.json +10 -10
  111. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +18 -9
  112. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +24 -4
  113. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +24 -4
  114. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +205 -56
  115. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/index.js +1 -1
  116. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +37 -36
  117. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +13 -13
  118. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/package.json +10 -10
  119. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +28 -28
  120. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +7 -7
  121. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +6 -6
  122. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/package.json +11 -11
  123. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/package.json +10 -10
  124. package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/package.json +7 -7
  125. package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +1 -1
  126. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +14 -14
  127. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +11 -11
  128. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +2 -2
  129. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +1 -1
  130. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +1 -1
  131. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +4 -19
  132. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +10 -10
  133. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +9 -9
  134. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +15 -15
  135. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +4 -4
  136. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +2 -2
  137. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +2 -2
  138. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +4 -18
  139. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +16 -16
  140. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.i18n.yaml +14 -14
  141. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +12 -10
  142. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +12 -10
  143. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +65 -58
  144. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/locale/zh.json +1 -1
  145. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +26 -26
  146. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +14 -14
  147. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +19 -19
  148. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +2 -2
  149. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +1 -1
  150. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +1 -1
  151. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +6 -17
  152. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +18 -18
  153. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/package.json +12 -12
  154. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/package.json +13 -13
  155. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +16 -16
  156. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/lib/client.js +175 -20
  157. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -3
  158. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +2 -2
  159. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +1 -1
  160. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +1 -1
  161. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +27 -65
  162. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +21 -21
  163. package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/package.json +6 -6
  164. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +9 -9
  165. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +7 -7
  166. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
  167. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +17 -17
  168. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +8 -8
  169. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
  170. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +17 -17
  171. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +11 -11
  172. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +11 -11
  173. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +7 -7
  174. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +8 -8
  175. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +8 -8
  176. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +6 -6
  177. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +8 -8
  178. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +9 -9
  179. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +9 -9
  180. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
  181. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +11 -11
  182. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +10 -10
  183. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +4 -4
  184. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +2 -2
  185. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +2 -2
  186. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +6 -15
  187. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +11 -3
  188. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +21 -21
  189. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +14 -14
  190. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +15 -15
  191. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +14 -14
  192. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +16 -16
  193. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +6 -6
  194. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +4 -4
  195. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +4 -4
  196. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +12 -12
  197. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +18 -18
  198. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +12 -12
  199. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +6 -6
  200. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +6 -6
  201. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +6 -6
  202. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +285 -14
  203. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +32 -31
  204. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +20 -20
  205. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +22 -22
  206. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +13 -13
  207. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +4 -4
  208. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +2 -2
  209. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +2 -2
  210. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +35 -73
  211. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +26 -26
  212. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
  213. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +12 -12
  214. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +15 -15
  215. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +14 -14
  216. package/node_modules/@deepseek-ai/dsh-commands/README.i18n.yaml +4 -4
  217. package/node_modules/@deepseek-ai/dsh-commands/README.md +2 -2
  218. package/node_modules/@deepseek-ai/dsh-commands/README.zh.md +2 -2
  219. package/node_modules/@deepseek-ai/dsh-commands/lib/index.js +37 -2
  220. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +28 -5
  221. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.remote-client.js +2 -2
  222. package/node_modules/@deepseek-ai/dsh-commands/lib/types/index.js +36 -2
  223. package/node_modules/@deepseek-ai/dsh-commands/package.json +18 -18
  224. package/node_modules/@deepseek-ai/dsh-compaction/package.json +11 -11
  225. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +27 -27
  226. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +18 -18
  227. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +17 -17
  228. package/node_modules/@deepseek-ai/dsh-computer-use/package.json +5 -5
  229. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +12 -12
  230. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +83 -39
  231. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +10 -10
  232. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +14 -6
  233. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +23 -23
  234. package/node_modules/@deepseek-ai/dsh-creation-recommendations/package.json +21 -21
  235. package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
  236. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +12 -12
  237. package/node_modules/@deepseek-ai/dsh-cua/README.i18n.yaml +2 -2
  238. package/node_modules/@deepseek-ai/dsh-cua/README.md +2 -0
  239. package/node_modules/@deepseek-ai/dsh-cua/README.zh.md +2 -0
  240. package/node_modules/@deepseek-ai/dsh-cua/lib/client.js +30 -1
  241. package/node_modules/@deepseek-ai/dsh-cua/lib/index.js +16 -16
  242. package/node_modules/@deepseek-ai/dsh-cua/package.json +53 -53
  243. package/node_modules/@deepseek-ai/dsh-cua-bundle/package.json +7 -7
  244. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +11 -11
  245. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +12 -12
  246. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +3 -3
  247. package/node_modules/@deepseek-ai/dsh-deliverable-file-references/package.json +5 -5
  248. package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
  249. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +8 -8
  250. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +45 -45
  251. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/package.json +4 -4
  252. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +20 -20
  253. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.i18n.yaml +8 -8
  254. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.md +9 -7
  255. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.zh.md +9 -7
  256. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/client.js +779 -137
  257. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/index.js +142 -10
  258. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.host.js +131 -29
  259. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.remote-client.js +103 -24
  260. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/package.json +42 -42
  261. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/package.json +19 -19
  262. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +15 -15
  263. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +6 -6
  264. package/node_modules/@deepseek-ai/dsh-experimental-forge/package.json +6 -6
  265. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/package.json +9 -9
  266. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/package.json +10 -10
  267. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/package.json +33 -33
  268. package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.i18n.yaml +2 -2
  269. package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.md +1 -1
  270. package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.zh.md +1 -1
  271. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/client.js +150 -136
  272. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/index.js +200 -186
  273. package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +17 -17
  274. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +7 -7
  275. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.i18n.yaml +6 -6
  276. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.md +6 -4
  277. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.zh.md +6 -4
  278. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/package.json +72 -72
  279. package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/package.json +4 -4
  280. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/package.json +5 -5
  281. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +5 -5
  282. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.i18n.yaml +2 -2
  283. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.md +1 -1
  284. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.zh.md +1 -1
  285. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/lib/client.js +6 -16
  286. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +12 -12
  287. package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +5 -5
  288. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +4 -4
  289. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +11 -11
  290. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +10 -10
  291. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +6 -6
  292. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +23 -23
  293. package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +29 -29
  294. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +8 -8
  295. package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +23 -23
  296. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
  297. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +17 -17
  298. package/node_modules/@deepseek-ai/dsh-fs/package.json +10 -10
  299. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +8 -8
  300. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
  301. package/node_modules/@deepseek-ai/dsh-fs-patch/package.json +3 -3
  302. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +12 -12
  303. package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +7 -3
  304. package/node_modules/@deepseek-ai/dsh-goal/package.json +23 -23
  305. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +17 -17
  306. package/node_modules/@deepseek-ai/dsh-harness-dev-context/package.json +13 -13
  307. package/node_modules/@deepseek-ai/dsh-headless/package.json +30 -30
  308. package/node_modules/@deepseek-ai/dsh-hmr/package.json +15 -15
  309. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
  310. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
  311. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +20 -20
  312. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +5 -5
  313. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +5 -5
  314. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
  315. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +9 -9
  316. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +13 -13
  317. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +8 -8
  318. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +5 -5
  319. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +3 -3
  320. package/node_modules/@deepseek-ai/dsh-jobs/package.json +11 -11
  321. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +16 -16
  322. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
  323. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
  324. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +5 -1
  325. package/node_modules/@deepseek-ai/dsh-llm/package.json +11 -11
  326. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +25 -25
  327. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +45 -45
  328. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +17 -17
  329. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +14 -14
  330. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +28 -28
  331. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +25 -25
  332. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +26 -26
  333. package/node_modules/@deepseek-ai/dsh-mcp-manager/package.json +22 -22
  334. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +16 -16
  335. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +19 -19
  336. package/node_modules/@deepseek-ai/dsh-message-quotes/package.json +9 -9
  337. package/node_modules/@deepseek-ai/dsh-native-command/package.json +4 -4
  338. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +15 -15
  339. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +11 -11
  340. package/node_modules/@deepseek-ai/dsh-official-bundles/package.json +4 -4
  341. package/node_modules/@deepseek-ai/dsh-otel/package.json +5 -5
  342. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
  343. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
  344. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +7 -3
  345. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +23 -23
  346. package/node_modules/@deepseek-ai/dsh-persona/package.json +7 -7
  347. package/node_modules/@deepseek-ai/dsh-personalized-recommendations/package.json +23 -23
  348. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +24 -24
  349. package/node_modules/@deepseek-ai/dsh-plugin-detail/package.json +3 -3
  350. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +38 -38
  351. package/node_modules/@deepseek-ai/dsh-plugin-market/package.json +31 -31
  352. package/node_modules/@deepseek-ai/dsh-plugin-market-index/package.json +4 -4
  353. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +19 -19
  354. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/typert.host.js +7 -3
  355. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/package.json +17 -17
  356. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
  357. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +14 -14
  358. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.md +12 -6
  359. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.zh.md +12 -6
  360. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/index.js +93 -38
  361. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/persistent-process.js +112 -93
  362. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/process.js +112 -93
  363. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +23 -23
  364. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -11
  365. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +14 -14
  366. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +12 -12
  367. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
  368. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +25 -25
  369. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +12 -12
  370. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +14 -14
  371. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +14 -14
  372. package/node_modules/@deepseek-ai/dsh-schedule/package.json +40 -40
  373. package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
  374. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +19 -19
  375. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +48 -48
  376. package/node_modules/@deepseek-ai/dsh-sdk-minimal/cordis.patch.yml +3 -0
  377. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +40 -39
  378. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +13 -13
  379. package/node_modules/@deepseek-ai/dsh-session/README.i18n.yaml +2 -2
  380. package/node_modules/@deepseek-ai/dsh-session/README.md +1 -1
  381. package/node_modules/@deepseek-ai/dsh-session/README.zh.md +1 -1
  382. package/node_modules/@deepseek-ai/dsh-session/package.json +10 -10
  383. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +19 -19
  384. package/node_modules/@deepseek-ai/dsh-session-continuation/README.i18n.yaml +37 -0
  385. package/node_modules/@deepseek-ai/dsh-session-continuation/README.md +84 -0
  386. package/node_modules/@deepseek-ai/dsh-session-continuation/README.zh.md +84 -0
  387. package/node_modules/@deepseek-ai/dsh-session-continuation/lib/index.js +109 -0
  388. package/node_modules/@deepseek-ai/dsh-session-continuation/lib/types/index.js +51 -0
  389. package/node_modules/@deepseek-ai/dsh-session-continuation/lib/types/projection.js +48 -0
  390. package/node_modules/@deepseek-ai/dsh-session-continuation/lib/types/types.js +2 -0
  391. package/node_modules/@deepseek-ai/dsh-session-continuation/package.json +55 -0
  392. package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
  393. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -11
  394. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +7 -7
  395. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +8 -8
  396. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
  397. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.i18n.yaml +2 -2
  398. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.md +1 -1
  399. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.zh.md +1 -1
  400. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/lib/index.js +19 -1
  401. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +5 -5
  402. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +18 -18
  403. package/node_modules/@deepseek-ai/dsh-session-log-export/README.i18n.yaml +10 -10
  404. package/node_modules/@deepseek-ai/dsh-session-log-export/README.md +6 -6
  405. package/node_modules/@deepseek-ai/dsh-session-log-export/README.zh.md +6 -6
  406. package/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +100 -120
  407. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +26 -26
  408. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
  409. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +19 -1
  410. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +13 -13
  411. package/node_modules/@deepseek-ai/dsh-session-projection/README.i18n.yaml +2 -2
  412. package/node_modules/@deepseek-ai/dsh-session-projection/README.md +1 -1
  413. package/node_modules/@deepseek-ai/dsh-session-projection/README.zh.md +1 -1
  414. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +6 -6
  415. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +13 -13
  416. package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
  417. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +13 -13
  418. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +7 -3
  419. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +41 -41
  420. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +11 -11
  421. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
  422. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +25 -25
  423. package/node_modules/@deepseek-ai/dsh-session-title/package.json +17 -17
  424. package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +15 -15
  425. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +20 -20
  426. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
  427. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +11 -11
  428. package/node_modules/@deepseek-ai/dsh-settings/package.json +17 -17
  429. package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -7
  430. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +14 -14
  431. package/node_modules/@deepseek-ai/dsh-skill/package.json +9 -9
  432. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +5 -5
  433. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +10 -10
  434. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +10 -10
  435. package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
  436. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +11 -11
  437. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +35 -35
  438. package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
  439. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +6 -6
  440. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
  441. package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +15 -12
  442. package/node_modules/@deepseek-ai/dsh-subagent/README.md +14 -6
  443. package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +14 -6
  444. package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +276 -42
  445. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +31 -9
  446. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +2 -2
  447. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/catalog.js +31 -8
  448. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation-messages.js +10 -8
  449. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +44 -2
  450. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/list-children.js +35 -6
  451. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.js +78 -12
  452. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/names.js +96 -0
  453. package/node_modules/@deepseek-ai/dsh-subagent/package.json +51 -51
  454. package/node_modules/@deepseek-ai/dsh-subagent-acp/README.i18n.yaml +2 -2
  455. package/node_modules/@deepseek-ai/dsh-subagent-acp/README.md +1 -1
  456. package/node_modules/@deepseek-ai/dsh-subagent-acp/README.zh.md +1 -1
  457. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
  458. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.i18n.yaml +6 -6
  459. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.md +3 -3
  460. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.zh.md +3 -3
  461. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +15 -15
  462. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.i18n.yaml +4 -4
  463. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.md +2 -2
  464. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.zh.md +2 -2
  465. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +19 -19
  466. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
  467. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +9 -9
  468. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +8 -8
  469. package/node_modules/@deepseek-ai/dsh-terminal/package.json +8 -8
  470. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +22 -22
  471. package/node_modules/@deepseek-ai/dsh-time-context/package.json +23 -23
  472. package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
  473. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +14 -14
  474. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +17 -17
  475. package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.i18n.yaml +8 -8
  476. package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.md +6 -6
  477. package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.zh.md +6 -6
  478. package/node_modules/@deepseek-ai/dsh-tool-agent-team/lib/index.js +26 -17
  479. package/node_modules/@deepseek-ai/dsh-tool-agent-team/package.json +27 -27
  480. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +13 -13
  481. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +37 -37
  482. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +27 -27
  483. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +10 -10
  484. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +73 -8
  485. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +17 -17
  486. package/node_modules/@deepseek-ai/dsh-tool-executor-native/package.json +5 -5
  487. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.i18n.yaml +19 -16
  488. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.md +22 -9
  489. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.zh.md +22 -9
  490. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/index.js +185 -74
  491. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/config.js +2 -1
  492. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/errors.js +25 -0
  493. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/index.js +36 -6
  494. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/ptc-calls.js +57 -7
  495. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/ptc.js +29 -14
  496. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/package.json +28 -28
  497. package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +4 -4
  498. package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +2 -2
  499. package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +2 -2
  500. package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +2 -2
  501. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +39 -39
  502. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +31 -31
  503. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +20 -20
  504. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +19 -19
  505. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +21 -21
  506. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +35 -35
  507. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +28 -28
  508. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +24 -24
  509. package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +19 -19
  510. package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +27 -27
  511. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +18 -18
  512. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +23 -23
  513. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +12 -12
  514. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +6 -6
  515. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +6 -6
  516. package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +11 -6
  517. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +25 -25
  518. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +39 -36
  519. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +29 -17
  520. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +29 -17
  521. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +74 -122
  522. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +24 -25
  523. package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +32 -32
  524. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +19 -19
  525. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +25 -25
  526. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +24 -24
  527. package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +13 -13
  528. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +12 -12
  529. package/node_modules/@deepseek-ai/dsh-tools/package.json +20 -20
  530. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +8 -8
  531. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +5 -3
  532. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +5 -3
  533. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +454 -84
  534. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +87 -85
  535. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +10 -10
  536. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +4 -4
  537. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
  538. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +18 -18
  539. package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +7 -3
  540. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +18 -18
  541. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +3 -3
  542. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
  543. package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
  544. package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
  545. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
  546. package/node_modules/@deepseek-ai/dsh-web/package.json +8 -8
  547. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +4 -4
  548. package/node_modules/@deepseek-ai/dsh-web-app/package.json +155 -155
  549. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/package.json +30 -30
  550. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +9 -9
  551. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-CZZasi1N.css +1 -0
  552. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-CnyQSzND.js +199 -0
  553. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
  554. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +21 -21
  555. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +20 -20
  556. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
  557. package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
  558. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +39 -39
  559. package/node_modules/@deepseek-ai/dsh-working-directory/package.json +21 -21
  560. package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
  561. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +26 -26
  562. package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
  563. package/package.json +335 -333
  564. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-B2q7cWGa.js +0 -199
  565. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-uWlUD22X.css +0 -1
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- Use this package to give an agent a named tool that delegates work to a configured backend. Every call starts a managed activation and returns a child id; the runtime owns completion notices and cleanup. Local children support messages and restoration, while external backends execute one task and return their final answer through the completion notice. Supported backends can expose approved child LLM routes. Each instance can select a child preset and depth limit.
12
+ Use this package to give an agent a named tool that delegates work to a configured backend. Every call starts a managed activation and returns the child's name; the runtime owns completion notices and cleanup. Local children support messages and restoration, while external backends execute one task and return their final answer through the completion notice. Supported backends can expose approved child LLM routes. Each instance can select a child preset and depth limit.
13
13
 
14
14
  ## Table of Contents
15
15
 
@@ -57,7 +57,7 @@ The generated [configuration catalog](../../../docs/config-catalog.md#deepseek-a
57
57
 
58
58
  ### Managed delegation
59
59
 
60
- Every call returns `started subagent <childId>` after the runtime accepts the child. Top-level calls persist `{ kind: 'activation', subagentId: <childId> }` in result presentation metadata; nested Code dispatches retain it in the corresponding `tool/ptc-dispatch` event's `meta` field. It does not wait for the child's result. The activation owns the work independently of the completed tool call; the runtime sends a completion notice and releases execution resources.
60
+ The optional `name` argument names the child, unique among the caller's children and cannot be `lead`; omission selects `agent-1`, `agent-2`, and so on. The [subagent runtime](../subagent/README.md#agent-names) owns the name rule and its errors. Every call returns `started subagent <name>` after the runtime accepts the child, where `<name>` is the child's full name from the root, such as `reviewer/checker`. Top-level calls persist `{ kind: 'activation', name: <name> }` in result presentation metadata; nested Code dispatches retain it in the corresponding `tool/ptc-dispatch` event's `meta` field. It does not wait for the child's result. The activation owns the work independently of the completed tool call; the runtime sends a completion notice and releases execution resources.
61
61
 
62
62
  For every backend, the runtime automatically delivers the completion notice if the calling Agent is still online when the child finishes. The notice includes the final answer unless the child sent that Agent a message just before finishing. Local Spawn and Fork children can also send messages, accept more work through `send_message` while active, or resume after settling. Codex, Claude Code, ACP, and DSH SDK backends do not accept follow-up messages.
63
63
 
@@ -98,7 +98,7 @@ The tool calls `ctx.subagents.startActivation()` with parent delivery selected.
98
98
 
99
99
  ### Result acknowledgement
100
100
 
101
- The canonical tool result is `{ kind: 'activation', subagentId }`. It contains no execution Promise or final output; programmatic consumers that need to await results use the subagent service directly.
101
+ The canonical tool result is `{ kind: 'activation', name }`. It contains no execution Promise or final output; programmatic consumers that need to await results use the subagent service directly.
102
102
 
103
103
  ### Context-sensitive wording
104
104
 
@@ -143,7 +143,7 @@ The generated default [`subagent` schema](../../../docs/tool-catalog.md#deepseek
143
143
 
144
144
  #### Token effect
145
145
 
146
- Fixed schema cost per parent request; `modelSelection` adds three optional route fields, while preset selection adds one enum parameter and default guidance. Each tool instance adds one schema; visible delegation tools share one short system-prompt section.
146
+ Fixed schema cost per parent request, including the optional `name` field; `modelSelection` adds three optional route fields, while preset selection adds one enum parameter and default guidance. Each tool instance adds one schema; visible delegation tools share one short system-prompt section.
147
147
 
148
148
  #### KV Cache effect
149
149
 
@@ -209,7 +209,7 @@ Depth changes do not alter the system prompt or tool schemas. Updated runtime co
209
209
 
210
210
  #### What the model sees
211
211
 
212
- The `description` guidance asks for 3–5 words in the language of the user’s current request. The call retains the task description and prompt. Success returns `started subagent <childId>`; startup rejection returns an error. Child execution details are delivered separately from this acknowledgement.
212
+ The `description` guidance asks for 3–5 words in the language of the user’s current request. The call retains the task description and prompt. Success returns `started subagent <name>`; startup rejection, including a duplicate or invalid `name`, returns an error. Child execution details are delivered separately from this acknowledgement.
213
213
 
214
214
  #### Token effect
215
215
 
@@ -223,7 +223,7 @@ Append-only; newly visible content follows the reusable request prefix and does
223
223
 
224
224
  #### What the model sees
225
225
 
226
- Answer delivery follows the managed delegation rules above. The returned child id identifies subsequent control and catalog operations; only backends with continuation support accept follow-up messages.
226
+ Answer delivery follows the managed delegation rules above. The returned name addresses the child in `send_message`, `interrupt_agent`, and Team task owners; only backends with continuation support accept follow-up messages.
227
227
 
228
228
  #### Token effect
229
229
 
@@ -9,7 +9,7 @@ kind: "package-reference"
9
9
 
10
10
  ## 概述
11
11
 
12
- 使用本包可为 agent 提供具名工具,把工作委派给配置的后端。每次调用都会启动受管理的 activation 并返回子任务 id;运行时负责完成通知与清理。本地子任务支持消息和恢复,外部后端执行一次任务,并通过完成通知返回最终回答。受支持的后端可以公开获准的子级 LLM 路由。每个实例可选择子级 preset 和深度限制。
12
+ 使用本包可为 agent 提供具名工具,把工作委派给配置的后端。每次调用都会启动受管理的 activation 并返回子任务的名称;运行时负责完成通知与清理。本地子任务支持消息和恢复,外部后端执行一次任务,并通过完成通知返回最终回答。受支持的后端可以公开获准的子级 LLM 路由。每个实例可选择子级 preset 和深度限制。
13
13
 
14
14
  ## 目录
15
15
 
@@ -57,7 +57,7 @@ kind: "package-reference"
57
57
 
58
58
  ### 受管理的委派
59
59
 
60
- 运行时接受子任务后,每次调用都会返回 `started subagent <childId>`。顶层调用在结果展示 metadata 中持久化 `{ kind: 'activation', subagentId: <childId> }`;嵌套 Code 派发将其保存在对应 `tool/ptc-dispatch` 事件的 `meta` 字段中。调用不等待子任务结果。activation 独立于已完成的工具调用拥有这项工作;运行时发送完成通知并释放执行资源。
60
+ 可选的 `name` 参数为子任务命名,在调用方的子级之间唯一,且不能为 `lead`;省略时依次选择 `agent-1`、`agent-2` 等。[subagent 运行时](../subagent/README.zh.md#agent-names)定义名称规则及其错误。运行时接受子任务后,每次调用都会返回 `started subagent <name>`,其中 `<name>` 是子任务从根开始的完整名称,例如 `reviewer/checker`。顶层调用在结果展示 metadata 中持久化 `{ kind: 'activation', name: <name> }`;嵌套 Code 派发将其保存在对应 `tool/ptc-dispatch` 事件的 `meta` 字段中。调用不等待子任务结果。activation 独立于已完成的工具调用拥有这项工作;运行时发送完成通知并释放执行资源。
61
61
 
62
62
  所有后端都由运行时自动递送完成通知,前提是子任务结束时调用方 Agent 仍在线。通知包含最终回答,除非子任务在结束前刚向该 Agent 发过消息。本地 Spawn 和 Fork 子任务还可以发送消息,在活跃期间通过 `send_message` 接受更多工作,或在结束后恢复。Codex、Claude Code、ACP 与 DSH SDK 后端不接受后续消息。
63
63
 
@@ -98,7 +98,7 @@ kind: "package-reference"
98
98
 
99
99
  ### 结果确认
100
100
 
101
- 规范工具结果为 `{ kind: 'activation', subagentId }`。其中没有执行 Promise 或最终输出;需要等待结果的程序调用方直接使用 subagent 服务。
101
+ 规范工具结果为 `{ kind: 'activation', name }`。其中没有执行 Promise 或最终输出;需要等待结果的程序调用方直接使用 subagent 服务。
102
102
 
103
103
  ### 随上下文变化的措辞
104
104
 
@@ -143,7 +143,7 @@ kind: "package-reference"
143
143
 
144
144
  #### Token 影响
145
145
 
146
- 每次父级请求承担固定 schema 成本;`modelSelection` 会增加三个可选路由字段,preset 选择则增加一个枚举参数及默认值引导。每个工具实例增加一份 schema;可见委派工具共享一个简短系统提示词段。
146
+ 每次父级请求承担固定 schema 成本,其中包括可选的 `name` 字段;`modelSelection` 会增加三个可选路由字段,preset 选择则增加一个枚举参数及默认值引导。每个工具实例增加一份 schema;可见委派工具共享一个简短系统提示词段。
147
147
 
148
148
  #### KV Cache 影响
149
149
 
@@ -209,7 +209,7 @@ Delegation depth for `subagent`: current 1, maximum 1, remaining levels 0. Do no
209
209
 
210
210
  #### 模型看到什么
211
211
 
212
- `description` 提示要求使用用户当前请求的语言,用 3–5 个词描述任务。调用保留任务描述与提示词。成功返回 `started subagent <childId>`;启动被拒绝则返回错误。子任务执行详情独立于这条确认交付。
212
+ `description` 提示要求使用用户当前请求的语言,用 3–5 个词描述任务。调用保留任务描述与提示词。成功返回 `started subagent <name>`;启动被拒绝(包括 `name` 重复或无效)则返回错误。子任务执行详情独立于这条确认交付。
213
213
 
214
214
  #### Token 影响
215
215
 
@@ -223,7 +223,7 @@ Delegation depth for `subagent`: current 1, maximum 1, remaining levels 0. Do no
223
223
 
224
224
  #### 模型看到什么
225
225
 
226
- 回答投递遵循上文的受管理委派规则。返回的子任务 id 用于后续控制与目录操作;只有支持继续执行的后端才接受后续消息。
226
+ 回答投递遵循上文的受管理委派规则。返回的名称用于在 `send_message`、`interrupt_agent` 和 Team 任务所有者中指定该子任务;只有支持继续执行的后端才接受后续消息。
227
227
 
228
228
  #### Token 影响
229
229
 
@@ -363,7 +363,7 @@ async function apply(ctx, config) {
363
363
  const selectionDescription = providerRouteDefaults !== void 0 ? " Omit `provider`, `model`, and `reasoning_effort` to use child defaults, falling back to this backend's route defaults." : " Omit `provider`, `model`, and `reasoning_effort` to use child defaults, falling back to compatible parent values.";
364
364
  const definition = defineTool({
365
365
  name: toolName,
366
- description: wording.description + " This tool starts an independently managed subagent and immediately returns its id. If you are still online when it finishes, the runtime automatically delivers its completion notice. The notice includes the final answer unless the child sent you a message just before finishing." + (subagentProvider.prepareContinuable !== void 0 ? " Use `send_message` to steer it while running or continue its conversation after it finishes." : " This backend does not accept follow-up messages.") + (modelSelectionEnabled ? selectionDescription : "") + (modelSelectionEnabled && subagentProvider.inheritsParentContext ? " Changing the route can prevent provider-side reuse of the inherited conversation prefix." : ""),
366
+ description: wording.description + " This tool starts an independently managed subagent and immediately returns its name. If you are still online when it finishes, the runtime automatically delivers its completion notice. The notice includes the final answer unless the child sent you a message just before finishing." + (subagentProvider.prepareContinuable !== void 0 ? " Use `send_message` to steer it while running or continue its conversation after it finishes." : " This backend does not accept follow-up messages.") + (modelSelectionEnabled ? selectionDescription : "") + (modelSelectionEnabled && subagentProvider.inheritsParentContext ? " Changing the route can prevent provider-side reuse of the inherited conversation prefix." : ""),
367
367
  parameters: {
368
368
  cwd: {
369
369
  type: "string",
@@ -374,6 +374,10 @@ async function apply(ctx, config) {
374
374
  required: true,
375
375
  description: "A short (3-5 word) description of the delegated task, for display. Use the language of the user's current request."
376
376
  },
377
+ name: {
378
+ type: "string",
379
+ description: "Optional short name for the subagent, unique among the subagents you create: lower-case letters, digits, and hyphens, starting with a letter, at most 32 characters; lead is reserved for the root agent. Omitted names default to agent-1, agent-2, and so on."
380
+ },
377
381
  prompt: {
378
382
  type: "string",
379
383
  required: true,
@@ -409,7 +413,7 @@ async function apply(ctx, config) {
409
413
  required: true,
410
414
  const: "activation"
411
415
  },
412
- subagentId: {
416
+ name: {
413
417
  type: "string",
414
418
  required: true
415
419
  }
@@ -417,11 +421,11 @@ async function apply(ctx, config) {
417
421
  },
418
422
  render: (_args, value) => [{
419
423
  type: "text",
420
- text: `started subagent ${value.subagentId}`
424
+ text: `started subagent ${value.name}`
421
425
  }],
422
426
  presentationMeta: (_args, value) => ({
423
427
  kind: value.kind,
424
- subagentId: value.subagentId
428
+ name: value.name
425
429
  })
426
430
  },
427
431
  isConcurrencySafe: () => true,
@@ -460,13 +464,14 @@ async function apply(ctx, config) {
460
464
  };
461
465
  return {
462
466
  kind: "activation",
463
- subagentId: (await ctx.subagents.startActivation({
467
+ name: (await ctx.subagents.startActivation({
464
468
  provider: config.provider,
465
469
  label: args.description,
470
+ ...args.name === void 0 ? {} : { name: args.name },
466
471
  ...request,
467
472
  signal: exec.signal,
468
473
  delivery: "parent"
469
- })).childId
474
+ })).name
470
475
  };
471
476
  }
472
477
  });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-tool-subagent",
3
3
  "description": "Model-facing subagent delegation tool over the ctx.subagents seam",
4
- "version": "0.2.2-alpha.3",
4
+ "version": "0.2.2-rc.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -36,15 +36,15 @@
36
36
  ],
37
37
  "license": "MIT",
38
38
  "peerDependencies": {
39
- "@deepseek-ai/dsh-agent": "0.2.2-alpha.3",
40
- "@deepseek-ai/dsh-agent-preset-registry": "0.2.2-alpha.3",
41
- "@deepseek-ai/dsh-llm": "0.2.2-alpha.3",
42
- "@deepseek-ai/dsh-session": "0.2.2-alpha.3",
43
- "@deepseek-ai/dsh-session-projection": "0.2.2-alpha.3",
44
- "@deepseek-ai/dsh-subagent": "0.2.2-alpha.3",
45
- "@deepseek-ai/dsh-system-prompt": "0.2.2-alpha.3",
46
- "@deepseek-ai/dsh-tools": "0.2.2-alpha.3",
47
- "@deepseek-ai/cordis": "4.0.6-alpha.2"
39
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.1",
40
+ "@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.1",
41
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.1",
42
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1",
43
+ "@deepseek-ai/dsh-session-projection": "0.2.2-rc.1",
44
+ "@deepseek-ai/dsh-subagent": "0.2.2-rc.1",
45
+ "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",
46
+ "@deepseek-ai/dsh-tools": "0.2.2-rc.1",
47
+ "@deepseek-ai/cordis": "4.1.0"
48
48
  },
49
49
  "peerDependenciesMeta": {
50
50
  "@deepseek-ai/dsh-agent-preset-registry": {
@@ -52,23 +52,23 @@
52
52
  }
53
53
  },
54
54
  "dependencies": {
55
- "@deepseek-ai/schemastery": "3.18.6-alpha.2",
55
+ "@deepseek-ai/schemastery": "3.19.0",
56
56
  "zod": "4.4.3"
57
57
  },
58
58
  "devDependencies": {
59
- "@deepseek-ai/cordis-plugin-loader": "1.0.7-alpha.2",
60
- "@deepseek-ai/dsh-agent": "0.2.2-alpha.3",
61
- "@deepseek-ai/dsh-agent-preset-registry": "0.2.2-alpha.3",
62
- "@deepseek-ai/dsh-llm": "0.2.2-alpha.3",
63
- "@deepseek-ai/dsh-session": "0.2.2-alpha.3",
64
- "@deepseek-ai/dsh-session-persistence": "0.2.2-alpha.3",
65
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-alpha.3",
66
- "@deepseek-ai/dsh-subagent": "0.2.2-alpha.3",
67
- "@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.2-alpha.3",
68
- "@deepseek-ai/dsh-system-prompt": "0.2.2-alpha.3",
69
- "@deepseek-ai/dsh-tool-executor-native": "0.2.2-alpha.3",
70
- "@deepseek-ai/dsh-tools": "0.2.2-alpha.3",
71
- "@deepseek-ai/cordis": "4.0.6-alpha.2",
72
- "@deepseek-ai/dsh-session-projection": "0.2.2-alpha.3"
59
+ "@deepseek-ai/cordis-plugin-loader": "1.1.0",
60
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.1",
61
+ "@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.1",
62
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.1",
63
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1",
64
+ "@deepseek-ai/dsh-session-persistence": "0.2.2-rc.1",
65
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.1",
66
+ "@deepseek-ai/dsh-subagent": "0.2.2-rc.1",
67
+ "@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.2-rc.1",
68
+ "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",
69
+ "@deepseek-ai/dsh-tool-executor-native": "0.2.2-rc.1",
70
+ "@deepseek-ai/dsh-tools": "0.2.2-rc.1",
71
+ "@deepseek-ai/cordis": "4.1.0",
72
+ "@deepseek-ai/dsh-session-projection": "0.2.2-rc.1"
73
73
  }
74
74
  }
@@ -9,8 +9,8 @@
9
9
  en: 465d36925c792167
10
10
  zh: 269cac314f638827
11
11
  /deepseek-ai-dsh-tool-subagent-control/summary:
12
- en: 7e68f9a2d58e1ab6
13
- zh: 24edd923e898cc3b
12
+ en: cba97055d8a7fec5
13
+ zh: 11f22dcf2670b878
14
14
  /deepseek-ai-dsh-tool-subagent-control/table-of-contents:
15
15
  en: d152484eb41ac6b4
16
16
  zh: 09388d293f9be9cb
@@ -21,29 +21,29 @@
21
21
  en: d224de77b41ed4e4
22
22
  zh: f1e94f9cc9e04384
23
23
  /deepseek-ai-dsh-tool-subagent-control/use-this-package/send-message:
24
- en: 849b9b3e576aed01
25
- zh: d52239ca40d3a168
24
+ en: fa4b7d45c45e172f
25
+ zh: d74e402d32b48b1c
26
26
  /deepseek-ai-dsh-tool-subagent-control/use-this-package/interrupt-agent:
27
- en: de45d5a4b98d3c91
28
- zh: 666aa187170b9c0d
27
+ en: ac4cfa54d61e96a7
28
+ zh: 367e4109549eac31
29
29
  /deepseek-ai-dsh-tool-subagent-control/use-this-package/wait-agent:
30
- en: 29a3466bcc8e8e9d
31
- zh: ea38770df450a43e
30
+ en: a7d5ecc38bd7a94b
31
+ zh: 732c5e0ef5abc2a0
32
32
  /deepseek-ai-dsh-tool-subagent-control/use-this-package/list-agents:
33
- en: 912206fb3da120b5
34
- zh: 3b247046a52d5f2a
33
+ en: ed19a95c940c048b
34
+ zh: a734ef9e4892b971
35
35
  /deepseek-ai-dsh-tool-subagent-control/understand-the-implementation:
36
36
  en: c5cdf01a78c990f2
37
37
  zh: 53c180d726ce4502
38
38
  /deepseek-ai-dsh-tool-subagent-control/understand-the-implementation/design-concept:
39
- en: 3b6f1956d232964d
40
- zh: 9949b906020c9a79
39
+ en: 171cc10f5b343249
40
+ zh: ab7fa6bf4394b61c
41
41
  /deepseek-ai-dsh-tool-subagent-control/understand-the-implementation/delivery-and-signal-ownership:
42
- en: 65137f5fe14ebb7f
43
- zh: ce00e4f32709246a
42
+ en: c4dffa4789053044
43
+ zh: 5c890ec2393f3261
44
44
  /deepseek-ai-dsh-tool-subagent-control/understand-the-implementation/listing-projection:
45
- en: ee3136b09f0c9ef2
46
- zh: 5cbe189bb857fdc7
45
+ en: 34b0b770c7ae6726
46
+ zh: d8c589b6bd62be0b
47
47
  /deepseek-ai-dsh-tool-subagent-control/understand-the-implementation/source-map:
48
48
  en: 988d8adc49bfc0c2
49
49
  zh: b3091ceb8d6dcad3
@@ -57,8 +57,8 @@
57
57
  en: e4c7376d4f29dbd5
58
58
  zh: 6b7a9eaf69c9ea53
59
59
  /deepseek-ai-dsh-tool-subagent-control/model-experience/tool-schema/what-the-model-sees:
60
- en: db2e45684a4d0117
61
- zh: 5cd3b646c010b530
60
+ en: 102ef57f634f4d01
61
+ zh: 571304c1e6e5dd1a
62
62
  /deepseek-ai-dsh-tool-subagent-control/model-experience/tool-schema/token-effect:
63
63
  en: 5eb1d46a94b7ec1b
64
64
  zh: 5670760ca695d4ad
@@ -69,20 +69,23 @@
69
69
  en: fc88c8ffb8ebc083
70
70
  zh: 0baf2e5df37d813e
71
71
  /deepseek-ai-dsh-tool-subagent-control/model-experience/identity-and-communication-context/what-the-model-sees:
72
- en: f15da8ae032d1133
73
- zh: d778adb601756c27
72
+ en: 3f59216388405b66
73
+ zh: 70672463706bc5c5
74
+ /deepseek-ai-dsh-tool-subagent-control/model-experience/identity-and-communication-context/what-the-model-sees/subagent-identity:
75
+ en: fc2b3383d52ded16
76
+ zh: d5074e59b79c7afd
74
77
  /deepseek-ai-dsh-tool-subagent-control/model-experience/identity-and-communication-context/token-effect:
75
- en: e2c1a9e7f3a0bbea
76
- zh: d13f6963c8b2a8c5
78
+ en: 37a7eed766856ea0
79
+ zh: 4a564f74e08a3252
77
80
  /deepseek-ai-dsh-tool-subagent-control/model-experience/identity-and-communication-context/kv-cache-effect:
78
- en: feed847f7a028d67
79
- zh: 623a3438346d2bf8
81
+ en: 49dc6a07ae9640e3
82
+ zh: 465fcd7cfe452ad2
80
83
  /deepseek-ai-dsh-tool-subagent-control/model-experience/interrupt-result:
81
84
  en: d64e936e83e89a2b
82
85
  zh: b9905c33af6cca45
83
86
  /deepseek-ai-dsh-tool-subagent-control/model-experience/interrupt-result/what-the-model-sees:
84
- en: 89305619897680ba
85
- zh: e610a844fc09c53f
87
+ en: 917ab5f74a23687d
88
+ zh: 97dacd5811ef7d66
86
89
  /deepseek-ai-dsh-tool-subagent-control/model-experience/interrupt-result/token-effect:
87
90
  en: 5d1bcef28b5f18da
88
91
  zh: 027d67d93d660e76
@@ -93,11 +96,11 @@
93
96
  en: ab964e307bd37dca
94
97
  zh: 03f975252f838a42
95
98
  /deepseek-ai-dsh-tool-subagent-control/model-experience/delivery-result/what-the-model-sees:
96
- en: 8746cb9fa6557bfe
97
- zh: 49828e113e901160
99
+ en: 0b55f549e3a6fd6c
100
+ zh: 837e8b38ac42548a
98
101
  /deepseek-ai-dsh-tool-subagent-control/model-experience/delivery-result/token-effect:
99
- en: f7e47f835a1e0628
100
- zh: d2818b98c773ad35
102
+ en: 9454662d08749312
103
+ zh: 7c3cf7788f461a1a
101
104
  /deepseek-ai-dsh-tool-subagent-control/model-experience/delivery-result/kv-cache-effect:
102
105
  en: f5d5f97a153f7c70
103
106
  zh: 3d6bc05b9eadfbc2
@@ -105,17 +108,17 @@
105
108
  en: 094e55d258f2ec2e
106
109
  zh: f364bc9046530bff
107
110
  /deepseek-ai-dsh-tool-subagent-control/model-experience/listing-result/what-the-model-sees:
108
- en: 08c89e5dbbd691a8
109
- zh: 5d74e546d024735b
111
+ en: 3b88f602282087f5
112
+ zh: d597e4681915d25a
110
113
  /deepseek-ai-dsh-tool-subagent-control/model-experience/listing-result/token-effect:
111
- en: 027aaeb808238388
112
- zh: 5b974abc429d9e23
114
+ en: 8b5491a6a5459bb3
115
+ zh: 87338c341aa9aa56
113
116
  /deepseek-ai-dsh-tool-subagent-control/model-experience/listing-result/kv-cache-effect:
114
117
  en: 4a629edb36a17e32
115
118
  zh: 5a7539cfbf404c54
116
119
  /deepseek-ai-dsh-tool-subagent-control/known-limitations-and-deferred-work:
117
- en: 4436a17ab98af811
118
- zh: d58f9388e0c127dc
120
+ en: 2a228a2dd5eca2c2
121
+ zh: 03aa236f2bb9ebec
119
122
  /deepseek-ai-dsh-tool-subagent-control/known-limitations-and-deferred-work/dev-note:
120
123
  en: e67f633dc6fe7773
121
124
  zh: 3bb0c20c93f16f98
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-tool-subagent-control` lets agents discover and message their subagent tree by Session id, interrupt descendants, and wait for their own next-step inbox. By default, one plugin instance registers all four tools; members inherit the same definitions and ordering.
12
+ `dsh-tool-subagent-control` lets agents discover and message their subagent tree by name, interrupt descendants, and wait for their own next-step inbox. By default, one plugin instance registers all four tools; members inherit the same definitions and ordering.
13
13
 
14
14
  ## Table of Contents
15
15
 
@@ -44,20 +44,20 @@ Set `config.interrupt: false` to omit `interrupt_agent`. The default is `true`.
44
44
 
45
45
  ### send_message
46
46
 
47
- Sends a message to another agent in the same subagent tree by `agent_id`. The caller must be the live root or a resident continuable subagent. A working target receives Steer input at its next step; an inactive target starts or resumes a turn. Only the target resumes; its creation ancestors stay offline. Success returns inbox acceptance (`messageId`), never a reply. Self, unrelated trees, unsupported targets, unknown ids, unavailable history, and rejected admission return errors.
47
+ Sends a message to another agent in the same subagent tree. `agent` takes a name from `list_agents`: `lead` for the root or a full name such as `reviewer/checker`. Text that is not a name in the tree is treated as a Session id, so Session ids also work, including for members listed by Session id. The caller must be the live root or a resident continuable subagent. A working target receives Steer input at its next step; an inactive target starts or resumes a turn. Only the target resumes; its creation ancestors stay offline. Success returns inbox acceptance (`messageId`), never a reply. Self, unrelated trees, unsupported targets, unknown names or ids, unavailable history, and rejected admission return errors.
48
48
 
49
49
  ### interrupt_agent
50
50
 
51
- `agent_id` identifies a descendant by Session id. External executions stop permanently and cannot receive follow-ups. Local targets stop only their current turn: queued messages stay parked until a later `send_message`, descendants keep running, and the child stays available for follow-ups. The call returns when the stop request is accepted, not when the target is quiet; interrupting an already-finished agent is an accepted no-op, and self, sibling, stale, and non-ancestor callers get errored results.
51
+ `agent` names a descendant the same way `send_message` names its target. External executions stop permanently and cannot receive follow-ups. Local targets stop only their current turn: queued messages stay parked until a later `send_message`, descendants keep running, and the child stays available for follow-ups. The call returns when the stop request is accepted, not when the target is quiet; interrupting an already-finished agent is an accepted no-op, and self, sibling, stale, and non-ancestor callers get errored results.
52
52
 
53
53
  <a id="wait_agent"></a>
54
54
  ### wait_agent
55
55
 
56
- Waits for the exact caller’s next-step inbox. Pending input returns immediately; later input, including messages, completion notifications, and user steering, ends the wait. Queued next-turn messages, unrelated inboxes, and Agent status changes do not end it. Task changes do not end the wait. The tool neither consumes input nor starts an Agent. `timeout_ms` defaults to 30000 and must be an integer from 10000 through 3600000. Results contain only `timedOut`; cancellation, caller disposal, or plugin unload rejects the wait.
56
+ Waits for the exact caller’s next-step inbox. Pending input returns immediately unless an earlier wait in the same model tool call already reported it, so repeated waits from one `run_code` program block until new input or timeout; later input, including messages, completion notifications, and user steering, ends the wait. Queued next-turn messages, unrelated inboxes, and Agent status changes do not end it. Task changes do not end the wait. The tool neither consumes input nor starts an Agent. `timedOut: false` means new input is pending. Pending input is delivered to the model after code execution finishes. `timeout_ms` defaults to 30000 and must be an integer from 10000 through 3600000. Results contain only `timedOut`; cancellation, caller disposal, or plugin unload rejects the wait.
57
57
 
58
58
  ### list_agents
59
59
 
60
- Lists the root and all reachable continuable descendants, including the caller, in stable pre-order. Descendant rows carry their direct parent id and depth from the root. Live status is `running` or `inactive`. External entries are omitted without reading child Sessions; readable one-shot children remain traversal nodes. Unknown modes and unreadable catalogs produce diagnostics. Ordinary Session forks lead separate subagent trees.
60
+ Lists the root and all reachable continuable descendants, including the caller, in stable pre-order. Each row carries a `name`, a `status`, and, for the root and continuable descendants, a `description`. The root is `lead` with the description `root agent`; a descendant's name is its full path from the root and its description is its creation label. A child whose catalog entry has no name, and every descendant below it, is listed by Session id. Live status is `running` or `inactive`. External entries are omitted without reading child Sessions; readable one-shot children remain traversal nodes. Unknown modes and unreadable catalogs produce rows whose status is `unsupported`, `corrupt`, or `unavailable`; the status reports that the row's own descendants could not be read, while the row itself stays an addressable member. Ordinary Session forks lead separate subagent trees.
61
61
 
62
62
  -----
63
63
 
@@ -71,15 +71,15 @@ This section explains what the tools delegate to the subagent service; the obser
71
71
 
72
72
  ### Design concept
73
73
 
74
- Messaging, interruption, and discovery delegate to `ctx.subagents`; residency, cold resume, and authorization belong to that service. The wait tool subscribes to the exact caller’s inbox events before starting the timer and checking pending next-step input, and removes its listeners and timer on every settlement.
74
+ Messaging, interruption, and discovery delegate to `ctx.subagents`; residency, cold resume, and authorization belong to that service. Messaging and interruption first map `agent` to a Session id through `ctx.subagents.resolveName()`, which grants no authority; the service then authorizes that Session id. The wait tool subscribes to the exact caller’s inbox events before starting the timer and checking pending next-step input, and removes its listeners and timer on every settlement. Each successful wait records, per Agent, the pending ids it reported and its root tool call; a later wait from the same root call ignores those ids.
75
75
 
76
76
  ### Delivery and signal ownership
77
77
 
78
- The execution signal owns work only until inbox acceptance. Accepted messages cannot be cancelled through this tool. Every message is framed as `Agent <sender-id> sent a message:` and recorded with `{ kind: 'agent-message', form: 'relay', senderSessionId: sender.id }`. Tree membership authorizes communication; the subagent tree root owns runtime instances and capacity.
78
+ The execution signal owns work only until inbox acceptance. Accepted messages cannot be cancelled through this tool. Every message is framed as `Agent <sender-name> sent a message:` and recorded with `{ kind: 'agent-message', form: 'relay', senderSessionId: sender.id }`. Tree membership authorizes communication; the subagent tree root owns runtime instances and capacity.
79
79
 
80
80
  ### Listing projection
81
81
 
82
- `list_agents` resolves the caller’s live root and traverses its catalogs without a cursor, refining activity through the live Agent registry. Unknown modes remain traversable with diagnostics; unreadable catalogs stop that branch. Sessions absent from reachable catalogs cannot be discovered.
82
+ `list_agents` resolves the caller’s live root and traverses its catalogs without a cursor, refining activity through the live Agent registry. Names come from the `path` of each `listDescendants()` row. Unknown modes remain traversable with diagnostics; unreadable catalogs stop that branch. Sessions absent from reachable catalogs cannot be discovered.
83
83
 
84
84
  ### Source map
85
85
 
@@ -111,7 +111,7 @@ Read these pages when the package-level contract is not enough; they move from t
111
111
 
112
112
  #### What the model sees
113
113
 
114
- The generated [schemas](../../../docs/tool-catalog.md#deepseek-aidsh-tool-subagent-control) define id-addressed messaging and interruption, whole-tree discovery, and inbox waiting with `timeout_ms`. `wait_agent` returns `{ "timedOut": false }` for available input, and `{ "timedOut": true }` on timeout. It returns no message body or peer-activity diagnosis.
114
+ The generated [schemas](../../../docs/tool-catalog.md#deepseek-aidsh-tool-subagent-control) define name-addressed messaging and interruption, whole-tree discovery, and inbox waiting with `timeout_ms`. `wait_agent` returns `{ "timedOut": false }` for available input, and `{ "timedOut": true }` on timeout. It returns no message body or peer-activity diagnosis.
115
115
 
116
116
  #### Token effect
117
117
 
@@ -125,21 +125,32 @@ Prefix-stable; the schemas do not change at runtime, and a parent and its contin
125
125
 
126
126
  #### What the model sees
127
127
 
128
- Required `subagent:identity` runtime context identifies each agent by its Session id. Delegated children are identified as subagents and receive their direct parent and root ids. It is independent of Team mode and tool filtering; a missing live root is reported without preventing independent work. When the live root is available, identity context includes messaging and discovery instructions independently for each admitted standard tool. Automatic result delivery remains owned by the subagent service.
128
+ Required `subagent:identity` runtime context identifies each agent by name. It is independent of Team mode and tool filtering. When the live root is available, identity context includes messaging and discovery instructions independently for each admitted standard tool. The root sees `You are the root agent. Your name is "lead".` followed by the same guidance. A missing live root is reported with the agent's Session id, without preventing independent work. Automatic result delivery remains owned by the subagent service. A child of the root named `reviewer`, with both tools admitted, sees:
129
+
130
+ ##### Subagent identity
131
+
132
+ ```markdown
133
+ You are a subagent delegated by agent "lead".
134
+ Your name is "reviewer".
135
+ The root agent of your collaboration tree is "lead".
136
+
137
+ To message other agents, use send_message({ agent: "<agent-name>", message: "..." }).
138
+ Use list_agents({}) to find your collaborator agents and their names.
139
+ ```
129
140
 
130
141
  #### Token effect
131
142
 
132
- One short context entry per agent, independent of tree size.
143
+ One short context entry per agent, independent of tree size; full names lengthen with nesting depth.
133
144
 
134
145
  #### KV Cache effect
135
146
 
136
- Identity and communication guidance follow inherited history as logged runtime context, leaving the shared system prompt and tool definitions unchanged. This required context remains available with `includeRuntimeContext: false` and is restored after compaction. Team mode does not change it.
147
+ Identity and communication guidance follow inherited history as logged runtime context, leaving the shared system prompt and tool definitions unchanged. When a retained snapshot's identity text differs from the current text, one current runtime-context snapshot is appended. This required context remains available with `includeRuntimeContext: false` and is restored after compaction. Team mode does not change it.
137
148
 
138
149
  ### Interrupt result
139
150
 
140
151
  #### What the model sees
141
152
 
142
- `interrupt requested for agent <agent_id>` on acceptance. An unauthorized caller — self, sibling, stale, or non-ancestor — is an errored result naming the rejection; an absent or settled target still renders the acceptance line.
153
+ `interrupt requested for agent <agent>` on acceptance, echoing the `agent` argument. An unauthorized caller — self, sibling, stale, or non-ancestor — is an errored result naming the rejection; an absent or settled target still renders the acceptance line.
143
154
 
144
155
  #### Token effect
145
156
 
@@ -153,11 +164,11 @@ Append-only; each result follows the reusable request prefix.
153
164
 
154
165
  #### What the model sees
155
166
 
156
- `message delivered to agent <id>` on acceptance; canonical output carries the accepted `messageId`. A target outside the caller’s subagent tree or rejected admission produces an errored result.
167
+ `message delivered to agent <agent>` on acceptance, echoing the `agent` argument; canonical output carries the accepted `messageId`. A target outside the caller’s subagent tree or rejected admission produces an errored result.
157
168
 
158
169
  #### Token effect
159
170
 
160
- One short acknowledgement per call; replies arrive as separately addressed messages. Use ids from `list_agents` for follow-ups across the subagent tree.
171
+ One short acknowledgement per call; replies arrive as separately addressed messages. Use names from `list_agents` for follow-ups across the subagent tree.
161
172
 
162
173
  #### KV Cache effect
163
174
 
@@ -167,11 +178,11 @@ Append-only; newly visible content follows the reusable request prefix and does
167
178
 
168
179
  #### What the model sees
169
180
 
170
- The first row is `<id> [<status>] — root agent`. Each continuable descendant follows as `<id> [<status>] parent=<id> depth=<n> — <label>`. The root has `kind: root`; descendants have `kind: child` relative to that root. Diagnostics render `<id> [diagnostic: <reason>] parent=<id> depth=<n>`. Status describes turn activity, not task completion, success, or failure.
181
+ Each row renders as `<name> [<status>] — <description>`, or `<name> [<status>]` without a description. The first row is `lead [<status>] — root agent`; continuable descendants follow, such as `reviewer/checker [inactive] — Check the diff`. Unreadable branches render as `<name> [corrupt]`, `<name> [unsupported]`, or `<name> [unavailable]`. The canonical value is an array of `{ name, status, description? }`. Status describes turn activity, not task completion, success, or failure.
171
182
 
172
183
  #### Token effect
173
184
 
174
- Grows linearly with the whole subagent tree’s listed rows. There is no cursor or cap.
185
+ Grows linearly with the whole subagent tree’s listed rows. There is no cursor or cap. Rows carry no parent ids or depth; a full name encodes both.
175
186
 
176
187
  #### KV Cache effect
177
188
 
@@ -187,6 +198,7 @@ These limits define what the control tools cannot observe or steer; they are cur
187
198
  - **A delivered message has no independent result** — acceptance returns only its inbox `messageId`; later target work lands in that target's durable Session and is never collected through this tool. A reply is another explicitly addressed `send_message`, not this call's result.
188
199
  - **Messaging requires a live subagent tree root** — intermediate creators may be offline. Only the target resumes, consuming one shared capacity slot. Unrelated trees and external or one-shot targets cannot receive messages.
189
200
  - **Listing is a snapshot, not a delivery promise** — it may race publication, disposal, or a later message, and another process may activate a child this process reports as `inactive`; cross-process accuracy requires a shared lease. `interrupt_agent` performs the authoritative live-lineage check itself, so discovery staleness cannot grant authority.
201
+ - **Edits to reported input do not end a wait** — replacing a pending message keeps its id, so within the same model tool call a wait that already reported it stays pending; the edited content still reaches the model at the next step.
190
202
  - **No pagination or deletion** — the complete stably ordered set is returned, and persisted children remain listed for as long as their sessions remain in persistence; a service-level bound or delete operation is a later product decision.
191
203
 
192
204
  <a id="dev-note"></a>