@songtonyli/dsh-cli 0.1.40 → 0.1.42

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 (1235) 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/README.i18n.yaml +21 -5
  10. package/node_modules/@deepseek-ai/dsh/README.md +3 -1
  11. package/node_modules/@deepseek-ai/dsh/README.zh.md +3 -1
  12. package/node_modules/@deepseek-ai/dsh/lib/bin.js +5 -11
  13. package/node_modules/@deepseek-ai/dsh/lib/{dump-config-C-0P1h0W.js → dump-config-BEDI-dNY.js} +2 -2
  14. package/node_modules/@deepseek-ai/dsh/lib/dump-config-crgOY3tW.js +2 -0
  15. package/node_modules/@deepseek-ai/dsh/lib/{dump-config-schema-BgEU7VYz.js → dump-config-schema-DhhNOaro.js} +3 -3
  16. package/node_modules/@deepseek-ai/dsh/lib/plugin-DkYIj96-.js +83 -0
  17. package/node_modules/@deepseek-ai/dsh/lib/{profile-boot-DIiro1p-.js → profile-boot-BZ2ZjNWi.js} +4 -3
  18. package/node_modules/@deepseek-ai/dsh/lib/profile-boot.js +1 -1
  19. package/node_modules/@deepseek-ai/dsh/package.json +116 -113
  20. package/node_modules/@deepseek-ai/dsh-acp/README.i18n.yaml +81 -5
  21. package/node_modules/@deepseek-ai/dsh-acp/package.json +25 -25
  22. package/node_modules/@deepseek-ai/dsh-acp-app/README.i18n.yaml +42 -5
  23. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
  24. package/node_modules/@deepseek-ai/dsh-agent/README.i18n.yaml +90 -5
  25. package/node_modules/@deepseek-ai/dsh-agent/package.json +22 -22
  26. package/node_modules/@deepseek-ai/dsh-agent-default-model/README.i18n.yaml +51 -5
  27. package/node_modules/@deepseek-ai/dsh-agent-default-model/README.md +1 -1
  28. package/node_modules/@deepseek-ai/dsh-agent-default-model/README.zh.md +1 -1
  29. package/node_modules/@deepseek-ai/dsh-agent-default-model/lib/index.js +10 -3
  30. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +10 -10
  31. package/node_modules/@deepseek-ai/dsh-agent-instructions/README.i18n.yaml +99 -5
  32. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +26 -25
  33. package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +99 -5
  34. package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +3 -3
  35. package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +3 -3
  36. package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +35 -9
  37. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +27 -26
  38. package/node_modules/@deepseek-ai/dsh-agent-preset/README.i18n.yaml +36 -5
  39. package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +12 -12
  40. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +9 -6
  41. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/SKILL.md +10 -3
  42. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/practices.md +38 -0
  43. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/ui-plugin.md +1 -1
  44. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.i18n.yaml +48 -5
  45. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.md +2 -2
  46. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.zh.md +2 -2
  47. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/index.js +52 -21
  48. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/invariant.js +52 -21
  49. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +114 -45
  50. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.remote-client.js +37 -3
  51. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/index.js +26 -11
  52. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/mount.js +5 -1
  53. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +39 -36
  54. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.i18n.yaml +54 -5
  55. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +11 -11
  56. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/README.i18n.yaml +63 -5
  57. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
  58. package/node_modules/@deepseek-ai/dsh-api-account-controller/README.i18n.yaml +36 -5
  59. package/node_modules/@deepseek-ai/dsh-api-account-controller/README.md +7 -1
  60. package/node_modules/@deepseek-ai/dsh-api-account-controller/README.zh.md +7 -1
  61. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/index.js +123 -10
  62. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.host.js +200 -11
  63. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.remote-client.js +200 -11
  64. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/types/index.js +79 -6
  65. package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +9 -7
  66. package/node_modules/@deepseek-ai/dsh-api-gateway/README.i18n.yaml +33 -5
  67. package/node_modules/@deepseek-ai/dsh-api-gateway/README.md +4 -0
  68. package/node_modules/@deepseek-ai/dsh-api-gateway/README.zh.md +4 -0
  69. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.js +6 -2
  70. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/index.js +50 -26
  71. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/stream-client.js +9 -2
  72. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/index.js +61 -29
  73. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +14 -13
  74. package/node_modules/@deepseek-ai/dsh-api-job-controller/README.i18n.yaml +33 -5
  75. package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +13 -13
  76. package/node_modules/@deepseek-ai/dsh-api-remotes/README.i18n.yaml +36 -5
  77. package/node_modules/@deepseek-ai/dsh-api-remotes/README.md +2 -2
  78. package/node_modules/@deepseek-ai/dsh-api-remotes/README.zh.md +2 -2
  79. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +1268 -217
  80. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +12 -0
  81. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +5 -2
  82. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +3 -0
  83. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +43 -40
  84. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +39 -5
  85. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +9 -5
  86. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +9 -5
  87. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +101 -32
  88. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +159 -79
  89. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +179 -99
  90. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +40 -15
  91. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/catalog.js +52 -3
  92. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/assistant-stream.js +16 -1
  93. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/projection-store.js +9 -0
  94. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +81 -40
  95. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/transport.js +5 -2
  96. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +11 -14
  97. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history.js +24 -9
  98. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +24 -4
  99. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +75 -68
  100. package/node_modules/@deepseek-ai/dsh-api-settings-controller/README.i18n.yaml +33 -5
  101. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +16 -16
  102. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.i18n.yaml +36 -5
  103. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +63 -39
  104. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +20 -20
  105. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.i18n.yaml +33 -5
  106. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.md +4 -2
  107. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.zh.md +4 -2
  108. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/client.js +4 -5
  109. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/index.js +25 -12
  110. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.host.js +13 -32
  111. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.remote-client.js +11 -26
  112. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/model.js +2 -3
  113. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/service.js +2 -2
  114. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/default-directory.js +3 -3
  115. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/default-workspace.js +29 -0
  116. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/index.js +7 -11
  117. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +25 -21
  118. package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.i18n.yaml +66 -5
  119. package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.md +1 -1
  120. package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.zh.md +1 -1
  121. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/index.js +7 -1
  122. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.host.js +1 -1
  123. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.remote-client.js +1 -1
  124. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/index.js +10 -1
  125. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +15 -15
  126. package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +72 -5
  127. package/node_modules/@deepseek-ai/dsh-app-boot/README.md +11 -3
  128. package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +11 -3
  129. package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +474 -66
  130. package/node_modules/@deepseek-ai/dsh-app-boot/lib/worker/profile-resolution-bootstrap.js +16 -6
  131. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +22 -19
  132. package/node_modules/@deepseek-ai/dsh-atomic-write/README.i18n.yaml +54 -5
  133. package/node_modules/@deepseek-ai/dsh-atomic-write/README.md +6 -5
  134. package/node_modules/@deepseek-ai/dsh-atomic-write/README.zh.md +6 -5
  135. package/node_modules/@deepseek-ai/dsh-atomic-write/lib/index.js +73 -8
  136. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
  137. package/node_modules/@deepseek-ai/dsh-attachment/README.i18n.yaml +66 -5
  138. package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
  139. package/node_modules/@deepseek-ai/dsh-attachment-local/README.i18n.yaml +60 -5
  140. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +9 -9
  141. package/node_modules/@deepseek-ai/dsh-authorization/README.i18n.yaml +63 -5
  142. package/node_modules/@deepseek-ai/dsh-authorization/package.json +9 -9
  143. package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +60 -5
  144. package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +5 -2
  145. package/node_modules/@deepseek-ai/dsh-base/package.json +96 -95
  146. package/node_modules/@deepseek-ai/dsh-bash-local/README.i18n.yaml +60 -5
  147. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -11
  148. package/node_modules/@deepseek-ai/dsh-bash-sandbox/README.i18n.yaml +96 -5
  149. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +14 -14
  150. package/node_modules/@deepseek-ai/dsh-brand/README.i18n.yaml +45 -5
  151. package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
  152. package/node_modules/@deepseek-ai/dsh-chunked-list/README.i18n.yaml +36 -5
  153. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +3 -3
  154. package/node_modules/@deepseek-ai/dsh-client-connection/README.i18n.yaml +36 -5
  155. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +13 -13
  156. package/node_modules/@deepseek-ai/dsh-client-file-upload/README.i18n.yaml +36 -5
  157. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +63 -39
  158. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +14 -14
  159. package/node_modules/@deepseek-ai/dsh-client-hmr/README.i18n.yaml +63 -5
  160. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +8 -8
  161. package/node_modules/@deepseek-ai/dsh-client-locale/README.i18n.yaml +63 -5
  162. package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +9 -1
  163. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +13 -13
  164. package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +69 -5
  165. package/node_modules/@deepseek-ai/dsh-client-modules/README.md +1 -1
  166. package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +1 -1
  167. package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +103 -17
  168. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +8 -8
  169. package/node_modules/@deepseek-ai/dsh-client-resources/README.i18n.yaml +48 -5
  170. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +7 -7
  171. package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.i18n.yaml +37 -0
  172. package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.md +94 -0
  173. package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.zh.md +94 -0
  174. package/node_modules/@deepseek-ai/dsh-client-shortcuts/lib/client.js +2006 -0
  175. package/node_modules/@deepseek-ai/dsh-client-shortcuts/lib/index.js +23 -0
  176. package/node_modules/@deepseek-ai/dsh-client-shortcuts/lib/protocol.js +524 -0
  177. package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +63 -0
  178. package/node_modules/@deepseek-ai/dsh-client-store/README.i18n.yaml +27 -5
  179. package/node_modules/@deepseek-ai/dsh-client-store/package.json +3 -3
  180. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.i18n.yaml +36 -5
  181. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.md +6 -6
  182. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.zh.md +6 -6
  183. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +192 -135
  184. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +18 -18
  185. package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.i18n.yaml +27 -5
  186. package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.md +3 -1
  187. package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.zh.md +3 -1
  188. package/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/client.js +77 -4
  189. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +16 -15
  190. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.i18n.yaml +45 -5
  191. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.md +1 -1
  192. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.zh.md +1 -1
  193. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +19 -93
  194. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +11 -11
  195. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/README.i18n.yaml +42 -5
  196. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +6 -6
  197. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +51 -5
  198. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +34 -9
  199. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +34 -9
  200. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +885 -287
  201. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/index.js +15 -8
  202. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +39 -39
  203. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +45 -5
  204. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +2 -0
  205. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +2 -0
  206. package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +2 -2
  207. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +17 -17
  208. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +36 -5
  209. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +12 -6
  210. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +12 -6
  211. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +415 -80
  212. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +35 -34
  213. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.i18n.yaml +54 -5
  214. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.md +2 -0
  215. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.zh.md +2 -0
  216. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +73 -3
  217. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +14 -14
  218. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +57 -5
  219. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +10 -7
  220. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +10 -7
  221. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +242 -211
  222. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/index.js +1 -1
  223. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +29 -29
  224. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/README.i18n.yaml +39 -5
  225. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +2 -2
  226. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +9 -9
  227. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/README.i18n.yaml +39 -5
  228. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +5 -5
  229. package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.i18n.yaml +42 -5
  230. package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +8 -2
  231. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +16 -16
  232. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.i18n.yaml +39 -5
  233. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.md +3 -1
  234. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.zh.md +3 -1
  235. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +3 -3
  236. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +14 -14
  237. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +42 -5
  238. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +1 -1
  239. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +1 -1
  240. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +1 -1
  241. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +12 -12
  242. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.i18n.yaml +42 -5
  243. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.md +4 -2
  244. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.zh.md +4 -2
  245. package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +63 -36
  246. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +14 -12
  247. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/README.i18n.yaml +39 -5
  248. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +2 -2
  249. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +18 -18
  250. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +45 -5
  251. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +14 -9
  252. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +14 -9
  253. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +97 -80
  254. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +17 -17
  255. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.i18n.yaml +39 -5
  256. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +4 -2
  257. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +4 -2
  258. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +172 -56
  259. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +22 -18
  260. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.i18n.yaml +42 -5
  261. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +4 -4
  262. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +17 -17
  263. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.i18n.yaml +45 -5
  264. package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +8 -3
  265. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +22 -22
  266. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +60 -5
  267. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +16 -6
  268. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +17 -7
  269. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +336 -98
  270. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/index.js +140 -4
  271. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/typert.host.js +53 -0
  272. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/typert.remote-client.js +28 -0
  273. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +36 -18
  274. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +60 -5
  275. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +32 -11
  276. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +32 -11
  277. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Button.module.css +6 -8
  278. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Checkbox.module.css +1 -1
  279. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CodeCard.module.css +83 -0
  280. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ConnectionIndicator.module.css +6 -2
  281. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DiffBlock.module.css +24 -53
  282. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/HoverCard.module.css +17 -8
  283. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImageLightbox.module.css +46 -0
  284. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImagePreview.module.css +24 -0
  285. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Input.module.css +2 -2
  286. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/JsonTree.module.css +3 -3
  287. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Menu.module.css +22 -18
  288. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuSurface.module.css +49 -0
  289. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Modal.module.css +27 -6
  290. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Pill.module.css +2 -1
  291. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ReadBlock.module.css +13 -81
  292. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RiskConfirmation.module.css +1 -1
  293. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SearchBlock.module.css +1 -1
  294. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedControl.module.css +9 -9
  295. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedTabs.module.css +3 -3
  296. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ShortcutKeys.module.css +33 -0
  297. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Switch.module.css +3 -8
  298. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TerminalBlock.module.css +3 -3
  299. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Toast.module.css +2 -2
  300. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tooltip.module.css +9 -1
  301. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/WebBlock.module.css +1 -1
  302. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +1735 -897
  303. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/CodeBlock.module.css +16 -1
  304. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/JsonBlock.module.css +2 -2
  305. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css +28 -23
  306. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/SettingsForm.module.css +2 -2
  307. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/fields.module.css +4 -4
  308. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Button.d.ts +6 -5
  309. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CodeToolbar.d.ts +30 -0
  310. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DiffBlock.d.ts +3 -3
  311. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCard.d.ts +5 -2
  312. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ImageLightbox.d.ts +27 -0
  313. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ImagePreview.d.ts +12 -0
  314. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Menu.d.ts +12 -4
  315. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuSurface.d.ts +16 -0
  316. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Modal.d.ts +12 -4
  317. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReadBlock.d.ts +2 -1
  318. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ShortcutKeys.d.ts +11 -0
  319. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tooltip.d.ts +17 -5
  320. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-highlighting.d.ts +1 -8
  321. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/focus.d.ts +9 -0
  322. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/guide-artwork.d.ts +15 -0
  323. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/index.d.ts +8 -4
  324. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/shared-artwork.d.ts +8 -1
  325. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +10 -1
  326. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/input-modality.d.ts +19 -0
  327. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/keyboard-composition.d.ts +11 -0
  328. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/CodeBlock.d.ts +6 -1
  329. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/MarkdownDelegate.d.ts +11 -1
  330. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/highlight.d.ts +16 -10
  331. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/local-image-syntax.d.ts +10 -0
  332. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/render.d.ts +3 -0
  333. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/plugin-artwork.d.ts +1 -1
  334. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/fields.d.ts +1 -0
  335. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useModalLayer.d.ts +27 -0
  336. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/user-text.d.ts +2 -2
  337. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/user-text.module.css +4 -1
  338. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +6 -5
  339. package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.i18n.yaml +48 -5
  340. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +15 -15
  341. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.i18n.yaml +51 -5
  342. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +5 -5
  343. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +39 -5
  344. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +36 -39
  345. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +42 -45
  346. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +6735 -171
  347. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/index.js +1 -1
  348. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +32 -13
  349. package/node_modules/@deepseek-ai/dsh-client-ui-session/README.i18n.yaml +27 -5
  350. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +10 -10
  351. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.i18n.yaml +57 -5
  352. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.md +3 -3
  353. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.zh.md +3 -3
  354. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +9 -9
  355. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +39 -5
  356. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +46 -8
  357. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +46 -8
  358. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2300 -255
  359. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/index.js +66 -6
  360. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +22 -14
  361. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/README.i18n.yaml +36 -5
  362. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +11 -11
  363. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +57 -5
  364. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +10 -8
  365. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +10 -8
  366. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +202 -109
  367. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +20 -16
  368. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +60 -5
  369. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +10 -2
  370. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +11 -3
  371. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +48 -15
  372. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +13 -13
  373. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.i18n.yaml +51 -5
  374. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +1 -1
  375. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +14 -14
  376. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.i18n.yaml +36 -5
  377. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +1 -1
  378. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +8 -8
  379. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/README.i18n.yaml +36 -5
  380. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +11 -11
  381. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/README.i18n.yaml +57 -5
  382. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +10 -10
  383. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/README.i18n.yaml +36 -5
  384. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/README.zh.md +3 -3
  385. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/lib/client.js +12 -12
  386. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +11 -11
  387. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.i18n.yaml +36 -5
  388. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +11 -11
  389. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.i18n.yaml +37 -0
  390. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.md +89 -0
  391. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.zh.md +89 -0
  392. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/lib/client.js +1163 -0
  393. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/lib/index.js +6 -0
  394. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +63 -0
  395. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +54 -5
  396. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +4 -2
  397. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +4 -2
  398. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +59 -21
  399. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +16 -14
  400. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.i18n.yaml +51 -5
  401. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.md +5 -1
  402. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.zh.md +5 -1
  403. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/client.js +77 -12
  404. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +13 -12
  405. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +45 -5
  406. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +14 -8
  407. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +14 -8
  408. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.excel.js +41 -15
  409. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +102 -75
  410. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +57 -28
  411. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +21 -21
  412. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.i18n.yaml +33 -5
  413. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.md +5 -1
  414. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.zh.md +5 -1
  415. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/client.js +76 -19
  416. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +19 -17
  417. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.i18n.yaml +54 -5
  418. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.md +12 -6
  419. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +12 -6
  420. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +667 -85
  421. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +20 -17
  422. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.i18n.yaml +36 -5
  423. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.md +4 -2
  424. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.zh.md +4 -2
  425. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.js +151 -106
  426. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.terminal.js +1 -1
  427. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +19 -17
  428. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.i18n.yaml +57 -5
  429. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.md +2 -0
  430. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.zh.md +2 -0
  431. package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +29 -2
  432. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +15 -15
  433. package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.i18n.yaml +54 -5
  434. package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +4 -4
  435. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +63 -5
  436. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +3 -1
  437. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +3 -1
  438. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +67 -48
  439. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +19 -19
  440. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +54 -5
  441. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +20 -2
  442. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +20 -2
  443. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +13 -5
  444. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +14 -14
  445. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +48 -5
  446. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +13 -5
  447. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +13 -5
  448. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +315 -90
  449. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +25 -24
  450. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.i18n.yaml +48 -5
  451. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.md +3 -1
  452. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +3 -1
  453. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +68 -10
  454. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +18 -18
  455. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.i18n.yaml +51 -5
  456. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +8 -3
  457. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +20 -20
  458. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.i18n.yaml +48 -5
  459. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +1 -1
  460. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +16 -16
  461. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +72 -5
  462. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +12 -10
  463. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +12 -10
  464. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +608 -329
  465. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +27 -25
  466. package/node_modules/@deepseek-ai/dsh-cmdline/README.i18n.yaml +60 -5
  467. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
  468. package/node_modules/@deepseek-ai/dsh-command-compact/README.i18n.yaml +66 -5
  469. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +12 -12
  470. package/node_modules/@deepseek-ai/dsh-command-feedback/README.i18n.yaml +63 -5
  471. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +15 -15
  472. package/node_modules/@deepseek-ai/dsh-command-goal/README.i18n.yaml +63 -5
  473. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +14 -14
  474. package/node_modules/@deepseek-ai/dsh-commands/README.i18n.yaml +75 -5
  475. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +63 -39
  476. package/node_modules/@deepseek-ai/dsh-commands/package.json +20 -20
  477. package/node_modules/@deepseek-ai/dsh-compaction/README.i18n.yaml +84 -5
  478. package/node_modules/@deepseek-ai/dsh-compaction/package.json +13 -13
  479. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.i18n.yaml +105 -5
  480. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.md +2 -2
  481. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.zh.md +2 -2
  482. package/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +1 -0
  483. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +27 -27
  484. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/README.i18n.yaml +54 -5
  485. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +18 -18
  486. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/README.i18n.yaml +66 -5
  487. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +18 -18
  488. package/node_modules/@deepseek-ai/dsh-config-editor/README.i18n.yaml +36 -5
  489. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +12 -12
  490. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.i18n.yaml +78 -5
  491. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.md +4 -0
  492. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.zh.md +4 -0
  493. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +193 -43
  494. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +9 -9
  495. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.i18n.yaml +66 -5
  496. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +126 -78
  497. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +20 -20
  498. package/node_modules/@deepseek-ai/dsh-credentials/README.i18n.yaml +72 -5
  499. package/node_modules/@deepseek-ai/dsh-credentials/package.json +6 -6
  500. package/node_modules/@deepseek-ai/dsh-credentials-local/README.i18n.yaml +75 -5
  501. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +12 -12
  502. package/node_modules/@deepseek-ai/dsh-deepseek-account/README.i18n.yaml +36 -5
  503. package/node_modules/@deepseek-ai/dsh-deepseek-account/README.md +13 -3
  504. package/node_modules/@deepseek-ai/dsh-deepseek-account/README.zh.md +13 -3
  505. package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/index.js +54 -1
  506. package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/types/account-tasks.js +30 -0
  507. package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/types/index.js +26 -0
  508. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +14 -5
  509. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.i18n.yaml +36 -5
  510. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.md +16 -8
  511. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.zh.md +16 -8
  512. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/index.js +262 -40
  513. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/details.js +44 -3
  514. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/index.js +190 -32
  515. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/protocol.js +45 -2
  516. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +12 -12
  517. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.i18n.yaml +30 -5
  518. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +3 -3
  519. package/node_modules/@deepseek-ai/dsh-deque/README.i18n.yaml +45 -5
  520. package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
  521. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +99 -5
  522. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +7 -3
  523. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +7 -3
  524. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/index.js +359 -323
  525. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/invariant.js +170 -25
  526. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/client.js +1 -1
  527. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/index.js +180 -237
  528. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/invariant.js +2 -2
  529. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/projection.js +95 -28
  530. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-board.js +7 -47
  531. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-view.js +57 -0
  532. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +25 -39
  533. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.i18n.yaml +51 -5
  534. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +7 -7
  535. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/README.i18n.yaml +36 -5
  536. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/README.md +2 -0
  537. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/README.zh.md +2 -0
  538. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/index.js +3 -2
  539. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.host.js +27 -6
  540. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.remote-client.js +20 -3
  541. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/types/index.js +2 -1
  542. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +8 -8
  543. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.i18n.yaml +64 -0
  544. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.md +129 -0
  545. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.zh.md +129 -0
  546. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/cordis.patch.yml +3 -0
  547. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/icon.svg +10 -0
  548. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/lib/index.js +511 -0
  549. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/en.json +6 -0
  550. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/zh.json +6 -0
  551. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +82 -0
  552. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.i18n.yaml +42 -5
  553. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.md +14 -10
  554. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.zh.md +14 -10
  555. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +317 -4345
  556. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +24 -28
  557. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.i18n.yaml +36 -5
  558. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.md +4 -2
  559. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.zh.md +4 -2
  560. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/client.js +184 -44
  561. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +33 -33
  562. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.i18n.yaml +36 -5
  563. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.md +3 -1
  564. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.zh.md +3 -1
  565. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/index.js +5 -4
  566. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/types/index.js +5 -4
  567. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +11 -9
  568. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.i18n.yaml +36 -5
  569. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.md +5 -1
  570. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.zh.md +5 -1
  571. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/index.js +164 -26
  572. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/worker.js +3 -1
  573. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +10 -10
  574. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +69 -5
  575. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +1 -1
  576. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +1 -1
  577. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +9 -1
  578. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +25 -25
  579. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/README.i18n.yaml +36 -5
  580. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +8 -8
  581. package/node_modules/@deepseek-ai/dsh-file-reference/README.i18n.yaml +54 -5
  582. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
  583. package/node_modules/@deepseek-ai/dsh-file-reference-local/README.i18n.yaml +66 -5
  584. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +12 -12
  585. package/node_modules/@deepseek-ai/dsh-fs/README.i18n.yaml +57 -5
  586. package/node_modules/@deepseek-ai/dsh-fs/package.json +11 -11
  587. package/node_modules/@deepseek-ai/dsh-fs-local/README.i18n.yaml +60 -5
  588. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +7 -7
  589. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.i18n.yaml +69 -5
  590. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
  591. package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.i18n.yaml +66 -5
  592. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +12 -12
  593. package/node_modules/@deepseek-ai/dsh-goal/README.i18n.yaml +72 -5
  594. package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +63 -39
  595. package/node_modules/@deepseek-ai/dsh-goal/package.json +25 -25
  596. package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.i18n.yaml +78 -5
  597. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +17 -17
  598. package/node_modules/@deepseek-ai/dsh-headless/README.i18n.yaml +66 -5
  599. package/node_modules/@deepseek-ai/dsh-headless/package.json +22 -22
  600. package/node_modules/@deepseek-ai/dsh-hmr/README.i18n.yaml +45 -5
  601. package/node_modules/@deepseek-ai/dsh-hmr/package.json +15 -15
  602. package/node_modules/@deepseek-ai/dsh-home-paths/README.i18n.yaml +51 -5
  603. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
  604. package/node_modules/@deepseek-ai/dsh-hook-protocol/README.i18n.yaml +60 -5
  605. package/node_modules/@deepseek-ai/dsh-hook-protocol/package.json +9 -9
  606. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/README.i18n.yaml +87 -5
  607. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/package.json +23 -23
  608. package/node_modules/@deepseek-ai/dsh-hooks-codex/README.i18n.yaml +87 -5
  609. package/node_modules/@deepseek-ai/dsh-hooks-codex/package.json +21 -21
  610. package/node_modules/@deepseek-ai/dsh-host-directory-picker/README.i18n.yaml +57 -5
  611. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
  612. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.i18n.yaml +57 -5
  613. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +18 -18
  614. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/README.i18n.yaml +60 -5
  615. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +5 -5
  616. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/README.i18n.yaml +54 -5
  617. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +5 -5
  618. package/node_modules/@deepseek-ai/dsh-host-frontend-static/README.i18n.yaml +54 -5
  619. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
  620. package/node_modules/@deepseek-ai/dsh-host-open-in-app/README.i18n.yaml +51 -5
  621. package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/index.js +2 -2
  622. package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/resolver.js +2 -2
  623. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +9 -9
  624. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.i18n.yaml +54 -5
  625. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +13 -13
  626. package/node_modules/@deepseek-ai/dsh-host-webserver/README.i18n.yaml +57 -5
  627. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +4 -4
  628. package/node_modules/@deepseek-ai/dsh-http-proxy/README.i18n.yaml +54 -5
  629. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +4 -4
  630. package/node_modules/@deepseek-ai/dsh-invariants/README.i18n.yaml +60 -5
  631. package/node_modules/@deepseek-ai/dsh-invariants/package.json +4 -4
  632. package/node_modules/@deepseek-ai/dsh-jobs/README.i18n.yaml +60 -5
  633. package/node_modules/@deepseek-ai/dsh-jobs/package.json +13 -13
  634. package/node_modules/@deepseek-ai/dsh-jobs-local/README.i18n.yaml +66 -5
  635. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +16 -16
  636. package/node_modules/@deepseek-ai/dsh-launch-environment/README.i18n.yaml +48 -5
  637. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
  638. package/node_modules/@deepseek-ai/dsh-lazy-require/README.i18n.yaml +39 -5
  639. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
  640. package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +63 -5
  641. package/node_modules/@deepseek-ai/dsh-llm/README.md +5 -3
  642. package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +5 -3
  643. package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +107 -12
  644. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +16 -20
  645. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.remote-client.js +3 -3
  646. package/node_modules/@deepseek-ai/dsh-llm/lib/types/content.js +107 -0
  647. package/node_modules/@deepseek-ai/dsh-llm/lib/types/error.js +2 -0
  648. package/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +26 -9
  649. package/node_modules/@deepseek-ai/dsh-llm/package.json +11 -11
  650. package/node_modules/@deepseek-ai/dsh-llm-cursor/README.i18n.yaml +66 -5
  651. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +26 -26
  652. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +90 -5
  653. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +18 -13
  654. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +18 -13
  655. package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +642 -595
  656. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +44 -47
  657. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.i18n.yaml +46 -0
  658. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.md +79 -0
  659. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.zh.md +79 -0
  660. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/index.js +62 -0
  661. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +54 -0
  662. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.i18n.yaml +46 -0
  663. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.md +78 -0
  664. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.zh.md +78 -0
  665. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/index.js +69 -0
  666. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +53 -0
  667. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +93 -5
  668. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +26 -25
  669. package/node_modules/@deepseek-ai/dsh-llm-retry/README.i18n.yaml +69 -5
  670. package/node_modules/@deepseek-ai/dsh-llm-retry/README.md +1 -1
  671. package/node_modules/@deepseek-ai/dsh-llm-retry/README.zh.md +1 -1
  672. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +26 -25
  673. package/node_modules/@deepseek-ai/dsh-mcp-client/README.i18n.yaml +96 -5
  674. package/node_modules/@deepseek-ai/dsh-mcp-client/README.md +1 -1
  675. package/node_modules/@deepseek-ai/dsh-mcp-client/README.zh.md +1 -1
  676. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/index.js +1 -1
  677. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +23 -23
  678. package/node_modules/@deepseek-ai/dsh-mcp-resources/README.i18n.yaml +63 -5
  679. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +14 -14
  680. package/node_modules/@deepseek-ai/dsh-message-feedback/README.i18n.yaml +54 -5
  681. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +19 -19
  682. package/node_modules/@deepseek-ai/dsh-native-command/README.i18n.yaml +51 -5
  683. package/node_modules/@deepseek-ai/dsh-native-command/README.md +5 -3
  684. package/node_modules/@deepseek-ai/dsh-native-command/README.zh.md +5 -3
  685. package/node_modules/@deepseek-ai/dsh-native-command/lib/index.js +108 -33
  686. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/file-applications-windows.js +55 -10
  687. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/path-opener.js +59 -22
  688. package/node_modules/@deepseek-ai/dsh-native-command/package.json +4 -4
  689. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/README.i18n.yaml +69 -5
  690. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/lib/index.js +111 -9
  691. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +16 -16
  692. package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.i18n.yaml +36 -5
  693. package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.md +1 -1
  694. package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.zh.md +1 -1
  695. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +12 -12
  696. package/node_modules/@deepseek-ai/dsh-output-retention/README.i18n.yaml +66 -5
  697. package/node_modules/@deepseek-ai/dsh-output-retention/README.md +7 -3
  698. package/node_modules/@deepseek-ai/dsh-output-retention/README.zh.md +7 -3
  699. package/node_modules/@deepseek-ai/dsh-output-retention/lib/index.js +17 -1
  700. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
  701. package/node_modules/@deepseek-ai/dsh-package-manifest/README.i18n.yaml +36 -5
  702. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
  703. package/node_modules/@deepseek-ai/dsh-permission-presets/README.i18n.yaml +63 -5
  704. package/node_modules/@deepseek-ai/dsh-permission-presets/README.md +4 -4
  705. package/node_modules/@deepseek-ai/dsh-permission-presets/README.zh.md +4 -4
  706. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/index.js +9 -3
  707. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +65 -41
  708. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.remote-client.js +1 -1
  709. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/types/index.js +10 -3
  710. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +23 -23
  711. package/node_modules/@deepseek-ai/dsh-persona/README.i18n.yaml +63 -5
  712. package/node_modules/@deepseek-ai/dsh-persona/package.json +7 -7
  713. package/node_modules/@deepseek-ai/dsh-plan-mode/README.i18n.yaml +108 -5
  714. package/node_modules/@deepseek-ai/dsh-plan-mode/lib/index.js +1 -1
  715. package/node_modules/@deepseek-ai/dsh-plan-mode/lib/types/index.js +0 -1
  716. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +24 -24
  717. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +54 -5
  718. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +19 -2
  719. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +19 -2
  720. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +760 -155
  721. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +237 -26
  722. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +215 -22
  723. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/failure.js +19 -2
  724. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/github-connection.js +61 -0
  725. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +113 -23
  726. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/install-failure.js +1 -0
  727. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +403 -22
  728. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/registry.js +2 -0
  729. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/run-tree.js +57 -0
  730. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +13 -3
  731. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +33 -33
  732. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.i18n.yaml +42 -5
  733. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +19 -19
  734. package/node_modules/@deepseek-ai/dsh-ptc-runtime/README.i18n.yaml +69 -5
  735. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
  736. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +57 -5
  737. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +23 -23
  738. package/node_modules/@deepseek-ai/dsh-pwsh-local/README.i18n.yaml +63 -5
  739. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -11
  740. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/README.i18n.yaml +72 -5
  741. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +14 -14
  742. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/README.i18n.yaml +99 -5
  743. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +111 -9
  744. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +12 -12
  745. package/node_modules/@deepseek-ai/dsh-sandbox/README.i18n.yaml +90 -5
  746. package/node_modules/@deepseek-ai/dsh-sandbox/README.md +1 -1
  747. package/node_modules/@deepseek-ai/dsh-sandbox/README.zh.md +1 -1
  748. package/node_modules/@deepseek-ai/dsh-sandbox/lib/index.js +16 -2
  749. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
  750. package/node_modules/@deepseek-ai/dsh-sandbox-local/README.i18n.yaml +64 -6
  751. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +12 -12
  752. package/node_modules/@deepseek-ai/dsh-sandbox-policy/README.i18n.yaml +78 -5
  753. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +16 -16
  754. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.i18n.yaml +67 -6
  755. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
  756. package/node_modules/@deepseek-ai/dsh-schedule/README.i18n.yaml +75 -5
  757. package/node_modules/@deepseek-ai/dsh-schedule/README.md +65 -129
  758. package/node_modules/@deepseek-ai/dsh-schedule/README.zh.md +72 -137
  759. package/node_modules/@deepseek-ai/dsh-schedule/lib/index.js +2147 -797
  760. package/node_modules/@deepseek-ai/dsh-schedule/lib/invariant.js +79 -17
  761. package/node_modules/@deepseek-ai/dsh-schedule/lib/typert.host.js +727 -0
  762. package/node_modules/@deepseek-ai/dsh-schedule/lib/typert.remote-client.js +477 -0
  763. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/delivery-history.js +66 -0
  764. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/domain.js +1000 -113
  765. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/index.js +428 -101
  766. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/invariant.js +8 -1
  767. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/runtime.js +129 -268
  768. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/storage.js +54 -0
  769. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/tools.js +305 -204
  770. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/update.js +164 -0
  771. package/node_modules/@deepseek-ai/dsh-schedule/package.json +50 -28
  772. package/node_modules/@deepseek-ai/dsh-scope/README.i18n.yaml +51 -5
  773. package/node_modules/@deepseek-ai/dsh-scope/package.json +5 -5
  774. package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +39 -5
  775. package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +1 -0
  776. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +9 -9
  777. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.i18n.yaml +72 -5
  778. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +1 -1
  779. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +25 -25
  780. package/node_modules/@deepseek-ai/dsh-sdk-minimal/README.i18n.yaml +48 -5
  781. package/node_modules/@deepseek-ai/dsh-sdk-minimal/cordis.patch.yml +1 -1
  782. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +31 -31
  783. package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.i18n.yaml +54 -5
  784. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +9 -9
  785. package/node_modules/@deepseek-ai/dsh-session/README.i18n.yaml +102 -5
  786. package/node_modules/@deepseek-ai/dsh-session/README.md +1 -1
  787. package/node_modules/@deepseek-ai/dsh-session/README.zh.md +1 -1
  788. package/node_modules/@deepseek-ai/dsh-session/lib/index.js +89 -0
  789. package/node_modules/@deepseek-ai/dsh-session/lib/types/index.js +16 -0
  790. package/node_modules/@deepseek-ai/dsh-session/lib/types/tool-history.js +76 -0
  791. package/node_modules/@deepseek-ai/dsh-session/package.json +11 -11
  792. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/README.i18n.yaml +63 -5
  793. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +18 -18
  794. package/node_modules/@deepseek-ai/dsh-session-format/README.i18n.yaml +51 -5
  795. package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
  796. package/node_modules/@deepseek-ai/dsh-session-format-catalog/README.i18n.yaml +51 -5
  797. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -11
  798. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/README.i18n.yaml +51 -5
  799. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +6 -6
  800. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/README.i18n.yaml +51 -5
  801. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +8 -8
  802. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/README.i18n.yaml +78 -5
  803. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
  804. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.i18n.yaml +90 -5
  805. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.md +1 -1
  806. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.zh.md +1 -1
  807. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +5 -5
  808. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.i18n.yaml +45 -5
  809. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.md +8 -4
  810. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.zh.md +8 -4
  811. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/index.js +53 -9
  812. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/types/index.js +51 -9
  813. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +20 -19
  814. package/node_modules/@deepseek-ai/dsh-session-log-export/README.i18n.yaml +72 -5
  815. package/node_modules/@deepseek-ai/dsh-session-log-export/README.md +2 -0
  816. package/node_modules/@deepseek-ai/dsh-session-log-export/README.zh.md +2 -0
  817. package/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +3 -3
  818. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/CHANGELOG.md +10 -0
  819. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/LICENSE +1 -1
  820. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/README.md +10 -10
  821. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/esm/browser.js +82 -55
  822. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/esm/index.mjs +87 -56
  823. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/lib/browser.cjs +106 -77
  824. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/lib/index.cjs +106 -77
  825. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/lib/node-worker.cjs +5 -1
  826. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/lib/node.cjs +111 -78
  827. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/package.json +12 -11
  828. package/node_modules/@deepseek-ai/dsh-session-log-export/node_modules/fflate/umd/index.js +1 -0
  829. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +25 -25
  830. package/node_modules/@deepseek-ai/dsh-session-persistence/README.i18n.yaml +78 -5
  831. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
  832. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.i18n.yaml +69 -5
  833. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +189 -9
  834. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +13 -13
  835. package/node_modules/@deepseek-ai/dsh-session-projection/README.i18n.yaml +57 -5
  836. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +5 -5
  837. package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.i18n.yaml +60 -5
  838. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +13 -13
  839. package/node_modules/@deepseek-ai/dsh-session-query/README.i18n.yaml +66 -5
  840. package/node_modules/@deepseek-ai/dsh-session-query/README.md +1 -1
  841. package/node_modules/@deepseek-ai/dsh-session-query/README.zh.md +1 -1
  842. package/node_modules/@deepseek-ai/dsh-session-query/lib/index.js +7 -1
  843. package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
  844. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/README.i18n.yaml +66 -5
  845. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +13 -13
  846. package/node_modules/@deepseek-ai/dsh-session-reference/README.i18n.yaml +66 -5
  847. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +63 -39
  848. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +39 -39
  849. package/node_modules/@deepseek-ai/dsh-session-stats/README.i18n.yaml +57 -5
  850. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +11 -11
  851. package/node_modules/@deepseek-ai/dsh-session-telemetry/README.i18n.yaml +63 -5
  852. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
  853. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/README.i18n.yaml +60 -5
  854. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +23 -23
  855. package/node_modules/@deepseek-ai/dsh-session-title/README.i18n.yaml +72 -5
  856. package/node_modules/@deepseek-ai/dsh-session-title/package.json +19 -19
  857. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/README.i18n.yaml +63 -5
  858. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +18 -17
  859. package/node_modules/@deepseek-ai/dsh-session-title-llm/README.i18n.yaml +63 -5
  860. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
  861. package/node_modules/@deepseek-ai/dsh-session-turn-outline/README.i18n.yaml +54 -5
  862. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +11 -11
  863. package/node_modules/@deepseek-ai/dsh-settings/README.i18n.yaml +36 -5
  864. package/node_modules/@deepseek-ai/dsh-settings/package.json +19 -19
  865. package/node_modules/@deepseek-ai/dsh-shell/README.i18n.yaml +66 -5
  866. package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -7
  867. package/node_modules/@deepseek-ai/dsh-shell-env/README.i18n.yaml +57 -5
  868. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +14 -14
  869. package/node_modules/@deepseek-ai/dsh-skill/README.i18n.yaml +63 -5
  870. package/node_modules/@deepseek-ai/dsh-skill/package.json +9 -9
  871. package/node_modules/@deepseek-ai/dsh-skill-badge/README.i18n.yaml +54 -5
  872. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +5 -5
  873. package/node_modules/@deepseek-ai/dsh-skill-filesystem/README.i18n.yaml +66 -5
  874. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +10 -10
  875. package/node_modules/@deepseek-ai/dsh-skill-office/README.i18n.yaml +42 -5
  876. package/node_modules/@deepseek-ai/dsh-skill-office/README.md +8 -2
  877. package/node_modules/@deepseek-ai/dsh-skill-office/README.zh.md +8 -2
  878. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-docx/SKILL.md +14 -3
  879. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-pptx/SKILL.md +14 -3
  880. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-xlsx/SKILL.md +22 -4
  881. package/node_modules/@deepseek-ai/dsh-skill-office/lib/index.js +21 -3
  882. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +9 -8
  883. package/node_modules/@deepseek-ai/dsh-spill/README.i18n.yaml +69 -5
  884. package/node_modules/@deepseek-ai/dsh-spill/README.md +2 -2
  885. package/node_modules/@deepseek-ai/dsh-spill/README.zh.md +2 -2
  886. package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
  887. package/node_modules/@deepseek-ai/dsh-spill-local/README.i18n.yaml +63 -5
  888. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +11 -11
  889. package/node_modules/@deepseek-ai/dsh-spill-policy/README.i18n.yaml +81 -5
  890. package/node_modules/@deepseek-ai/dsh-spill-policy/README.md +22 -22
  891. package/node_modules/@deepseek-ai/dsh-spill-policy/README.zh.md +22 -22
  892. package/node_modules/@deepseek-ai/dsh-spill-policy/lib/index.js +216 -142
  893. package/node_modules/@deepseek-ai/dsh-spill-policy/lib/types/index.js +110 -167
  894. package/node_modules/@deepseek-ai/dsh-spill-policy/lib/types/notice.js +10 -2
  895. package/node_modules/@deepseek-ai/dsh-spill-policy/lib/types/retention.js +88 -0
  896. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +35 -22
  897. package/node_modules/@deepseek-ai/dsh-storage/README.i18n.yaml +66 -5
  898. package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
  899. package/node_modules/@deepseek-ai/dsh-storage-domain/README.i18n.yaml +72 -5
  900. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +8 -8
  901. package/node_modules/@deepseek-ai/dsh-storage-json/README.i18n.yaml +63 -5
  902. package/node_modules/@deepseek-ai/dsh-storage-json/lib/index.js +1 -1
  903. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
  904. package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +93 -5
  905. package/node_modules/@deepseek-ai/dsh-subagent/README.md +3 -2
  906. package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +4 -3
  907. package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +71 -238
  908. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +65 -41
  909. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/control-types.js +1 -1
  910. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +12 -12
  911. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/list-children.js +50 -261
  912. package/node_modules/@deepseek-ai/dsh-subagent/package.json +51 -56
  913. package/node_modules/@deepseek-ai/dsh-subagent-acp/README.i18n.yaml +84 -5
  914. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
  915. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.i18n.yaml +81 -5
  916. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +18 -18
  917. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/README.i18n.yaml +105 -5
  918. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +26 -26
  919. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.i18n.yaml +78 -5
  920. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +21 -20
  921. package/node_modules/@deepseek-ai/dsh-subprocess/README.i18n.yaml +72 -5
  922. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
  923. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.i18n.yaml +69 -5
  924. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.md +3 -2
  925. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.zh.md +3 -2
  926. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/index.js +10 -4
  927. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/output.js +82 -24
  928. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-B2zsQ1Dz.js +1529 -0
  929. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner.js +1 -1
  930. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +9 -9
  931. package/node_modules/@deepseek-ai/dsh-system-prompt/README.i18n.yaml +87 -5
  932. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +10 -10
  933. package/node_modules/@deepseek-ai/dsh-terminal/README.i18n.yaml +78 -5
  934. package/node_modules/@deepseek-ai/dsh-terminal/package.json +8 -8
  935. package/node_modules/@deepseek-ai/dsh-terminal-bash/README.i18n.yaml +90 -5
  936. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +20 -20
  937. package/node_modules/@deepseek-ai/dsh-time-context/README.i18n.yaml +69 -5
  938. package/node_modules/@deepseek-ai/dsh-time-context/README.md +6 -6
  939. package/node_modules/@deepseek-ai/dsh-time-context/README.zh.md +6 -6
  940. package/node_modules/@deepseek-ai/dsh-time-context/lib/index.js +3 -3
  941. package/node_modules/@deepseek-ai/dsh-time-context/package.json +24 -24
  942. package/node_modules/@deepseek-ai/dsh-timeout/README.i18n.yaml +63 -5
  943. package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
  944. package/node_modules/@deepseek-ai/dsh-tmux-context/README.i18n.yaml +66 -5
  945. package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +111 -9
  946. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +14 -14
  947. package/node_modules/@deepseek-ai/dsh-token-meter/README.i18n.yaml +63 -5
  948. package/node_modules/@deepseek-ai/dsh-token-meter/README.md +2 -0
  949. package/node_modules/@deepseek-ai/dsh-token-meter/README.zh.md +2 -0
  950. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +22 -18
  951. package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.i18n.yaml +75 -5
  952. package/node_modules/@deepseek-ai/dsh-tool-ask-user/lib/index.js +1 -1
  953. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +11 -11
  954. package/node_modules/@deepseek-ai/dsh-tool-bash/README.i18n.yaml +126 -5
  955. package/node_modules/@deepseek-ai/dsh-tool-bash/README.md +2 -2
  956. package/node_modules/@deepseek-ai/dsh-tool-bash/README.zh.md +2 -2
  957. package/node_modules/@deepseek-ai/dsh-tool-bash/lib/index.js +6 -9
  958. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +32 -32
  959. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.i18n.yaml +78 -5
  960. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/lib/index.js +2 -1
  961. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +24 -22
  962. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/README.i18n.yaml +66 -5
  963. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +9 -9
  964. package/node_modules/@deepseek-ai/dsh-tool-cordis/README.i18n.yaml +45 -5
  965. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +373 -79
  966. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +16 -16
  967. package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +141 -5
  968. package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +4 -4
  969. package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +4 -4
  970. package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +9 -73
  971. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +32 -30
  972. package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.i18n.yaml +114 -5
  973. package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.md +3 -9
  974. package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.zh.md +3 -9
  975. package/node_modules/@deepseek-ai/dsh-tool-fs-search/lib/index.js +4 -5
  976. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +23 -23
  977. package/node_modules/@deepseek-ai/dsh-tool-goal/README.i18n.yaml +78 -5
  978. package/node_modules/@deepseek-ai/dsh-tool-goal/README.md +2 -2
  979. package/node_modules/@deepseek-ai/dsh-tool-goal/README.zh.md +2 -2
  980. package/node_modules/@deepseek-ai/dsh-tool-goal/lib/index.js +6 -6
  981. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +20 -20
  982. package/node_modules/@deepseek-ai/dsh-tool-jobs/README.i18n.yaml +96 -5
  983. package/node_modules/@deepseek-ai/dsh-tool-jobs/README.md +6 -6
  984. package/node_modules/@deepseek-ai/dsh-tool-jobs/README.zh.md +6 -6
  985. package/node_modules/@deepseek-ai/dsh-tool-jobs/lib/index.js +21 -15
  986. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +18 -18
  987. package/node_modules/@deepseek-ai/dsh-tool-present/README.i18n.yaml +45 -5
  988. package/node_modules/@deepseek-ai/dsh-tool-present/README.md +1 -1
  989. package/node_modules/@deepseek-ai/dsh-tool-present/README.zh.md +1 -1
  990. package/node_modules/@deepseek-ai/dsh-tool-present/lib/index.js +2 -1
  991. package/node_modules/@deepseek-ai/dsh-tool-present/lib/types/index.js +5 -5
  992. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +20 -20
  993. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.i18n.yaml +123 -5
  994. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.md +3 -3
  995. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.zh.md +3 -3
  996. package/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/index.js +8 -8
  997. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +31 -31
  998. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.i18n.yaml +78 -5
  999. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.md +6 -6
  1000. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.zh.md +6 -6
  1001. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/lib/index.js +7 -25
  1002. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +25 -23
  1003. package/node_modules/@deepseek-ai/dsh-tool-ralph/README.i18n.yaml +99 -5
  1004. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +23 -23
  1005. package/node_modules/@deepseek-ai/dsh-tool-skill/README.i18n.yaml +141 -5
  1006. package/node_modules/@deepseek-ai/dsh-tool-skill/lib/index.js +1 -1
  1007. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +15 -15
  1008. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/README.i18n.yaml +78 -5
  1009. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/lib/index.js +2 -1
  1010. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +22 -20
  1011. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +120 -5
  1012. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +1 -1
  1013. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +1 -1
  1014. package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +4 -4
  1015. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +30 -30
  1016. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +105 -5
  1017. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +4 -4
  1018. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +4 -4
  1019. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +3 -3
  1020. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/index.js +6 -11
  1021. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/list-agents.js +6 -14
  1022. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +21 -21
  1023. package/node_modules/@deepseek-ai/dsh-tool-todo/README.i18n.yaml +90 -5
  1024. package/node_modules/@deepseek-ai/dsh-tool-todo/README.md +1 -1
  1025. package/node_modules/@deepseek-ai/dsh-tool-todo/README.zh.md +1 -1
  1026. package/node_modules/@deepseek-ai/dsh-tool-todo/lib/index.js +4 -4
  1027. package/node_modules/@deepseek-ai/dsh-tool-todo/lib/types/index.js +5 -15
  1028. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +20 -20
  1029. package/node_modules/@deepseek-ai/dsh-tool-web/README.i18n.yaml +150 -5
  1030. package/node_modules/@deepseek-ai/dsh-tool-web/README.md +4 -4
  1031. package/node_modules/@deepseek-ai/dsh-tool-web/README.zh.md +4 -4
  1032. package/node_modules/@deepseek-ai/dsh-tool-web/lib/index.js +4 -4
  1033. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +22 -21
  1034. package/node_modules/@deepseek-ai/dsh-tool-workflow/README.i18n.yaml +102 -5
  1035. package/node_modules/@deepseek-ai/dsh-tool-workflow/README.md +1 -1
  1036. package/node_modules/@deepseek-ai/dsh-tool-workflow/README.zh.md +1 -1
  1037. package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/index.js +9 -16
  1038. package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/types/index.js +10 -16
  1039. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +25 -25
  1040. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/README.i18n.yaml +66 -5
  1041. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +11 -11
  1042. package/node_modules/@deepseek-ai/dsh-tools/README.i18n.yaml +102 -5
  1043. package/node_modules/@deepseek-ai/dsh-tools/README.md +3 -1
  1044. package/node_modules/@deepseek-ai/dsh-tools/README.zh.md +3 -1
  1045. package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +16 -2
  1046. package/node_modules/@deepseek-ai/dsh-tools/lib/types/index.js +13 -1
  1047. package/node_modules/@deepseek-ai/dsh-tools/lib/types/ptc.js +1 -1
  1048. package/node_modules/@deepseek-ai/dsh-tools/lib/types/schema.js +5 -0
  1049. package/node_modules/@deepseek-ai/dsh-tools/package.json +27 -27
  1050. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +84 -5
  1051. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +1 -1
  1052. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +1 -1
  1053. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +16 -1
  1054. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +76 -76
  1055. package/node_modules/@deepseek-ai/dsh-typert-loader/README.i18n.yaml +57 -5
  1056. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +9 -9
  1057. package/node_modules/@deepseek-ai/dsh-typert-protocol/README.i18n.yaml +63 -5
  1058. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +4 -4
  1059. package/node_modules/@deepseek-ai/dsh-typert-registry/README.i18n.yaml +60 -5
  1060. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
  1061. package/node_modules/@deepseek-ai/dsh-user-approval/README.i18n.yaml +87 -5
  1062. package/node_modules/@deepseek-ai/dsh-user-approval/README.md +1 -1
  1063. package/node_modules/@deepseek-ai/dsh-user-approval/README.zh.md +1 -1
  1064. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +18 -18
  1065. package/node_modules/@deepseek-ai/dsh-user-questions/README.i18n.yaml +42 -5
  1066. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +9 -9
  1067. package/node_modules/@deepseek-ai/dsh-util-code-language/README.i18n.yaml +25 -0
  1068. package/node_modules/@deepseek-ai/dsh-util-code-language/README.md +50 -0
  1069. package/node_modules/@deepseek-ai/dsh-util-code-language/README.zh.md +50 -0
  1070. package/node_modules/@deepseek-ai/dsh-util-code-language/lib/index.js +269 -0
  1071. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +35 -0
  1072. package/node_modules/@deepseek-ai/dsh-util-crypto/README.i18n.yaml +33 -5
  1073. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
  1074. package/node_modules/@deepseek-ai/dsh-util-time/README.i18n.yaml +33 -5
  1075. package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
  1076. package/node_modules/@deepseek-ai/dsh-util-values/README.i18n.yaml +42 -5
  1077. package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
  1078. package/node_modules/@deepseek-ai/dsh-util-workspace-path/README.i18n.yaml +24 -5
  1079. package/node_modules/@deepseek-ai/dsh-util-workspace-path/README.md +2 -0
  1080. package/node_modules/@deepseek-ai/dsh-util-workspace-path/README.zh.md +2 -0
  1081. package/node_modules/@deepseek-ai/dsh-util-workspace-path/lib/index.js +11 -1
  1082. package/node_modules/@deepseek-ai/dsh-util-workspace-path/lib/types/index.d.ts +7 -0
  1083. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
  1084. package/node_modules/@deepseek-ai/dsh-web/README.i18n.yaml +66 -5
  1085. package/node_modules/@deepseek-ai/dsh-web/package.json +6 -6
  1086. package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +75 -5
  1087. package/node_modules/@deepseek-ai/dsh-web-app/README.md +1 -1
  1088. package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +1 -1
  1089. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +21 -3
  1090. package/node_modules/@deepseek-ai/dsh-web-app/lib/index.js +33 -5
  1091. package/node_modules/@deepseek-ai/dsh-web-app/package.json +143 -139
  1092. package/node_modules/@deepseek-ai/dsh-web-fetch-http/README.i18n.yaml +60 -5
  1093. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +10 -10
  1094. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/Montserrat-OFL.txt +93 -0
  1095. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/montserrat-light-Cvd2VjE_.woff2 +0 -0
  1096. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/montserrat-medium-B4OyO9CN.woff2 +0 -0
  1097. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/montserrat-regular-DYep38cA.woff2 +0 -0
  1098. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DUvMhLle.css +1 -0
  1099. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Q6zc2uHV.js +127 -0
  1100. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/asciidoc-Ve4PFQV2.js +2 -0
  1101. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/bat-BkioyH1T.js +2 -0
  1102. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/bibtex-CHM0blh-.js +2 -0
  1103. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/clojure-P80f7IUj.js +2 -0
  1104. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/cmake-D1j8_8rp.js +2 -0
  1105. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/csv-fuZLfV_i.js +2 -0
  1106. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/dart-bE4Kk8sk.js +2 -0
  1107. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/diff-D97Zzqfu.js +2 -0
  1108. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/dotenv-Da5cRb03.js +2 -0
  1109. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/elixir-CvYZzuDY.js +2 -0
  1110. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/erlang-DsQrWhSR.js +2 -0
  1111. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/fish-BvzEVeQv.js +2 -0
  1112. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/fsharp-CXgrBDvD.js +2 -0
  1113. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/graphql-DujV8YkJ.js +2 -0
  1114. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/groovy-gcz8RCvz.js +2 -0
  1115. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/haskell-Df6bDoY_.js +2 -0
  1116. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/hcl-BWvSN4gD.js +2 -0
  1117. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/html-derivative-DOyKdj44.js +2 -0
  1118. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/html-fwsONPVS.js +2 -0
  1119. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/http-DcV90OkR.js +2 -0
  1120. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/javascript-DI5JR1nB.js +2 -0
  1121. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/julia-BpJ6DjL_.js +2 -0
  1122. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/latex-B4C7GdlO.js +2 -0
  1123. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/log-2UxHyX5q.js +2 -0
  1124. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/make-CHLpvVh8.js +2 -0
  1125. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/nix-CwoSXNpI.js +2 -0
  1126. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/perl-DsWkoyyU.js +2 -0
  1127. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-LEPfNACG.js +2 -0
  1128. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/powershell-Dpen1YoG.js +2 -0
  1129. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/proto-C7zT0LnQ.js +2 -0
  1130. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/r-Dspwwk_N.js +2 -0
  1131. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/rst-BbocfKWr.js +2 -0
  1132. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/ruby-R292Iif0.js +2 -0
  1133. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/scala-C151Ov-r.js +2 -0
  1134. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/svelte-DNMY6jOf.js +2 -0
  1135. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/system-verilog-CnnmHF94.js +2 -0
  1136. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/vb-D17OF-Vu.js +2 -0
  1137. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/verilog-BQ8w6xss.js +2 -0
  1138. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/vue-Dq2x6432.js +2 -0
  1139. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
  1140. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +17 -15
  1141. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.i18n.yaml +84 -5
  1142. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +16 -16
  1143. package/node_modules/@deepseek-ai/dsh-web-search-exa/README.i18n.yaml +60 -5
  1144. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +9 -9
  1145. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/README.i18n.yaml +81 -5
  1146. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +9 -9
  1147. package/node_modules/@deepseek-ai/dsh-webhook/README.i18n.yaml +45 -5
  1148. package/node_modules/@deepseek-ai/dsh-webhook/package.json +25 -25
  1149. package/node_modules/@deepseek-ai/dsh-webhook-github/README.i18n.yaml +36 -5
  1150. package/node_modules/@deepseek-ai/dsh-webhook-github/package.json +15 -15
  1151. package/node_modules/@deepseek-ai/dsh-win32-process/README.i18n.yaml +42 -5
  1152. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
  1153. package/node_modules/@deepseek-ai/dsh-workflow/README.i18n.yaml +60 -5
  1154. package/node_modules/@deepseek-ai/dsh-workflow/package.json +13 -13
  1155. package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.i18n.yaml +78 -5
  1156. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +37 -36
  1157. package/node_modules/@deepseek-ai/dsh-workspace/README.i18n.yaml +87 -5
  1158. package/node_modules/@deepseek-ai/dsh-workspace/README.md +1 -1
  1159. package/node_modules/@deepseek-ai/dsh-workspace/README.zh.md +1 -1
  1160. package/node_modules/@deepseek-ai/dsh-workspace/lib/index.js +7 -5
  1161. package/node_modules/@deepseek-ai/dsh-workspace/lib/types/index.js +7 -5
  1162. package/node_modules/@deepseek-ai/dsh-workspace/package.json +16 -16
  1163. package/node_modules/@deepseek-ai/dsh-workspace-changes/README.i18n.yaml +36 -5
  1164. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +16 -16
  1165. package/node_modules/@deepseek-ai/libreoffice-kit/README.md +30 -5
  1166. package/node_modules/@deepseek-ai/libreoffice-kit/README.zh.md +30 -5
  1167. package/node_modules/@deepseek-ai/libreoffice-kit/lib/cli.js +2058 -0
  1168. package/node_modules/@deepseek-ai/libreoffice-kit/lib/font-snapshot-worker.js +454 -0
  1169. package/node_modules/@deepseek-ai/libreoffice-kit/lib/index.js +1055 -57
  1170. package/node_modules/@deepseek-ai/libreoffice-kit/lib/worker.js +922 -239
  1171. package/node_modules/@deepseek-ai/libreoffice-kit/package.json +9 -3
  1172. package/node_modules/@deepseek-ai/node-addon-system/README.i18n.yaml +9 -5
  1173. package/node_modules/@deepseek-ai/node-addon-system/README.md +1 -1
  1174. package/node_modules/@deepseek-ai/node-addon-system/README.zh.md +1 -1
  1175. package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
  1176. package/node_modules/@js-temporal/polyfill/CHANGELOG.md +453 -0
  1177. package/node_modules/@js-temporal/polyfill/LICENSE +13 -0
  1178. package/node_modules/@js-temporal/polyfill/README.md +90 -0
  1179. package/node_modules/@js-temporal/polyfill/dist/index.cjs +2 -0
  1180. package/node_modules/@js-temporal/polyfill/dist/index.esm.js +2 -0
  1181. package/node_modules/@js-temporal/polyfill/dist/index.umd.js +2 -0
  1182. package/node_modules/@js-temporal/polyfill/lib/assert.ts +8 -0
  1183. package/node_modules/@js-temporal/polyfill/lib/bigintmath.ts +39 -0
  1184. package/node_modules/@js-temporal/polyfill/lib/calendar.ts +2424 -0
  1185. package/node_modules/@js-temporal/polyfill/lib/debug.ts +7 -0
  1186. package/node_modules/@js-temporal/polyfill/lib/duration.ts +438 -0
  1187. package/node_modules/@js-temporal/polyfill/lib/ecmascript.ts +4973 -0
  1188. package/node_modules/@js-temporal/polyfill/lib/index.ts +34 -0
  1189. package/node_modules/@js-temporal/polyfill/lib/init.ts +43 -0
  1190. package/node_modules/@js-temporal/polyfill/lib/instant.ts +138 -0
  1191. package/node_modules/@js-temporal/polyfill/lib/intl.ts +758 -0
  1192. package/node_modules/@js-temporal/polyfill/lib/intrinsicclass.ts +162 -0
  1193. package/node_modules/@js-temporal/polyfill/lib/legacydate.ts +17 -0
  1194. package/node_modules/@js-temporal/polyfill/lib/math.ts +96 -0
  1195. package/node_modules/@js-temporal/polyfill/lib/now.ts +48 -0
  1196. package/node_modules/@js-temporal/polyfill/lib/plaindate.ts +212 -0
  1197. package/node_modules/@js-temporal/polyfill/lib/plaindatetime.ts +274 -0
  1198. package/node_modules/@js-temporal/polyfill/lib/plainmonthday.ts +110 -0
  1199. package/node_modules/@js-temporal/polyfill/lib/plaintime.ts +154 -0
  1200. package/node_modules/@js-temporal/polyfill/lib/plainyearmonth.ts +157 -0
  1201. package/node_modules/@js-temporal/polyfill/lib/regex.ts +59 -0
  1202. package/node_modules/@js-temporal/polyfill/lib/slots.ts +341 -0
  1203. package/node_modules/@js-temporal/polyfill/lib/temporal.ts +10 -0
  1204. package/node_modules/@js-temporal/polyfill/lib/timeduration.ts +149 -0
  1205. package/node_modules/@js-temporal/polyfill/lib/zoneddatetime.ts +492 -0
  1206. package/node_modules/@js-temporal/polyfill/package.json +125 -0
  1207. package/node_modules/fflate/CHANGELOG.md +0 -10
  1208. package/node_modules/fflate/LICENSE +1 -1
  1209. package/node_modules/fflate/README.md +10 -10
  1210. package/node_modules/fflate/esm/browser.js +55 -82
  1211. package/node_modules/fflate/esm/index.mjs +56 -87
  1212. package/node_modules/fflate/lib/browser.cjs +77 -106
  1213. package/node_modules/fflate/lib/index.cjs +77 -106
  1214. package/node_modules/fflate/lib/node-worker.cjs +1 -5
  1215. package/node_modules/fflate/lib/node.cjs +78 -111
  1216. package/node_modules/fflate/package.json +10 -11
  1217. package/node_modules/fflate/umd/index.js +1 -1
  1218. package/node_modules/jsbi/LICENSE +176 -0
  1219. package/node_modules/jsbi/README.md +173 -0
  1220. package/node_modules/jsbi/dist/jsbi-cjs.js +2 -0
  1221. package/node_modules/jsbi/dist/jsbi-umd.js +2 -0
  1222. package/node_modules/jsbi/dist/jsbi.mjs +2 -0
  1223. package/node_modules/jsbi/package.json +25 -0
  1224. package/package.json +305 -289
  1225. package/node_modules/@deepseek-ai/dsh/lib/dump-config-DaAE0NHG.js +0 -2
  1226. package/node_modules/@deepseek-ai/dsh/lib/plugin-CnNK4cws.js +0 -31
  1227. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.host.js +0 -741
  1228. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.remote-client.js +0 -70
  1229. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DU8FBaxM.js +0 -127
  1230. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Uv-aF9RH.css +0 -1
  1231. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/html-CfGypltT.js +0 -2
  1232. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-DJl5gRdb.js +0 -2
  1233. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/ruby-5eNB0pDK.js +0 -2
  1234. package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/umd/index.js +0 -1
  1235. /package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/lib/worker.cjs +0 -0
@@ -1,16 +1,19 @@
1
1
  import { createRequire, isBuiltin } from "node:module";
2
2
  import { fileURLToPath, pathToFileURL } from "node:url";
3
- import { existsSync, mkdirSync, readFileSync, readdirSync, readlinkSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
4
- import { parseEnv } from "node:util";
3
+ import fs, { existsSync, mkdirSync, readFileSync, readdirSync, readlinkSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
4
+ import { inspect, parseEnv } from "node:util";
5
5
  import { basename, dirname, extname, isAbsolute, join, relative, resolve, sep, win32 } from "node:path";
6
6
  import * as yaml from "js-yaml";
7
+ import { load } from "js-yaml";
7
8
  import { Context, Service } from "@deepseek-ai/cordis";
8
9
  import Loader, { EntryGroup, EntryTree, ModuleLoader, isJsExpr } from "@deepseek-ai/cordis-plugin-loader";
9
- import { access, constants, readFile, realpath, rename, writeFile } from "node:fs/promises";
10
+ import { access, constants, mkdir, readFile, realpath, rename, writeFile } from "node:fs/promises";
10
11
  import { setTimeout as setTimeout$1 } from "node:timers/promises";
11
12
  import Group from "@deepseek-ai/cordis-plugin-group";
12
13
  import { dshHomePath, resolveDshHome } from "@deepseek-ai/dsh-home-paths";
13
14
  import { createLaunchEnvironmentSnapshot } from "@deepseek-ai/dsh-launch-environment";
15
+ import semver, { parse } from "semver";
16
+ import { withFileLock, writeFileAtomic } from "@deepseek-ai/dsh-atomic-write";
14
17
  import { getEnvironmentData, setEnvironmentData } from "node:worker_threads";
15
18
  import { imports } from "resolve.exports";
16
19
  //#region ../../../vendor/include/src/index.ts
@@ -245,6 +248,198 @@ var Include = class extends EntryTree {
245
248
  }
246
249
  };
247
250
  //#endregion
251
+ //#region lib/types/plugin-compatibility.js
252
+ /** Evaluate plugin dsh peer requirements without importing plugin code. */
253
+ function objectOf$1(value, field) {
254
+ if (typeof value !== "object" || value === null || Array.isArray(value)) throw new Error(`${field} must be an object`);
255
+ return value;
256
+ }
257
+ function runtimeVersionOf(value) {
258
+ if (typeof value !== "string" || semver.valid(value) === null) throw new Error(`Invalid dsh runtime version: ${JSON.stringify(value)}; expected a semantic version`);
259
+ return value;
260
+ }
261
+ function identityField(manifest, field) {
262
+ const value = Object.hasOwn(manifest, field) ? manifest[field] : void 0;
263
+ if (typeof value !== "string" || value.trim() === "") throw new Error(`Plugin manifest ${field} must be a non-empty string when dsh peers are incompatible`);
264
+ return value;
265
+ }
266
+ /**
267
+ * Read this app-boot package's version in both source and bundled installations.
268
+ * @returns the validated runtime semantic version, preserving its exact spelling.
269
+ * @throws if package.json cannot be read or its version is missing or invalid.
270
+ */
271
+ function getDshRuntimeVersion() {
272
+ const filename = fileURLToPath(new URL("../package.json", import.meta.url));
273
+ const manifest = objectOf$1(JSON.parse(fs.readFileSync(filename, "utf8")), "app-boot package.json");
274
+ return runtimeVersionOf(Object.hasOwn(manifest, "version") ? manifest.version : void 0);
275
+ }
276
+ /**
277
+ * Check every @deepseek-ai/dsh or @deepseek-ai/dsh-* peer against the runtime.
278
+ * Prereleases participate in ranges. workspace:^, workspace:~, and workspace:*
279
+ * refer to the current runtime; other invalid ranges are incompatible.
280
+ * @param manifest - parsed plugin package.json; inherited fields are ignored.
281
+ * @param exemptions - exact plugin name@version keys mapped to exact runtime versions.
282
+ * @param runtimeVersion - running dsh version, defaulting to this app-boot package.
283
+ * @returns incompatible peers and exemption status, or undefined when none are incompatible.
284
+ * @throws for malformed manifest peer fields, invalid runtime versions, or missing identity on a mismatch.
285
+ */
286
+ function evaluatePluginCompatibility(manifest, exemptions = {}, runtimeVersion = getDshRuntimeVersion()) {
287
+ runtimeVersionOf(runtimeVersion);
288
+ const fields = objectOf$1(manifest, "Plugin manifest");
289
+ if (!Object.hasOwn(fields, "peerDependencies")) return void 0;
290
+ const dependencies = objectOf$1(fields.peerDependencies, "Plugin manifest peerDependencies");
291
+ const peers = {};
292
+ for (const [name, range] of Object.entries(dependencies)) {
293
+ if (typeof range !== "string") throw new Error(`Plugin manifest peerDependencies[${JSON.stringify(name)}] must be a string`);
294
+ if (name !== "@deepseek-ai/dsh" && !name.startsWith("@deepseek-ai/dsh-")) continue;
295
+ const requirement = [
296
+ "workspace:^",
297
+ "workspace:~",
298
+ "workspace:*"
299
+ ].includes(range) ? runtimeVersion : range;
300
+ if (requirement.trim() === "" || !semver.satisfies(runtimeVersion, requirement, { includePrerelease: true })) peers[name] = range;
301
+ }
302
+ if (Object.keys(peers).length === 0) return void 0;
303
+ const name = identityField(fields, "name");
304
+ const version = identityField(fields, "version");
305
+ const key = `${name}@${version}`;
306
+ return {
307
+ name,
308
+ version,
309
+ runtimeVersion,
310
+ peers,
311
+ exempted: (Object.hasOwn(exemptions, key) ? exemptions[key] : void 0)?.includes(runtimeVersion) === true
312
+ };
313
+ }
314
+ /**
315
+ * Describe incompatible peers, their risk, and the exact-version remedy.
316
+ * Surfaces with their own grant mechanism or locale render the structured result themselves.
317
+ * @param issue - incompatible plugin/runtime result, including exempted mismatches.
318
+ * @returns an English diagnostic for logs and stderr.
319
+ */
320
+ function pluginCompatibilityWarning(issue) {
321
+ const key = `${issue.name}@${issue.version}`;
322
+ return `Plugin ${key} is incompatible with dsh ${issue.runtimeVersion}: peerDependencies ${JSON.stringify(issue.peers)}. Running it may cause crashes or data loss. Update the plugin or install a plugin version compatible with this dsh runtime. To accept this risk explicitly, grant the exact-version exemption for ${key} on dsh ${issue.runtimeVersion} with \`dsh plugin allow-version\` or the plugin manager, then retry the installation or restart dsh. Exact-version exemption: ${issue.exempted ? "active" : "not active"}.`;
323
+ }
324
+ //#endregion
325
+ //#region lib/types/profile-compatibility.js
326
+ /** Profile-local compatibility permissions readable before any Cordis plugins load. */
327
+ /** Independent profile metadata; neither package manifests nor Cordis patches carry grants. */
328
+ const PROFILE_COMPATIBILITY_FILENAME = "compatibility.json";
329
+ /** Published and scoped npm package names, as npm accepts them in a manifest dependency key. */
330
+ const PACKAGE_NAME = /^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$/;
331
+ /** Whether a decoded record accepts only exact DSH versions. */
332
+ function isVersionList(value) {
333
+ return Array.isArray(value) && value.every((version) => typeof version === "string" && isExactPluginVersion(version));
334
+ }
335
+ /** Test whether an exemption names a canonical exact SemVer, including build metadata.
336
+ * @param value Version supplied by a manifest or user.
337
+ * @returns False for ranges, prefixes, whitespace, and malformed versions.
338
+ */
339
+ function isExactPluginVersion(value) {
340
+ const parsed = parse(value);
341
+ return parsed !== null && value === `${parsed.version}${parsed.build.length === 0 ? "" : `+${parsed.build.join(".")}`}`;
342
+ }
343
+ /** Validate one explicit exemption without granting it.
344
+ * @param packageVersion Exact npm package-name@version, never an installation spec or range.
345
+ * @param runtimeVersion Exact DSH version, including prerelease and build metadata.
346
+ * @throws When either identity is not canonical.
347
+ */
348
+ function validatePluginVersionExemption(packageVersion, runtimeVersion) {
349
+ const separator = packageVersion.lastIndexOf("@");
350
+ if (separator <= 0 || !PACKAGE_NAME.test(packageVersion.slice(0, separator)) || !isExactPluginVersion(packageVersion.slice(separator + 1)) || !isExactPluginVersion(runtimeVersion)) throw new Error("Version exemptions require an exact npm package-name@version and an exact DSH runtime version");
351
+ }
352
+ /** Read the profile's independent compatibility file without loading plugins.
353
+ * A missing file authorizes nothing. An unreadable or unparsable file authorizes nothing and is
354
+ * reported instead of failing, so a bad file can never make the profile unusable; rejected records
355
+ * are skipped while the remaining valid ones still apply.
356
+ * @param profileDir Absolute profile directory.
357
+ * @returns Accepted exemptions plus every problem found; no manifest fallback is used.
358
+ */
359
+ function readProfileCompatibility(profileDir) {
360
+ const filename = join(profileDir, PROFILE_COMPATIBILITY_FILENAME);
361
+ const unreadable = (reason) => ({
362
+ exemptions: {},
363
+ warnings: [`${filename} ${reason}; treating the profile as having no exemptions`],
364
+ rewritable: false
365
+ });
366
+ let text;
367
+ try {
368
+ text = readFileSync(filename, "utf8");
369
+ } catch (error) {
370
+ if (error.code === "ENOENT") return {
371
+ exemptions: {},
372
+ warnings: [],
373
+ rewritable: true
374
+ };
375
+ return unreadable(`cannot be read (${String(error)})`);
376
+ }
377
+ let value;
378
+ try {
379
+ value = JSON.parse(text);
380
+ } catch (error) {
381
+ return unreadable(`is not valid JSON (${String(error)})`);
382
+ }
383
+ if (value === null || typeof value !== "object" || Array.isArray(value)) return unreadable("must map exact package@version keys to DSH version lists");
384
+ const exemptions = {};
385
+ const warnings = [];
386
+ for (const [key, versions] of Object.entries(value)) {
387
+ const separator = key.lastIndexOf("@");
388
+ if (separator <= 0 || !PACKAGE_NAME.test(key.slice(0, separator)) || !isExactPluginVersion(key.slice(separator + 1))) {
389
+ warnings.push(`${filename}: ${JSON.stringify(key)} is not an exact package-name@version key; the record is ignored`);
390
+ continue;
391
+ }
392
+ if (!isVersionList(versions)) {
393
+ warnings.push(`${filename}: ${key} must contain a list of exact DSH versions; the record is ignored`);
394
+ continue;
395
+ }
396
+ exemptions[key] = versions;
397
+ }
398
+ return {
399
+ exemptions,
400
+ warnings,
401
+ rewritable: warnings.length === 0
402
+ };
403
+ }
404
+ /** Read only the accepted exemptions of a profile.
405
+ * @param profileDir Absolute profile directory.
406
+ * @returns Exact package-name@version keys mapped to their allowed DSH versions.
407
+ */
408
+ function readProfileVersionExemptions(profileDir) {
409
+ return readProfileCompatibility(profileDir).exemptions;
410
+ }
411
+ /** Persist one informed grant or revocation under the compatibility file's own lock.
412
+ * @param profileDir Profile directory; no package manifest is created or modified.
413
+ * @param packageVersion Exact manifest package-name@version.
414
+ * @param runtimeVersion Exact DSH version; grants must name the current runtime, revocations may name historical ones.
415
+ * @param enabled Whether to grant rather than revoke.
416
+ * @param acceptRisk Required true for grants after explicit acknowledgement of possible crashes or data loss.
417
+ * @returns After the atomic write. Existing plugin instances are not reloaded by this operation.
418
+ * @throws For invalid identities, missing consent, a stale runtime, or a file the reader rejected,
419
+ * which the user must repair by hand because rewriting it would discard their content.
420
+ */
421
+ async function setProfileVersionExemption(profileDir, packageVersion, runtimeVersion, enabled, acceptRisk) {
422
+ validatePluginVersionExemption(packageVersion, runtimeVersion);
423
+ if (enabled && !acceptRisk) throw new Error("Incompatible plugins may cause crashes or data loss. To grant this exact-version exemption, explicitly acknowledge the risk with --accept-risk (acceptRisk: true).");
424
+ const current = getDshRuntimeVersion();
425
+ if (enabled && runtimeVersion !== current) throw new Error(`Cannot approve DSH ${runtimeVersion}: this application runs DSH ${current}. Use --dsh-version ${current}.`);
426
+ await mkdir(profileDir, { recursive: true });
427
+ const filename = join(profileDir, PROFILE_COMPATIBILITY_FILENAME);
428
+ await withFileLock(filename, async () => {
429
+ const current = readProfileCompatibility(profileDir);
430
+ if (!current.rewritable) throw new Error(`${PROFILE_COMPATIBILITY_FILENAME} must be repaired before exemptions change:\n${current.warnings.join("\n")}`);
431
+ const exemptions = current.exemptions;
432
+ const versions = exemptions[packageVersion] ?? [];
433
+ if (enabled) exemptions[packageVersion] = [...new Set([...versions, runtimeVersion])];
434
+ else {
435
+ const retained = versions.filter((version) => version !== runtimeVersion);
436
+ if (retained.length) exemptions[packageVersion] = retained;
437
+ else Reflect.deleteProperty(exemptions, packageVersion);
438
+ }
439
+ await writeFileAtomic(filename, JSON.stringify(exemptions, void 0, 2) + "\n", { mode: 384 });
440
+ });
441
+ }
442
+ //#endregion
248
443
  //#region lib/types/profile-resolution/legacy-links.js
249
444
  /** Package directory canonicalization through the active runtime carrier's filesystem. */
250
445
  /**
@@ -313,6 +508,14 @@ function bundlePatchPaths(packageDir, bundle) {
313
508
  return bundlePatchFiles(bundle).map((file) => join(packageDir, file));
314
509
  }
315
510
  /**
511
+ * Print each skipped bundle once; loading never prints, so launchers call this once per start.
512
+ * @param binName - the diagnostic prefix.
513
+ * @param profile - the loaded profile.
514
+ */
515
+ function reportSkippedBundles(binName, profile) {
516
+ for (const { packageName, reason } of profile.skippedBundles) process.stderr.write(`${binName}: skipping profile bundle ${JSON.stringify(packageName)}: ${reason}\n`);
517
+ }
518
+ /**
316
519
  * Resolve a profile's directory under the Harness home.
317
520
  * @param name - the profile name (`dsh --profile <name>`).
318
521
  * @param home - the Harness home; defaults to {@link resolveDshHome}.
@@ -329,23 +532,37 @@ const PROFILE_TEMPLATES = {
329
532
  headless: { bundles: ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-headless"] },
330
533
  sdk: { bundles: ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-sdk-app"] },
331
534
  "sdk-minimal": { bundles: ["@deepseek-ai/dsh-sdk-minimal"] },
332
- tui: { bundles: ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-tui-app"] }
535
+ tui: { bundles: [
536
+ "@deepseek-ai/dsh-base",
537
+ "@deepseek-ai/dsh-tui-app",
538
+ "@deepseek-ai/dsh-experimental-auto-review"
539
+ ] }
333
540
  };
334
541
  /** Installation-owned bundle tuples normalized to the shipped template. */
335
- const INSTALLATION_OWNED_PROFILE_TUPLES = { headless: [
336
- "@deepseek-ai/dsh-base",
337
- "@deepseek-ai/dsh-web-app",
338
- "@deepseek-ai/dsh-headless"
339
- ] };
542
+ const INSTALLATION_OWNED_PROFILE_TUPLES = {
543
+ headless: [
544
+ "@deepseek-ai/dsh-base",
545
+ "@deepseek-ai/dsh-web-app",
546
+ "@deepseek-ai/dsh-headless"
547
+ ],
548
+ tui: ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-tui-app"]
549
+ };
340
550
  /** The bundle list a `dsh plugin` init uses for a name with no shipped template. */
341
551
  const DEFAULT_PROFILE_BUNDLES = ["@deepseek-ai/dsh-base"];
342
552
  /**
343
553
  * The bundles the dsh installation ships for a person to switch on: each a
344
554
  * runtime dependency of the installation that declares `dsh.bundle.patch`,
345
- * selected by no shipped template, and offered switched off by the plugin
346
- * manager ([rationale](../../../../.agents/notes/implemented/process/2026-09-15-shipped-optional-bundles.md)).
555
+ * an `icon`, and `./locale/*.json` display metadata, and offered switched off
556
+ * by the plugin manager. The shipped TUI template selects Auto review; no
557
+ * other template does
558
+ * ([rationale](../../../../.agents/notes/implemented/process/2026-09-15-shipped-optional-bundles.md),
559
+ * [admission](../../../../.agents/notes/implemented/architecture/2026-09-21-experimental-capabilities-as-optional-bundles.md)).
347
560
  */
348
- const OPTIONAL_BUNDLES = ["@deepseek-ai/dsh-experimental-voice-input-bundle", "@deepseek-ai/dsh-experimental-agent-team-profile"];
561
+ const OPTIONAL_BUNDLES = [
562
+ "@deepseek-ai/dsh-experimental-agent-team-profile",
563
+ "@deepseek-ai/dsh-experimental-voice-input-bundle",
564
+ "@deepseek-ai/dsh-experimental-auto-review"
565
+ ];
349
566
  const PROFILE_PATCH_TEMPLATE = `# Your patch layer for this dsh profile, applied after every bundle layer:
350
567
  # a top-level YAML array of loader patch entries (id-targeted config
351
568
  # overrides, disables, and insert lists; \`!!js\` expressions allowed).
@@ -523,7 +740,7 @@ async function createRuntimeResolution(options) {
523
740
  const { installAnchor, profile, home = resolveDshHome() } = options;
524
741
  const profilesDir = join(home, PROFILES_DIR);
525
742
  const manifest = readOptionalProfileManifest(profile);
526
- const { packageNames, packageDirs, declarers, versions } = collectInstallationScopePackages(installAnchor, skippedProfileBundles(profile, manifest));
743
+ const { packageNames, packageDirs, declarers, versions } = collectInstallationScopePackages(installAnchor, new Set(profile?.skippedBundles.map((skipped) => skipped.packageName)));
527
744
  const profileDeclarers = /* @__PURE__ */ new Map();
528
745
  const profileVersions = /* @__PURE__ */ new Map();
529
746
  const localPackageNames = profile === void 0 ? [] : installedProfilePackageNames(profile, manifest);
@@ -559,17 +776,6 @@ function readOptionalProfileManifest(profile) {
559
776
  throw error;
560
777
  }
561
778
  }
562
- /**
563
- * Identify selected bundles that did not produce a loaded layer.
564
- * @param profile - loaded profile, when present.
565
- * @param manifest - its parsed manifest, when present.
566
- * @returns selected bundle names missing from the loaded layers, for resolution and diagnostics.
567
- */
568
- function skippedProfileBundles(profile, manifest) {
569
- const selected = manifest?.dsh?.profile?.bundles ?? [];
570
- const loaded = new Set(profile?.layers.map((layer) => layer.packageName));
571
- return new Set(selected.filter((name) => !loaded.has(name)));
572
- }
573
779
  /** Return installed direct dependencies that Node resolves before profile fallback. */
574
780
  function installedProfilePackageNames(profile, manifest) {
575
781
  if (manifest === void 0) return [];
@@ -711,7 +917,8 @@ function resolveBundleDir(binName, packageName, installAnchor, profileDir) {
711
917
  * Load an already initialized profile directory without resolving it through
712
918
  * the shared Harness home. This is used by application-owned profiles whose
713
919
  * package project and lifecycle belong to that application.
714
- * Unreadable bundles are reported on stderr and skipped without changing the manifest.
920
+ * Unreadable bundles, and bundles whose own dsh peers the profile does not exempt, are skipped
921
+ * without changing the manifest and listed in `skippedBundles`; nothing is printed.
715
922
  * @param binName - the diagnostic prefix on thrown errors.
716
923
  * @param dir - absolute profile package directory.
717
924
  * @param installAnchor - absolute path of the owning dsh app's package.json.
@@ -721,10 +928,15 @@ function resolveBundleDir(binName, packageName, installAnchor, profileDir) {
721
928
  function loadProfileDirectory(binName, dir, installAnchor, options = {}) {
722
929
  const bundles = readProfileManifest(binName, dir).dsh?.profile?.bundles ?? [];
723
930
  const layers = [];
931
+ const skippedBundles = [];
932
+ const exemptions = bundles.length === 0 ? {} : readProfileVersionExemptions(dir);
724
933
  for (const packageName of bundles) try {
725
934
  const packageDir = resolveBundleDir(binName, packageName, installAnchor, dir);
726
- const bundle = readProfileManifest(binName, packageDir).dsh?.bundle;
935
+ const bundleManifest = readProfileManifest(binName, packageDir);
936
+ const bundle = bundleManifest.dsh?.bundle;
727
937
  if (bundle === void 0) throw new Error(`${binName}: profile bundle ${JSON.stringify(packageName)} declares no dsh.bundle in its package.json`);
938
+ const issue = evaluatePluginCompatibility(bundleManifest, exemptions);
939
+ if (issue !== void 0 && !issue.exempted) throw new Error(pluginCompatibilityWarning(issue));
728
940
  const patchPaths = bundlePatchPaths(packageDir, bundle);
729
941
  const patches = patchPaths.flatMap((patchPath) => loadOverlayPatches(binName, patchPath));
730
942
  layers.push({
@@ -734,7 +946,10 @@ function loadProfileDirectory(binName, dir, installAnchor, options = {}) {
734
946
  patches
735
947
  });
736
948
  } catch (error) {
737
- process.stderr.write(`${binName}: skipping profile bundle ${JSON.stringify(packageName)}: ${String(error)}\n`);
949
+ skippedBundles.push({
950
+ packageName,
951
+ reason: String(error)
952
+ });
738
953
  }
739
954
  const patchPath = join(dir, PROFILE_PATCH_FILENAME);
740
955
  const patches = options.userLayer !== false && existsSync(patchPath) ? loadOverlayPatches(binName, patchPath) : [];
@@ -743,13 +958,14 @@ function loadProfileDirectory(binName, dir, installAnchor, options = {}) {
743
958
  dir,
744
959
  layers,
745
960
  patchPath,
746
- patches
961
+ patches,
962
+ skippedBundles
747
963
  };
748
964
  }
749
965
  /**
750
966
  * Load a profile: resolve every `dsh.profile.bundles` entry to its patch
751
- * layer and parse the profile's own patch file. Unreadable bundles are reported
752
- * on stderr and skipped; profile manifest and user patch errors still throw.
967
+ * layer and parse the profile's own patch file. Unreadable or incompatible bundles
968
+ * are skipped and listed in `skippedBundles`; profile manifest and user patch errors still throw.
753
969
  * @param binName - the diagnostic prefix on thrown errors.
754
970
  * @param name - the profile name.
755
971
  * @param installAnchor - absolute path of the dsh app's package.json (first resolution anchor).
@@ -1384,17 +1600,27 @@ function internalModules() {
1384
1600
  modern
1385
1601
  };
1386
1602
  }
1603
+ /**
1604
+ * Replace a resolver error's message and the same text in its stack.
1605
+ * Node's module-hooks thread serializes errors and returns the stack accessor as a read-only configurable
1606
+ * data property, so a rejected stack assignment redefines the property value.
1607
+ * @param error - resolver error to update in place.
1608
+ * @param message - replacement message.
1609
+ */
1610
+ function replaceErrorMessage(error, message) {
1611
+ const { message: originalMessage, stack } = error;
1612
+ error.message = message;
1613
+ /* v8 ignore next -- Node's resolver errors always carry a stack */
1614
+ if (stack === void 0) return;
1615
+ const replaced = stack.replace(originalMessage, message);
1616
+ if (!Reflect.set(error, "stack", replaced)) Object.defineProperty(error, "stack", { value: replaced });
1617
+ }
1387
1618
  function throwWithImporter(error, routedParent, parent) {
1388
1619
  const code = error.code;
1389
1620
  if (error instanceof Error && (code === "ERR_MODULE_NOT_FOUND" || code === "ERR_PACKAGE_PATH_NOT_EXPORTED")) {
1390
1621
  const routedPath = fileURLToPath(routedParent);
1391
1622
  const parentPath = fileURLToPath(parent);
1392
- const originalMessage = error.message;
1393
- const message = originalMessage.replaceAll(routedParent, parent).replaceAll(routedPath, parentPath);
1394
- const stack = error.stack;
1395
- error.message = message;
1396
- /* v8 ignore next -- Node's resolver errors always carry a stack */
1397
- if (stack !== void 0) error.stack = stack.replace(originalMessage, message);
1623
+ replaceErrorMessage(error, error.message.replaceAll(routedParent, parent).replaceAll(routedPath, parentPath));
1398
1624
  }
1399
1625
  throw error;
1400
1626
  }
@@ -1780,6 +2006,161 @@ function readPluginMeta(specifier, parentURL) {
1780
2006
  }
1781
2007
  }
1782
2008
  //#endregion
2009
+ //#region lib/types/compatibility-preflight.js
2010
+ /** Compatibility checks at the composition entry points DSH owns; no Loader instrumentation. */
2011
+ function readManifest(filename) {
2012
+ return JSON.parse(readFileSync(filename, "utf8"));
2013
+ }
2014
+ /** Render the patch wording an Include would report, through the profile's logger. */
2015
+ function patchWarning(ctx) {
2016
+ return (message, ...args) => {
2017
+ let index = 0;
2018
+ ctx.logger.warn(message.replace(/%C/g, () => JSON.stringify(args[index++])));
2019
+ };
2020
+ }
2021
+ function manifestOf(ctx, name, parentURL) {
2022
+ if (name.startsWith("cordis:")) return void 0;
2023
+ const specifier = name.startsWith("#") ? resolvePluginResource(name, parentURL) : name;
2024
+ const packages = ctx.get("pluginPackages");
2025
+ const pkg = packages?.packageOf(specifier, parentURL);
2026
+ if (pkg !== void 0) return readManifest(pkg.manifestPath);
2027
+ const bare = barePackageName(specifier);
2028
+ if (bare !== void 0 && packages === void 0) for (const path of createRequire(parentURL).resolve.paths(bare)) {
2029
+ const filename = join(path, bare, "package.json");
2030
+ if (existsSync(filename)) return readManifest(filename);
2031
+ }
2032
+ if (!isAbsolute(specifier) && !specifier.startsWith(".") && !specifier.startsWith("file:")) return void 0;
2033
+ const url = isAbsolute(specifier) ? pathToFileURL(specifier) : new URL(specifier, parentURL);
2034
+ let dir;
2035
+ try {
2036
+ dir = dirname(realpathSync(fileURLToPath(url)));
2037
+ } catch (error) {
2038
+ if ([
2039
+ "ENOENT",
2040
+ "ENOTDIR",
2041
+ "EISDIR"
2042
+ ].includes(String(error.code))) return void 0;
2043
+ throw error;
2044
+ }
2045
+ while (true) try {
2046
+ return readManifest(join(dir, "package.json"));
2047
+ } catch (error) {
2048
+ if (error.code !== "ENOENT") throw error;
2049
+ const parent = dirname(dir);
2050
+ if (parent === dir) return void 0;
2051
+ dir = parent;
2052
+ }
2053
+ }
2054
+ /** Prepare profile or preset rows before the owning DSH caller passes them to Loader.
2055
+ * Only a compatibility conflict denies a row: an entry whose manifest cannot be resolved keeps
2056
+ * the Loader's own import failure. A denied ordinary row gains `disabled`; a native Include that
2057
+ * reaches a denied plugin is denied as a whole, because its file is never rewritten.
2058
+ * @param ctx Context carrying launcher-owned profile facts; non-profile contexts retain their rows.
2059
+ * @param entries Complete effective entry list, after patch composition.
2060
+ * @param parentURL Resolution base of the tree that will import these rows.
2061
+ * @param binName Diagnostic prefix for a denied row; defaults to `dsh`.
2062
+ * @returns Detached rows with incompatible entries denied; reads the profile compatibility file once.
2063
+ * @throws For malformed compatibility permissions or a profile composition without a resolution base.
2064
+ */
2065
+ function prepareProfileEntries(ctx, entries, parentURL, binName = "dsh") {
2066
+ return preflight(ctx, entries, parentURL, (row, reason) => {
2067
+ const label = typeof row.id === "string" ? `row ${JSON.stringify(row.id)}` : row.name;
2068
+ process.stderr.write(`${binName}: disabling profile plugin ${label}: ${reason}\n`);
2069
+ }).rows;
2070
+ }
2071
+ function preflight(ctx, entries, parentURL, report) {
2072
+ const rows = structuredClone(entries);
2073
+ const profile = ctx.get("profileContext");
2074
+ if (profile === void 0) return {
2075
+ rows,
2076
+ blocked: false
2077
+ };
2078
+ if (parentURL === void 0) throw new Error("Profile compatibility preflight requires a resolution base");
2079
+ const { exemptions, warnings } = readProfileCompatibility(profile.dir);
2080
+ for (const warning of warnings) process.stderr.write(`${warning}\n`);
2081
+ const includes = /* @__PURE__ */ new Set();
2082
+ /** Only a compatibility conflict denies a row; every other failure keeps the Loader's own diagnosis. */
2083
+ const denial = (row, base) => {
2084
+ try {
2085
+ const manifest = manifestOf(ctx, row.name, base);
2086
+ if (manifest === void 0) return void 0;
2087
+ const issue = evaluatePluginCompatibility(manifest, exemptions);
2088
+ return issue === void 0 || issue.exempted ? void 0 : pluginCompatibilityWarning(issue);
2089
+ } catch (error) {
2090
+ return `its declared peer dependencies cannot be validated: ${error instanceof Error ? error.message : String(error)}`;
2091
+ }
2092
+ };
2093
+ const deny = (row, reason) => {
2094
+ row.disabled = true;
2095
+ if (row.group) row.group = false;
2096
+ report(row, reason);
2097
+ };
2098
+ const check = (rows, base) => {
2099
+ let blocked = false;
2100
+ for (const row of rows) {
2101
+ if (row.disabled === true && !row.group) continue;
2102
+ const conflict = denial(row, base);
2103
+ if (conflict !== void 0) {
2104
+ deny(row, conflict);
2105
+ blocked = true;
2106
+ continue;
2107
+ }
2108
+ if ((row.group === true || row.name === "cordis:group" || row.name === "@deepseek-ai/cordis-plugin-group") && Array.isArray(row.config) && check(row.config, base)) blocked = true;
2109
+ if (row.name !== "cordis:include" && row.name !== "@deepseek-ai/cordis-plugin-include") continue;
2110
+ const reached = includedConflicts(row, base);
2111
+ if (reached !== void 0) {
2112
+ deny(row, reached);
2113
+ blocked = true;
2114
+ }
2115
+ }
2116
+ return blocked;
2117
+ };
2118
+ /** Whether a native Include reaches a denied plugin; an unreadable one has no compatibility opinion. */
2119
+ const includedConflicts = (row, base) => {
2120
+ const config = row.config;
2121
+ if (typeof config?.path !== "string" || ![
2122
+ ".yml",
2123
+ ".yaml",
2124
+ ".json"
2125
+ ].includes(extname(config.path))) return;
2126
+ const requested = isAbsolute(config.path) ? config.path : fileURLToPath(new URL(config.path, base));
2127
+ const filename = existsSync(requested) ? realpathSync(requested) : requested;
2128
+ if (includes.has(filename)) return void 0;
2129
+ includes.add(filename);
2130
+ try {
2131
+ let data;
2132
+ try {
2133
+ data = load(readFileSync(filename, "utf8"), { schema: entryListSchema });
2134
+ } catch (error) {
2135
+ if (error.code !== "ENOENT" || config.initial === void 0) return void 0;
2136
+ data = config.initial;
2137
+ }
2138
+ if (!Array.isArray(data)) return void 0;
2139
+ return check(applyEntryPatches(data, config.patches, patchWarning(ctx)), pathToFileURL(filename).href) ? `its included file ${filename} reaches an incompatible plugin, and that file is never rewritten` : void 0;
2140
+ } finally {
2141
+ includes.delete(filename);
2142
+ }
2143
+ };
2144
+ return {
2145
+ rows,
2146
+ blocked: check(rows, parentURL)
2147
+ };
2148
+ }
2149
+ /** Apply compatibility policy to the complete patch composition over a profile's empty root.
2150
+ * The caller passes every patch layer of the profile, because this returns one insertion patch for
2151
+ * that empty root: a non-empty root config would lose the caller's override patches by id.
2152
+ * @param ctx Profile context prepared by the launcher.
2153
+ * @param patches Original ordered profile patches; these remain unchanged.
2154
+ * @param parentURL Root Include's resolution base.
2155
+ * @param binName Diagnostic prefix for a denied row; defaults to `dsh`.
2156
+ * @returns One prepared insertion patch for profiles, or the original patches for non-profile callers.
2157
+ */
2158
+ function prepareProfilePatches(ctx, patches, parentURL, binName = "dsh") {
2159
+ if (ctx.get("profileContext") === void 0) return patches;
2160
+ const rows = prepareProfileEntries(ctx, applyEntryPatches([], patches, patchWarning(ctx)), parentURL, binName);
2161
+ return rows.length === 0 ? [] : [{ insert: rows }];
2162
+ }
2163
+ //#endregion
1783
2164
  //#region lib/types/config-schema/native.js
1784
2165
  /** Identity checks at the plugin-export and lazy-builder boundaries. */
1785
2166
  /**
@@ -2790,21 +3171,19 @@ async function collectConfigSchemas(profile, entries, resolution, diagnostics =
2790
3171
  /** Profile schema generation: composition diagnostics, runtime resolution, and boot-free discovery. */
2791
3172
  /**
2792
3173
  * Generate JSON Schema for a prepared profile's ordered patch layers without mounting plugins or evaluating expressions.
2793
- * Reads the profile manifest; imports, Config getters, and lazy builders execute trusted code. Native validators and
3174
+ * Imports, Config getters, and lazy builders execute trusted code. Native validators and
2794
3175
  * transform callbacks are not executed. Calls must not overlap another profile-resolution interception; collection
2795
3176
  * releases its interception on success or rejection, while Node retains imported modules. Supplied layers are not mutated.
2796
3177
  * Profile preparation, layer selection, process streams, and exit policy belong to the caller.
2797
- * @param binName - the diagnostic prefix on thrown manifest errors.
2798
3178
  * @param profile - prepared on-disk profile whose directory anchors root module and include resolution.
2799
3179
  * @param layers - already parsed patch lists in application order, including caller-selected home and argv overlays.
2800
3180
  * @param installAnchor - package manifest anchoring the installation's runtime dependencies.
2801
3181
  * @returns a JSON Schema document with declaration references, partial results, and diagnostics under `x-cordis`.
2802
- * @throws when profile metadata, composition, or runtime resolution cannot be prepared.
3182
+ * @throws when composition or runtime resolution cannot be prepared.
2803
3183
  */
2804
- async function generateConfigSchema(binName, profile, layers, installAnchor) {
3184
+ async function generateConfigSchema(profile, layers, installAnchor) {
2805
3185
  const diagnostics = [];
2806
- const manifest = readProfileManifest(binName, profile.dir);
2807
- for (const packageName of skippedProfileBundles(profile, manifest)) diagnostics.push({
3186
+ for (const { packageName } of profile.skippedBundles) diagnostics.push({
2808
3187
  level: "error",
2809
3188
  message: `Selected profile bundle ${JSON.stringify(packageName)} could not be loaded; repair or remove its bundle selection.`
2810
3189
  });
@@ -3161,9 +3540,11 @@ async function reconcileProfilePatches(ctx, patches, binName, requiredIds = [])
3161
3540
  failed: row.fiber.state === FIBER_FAILED || row.fiber.state === FIBER_DISPOSED
3162
3541
  }]);
3163
3542
  const { patches: _previous, ...includeConfig } = entry.options.config;
3543
+ const parentURL = new URL(".", new URL(includeConfig.path, entry.parent.tree.ctx.baseUrl)).href;
3544
+ const prepared = prepareProfilePatches(ctx, patches, parentURL, binName);
3164
3545
  await entry.update({ config: {
3165
3546
  ...includeConfig,
3166
- patches
3547
+ patches: prepared
3167
3548
  } });
3168
3549
  const results = await Promise.allSettled(previousFibers.map(({ fiber }) => fiber.await()));
3169
3550
  await ctx.loader.await();
@@ -3250,14 +3631,15 @@ function parsePatchList(binName, file, content, label) {
3250
3631
  return anchorInsertedPluginNames(parsed, file);
3251
3632
  }
3252
3633
  /**
3253
- * Compose the effective entry list exactly as `boot()` would mount it: parse
3254
- * the base config file with the include's entry-list dialect, apply every
3255
- * layer's patches as ONE flattened list through the include's own patch
3256
- * algorithm (`applyEntryPatches`) — the same single call `boot()` makes, so
3257
- * even patch-visibility corner cases (a later layer targeting a group child a
3258
- * plain config replacement introduced, which the single-pass id index never
3259
- * sees) compose identically — then render the result as YAML in the same
3260
- * dialect (`!!js` expressions print verbatim, unevaluated).
3634
+ * Compose the configured entry list: parse the base config file with the
3635
+ * include's entry-list dialect, apply every layer's patches as ONE flattened
3636
+ * list through the include's own patch algorithm (`applyEntryPatches`) — the
3637
+ * same call `boot()` makes, so even patch-visibility corner cases (a later
3638
+ * layer targeting a group child a plain config replacement introduced, which
3639
+ * the single-pass id index never sees) compose identically — then render the
3640
+ * result as YAML in the same dialect (`!!js` expressions print verbatim,
3641
+ * unevaluated). Row admission is a later stage: a plugin row the compatibility
3642
+ * policy denies still appears here, while a denied bundle contributes no layer.
3261
3643
  *
3262
3644
  * Every run of rows from the same file and patch layers is preceded by a `# ==` comment
3263
3645
  * naming the file that contributed the rows and any layers that patched them,
@@ -3362,11 +3744,12 @@ function groupedDump(composed, entryOrigins) {
3362
3744
  * @param patches - initial app and user patches, applied in order.
3363
3745
  * @param bareModuleBaseUrl - optional installed-host base for bare package
3364
3746
  * names; relative names continue to resolve beside the configuration file.
3747
+ * @param binName - diagnostic prefix for a profile plugin denied by compatibility policy; defaults to `dsh`.
3365
3748
  * @returns the created root Include entry, or `undefined` when a surface
3366
3749
  * disposed the whole tree (taking the Loader service with it) while the
3367
3750
  * entry creation was in flight.
3368
3751
  */
3369
- async function mountRootInclude(ctx, absoluteConfigPath, patches = [], bareModuleBaseUrl) {
3752
+ async function mountRootInclude(ctx, absoluteConfigPath, patches = [], bareModuleBaseUrl, binName = "dsh") {
3370
3753
  ctx.loader.builtins.include = bareModuleBaseUrl === void 0 ? Include : class HostResolvedRootInclude extends Include {
3371
3754
  import(name, getOuterStack) {
3372
3755
  const specifier = isAbsolute(name) ? pathToFileURL(name).href : name;
@@ -3379,12 +3762,13 @@ async function mountRootInclude(ctx, absoluteConfigPath, patches = [], bareModul
3379
3762
  }
3380
3763
  };
3381
3764
  ctx.loader.builtins.group = Group;
3765
+ const prepared = prepareProfilePatches(ctx, [...patches], pathToFileURL(dirname(absoluteConfigPath)).href + "/", binName);
3382
3766
  const rootInclude = {
3383
3767
  id: "include",
3384
3768
  name: "cordis:include",
3385
3769
  config: {
3386
3770
  path: pathToFileURL(absoluteConfigPath).href,
3387
- ...patches.length > 0 ? { patches: [...patches] } : {}
3771
+ ...prepared.length > 0 ? { patches: prepared } : {}
3388
3772
  }
3389
3773
  };
3390
3774
  const includeId = await ctx.loader.create(rootInclude);
@@ -3417,11 +3801,22 @@ async function observeLoaderRejectionCheckpoint(reasons) {
3417
3801
  */
3418
3802
  const FAIL_LOUD_RELEASE_TIMEOUT_MS = 2e3;
3419
3803
  /**
3420
- * Install before boot to turn a late unhandled plugin-init rejection into one
3421
- * labelled stderr diagnostic and `exit(1)`. A rejection already included by
3422
- * {@link auditStartupEntries} is ignored during its process checkpoint;
3423
- * every other rejection remains fatal. Stdout remains untouched for ACP; the
3424
- * returned function removes the handler.
3804
+ * Install before boot to turn an unhandled rejection or an uncaught exception,
3805
+ * at any point in the process lifetime, into one labelled stderr diagnostic and
3806
+ * `exit(1)`. A rejection already included by {@link auditStartupEntries} is
3807
+ * ignored during its process checkpoint; every other rejection and every
3808
+ * uncaught exception remains fatal. Control never returns to the failed
3809
+ * operation after either: only the throw site knows which state is intact, and
3810
+ * a listener that threw mid-update (a stream `'data'` handler, a half-applied
3811
+ * registry write) leaves silently wrong results behind if it were resumed. The
3812
+ * event loop keeps running only until the release hook settles or times out.
3813
+ * Stdout remains untouched for ACP; the returned function removes both handlers.
3814
+ *
3815
+ * The diagnostic is `util.inspect(err)`, not `err.stack`: a `node:fs` error's
3816
+ * `code`, `syscall`, and `path` and any `cause` chain are enumerable properties
3817
+ * that the stack line omits, and they are what a crash report needs. Once a
3818
+ * handler is installed Node prints nothing of its own, so this line is the
3819
+ * only record of the failure.
3425
3820
  *
3426
3821
  * The Loader mounts entries concurrently, so a surface that owns the terminal
3427
3822
  * can already hold it when a sibling entry rejects. Exiting straight from the
@@ -3443,15 +3838,17 @@ const FAIL_LOUD_RELEASE_TIMEOUT_MS = 2e3;
3443
3838
  * @param release - optional teardown awaited before exit, used by a
3444
3839
  * terminal-owning surface to restore the terminal. Its own failure is
3445
3840
  * swallowed because the pending fatal exit already owns the outcome.
3446
- * @returns the uninstaller that removes the rejection handler.
3841
+ * @returns the uninstaller that removes both handlers.
3447
3842
  */
3448
3843
  function installFailLoud(binName, proc = process, release) {
3449
3844
  let exiting = false;
3450
- const handler = (err) => {
3451
- if (assembledActivationRejections.has(err)) return;
3845
+ const report = (err, label) => {
3452
3846
  if (exiting) return;
3453
3847
  exiting = true;
3454
- proc.stderr.write(`${binName}: fatal load failure: ${err instanceof Error ? err.stack ?? err.message : String(err)}\n`);
3848
+ proc.stderr.write(`${binName}: ${label}: ${inspect(err, {
3849
+ depth: 4,
3850
+ maxArrayLength: 50
3851
+ })}\n`);
3455
3852
  if (release === void 0) {
3456
3853
  proc.exit(1);
3457
3854
  return;
@@ -3467,8 +3864,19 @@ function installFailLoud(binName, proc = process, release) {
3467
3864
  proc.exit(1);
3468
3865
  })();
3469
3866
  };
3470
- const uninstall = () => void proc.off("unhandledRejection", handler);
3471
- proc.on("unhandledRejection", handler);
3867
+ const onRejection = (err) => {
3868
+ if (assembledActivationRejections.has(err)) return;
3869
+ report(err, "fatal load failure");
3870
+ };
3871
+ const onException = (err) => {
3872
+ report(err, "fatal uncaught exception");
3873
+ };
3874
+ const uninstall = () => {
3875
+ proc.off("unhandledRejection", onRejection);
3876
+ proc.off("uncaughtException", onException);
3877
+ };
3878
+ proc.on("unhandledRejection", onRejection);
3879
+ proc.on("uncaughtException", onException);
3472
3880
  return uninstall;
3473
3881
  }
3474
3882
  /**
@@ -3733,7 +4141,7 @@ async function boot(binName, absoluteConfigPath, patches, prepare, bareModuleBas
3733
4141
  await ctx.plugin(Loader);
3734
4142
  await prepare?.(ctx);
3735
4143
  stage = "plugin tree failed to load";
3736
- await mountRootInclude(ctx, absoluteConfigPath, patches, bareModuleBaseUrl);
4144
+ await mountRootInclude(ctx, absoluteConfigPath, patches, bareModuleBaseUrl, binName);
3737
4145
  await ctx.get("loader")?.await();
3738
4146
  if (ctx.get("loader") === void 0) return ctx;
3739
4147
  await auditStartupEntries(ctx, binName);
@@ -3787,4 +4195,4 @@ function addHarnessSourceSection(ctx, sourceRoot) {
3787
4195
  });
3788
4196
  }
3789
4197
  //#endregion
3790
- export { DEFAULT_PROFILE_BUNDLES, FAIL_LOUD_RELEASE_TIMEOUT_MS, HARNESS_SOURCE_SECTION, LOADER_EXPRESSION_SCHEMA, OPTIONAL_BUNDLES, PROFILES_DIR, PROFILE_PATCH_FILENAME, PROFILE_TEMPLATES, PluginPackages, StartupError, addHarnessSourceSection, auditStartupEntries, boot, bundlePatchFiles, bundlePatchPaths, composeEntries, createConfigProjector, createRuntimeResolution, generateConfigSchema, initProfile, installFailLoud, isNativeConfigSchema, loadEnv, loadLayeredEnv, loadOptionalPatches, loadOverlayPatches, loadProfile, loadProfileDirectory, mountRootInclude, readPluginMeta, readProfileManifest, readProfilePatches, readProfilePlugins, reconcileProfilePatches, reconcileProfilePlugins, removeLinkProjections, renderConfigDump, resolveBundleDir, resolveConfigPath, resolveInvokingDirectory, resolveProfileDir, resolveTelemetryPatch, restoreInvokingDirectory, sanitizeProfile, writeProfileBundles, writeProfileManifest };
4198
+ export { DEFAULT_PROFILE_BUNDLES, FAIL_LOUD_RELEASE_TIMEOUT_MS, HARNESS_SOURCE_SECTION, LOADER_EXPRESSION_SCHEMA, OPTIONAL_BUNDLES, PROFILES_DIR, PROFILE_COMPATIBILITY_FILENAME, PROFILE_PATCH_FILENAME, PROFILE_TEMPLATES, PluginPackages, StartupError, addHarnessSourceSection, auditStartupEntries, boot, bundlePatchFiles, bundlePatchPaths, composeEntries, createConfigProjector, createRuntimeResolution, evaluatePluginCompatibility, generateConfigSchema, getDshRuntimeVersion, initProfile, installFailLoud, isNativeConfigSchema, loadEnv, loadLayeredEnv, loadOptionalPatches, loadOverlayPatches, loadProfile, loadProfileDirectory, mountRootInclude, pluginCompatibilityWarning, prepareProfileEntries, prepareProfilePatches, readPluginMeta, readProfileCompatibility, readProfileManifest, readProfilePatches, readProfilePlugins, readProfileVersionExemptions, reconcileProfilePatches, reconcileProfilePlugins, removeLinkProjections, renderConfigDump, reportSkippedBundles, resolveBundleDir, resolveConfigPath, resolveInvokingDirectory, resolveProfileDir, resolveTelemetryPatch, restoreInvokingDirectory, sanitizeProfile, setProfileVersionExemption, writeProfileBundles, writeProfileManifest };