@songtonyli/dsh-cli 0.1.94 → 0.1.96

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 (599) 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 +3 -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 -43
  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 +46 -0
  385. package/node_modules/@deepseek-ai/dsh-session-continuation/README.md +92 -0
  386. package/node_modules/@deepseek-ai/dsh-session-continuation/README.zh.md +92 -0
  387. package/node_modules/@deepseek-ai/dsh-session-continuation/lib/index.js +112 -0
  388. package/node_modules/@deepseek-ai/dsh-session-continuation/lib/types/index.js +54 -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 +16 -16
  531. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +11 -5
  532. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +11 -5
  533. package/node_modules/@deepseek-ai/dsh-tui-app/cordis.patch.yml +0 -5
  534. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +469 -85
  535. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +87 -85
  536. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +10 -10
  537. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +4 -4
  538. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
  539. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +18 -18
  540. package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +7 -3
  541. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +18 -18
  542. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +3 -3
  543. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
  544. package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
  545. package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
  546. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
  547. package/node_modules/@deepseek-ai/dsh-web/package.json +8 -8
  548. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +4 -4
  549. package/node_modules/@deepseek-ai/dsh-web-app/package.json +155 -155
  550. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/package.json +30 -30
  551. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +9 -9
  552. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-CZZasi1N.css +1 -0
  553. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-CnyQSzND.js +199 -0
  554. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
  555. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +21 -21
  556. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +20 -20
  557. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
  558. package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
  559. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +39 -39
  560. package/node_modules/@deepseek-ai/dsh-working-directory/package.json +21 -21
  561. package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
  562. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +26 -26
  563. package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
  564. package/node_modules/@swc/helpers/cjs/_ts_add_disposable_resource.cjs +41 -1
  565. package/node_modules/@swc/helpers/cjs/_ts_decorate.cjs +15 -1
  566. package/node_modules/@swc/helpers/cjs/_ts_dispose_resources.cjs +44 -1
  567. package/node_modules/@swc/helpers/cjs/_ts_metadata.cjs +7 -1
  568. package/node_modules/@swc/helpers/cjs/_ts_param.cjs +7 -1
  569. package/node_modules/@swc/helpers/cjs/_ts_rewrite_relative_import_extension.cjs +10 -1
  570. package/node_modules/@swc/helpers/cjs/_ts_values.cjs +19 -1
  571. package/node_modules/@swc/helpers/cjs/_unsupported_iterable_to_array.cjs +1 -1
  572. package/node_modules/@swc/helpers/cjs/index.cjs +0 -4
  573. package/node_modules/@swc/helpers/esm/_ts_add_disposable_resource.js +41 -1
  574. package/node_modules/@swc/helpers/esm/_ts_decorate.js +15 -1
  575. package/node_modules/@swc/helpers/esm/_ts_dispose_resources.js +44 -1
  576. package/node_modules/@swc/helpers/esm/_ts_metadata.js +7 -1
  577. package/node_modules/@swc/helpers/esm/_ts_param.js +7 -1
  578. package/node_modules/@swc/helpers/esm/_ts_rewrite_relative_import_extension.js +10 -1
  579. package/node_modules/@swc/helpers/esm/_ts_values.js +19 -1
  580. package/node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js +1 -1
  581. package/node_modules/@swc/helpers/esm/index.js +0 -1
  582. package/node_modules/@swc/helpers/package.json +2 -11
  583. package/node_modules/@swc/helpers/scripts/ast_grep.js +5 -25
  584. package/node_modules/@swc/helpers/scripts/build.js +2 -1
  585. package/node_modules/turndown/dist/turndown.js +18 -15
  586. package/node_modules/turndown/lib/turndown.browser.cjs.js +18 -15
  587. package/node_modules/turndown/lib/turndown.browser.es.js +18 -15
  588. package/node_modules/turndown/lib/turndown.browser.umd.js +18 -15
  589. package/node_modules/turndown/lib/turndown.cjs.js +18 -15
  590. package/node_modules/turndown/lib/turndown.es.js +18 -15
  591. package/node_modules/turndown/lib/turndown.umd.js +18 -15
  592. package/node_modules/turndown/package.json +4 -3
  593. package/package.json +337 -335
  594. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-B2q7cWGa.js +0 -199
  595. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-uWlUD22X.css +0 -1
  596. package/node_modules/@swc/helpers/_/_jsx/package.json +0 -4
  597. package/node_modules/@swc/helpers/cjs/_jsx.cjs +0 -28
  598. package/node_modules/@swc/helpers/esm/_jsx.js +0 -26
  599. package/node_modules/@swc/helpers/src/_jsx.mjs +0 -1
@@ -0,0 +1,54 @@
1
+ /** Failed-turn continuation admission over the complete Session log. */
2
+ import { Service } from '@deepseek-ai/cordis';
3
+ import { createUserMessage } from '@deepseek-ai/dsh-llm';
4
+ import { continuationProjectionDefinition } from "./projection.js";
5
+ /** The Agent already owns a turn or maintenance operation; retry after that work settles. */
6
+ export class SessionContinuationBusyError extends Error {
7
+ name = 'SessionContinuationBusyError';
8
+ /** Machine-readable code for a retry refused because the Agent is not idle. */
9
+ code = 'AGENT_BUSY';
10
+ constructor(cause) {
11
+ super('generation continuation requires an idle agent', { cause });
12
+ }
13
+ }
14
+ /** Owns the continuation projection and admits an empty retry while the Agent is idle. */
15
+ export class SessionContinuation extends Service {
16
+ static inject = ['sessionProjections'];
17
+ projection;
18
+ /** @param ctx - context carrying the Session projection registry. */
19
+ constructor(ctx) {
20
+ super(ctx, 'sessionContinuation');
21
+ }
22
+ async [Service.init]() {
23
+ this.projection = await this.ctx.sessionProjections.register(continuationProjectionDefinition);
24
+ }
25
+ /**
26
+ * Admit an empty retry if the last failed turn is eligible and no human input is pending.
27
+ * @param agent - exact live Agent whose maintenance lock guards admission.
28
+ * @param source - durable retry identity and caller attribution.
29
+ * @returns `accepted` or `unavailable`; an unavailable request adds no input.
30
+ * @throws {SessionContinuationBusyError} if another Agent activity holds maintenance.
31
+ * @throws if reading the projection or queuing the retry fails.
32
+ */
33
+ async retry(agent, source) {
34
+ // Catch only the synchronous busy rejection. Admission failures stay on the returned promise.
35
+ let admitted;
36
+ try {
37
+ admitted = agent.runMaintenance(() => {
38
+ const inbox = agent.inbox;
39
+ if (this.projection.stateOf(agent.session).ending === null
40
+ || inbox.nextTurn.length > 0 || inbox.nextStep.some(message => message.source.kind === 'user')) {
41
+ return Promise.resolve('unavailable');
42
+ }
43
+ agent.followup(createUserMessage({ content: [], source }));
44
+ return Promise.resolve('accepted');
45
+ });
46
+ }
47
+ catch (cause) {
48
+ throw new SessionContinuationBusyError(cause);
49
+ }
50
+ return admitted;
51
+ }
52
+ }
53
+ export default SessionContinuation;
54
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,48 @@
1
+ import { brandNumber } from '@deepseek-ai/dsh-brand';
2
+ import { z } from 'zod';
3
+ // Explicit manual requests use a fixed product policy, independent of automatic retry configuration.
4
+ const CONTINUABLE_FAILURES = new Set([
5
+ 'RATE_LIMIT', 'SERVER', 'TIMEOUT', 'TRANSPORT', 'EMPTY_RESPONSE', 'STREAM_CLOSED',
6
+ ]);
7
+ const endingSchema = z.number().int().nonnegative().transform((brandNumber)).nullable();
8
+ const stateSchema = z.object({
9
+ admitted: z.boolean(),
10
+ failedAttempt: z.boolean(),
11
+ ending: endingSchema,
12
+ });
13
+ const EMPTY = { admitted: false, failedAttempt: false, ending: null };
14
+ /** Eligibility requires admitted human work and a failed settlement in the last request step. */
15
+ export const continuationProjectionDefinition = {
16
+ key: 'conversationContinuation',
17
+ stateVersion: 4,
18
+ stateSchema,
19
+ init: () => EMPTY,
20
+ apply: (state, event) => {
21
+ switch (event.type) {
22
+ case 'turn/start':
23
+ return EMPTY;
24
+ case 'step/start':
25
+ case 'assistant/message':
26
+ return state.failedAttempt ? { ...state, failedAttempt: false } : state;
27
+ case 'user/message':
28
+ return !state.admitted && event.surfaceOp === 'append'
29
+ && ((event.data.source.kind === 'user' && event.data.content.length > 0)
30
+ || (event.data.source.kind === 'retry' && event.data.content.length === 0))
31
+ ? { ...state, admitted: true } : state;
32
+ case 'assistant/attempt':
33
+ return state.failedAttempt ? state : { ...state, failedAttempt: true };
34
+ case 'turn/end': {
35
+ const ending = event.data.reason.kind === 'error' && CONTINUABLE_FAILURES.has(event.data.reason.error.code)
36
+ && state.admitted && state.failedAttempt ? event.seq : null;
37
+ return ending === null ? EMPTY : { ...EMPTY, ending };
38
+ }
39
+ default:
40
+ return state;
41
+ }
42
+ },
43
+ wire: {
44
+ viewSchema: endingSchema,
45
+ view: (state) => state.ending,
46
+ },
47
+ };
48
+ //# sourceMappingURL=projection.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@deepseek-ai/dsh-session-continuation",
3
+ "description": "Failed-turn continuation eligibility and admission",
4
+ "version": "0.2.2-rc.1",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
11
+ "directory": "packages/session/session-continuation"
12
+ },
13
+ "type": "module",
14
+ "main": "lib/index.js",
15
+ "types": "lib/types/index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "types": "./lib/types/index.d.ts",
19
+ "default": "./lib/index.js"
20
+ },
21
+ "./types": {
22
+ "types": "./lib/types/types.d.ts",
23
+ "default": "./lib/types/types.js"
24
+ },
25
+ "./src/*": "./src/*",
26
+ "./package.json": "./package.json"
27
+ },
28
+ "files": [
29
+ "lib/index.js",
30
+ "lib/types/**/*.js",
31
+ "lib/types/**/*.d.ts"
32
+ ],
33
+ "license": "MIT",
34
+ "dependencies": {
35
+ "@deepseek-ai/dsh-brand": "0.2.2-rc.1",
36
+ "zod": "4.4.3"
37
+ },
38
+ "peerDependencies": {
39
+ "@deepseek-ai/cordis": "4.1.0",
40
+ "@deepseek-ai/dsh-agent": "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-typert-protocol": "0.2.2-rc.1"
45
+ },
46
+ "devDependencies": {
47
+ "@deepseek-ai/cordis": "4.1.0",
48
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.1",
49
+ "@deepseek-ai/dsh-agent-loop": "0.2.2-rc.1",
50
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.1",
51
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1",
52
+ "@deepseek-ai/dsh-session-projection": "0.2.2-rc.1",
53
+ "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.1"
54
+ }
55
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-session-format",
3
3
  "description": "Streaming adjacent Session format migration machinery",
4
- "version": "0.2.2-alpha.3",
4
+ "version": "0.2.2-rc.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,12 +27,12 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "dependencies": {
30
- "@deepseek-ai/dsh-util-values": "0.2.2-alpha.3"
30
+ "@deepseek-ai/dsh-util-values": "0.2.2-rc.1"
31
31
  },
32
32
  "peerDependencies": {
33
- "@deepseek-ai/cordis": "4.0.6-alpha.2"
33
+ "@deepseek-ai/cordis": "4.1.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@deepseek-ai/cordis": "4.0.6-alpha.2"
36
+ "@deepseek-ai/cordis": "4.1.0"
37
37
  }
38
38
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-session-format-catalog",
3
3
  "description": "Build-static first-party Session format codec and migration catalog",
4
- "version": "0.2.2-alpha.3",
4
+ "version": "0.2.2-rc.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -32,19 +32,19 @@
32
32
  ],
33
33
  "license": "MIT",
34
34
  "dependencies": {
35
- "@deepseek-ai/dsh-session-format": "0.2.2-alpha.3",
36
- "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.2-alpha.3",
37
- "@deepseek-ai/dsh-session-format-v1-to-v2": "0.2.2-alpha.3",
38
- "@deepseek-ai/dsh-session-format-v2-to-v3": "0.2.2-alpha.3",
39
- "@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.2-alpha.3",
40
- "@deepseek-ai/dsh-compaction-image-offload": "0.2.2-alpha.3"
35
+ "@deepseek-ai/dsh-session-format": "0.2.2-rc.1",
36
+ "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.2-rc.1",
37
+ "@deepseek-ai/dsh-session-format-v1-to-v2": "0.2.2-rc.1",
38
+ "@deepseek-ai/dsh-session-format-v2-to-v3": "0.2.2-rc.1",
39
+ "@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.2-rc.1",
40
+ "@deepseek-ai/dsh-compaction-image-offload": "0.2.2-rc.1"
41
41
  },
42
42
  "peerDependencies": {
43
- "@deepseek-ai/cordis": "4.0.6-alpha.2",
44
- "@deepseek-ai/dsh-session": "0.2.2-alpha.3"
43
+ "@deepseek-ai/cordis": "4.1.0",
44
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@deepseek-ai/cordis": "4.0.6-alpha.2",
48
- "@deepseek-ai/dsh-session": "0.2.2-alpha.3"
47
+ "@deepseek-ai/cordis": "4.1.0",
48
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1"
49
49
  }
50
50
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-session-format-v0-to-v1",
3
3
  "description": "Frozen released-v0 Session codec and identity migration to v1",
4
- "version": "0.2.2-alpha.3",
4
+ "version": "0.2.2-rc.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -39,15 +39,15 @@
39
39
  }
40
40
  },
41
41
  "dependencies": {
42
- "@deepseek-ai/dsh-session-format": "0.2.2-alpha.3",
43
- "@deepseek-ai/dsh-util-time": "0.2.2-alpha.3",
44
- "@deepseek-ai/dsh-util-values": "0.2.2-alpha.3"
42
+ "@deepseek-ai/dsh-session-format": "0.2.2-rc.1",
43
+ "@deepseek-ai/dsh-util-time": "0.2.2-rc.1",
44
+ "@deepseek-ai/dsh-util-values": "0.2.2-rc.1"
45
45
  },
46
46
  "peerDependencies": {
47
- "@deepseek-ai/cordis": "4.0.6-alpha.2"
47
+ "@deepseek-ai/cordis": "4.1.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@deepseek-ai/cordis": "4.0.6-alpha.2",
51
- "@deepseek-ai/dsh-session": "0.2.2-alpha.3"
50
+ "@deepseek-ai/cordis": "4.1.0",
51
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1"
52
52
  }
53
53
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-session-format-v1-to-v2",
3
3
  "description": "Frozen released-v1 Session codec and assistant-stream migration to v2",
4
- "version": "0.2.2-alpha.3",
4
+ "version": "0.2.2-rc.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -39,16 +39,16 @@
39
39
  }
40
40
  },
41
41
  "dependencies": {
42
- "@deepseek-ai/dsh-llm": "0.2.2-alpha.3",
43
- "@deepseek-ai/dsh-session-format": "0.2.2-alpha.3",
44
- "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.2-alpha.3",
45
- "@deepseek-ai/dsh-util-values": "0.2.2-alpha.3"
42
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.1",
43
+ "@deepseek-ai/dsh-session-format": "0.2.2-rc.1",
44
+ "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.2-rc.1",
45
+ "@deepseek-ai/dsh-util-values": "0.2.2-rc.1"
46
46
  },
47
47
  "peerDependencies": {
48
- "@deepseek-ai/cordis": "4.0.6-alpha.2"
48
+ "@deepseek-ai/cordis": "4.1.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@deepseek-ai/cordis": "4.0.6-alpha.2",
52
- "@deepseek-ai/dsh-session": "0.2.2-alpha.3"
51
+ "@deepseek-ai/cordis": "4.1.0",
52
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1"
53
53
  }
54
54
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-session-format-v2-to-v3",
3
3
  "description": "Streaming system-prompt, canonical-envelope and PTC migration into V3",
4
- "version": "0.2.2-alpha.3",
4
+ "version": "0.2.2-rc.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -39,14 +39,14 @@
39
39
  }
40
40
  },
41
41
  "dependencies": {
42
- "@deepseek-ai/dsh-session-format": "0.2.2-alpha.3",
43
- "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.2-alpha.3",
44
- "@deepseek-ai/dsh-session-format-v1-to-v2": "0.2.2-alpha.3"
42
+ "@deepseek-ai/dsh-session-format": "0.2.2-rc.1",
43
+ "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.2-rc.1",
44
+ "@deepseek-ai/dsh-session-format-v1-to-v2": "0.2.2-rc.1"
45
45
  },
46
46
  "peerDependencies": {
47
- "@deepseek-ai/cordis": "4.0.6-alpha.2"
47
+ "@deepseek-ai/cordis": "4.1.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@deepseek-ai/cordis": "4.0.6-alpha.2"
50
+ "@deepseek-ai/cordis": "4.1.0"
51
51
  }
52
52
  }
@@ -51,8 +51,8 @@
51
51
  en: 610f35b8c44538a2
52
52
  zh: 17e5c07f09783106
53
53
  /deepseek-ai-dsh-session-format-v3-to-v4/native-v4-admission/lifecycle-and-reference-relationships:
54
- en: 7dd4a236075233c7
55
- zh: 988e67acdd32d2ba
54
+ en: 56ddb17e1f93504d
55
+ zh: 9d9e4a74fbadeb7c
56
56
  /deepseek-ai-dsh-session-format-v3-to-v4/native-v4-admission/developer-changes-and-deferred-schemas:
57
57
  en: 471f0e087806057a
58
58
  zh: 76b2ee1f58118d71
@@ -245,7 +245,7 @@ Current common admission does not validate each user/tool/developer content bloc
245
245
  | `compaction/start`, `compaction/summary`, `compaction/end` | Match compaction id, source command, and the active turn context. Summary spans name exact current-surface nodes and exclude the protected head; successful completion has one summary. Inherited unfinished compactions expire at the end-seed marker. |
246
246
  | `compaction/prune` | Its span names exact current-surface nodes and excludes the protected head; it does not require a compaction transaction or its owner fields. |
247
247
  | Compact checkpoint replacement | Its `compact-checkpoint` source identifies the active compaction. |
248
- | Native `subagent/catalog` | Validates own version-0/version-1/version-2 payloads after the inherited cut. Each child id must be unique. Native reads neither collect child logs nor compare their physical facts; inherited entries do not establish own membership. |
248
+ | Native `subagent/catalog` | Validates own version-0 through version-3 payloads after the inherited cut; version 3 is native-only and adds the child's name to a continuable or external entry. Each child id and version-3 sibling name must be unique. Names contain 1–32 lowercase letters, digits, or hyphens, start with a letter, and cannot be `lead`. Native reads neither collect child logs nor compare their physical facts; inherited entries do not establish own membership. |
249
249
  | Inherited cut and delivery | Apply the native V4 marker, coordinate, and generation-ownership rules above. |
250
250
 
251
251
  These checks are generation-owned in [relationships.ts](src/relationships.ts). Full common message/envelope acceptance and plugin-owned message projections additionally use the installed Session; the exported V4 restorer alone is not a replacement for complete catalog restoration.
@@ -245,7 +245,7 @@ System image 接纳要求非空 attachment id、PNG/JPEG/WebP/GIF MIME 类
245
245
  | `compaction/start`、`compaction/summary`、`compaction/end` | 匹配 compaction id、源 command 和活动 turn 上下文。Summary 区间引用精确的当前表面节点且排除 protected head;成功完成需要一个 summary。继承的未完成 compaction 在 end-seed marker 处过期。 |
246
246
  | `compaction/prune` | 其区间引用精确的当前表面节点且排除 protected head;它不要求存在 compaction 事务或其所有者字段。 |
247
247
  | Compact checkpoint 替换 | 其 `compact-checkpoint` 来源标识活动 compaction。 |
248
- | 原生 `subagent/catalog` | 校验继承截点之后的自身 version-0/version-1/version-2 载荷。每个子 id 必须唯一。原生读取不收集子日志,也不比较其物理事实;继承条目不建立自身成员关系。 |
248
+ | 原生 `subagent/catalog` | 校验继承截点之后的自身 version-0 至 version-3 载荷;version 3 仅由原生写入,为 continuable 或 external 条目增加子代理名称。每个子 id 和 version-3 同级名称必须唯一。名称由 1–32 个小写字母、数字或连字符组成,以字母开头,且不能为 `lead`。原生读取不收集子日志,也不比较其物理事实;继承条目不建立自身成员关系。 |
249
249
  | 继承截点与投递 | 应用上文的原生 V4 标记、坐标及代际归属规则。 |
250
250
 
251
251
  这些检查由 [relationships.ts](src/relationships.ts) 按代际拥有。完整的通用消息/信封接纳与插件拥有的消息投影还使用已安装 Session;单独的导出 V4 恢复器不能替代完整 catalog 恢复。
@@ -1026,6 +1026,7 @@ function validateDeliveryAccepted(event, currentVersion) {
1026
1026
  */
1027
1027
  function assertReleasedV4Relationships(artifact, knownEventTypes) {
1028
1028
  const ids = /* @__PURE__ */ new Set();
1029
+ const names = /* @__PURE__ */ new Set();
1029
1030
  for (const event of artifact.events) {
1030
1031
  if (!knownEventTypes.has(event.type)) continue;
1031
1032
  assertV4DeveloperData(event);
@@ -1033,13 +1034,30 @@ function assertReleasedV4Relationships(artifact, knownEventTypes) {
1033
1034
  const deliveryId = validateDeliveryAccepted(event, 4);
1034
1035
  if (deliveryId !== void 0 && event.seq >= artifact.inheritedEventCount && deliveryId !== artifact.header.id) throw new SessionFormatError("current-generation delivery marker names the wrong Session");
1035
1036
  if (event.type === "subagent/catalog" && event.seq >= artifact.inheritedEventCount) {
1036
- const id = catalogFact(event.data)["childId"];
1037
+ const fact = nativeCatalogFact(event.data);
1038
+ const id = fact["childId"];
1037
1039
  if (ids.has(id)) throw new SessionFormatError(`duplicate catalog child ${id}`);
1038
1040
  ids.add(id);
1041
+ if (fact["name"] === void 0) continue;
1042
+ const name = fact["name"];
1043
+ if (names.has(name)) throw new SessionFormatError(`duplicate catalog child name ${name}`);
1044
+ names.add(name);
1039
1045
  }
1040
1046
  }
1041
1047
  assertV4LifecycleRelationships(artifact, knownEventTypes);
1042
1048
  }
1049
+ /**
1050
+ * Validate an own native V4 catalog payload: a historical version or version 3,
1051
+ * which adds the child's name and is written only by native V4 creation.
1052
+ * @param value - native `subagent/catalog` payload.
1053
+ * @returns validated catalog payload.
1054
+ */
1055
+ function nativeCatalogFact(value) {
1056
+ if (!isSessionFormatJsonObject(value) || value["version"] !== 3) return catalogFact(value);
1057
+ if (typeof value["childId"] !== "string" || value["mode"] !== "continuable" && value["mode"] !== "external" || typeof value["name"] !== "string" || !/^[a-z][a-z0-9-]{0,31}$/u.test(value["name"]) || value["name"] === "lead" || value["mode"] === "continuable" && typeof value["label"] !== "string" || value["label"] !== void 0 && typeof value["label"] !== "string") throw new SessionFormatError("subagent/catalog requires a supported versioned catalog fact");
1058
+ sessionFormatCount(value["childCreatedAt"], "catalog child creation time");
1059
+ return value;
1060
+ }
1043
1061
  //#endregion
1044
1062
  //#region lib/types/codec.js
1045
1063
  /** V4 framing with native tool-role admission and released physical rows. */
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-session-format-v3-to-v4",
3
3
  "description": "Streaming tool-role migration and delivery validation from Session V3 to V4",
4
- "version": "0.2.2-alpha.3",
4
+ "version": "0.2.2-rc.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -39,13 +39,13 @@
39
39
  }
40
40
  },
41
41
  "dependencies": {
42
- "@deepseek-ai/dsh-session-format": "0.2.2-alpha.3",
43
- "@deepseek-ai/dsh-session-format-v2-to-v3": "0.2.2-alpha.3"
42
+ "@deepseek-ai/dsh-session-format": "0.2.2-rc.1",
43
+ "@deepseek-ai/dsh-session-format-v2-to-v3": "0.2.2-rc.1"
44
44
  },
45
45
  "peerDependencies": {
46
- "@deepseek-ai/cordis": "4.0.6-alpha.2"
46
+ "@deepseek-ai/cordis": "4.1.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@deepseek-ai/cordis": "4.0.6-alpha.2"
49
+ "@deepseek-ai/cordis": "4.1.0"
50
50
  }
51
51
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-session-log-deepseek",
3
3
  "description": "Incremental lossless session-log request extension for the official DeepSeek LLM API",
4
- "version": "0.2.2-alpha.3",
4
+ "version": "0.2.2-rc.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -34,26 +34,26 @@
34
34
  ],
35
35
  "license": "MIT",
36
36
  "dependencies": {
37
- "@deepseek-ai/dsh-brand": "0.2.2-alpha.3",
38
- "@deepseek-ai/dsh-util-values": "0.2.2-alpha.3",
39
- "@deepseek-ai/schemastery": "3.18.6-alpha.2"
37
+ "@deepseek-ai/dsh-brand": "0.2.2-rc.1",
38
+ "@deepseek-ai/dsh-util-values": "0.2.2-rc.1",
39
+ "@deepseek-ai/schemastery": "3.19.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "@deepseek-ai/cordis": "4.0.6-alpha.2",
43
- "@deepseek-ai/dsh-deepseek-llm-api-extensions": "0.2.2-alpha.3",
44
- "@deepseek-ai/dsh-session": "0.2.2-alpha.3"
42
+ "@deepseek-ai/cordis": "4.1.0",
43
+ "@deepseek-ai/dsh-deepseek-llm-api-extensions": "0.2.2-rc.1",
44
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@deepseek-ai/cordis": "4.0.6-alpha.2",
48
- "@deepseek-ai/cordis-plugin-include": "1.0.11-alpha.2",
49
- "@deepseek-ai/cordis-plugin-loader": "1.0.7-alpha.2",
50
- "@deepseek-ai/dsh-command-feedback": "0.2.2-alpha.3",
51
- "@deepseek-ai/dsh-deepseek-llm-api-extensions": "0.2.2-alpha.3",
52
- "@deepseek-ai/dsh-llm": "0.2.2-alpha.3",
53
- "@deepseek-ai/dsh-llm-deepseek": "0.2.2-alpha.3",
54
- "@deepseek-ai/dsh-llm-deepseek-api-key": "0.2.2-alpha.3",
55
- "@deepseek-ai/dsh-message-feedback": "0.2.2-alpha.3",
56
- "@deepseek-ai/dsh-session": "0.2.2-alpha.3",
57
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-alpha.3"
47
+ "@deepseek-ai/cordis": "4.1.0",
48
+ "@deepseek-ai/cordis-plugin-include": "1.1.0",
49
+ "@deepseek-ai/cordis-plugin-loader": "1.1.0",
50
+ "@deepseek-ai/dsh-command-feedback": "0.2.2-rc.1",
51
+ "@deepseek-ai/dsh-deepseek-llm-api-extensions": "0.2.2-rc.1",
52
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.1",
53
+ "@deepseek-ai/dsh-llm-deepseek": "0.2.2-rc.1",
54
+ "@deepseek-ai/dsh-llm-deepseek-api-key": "0.2.2-rc.1",
55
+ "@deepseek-ai/dsh-message-feedback": "0.2.2-rc.1",
56
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1",
57
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.1"
58
58
  }
59
59
  }
@@ -18,8 +18,8 @@
18
18
  en: bb12bdeafa8571b5
19
19
  zh: e7df75c03478f7ed
20
20
  /deepseek-ai-dsh-session-log-export/use-this-package/copy-session-as-markdown:
21
- en: 55c163a4ae5b8d5d
22
- zh: c1dac154ed1fa56d
21
+ en: 259be867138d8d92
22
+ zh: 984959dd966168bf
23
23
  /deepseek-ai-dsh-session-log-export/use-this-package/when-to-choose-it:
24
24
  en: 4011f686afd24f09
25
25
  zh: 2710b9995c80ba1f
@@ -27,8 +27,8 @@
27
27
  en: 252bc78a7850557a
28
28
  zh: e695658a94c8c2bf
29
29
  /deepseek-ai-dsh-session-log-export/use-this-package/composition:
30
- en: 4168a2d3e653ab73
31
- zh: 8bf955cfab7b08e2
30
+ en: dc562975a59e0175
31
+ zh: e8b0964a00ffef69
32
32
  /deepseek-ai-dsh-session-log-export/use-this-package/configuration:
33
33
  en: 377a0d8860c46f63
34
34
  zh: 9eb7698f813b2fa3
@@ -36,8 +36,8 @@
36
36
  en: 26329688b9a924a7
37
37
  zh: 94e21c10fdcfc1ac
38
38
  /deepseek-ai-dsh-session-log-export/use-this-package/what-to-expect:
39
- en: 44be1f1d1903d12a
40
- zh: c8f1eb5b92b71a30
39
+ en: e4ad198e0e410fbf
40
+ zh: 06a815208987d006
41
41
  /deepseek-ai-dsh-session-log-export/use-this-package/failures:
42
42
  en: e92a382bebfe99e3
43
43
  zh: 671178b06808bfb9
@@ -45,11 +45,11 @@
45
45
  en: 7cb82a6851405f95
46
46
  zh: b8c525170d19dc6c
47
47
  /deepseek-ai-dsh-session-log-export/understand-the-implementation/design-split:
48
- en: 3bb8e18b107c353f
49
- zh: 3cc45ce2b5699066
48
+ en: a1a931677dabc1aa
49
+ zh: d4bd10bde23c14e9
50
50
  /deepseek-ai-dsh-session-log-export/understand-the-implementation/download-flow:
51
- en: bd46d2fa1273a6a4
52
- zh: 4d3eb2cf0a9bf12b
51
+ en: 00002fe0448b1654
52
+ zh: 9d8f88e42d88fd15
53
53
  /deepseek-ai-dsh-session-log-export/understand-the-implementation/markdown-copy-flow:
54
54
  en: d4e02b56ffb8ee8a
55
55
  zh: 0a329039788a13ee
@@ -33,9 +33,9 @@ Use this package when the Web bundle should let users export a session log. It r
33
33
 
34
34
  The formatter reads the committed raw log, so a compaction surface replacement never removes earlier messages, and fork-inherited history appears once. The title and body come from one `readSession` snapshot. When persistence metadata reports a selected materialized artifact, the transcript adds a `Session file:` fenced text block with that exact path; without one, the block is absent. Only the selected Session and its inherited prefix are copied; descendant logs remain ZIP-only. Reasoning blocks, system and developer messages, injected user-role context whose source kind is not `user`, request headers and context, and runtime records are omitted. Images and files become readable labels; attachment bytes and authentication links never enter the transcript. Structural labels such as `Assistant`, `Tool`, and attachment placeholders are intentionally English; original message text stays unchanged. The text ends with exactly one newline.
35
35
 
36
- The clipboard is one browser-wide destination, so this plugin instance runs one copy at a time. On hosts with `ClipboardItem` and `navigator.clipboard.write`, the write starts synchronously from the click with a promised `text/plain` Blob while the transcript is read; other hosts fall back to the shared clipboard helper after preparation. A request made while a copy is pending joins that operation and keeps the first click's Session. Every Session Header reflects copying in `aria-busy` and disables its copy row until the operation settles. Success, preparation-failure, or clipboard-failure feedback uses the root overlay toast. Disposal aborts the read and prevents later text from reaching the Blob; an operating-system clipboard write already accepted cannot be rolled back.
36
+ The clipboard is one browser-wide destination, so this plugin instance runs one copy at a time. On hosts with `ClipboardItem` and `navigator.clipboard.write`, the write starts synchronously from the click with a promised `text/plain` Blob while the transcript is read; other hosts fall back to the shared clipboard helper after preparation. A request made while a copy is pending joins that operation and keeps the first click's Session. Every Session Header menu disables its copy row until the operation settles; unrelated actions remain available. Success, preparation-failure, or clipboard-failure feedback uses the root overlay toast. Disposal aborts the read and prevents later text from reaching the Blob; an operating-system clipboard write already accepted cannot be rolled back.
37
37
 
38
- When `ui-message-feedback` is mounted, the same menu also offers `Feedback`, which opens its existing Session feedback dialog. Opening or dismissing that form does not export the Session or submit feedback. The feedback row follows the feedback plugin's availability; both export actions remain available independently.
38
+ When `ui-message-feedback` is mounted, the same menu also offers `Feedback`, which opens its existing Session feedback dialog. Opening or dismissing that form does not export the Session or submit feedback. The feedback row follows the feedback plugin’s availability; both export actions remain independently available. [`ui-open-in-app`](../../client/ui-open-in-app/README.md) contributes its application submenu in a separated group after download and before feedback.
39
39
 
40
40
  ### When to choose it
41
41
 
@@ -61,7 +61,7 @@ export function convertTranscript(events: readonly SessionEvent[], sourcePath?:
61
61
  name: '@deepseek-ai/dsh-session-log-export'
62
62
  ```
63
63
 
64
- The Web bundle mounts the package with Connection, `dsh-commands`, `dsh-client-ui-commands`, `dsh-client-ui-conversation`, and `dsh-client-ui-layout`. The layout package declares the `shell.overlay` seat used by copy feedback; the other client packages provide the Header seat, locale, and command surface.
64
+ The Web bundle mounts the package with Connection, `dsh-commands`, `dsh-client-ui-commands`, `dsh-client-ui-conversation`, `dsh-client-ui-context-menu`, and `dsh-client-ui-layout`. The conversation package owns the Header trigger, the context-menu service renders its shared popup, and layout declares `shell.overlay` for the download dialog and copy-feedback toast. Locale and command services supply translated copy and command acknowledgements.
65
65
 
66
66
  ### Configuration
67
67
 
@@ -78,7 +78,7 @@ The Web bundle mounts the package with Connection, `dsh-commands`, `dsh-client-u
78
78
 
79
79
  ### What to expect
80
80
 
81
- The dialog reports three phases: preparing, download started, or failed. Closing the dialog does not cancel an in-flight download, and the dialog does not reopen when that operation later settles. One session admits one active download at a time; repeated gestures share that operation. The export includes the live session's newest events: the host endpoint flushes a live root session before reading, so a slash-triggered ZIP includes the `command/run` and `command/done` pair that started the download; cold persisted sessions need no flush. Each logical log uses the current generation's canonical filename inside the archive (`session.jsonl` for v0, otherwise `session.vN.jsonl`), including beneath each sub-session directory. Images use `media/<attachmentId>.<ext>`, and generic files use `files/<digest-prefix>/<digest>/<name>`. Generic-file bytes are read and compressed as bounded chunks, so exporting a large upload does not buffer it in full.
81
+ The root dialog identifies the exported Session by ID and reports preparing, download started, or failed. Switching conversations keeps it visible. Different Sessions download concurrently, while their dialogs appear one at a time in initiation order; closing one reveals the next open dialog. Closing does not cancel the download or reopen its dialog on settlement. Repeated requests for the same in-flight Session share its operation and keep its original position; a new request after settlement takes a new position. The export includes the live session's newest events: the host endpoint flushes a live root session before reading, so a slash-triggered ZIP includes the `command/run` and `command/done` pair that started the download; cold persisted sessions need no flush. Each logical log uses the current generation's canonical filename inside the archive (`session.jsonl` for v0, otherwise `session.vN.jsonl`), including beneath each sub-session directory. Images use `media/<attachmentId>.<ext>`, and generic files use `files/<digest-prefix>/<digest>/<name>`. Generic-file bytes are read and compressed as bounded chunks, so exporting a large upload does not buffer it in full.
82
82
 
83
83
  Attachment collection reads declared content fields of built-in Session events and completed assistant stream blocks, including flat V4 tool-role messages. Unknown event payloads and unrelated fields remain unchanged in the exported log but do not cause attachment reads.
84
84
 
@@ -100,11 +100,11 @@ This section explains how the package wires the export control and points at the
100
100
 
101
101
  The package has two halves. The Host half ([`src/index.ts`](src/index.ts)) registers the `/export` command and contributes the exact `GET`/`HEAD /api/session.export` and `/api/session.markdown` Fetch routes to Connection; [`src/archive.ts`](src/archive.ts) builds the bounded ZIP stream, and [`src/markdown.ts`](src/markdown.ts) renders the Markdown transcript. The browser half ([`src/client/index.ts`](src/client/index.ts)) provides the shared download and Markdown copy controllers and UI, and observes `command/executed` so only the submitting browser starts a download.
102
102
 
103
- The Header’s More action uses the shared compact Button, with a 28px square target and the same radius and hover fill as the right-sidebar expand control.
103
+ The shared context-menu package declares the captured `sessionHeader` target, independent of Session-row and title context actions; the conversation package owns its Header trigger. This package contributes export and optional feedback rows that observe controller, availability, and locale sources. Its download dialog and copy toast mount in the root overlay independently of the Header lifetime.
104
104
 
105
105
  ### Download flow
106
106
 
107
- Both entry paths issue a `HEAD` preflight to the document-relative `api/session.export?...`, then hand the GET route to the browser download manager without buffering the ZIP in JavaScript. One controller owns one in-flight download per session, collapses concurrent gestures into that operation, and cancels the preflight on plugin disposal. Modal state lives in a snapshot store keyed by session, so the button and the command share one dialog per session.
107
+ Both entry paths issue a `HEAD` preflight to the document-relative `api/session.export?...`, then hand the GET route to the browser download manager without buffering the ZIP in JavaScript. One controller owns one in-flight download per session, collapses concurrent gestures into that operation, and cancels the preflight on plugin disposal. The root component selects the earliest open entry from the controller’s Session-keyed snapshot using each operation’s initiation order; no separate dialog queue is maintained. Disposal waits for all preflights to settle and prevents a late response from starting a browser save; a download already handed to the browser remains browser-owned.
108
108
 
109
109
  The Host route is a feature-owned exact Fetch contribution. Connection applies its Host/Origin and browser-session checks and bridges the streaming `Response`; this package owns query validation, live-session flushes, handle-based log reads and attachment reads, ZIP generation, and HTTP status semantics.
110
110