@songtonyli/dsh-cli 0.1.89 → 0.1.91

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 (625) hide show
  1. package/README.md +1 -1
  2. package/bin/dsh.mjs +1 -1
  3. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +26 -13
  4. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +6 -3
  5. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +51 -1
  6. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +2 -1
  7. package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-host-header/hostHeaderMiddleware.js +4 -2
  8. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/parseArn.js +4 -2
  9. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.js +18 -9
  10. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js +6 -3
  11. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -0
  12. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.js +51 -0
  13. package/node_modules/@aws-sdk/core/dist-es/submodules/util/util-arn-parser/arn.js +2 -1
  14. package/node_modules/@aws-sdk/core/package.json +2 -2
  15. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  16. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  17. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  18. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  19. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  20. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  21. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  22. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  23. package/node_modules/@aws-sdk/middleware-eventstream/dist-cjs/index.js +4 -2
  24. package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js +2 -1
  25. package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHeaderMiddleware.js +2 -1
  26. package/node_modules/@aws-sdk/middleware-eventstream/package.json +1 -1
  27. package/node_modules/@aws-sdk/middleware-websocket/package.json +2 -2
  28. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  29. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  30. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  31. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  32. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  33. package/node_modules/@aws-sdk/nested-clients/package.json +3 -3
  34. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +1 -1
  35. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  36. package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
  37. package/node_modules/@deepseek-ai/cordis/README.md +6 -2
  38. package/node_modules/@deepseek-ai/cordis/lib/index.js +955 -909
  39. package/node_modules/@deepseek-ai/cordis/src/context.ts +1 -1
  40. package/node_modules/@deepseek-ai/cordis/src/events.ts +81 -62
  41. package/node_modules/@deepseek-ai/cordis/src/fiber.ts +95 -58
  42. package/node_modules/@deepseek-ai/cordis/src/logger.ts +10 -5
  43. package/node_modules/@deepseek-ai/cordis/src/reflect.ts +37 -19
  44. package/node_modules/@deepseek-ai/cordis/src/utils.ts +28 -21
  45. package/node_modules/@deepseek-ai/cordis-plugin-include/lib/index.js +2 -2
  46. package/node_modules/@deepseek-ai/cordis-plugin-include/src/index.ts +2 -6
  47. package/node_modules/@deepseek-ai/cordis-plugin-loader/README.md +4 -0
  48. package/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js +40 -39
  49. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/entry.ts +13 -13
  50. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/group.ts +1 -3
  51. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/isolate.ts +10 -7
  52. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/index.ts +17 -20
  53. package/node_modules/@deepseek-ai/dsh/package.json +0 -1
  54. package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.host.js +1 -1
  55. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +5 -3
  56. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/host-plugin.md +13 -0
  57. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/index.js +2 -2
  58. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +1 -1
  59. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/mount.js +2 -2
  60. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.browser.js +1 -1
  61. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.node.js +1 -1
  62. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/remote-events.js +1 -1
  63. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +7464 -2004
  64. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +77 -92
  65. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +47 -3
  66. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +1 -1
  67. package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +8 -19
  68. package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +3 -0
  69. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +1 -1
  70. package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +2 -2
  71. package/node_modules/@deepseek-ai/dsh-client-modules/README.md +3 -1
  72. package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +3 -1
  73. package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +1 -1
  74. package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +37 -15
  75. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.i18n.yaml +4 -4
  76. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.md +3 -1
  77. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.zh.md +3 -1
  78. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +19 -6
  79. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +4 -2
  80. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +10 -10
  81. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +8 -2
  82. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +8 -2
  83. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +146 -30
  84. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +4 -2
  85. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +2 -2
  86. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +1 -1
  87. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +1 -1
  88. package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +295 -274
  89. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/README.i18n.yaml +40 -0
  90. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/README.md +100 -0
  91. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/README.zh.md +100 -0
  92. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/lib/client.js +1445 -0
  93. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/lib/index.js +6 -0
  94. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/de.json +5 -0
  95. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/en.json +5 -0
  96. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/es.json +5 -0
  97. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/fr.json +5 -0
  98. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/ja.json +5 -0
  99. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/pt.json +5 -0
  100. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/ru.json +5 -0
  101. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/locale/zh.json +5 -0
  102. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/package.json +61 -0
  103. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +4 -4
  104. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +4 -0
  105. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +4 -0
  106. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +119 -55
  107. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +4 -2
  108. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +2 -2
  109. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +2 -0
  110. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +2 -0
  111. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +19 -7
  112. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +4 -2
  113. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/README.i18n.yaml +40 -0
  114. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/README.md +92 -0
  115. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/README.zh.md +92 -0
  116. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/lib/client.js +1875 -0
  117. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/lib/index.js +6 -0
  118. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/de.json +5 -0
  119. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/en.json +5 -0
  120. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/es.json +5 -0
  121. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/fr.json +5 -0
  122. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/ja.json +5 -0
  123. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/pt.json +5 -0
  124. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/ru.json +5 -0
  125. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/locale/zh.json +5 -0
  126. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/package.json +65 -0
  127. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.i18n.yaml +6 -6
  128. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.md +9 -3
  129. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.zh.md +9 -3
  130. package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +91 -26
  131. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.i18n.yaml +2 -2
  132. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +8 -0
  133. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +8 -0
  134. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +431 -2
  135. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +13 -2
  136. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +8 -8
  137. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +6 -3
  138. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +6 -3
  139. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +111 -48
  140. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.i18n.yaml +2 -2
  141. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.md +1 -1
  142. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.zh.md +1 -1
  143. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/lib/client.js +2 -1
  144. package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.i18n.yaml +2 -2
  145. package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.md +2 -0
  146. package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.zh.md +2 -0
  147. package/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/client.js +28 -5
  148. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +4 -2
  149. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +19 -19
  150. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +25 -39
  151. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +23 -37
  152. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +10359 -3743
  153. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +1 -0
  154. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +2 -2
  155. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +1 -1
  156. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +1 -1
  157. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +76 -58
  158. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +6 -6
  159. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +5 -1
  160. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +5 -1
  161. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +46 -18
  162. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +8 -8
  163. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +7 -5
  164. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +7 -5
  165. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +349 -251
  166. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +5 -2
  167. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.i18n.yaml +20 -14
  168. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.md +44 -11
  169. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.zh.md +44 -11
  170. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/client.js +1571 -472
  171. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +5 -3
  172. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.i18n.yaml +12 -12
  173. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.md +15 -7
  174. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +15 -7
  175. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +435 -52
  176. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +4 -2
  177. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +8 -0
  178. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +2 -2
  179. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +1 -1
  180. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +1 -1
  181. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +1 -1
  182. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +4 -4
  183. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +5 -1
  184. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +5 -1
  185. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +195 -59
  186. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +5 -2
  187. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.i18n.yaml +4 -4
  188. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.md +6 -2
  189. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +6 -2
  190. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +127 -27
  191. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +15 -15
  192. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +16 -8
  193. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +17 -8
  194. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +523 -480
  195. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +4 -2
  196. package/node_modules/@deepseek-ai/dsh-commands/README.i18n.yaml +4 -4
  197. package/node_modules/@deepseek-ai/dsh-commands/README.md +3 -0
  198. package/node_modules/@deepseek-ai/dsh-commands/README.zh.md +3 -0
  199. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +1 -1
  200. package/node_modules/@deepseek-ai/dsh-commands/lib/types/builtin.js +39 -0
  201. package/node_modules/@deepseek-ai/dsh-commands/package.json +5 -1
  202. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.i18n.yaml +4 -10
  203. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.md +2 -0
  204. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.zh.md +2 -0
  205. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +233 -56
  206. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +2 -2
  207. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.i18n.yaml +2 -2
  208. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.md +2 -0
  209. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.zh.md +2 -0
  210. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.i18n.yaml +16 -19
  211. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.md +11 -22
  212. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.zh.md +11 -22
  213. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/lib/index.js +2 -0
  214. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/lib/client.js +1 -1
  215. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.i18n.yaml +12 -12
  216. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.md +18 -10
  217. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.zh.md +20 -12
  218. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/client.js +3338 -297
  219. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/index.js +159 -52
  220. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.host.js +298 -18
  221. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.remote-client.js +267 -13
  222. package/node_modules/@deepseek-ai/dsh-experimental-forge/README.i18n.yaml +2 -2
  223. package/node_modules/@deepseek-ai/dsh-experimental-forge/README.md +5 -1
  224. package/node_modules/@deepseek-ai/dsh-experimental-forge/README.zh.md +5 -1
  225. package/node_modules/@deepseek-ai/dsh-experimental-forge/lib/index.js +48 -6
  226. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/README.i18n.yaml +8 -8
  227. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/README.md +9 -5
  228. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/README.zh.md +9 -5
  229. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/lib/index.js +301 -31
  230. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/package.json +1 -0
  231. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/client.js +5 -58
  232. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/index.js +5 -2
  233. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/package.json +1 -1
  234. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/lib/client.js +77 -92
  235. package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/index.js +2 -2
  236. package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/deepseek.js +2 -2
  237. package/node_modules/@deepseek-ai/dsh-fs/README.i18n.yaml +12 -12
  238. package/node_modules/@deepseek-ai/dsh-fs/README.md +15 -7
  239. package/node_modules/@deepseek-ai/dsh-fs/README.zh.md +15 -7
  240. package/node_modules/@deepseek-ai/dsh-fs/lib/index.js +21 -2
  241. package/node_modules/@deepseek-ai/dsh-fs/package.json +3 -0
  242. package/node_modules/@deepseek-ai/dsh-fs-local/README.i18n.yaml +4 -4
  243. package/node_modules/@deepseek-ai/dsh-fs-local/README.md +4 -2
  244. package/node_modules/@deepseek-ai/dsh-fs-local/README.zh.md +4 -2
  245. package/node_modules/@deepseek-ai/dsh-fs-local/lib/index.js +156 -30
  246. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +2 -1
  247. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.i18n.yaml +6 -6
  248. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.md +4 -2
  249. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.zh.md +4 -2
  250. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/lib/index.js +12 -4
  251. package/node_modules/@deepseek-ai/dsh-fs-patch/LICENSE +235 -0
  252. package/node_modules/@deepseek-ai/dsh-fs-patch/README.i18n.yaml +40 -0
  253. package/node_modules/@deepseek-ai/dsh-fs-patch/README.md +112 -0
  254. package/node_modules/@deepseek-ai/dsh-fs-patch/README.zh.md +112 -0
  255. package/node_modules/@deepseek-ai/dsh-fs-patch/lib/index.js +275 -0
  256. package/node_modules/@deepseek-ai/dsh-fs-patch/package.json +35 -0
  257. package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.i18n.yaml +6 -6
  258. package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.md +4 -2
  259. package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.zh.md +4 -2
  260. package/node_modules/@deepseek-ai/dsh-fs-sandbox/lib/index.js +24 -1
  261. package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +1 -1
  262. package/node_modules/@deepseek-ai/dsh-hmr/lib/index.js +4 -3
  263. package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +2 -2
  264. package/node_modules/@deepseek-ai/dsh-llm/README.md +2 -0
  265. package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +2 -0
  266. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +9 -1
  267. package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +4 -3
  268. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +5 -2
  269. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +7 -0
  270. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +7 -0
  271. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +27 -11
  272. package/node_modules/@deepseek-ai/dsh-official-bundles/README.i18n.yaml +2 -2
  273. package/node_modules/@deepseek-ai/dsh-official-bundles/README.md +1 -1
  274. package/node_modules/@deepseek-ai/dsh-official-bundles/README.zh.md +1 -1
  275. package/node_modules/@deepseek-ai/dsh-official-bundles/lib/index.js +86 -52
  276. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +1 -1
  277. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +2 -2
  278. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +4 -4
  279. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +4 -4
  280. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +32 -12
  281. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +31 -31
  282. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +27 -27
  283. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/github-connection.js +13 -3
  284. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +14 -2
  285. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/install-spec.js +1 -1
  286. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +2 -0
  287. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/typert.host.js +1 -1
  288. package/node_modules/@deepseek-ai/dsh-schedule/README.i18n.yaml +72 -39
  289. package/node_modules/@deepseek-ai/dsh-schedule/README.md +180 -56
  290. package/node_modules/@deepseek-ai/dsh-schedule/README.zh.md +185 -61
  291. package/node_modules/@deepseek-ai/dsh-schedule/lib/index.js +1270 -992
  292. package/node_modules/@deepseek-ai/dsh-schedule/lib/typert.host.js +1842 -274
  293. package/node_modules/@deepseek-ai/dsh-schedule/lib/typert.remote-client.js +1712 -194
  294. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/delivery-history.js +7 -20
  295. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/domain.js +199 -655
  296. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/index.js +452 -204
  297. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/runtime.js +389 -70
  298. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/storage.js +85 -16
  299. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/types.js +1 -1
  300. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/update.js +72 -144
  301. package/node_modules/@deepseek-ai/dsh-schedule/package.json +5 -2
  302. package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +12 -12
  303. package/node_modules/@deepseek-ai/dsh-sdk-app/README.md +7 -4
  304. package/node_modules/@deepseek-ai/dsh-sdk-app/README.zh.md +7 -4
  305. package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +3 -0
  306. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.i18n.yaml +52 -4
  307. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.md +77 -1
  308. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.zh.md +77 -1
  309. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +306 -2
  310. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +15 -0
  311. package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.i18n.yaml +4 -4
  312. package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.md +10 -2
  313. package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.zh.md +10 -2
  314. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +2 -0
  315. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.i18n.yaml +9 -6
  316. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.md +20 -1
  317. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.zh.md +20 -1
  318. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/index.js +91 -57
  319. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/types/index.js +100 -66
  320. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +947 -917
  321. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +1 -1
  322. package/node_modules/@deepseek-ai/dsh-session-title-llm/README.i18n.yaml +2 -2
  323. package/node_modules/@deepseek-ai/dsh-session-title-llm/README.md +1 -1
  324. package/node_modules/@deepseek-ai/dsh-session-title-llm/README.zh.md +1 -1
  325. package/node_modules/@deepseek-ai/dsh-settings/lib/index.js +2 -2
  326. package/node_modules/@deepseek-ai/dsh-settings/lib/types/index.js +2 -2
  327. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +1 -1
  328. package/node_modules/@deepseek-ai/dsh-system-prompt/lib/index.js +2 -0
  329. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +260 -92
  330. package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +38 -20
  331. package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +63 -5
  332. package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +63 -5
  333. package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +784 -27
  334. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +4 -1
  335. package/node_modules/@deepseek-ai/dsh-tool-schedule/README.i18n.yaml +50 -32
  336. package/node_modules/@deepseek-ai/dsh-tool-schedule/README.md +47 -20
  337. package/node_modules/@deepseek-ai/dsh-tool-schedule/README.zh.md +47 -20
  338. package/node_modules/@deepseek-ai/dsh-tool-schedule/lib/index.js +477 -445
  339. package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +7 -2
  340. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +2 -2
  341. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +1 -1
  342. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +1 -1
  343. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +24 -8
  344. package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +1 -1
  345. package/node_modules/@deepseek-ai/dsh-util-time/README.i18n.yaml +10 -10
  346. package/node_modules/@deepseek-ai/dsh-util-time/README.md +11 -7
  347. package/node_modules/@deepseek-ai/dsh-util-time/README.zh.md +11 -7
  348. package/node_modules/@deepseek-ai/dsh-util-time/lib/index.js +1020 -3
  349. package/node_modules/@deepseek-ai/dsh-util-time/package.json +4 -2
  350. package/node_modules/@deepseek-ai/dsh-util-values/README.i18n.yaml +2 -2
  351. package/node_modules/@deepseek-ai/dsh-util-values/README.md +1 -1
  352. package/node_modules/@deepseek-ai/dsh-util-values/README.zh.md +1 -1
  353. package/node_modules/@deepseek-ai/dsh-util-values/lib/index.js +77 -92
  354. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +5 -1
  355. package/node_modules/@deepseek-ai/dsh-web-app/package.json +3 -1
  356. package/node_modules/@deepseek-ai/dsh-web-app/presets/cordis.patch.yml +3 -0
  357. package/node_modules/@deepseek-ai/dsh-web-app/presets/ptc.patch.yml +3 -0
  358. package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +3 -0
  359. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BCbHmUSs.js +197 -0
  360. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BUDGJY4R.css +1 -0
  361. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
  362. package/node_modules/@deepseek-ai/dsh-workflow-ptc/lib/index.js +1 -1
  363. package/node_modules/@deepseek-ai/dsh-workspace-changes/README.i18n.yaml +4 -4
  364. package/node_modules/@deepseek-ai/dsh-workspace-changes/README.md +3 -1
  365. package/node_modules/@deepseek-ai/dsh-workspace-changes/README.zh.md +4 -2
  366. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/index.js +5 -0
  367. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/index.js +5 -0
  368. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +4 -1
  369. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.cjs +16917 -0
  370. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.mjs +15193 -0
  371. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.cjs +325 -0
  372. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.mjs +295 -0
  373. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.cjs +4642 -0
  374. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.mjs +4155 -0
  375. package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.cjs +2495 -0
  376. package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.mjs +7 -0
  377. package/node_modules/@opentelemetry/semantic-conventions/dist/index.cjs +662 -0
  378. package/node_modules/@opentelemetry/semantic-conventions/dist/index.mjs +6 -0
  379. package/node_modules/@opentelemetry/semantic-conventions/dist/internal/utils.cjs +20 -0
  380. package/node_modules/@opentelemetry/semantic-conventions/dist/internal/utils.mjs +20 -0
  381. package/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.cjs +1326 -0
  382. package/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.mjs +1188 -0
  383. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.cjs +1947 -0
  384. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.mjs +1756 -0
  385. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.cjs +9 -0
  386. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.mjs +9 -0
  387. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.cjs +362 -0
  388. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.mjs +312 -0
  389. package/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.cjs +2508 -0
  390. package/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.mjs +2236 -0
  391. package/node_modules/@opentelemetry/semantic-conventions/package.json +22 -35
  392. package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
  393. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -16
  394. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +26 -13
  395. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +8 -4
  396. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +16 -8
  397. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +8 -4
  398. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -1
  399. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +10 -5
  400. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +18 -9
  401. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +18 -9
  402. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +42 -24
  403. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +20 -10
  404. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +24 -12
  405. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +13 -4
  406. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +7 -1
  407. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +13 -4
  408. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +6 -3
  409. package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
  410. package/node_modules/@smithy/core/dist-es/normalizeProvider.js +2 -1
  411. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +8 -4
  412. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +6 -3
  413. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +12 -6
  414. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +4 -2
  415. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -1
  416. package/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js +10 -5
  417. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js +2 -1
  418. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +4 -2
  419. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +2 -1
  420. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +2 -1
  421. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +4 -2
  422. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +2 -1
  423. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +8 -4
  424. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js +6 -3
  425. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js +2 -1
  426. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +8 -4
  427. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +2 -1
  428. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +6 -3
  429. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +2 -1
  430. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +2 -1
  431. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.js +2 -1
  432. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +2 -1
  433. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.js +4 -2
  434. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +8 -4
  435. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -2
  436. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +2 -1
  437. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +7 -5
  438. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +7 -5
  439. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +7 -5
  440. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +6 -3
  441. package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +3 -0
  442. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +4 -2
  443. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +2 -1
  444. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +6 -3
  445. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +6 -3
  446. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js +6 -3
  447. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
  448. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  449. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
  450. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +2 -1
  451. package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js +6 -3
  452. package/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js +2 -1
  453. package/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js +2 -1
  454. package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +2 -1
  455. package/node_modules/@smithy/core/package.json +1 -1
  456. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +19 -7
  457. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +2 -1
  458. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +11 -6
  459. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +6 -0
  460. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  461. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +23 -11
  462. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +4 -2
  463. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +4 -2
  464. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +5 -1
  465. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +2 -1
  466. package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +2 -1
  467. package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +6 -3
  468. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -1
  469. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -1
  470. package/node_modules/@smithy/signature-v4/package.json +2 -2
  471. package/node_modules/@types/node/README.md +1 -1
  472. package/node_modules/@types/node/package.json +2 -2
  473. package/node_modules/encodeurl/README.md +14 -0
  474. package/node_modules/encodeurl/index.js +5 -10
  475. package/node_modules/encodeurl/package.json +7 -3
  476. package/node_modules/hast-util-to-html/lib/handle/comment.js +6 -1
  477. package/node_modules/hast-util-to-html/lib/handle/doctype.js +1 -1
  478. package/node_modules/hast-util-to-html/lib/handle/element.js +33 -9
  479. package/node_modules/hast-util-to-html/lib/handle/index.js +1 -1
  480. package/node_modules/hast-util-to-html/lib/handle/raw.js +1 -1
  481. package/node_modules/hast-util-to-html/lib/handle/root.js +1 -1
  482. package/node_modules/hast-util-to-html/lib/handle/text.js +1 -1
  483. package/node_modules/hast-util-to-html/lib/index.js +9 -4
  484. package/node_modules/hast-util-to-html/lib/omission/closing.js +7 -5
  485. package/node_modules/hast-util-to-html/lib/omission/omission.js +0 -1
  486. package/node_modules/hast-util-to-html/lib/omission/opening.js +4 -2
  487. package/node_modules/hast-util-to-html/lib/omission/util/siblings.js +3 -0
  488. package/node_modules/hast-util-to-html/package.json +5 -23
  489. package/node_modules/hast-util-to-html/readme.md +3 -2
  490. package/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
  491. package/node_modules/jose/package.json +1 -1
  492. package/node_modules/rrule/LICENCE +65 -0
  493. package/node_modules/rrule/README.md +837 -0
  494. package/node_modules/rrule/dist/es5/rrule.js +3803 -0
  495. package/node_modules/rrule/dist/es5/rrule.min.js +2 -0
  496. package/node_modules/rrule/dist/esm/cache.js +95 -0
  497. package/node_modules/rrule/dist/esm/callbackiterresult.js +24 -0
  498. package/node_modules/rrule/dist/esm/datetime.js +186 -0
  499. package/node_modules/rrule/dist/esm/dateutil.js +161 -0
  500. package/node_modules/rrule/dist/esm/datewithzone.js +36 -0
  501. package/node_modules/rrule/dist/esm/helpers.js +118 -0
  502. package/node_modules/rrule/dist/esm/index.js +22 -0
  503. package/node_modules/rrule/dist/esm/iter/index.js +138 -0
  504. package/node_modules/rrule/dist/esm/iter/poslist.js +42 -0
  505. package/node_modules/rrule/dist/esm/iterinfo/easter.js +21 -0
  506. package/node_modules/rrule/dist/esm/iterinfo/index.js +188 -0
  507. package/node_modules/rrule/dist/esm/iterinfo/monthinfo.js +51 -0
  508. package/node_modules/rrule/dist/esm/iterinfo/yearinfo.js +128 -0
  509. package/node_modules/rrule/dist/esm/iterresult.js +88 -0
  510. package/node_modules/rrule/dist/esm/iterset.js +63 -0
  511. package/node_modules/rrule/dist/esm/masks.js +30 -0
  512. package/node_modules/rrule/dist/esm/nlp/i18n.js +74 -0
  513. package/node_modules/rrule/dist/esm/nlp/index.js +122 -0
  514. package/node_modules/rrule/dist/esm/nlp/parsetext.js +391 -0
  515. package/node_modules/rrule/dist/esm/nlp/totext.js +395 -0
  516. package/node_modules/rrule/dist/esm/optionstostring.js +98 -0
  517. package/node_modules/rrule/dist/esm/parseoptions.js +201 -0
  518. package/node_modules/rrule/dist/esm/parsestring.js +128 -0
  519. package/node_modules/rrule/dist/esm/rrule.js +232 -0
  520. package/node_modules/rrule/dist/esm/rruleset.js +182 -0
  521. package/node_modules/rrule/dist/esm/rrulestr.js +188 -0
  522. package/node_modules/rrule/dist/esm/types.js +14 -0
  523. package/node_modules/rrule/dist/esm/weekday.js +45 -0
  524. package/node_modules/rrule/package.json +79 -0
  525. package/package.json +32 -31
  526. package/node_modules/@deepseek-ai/dsh-computer-use/README.i18n.yaml +0 -37
  527. package/node_modules/@deepseek-ai/dsh-computer-use/README.md +0 -90
  528. package/node_modules/@deepseek-ai/dsh-computer-use/README.zh.md +0 -90
  529. package/node_modules/@deepseek-ai/dsh-computer-use/lib/index.js +0 -35
  530. package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/brand.js +0 -10
  531. package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/index.js +0 -36
  532. package/node_modules/@deepseek-ai/dsh-computer-use/locale/de.json +0 -6
  533. package/node_modules/@deepseek-ai/dsh-computer-use/locale/en.json +0 -6
  534. package/node_modules/@deepseek-ai/dsh-computer-use/locale/es.json +0 -6
  535. package/node_modules/@deepseek-ai/dsh-computer-use/locale/fr.json +0 -6
  536. package/node_modules/@deepseek-ai/dsh-computer-use/locale/ja.json +0 -6
  537. package/node_modules/@deepseek-ai/dsh-computer-use/locale/pt.json +0 -6
  538. package/node_modules/@deepseek-ai/dsh-computer-use/locale/ru.json +0 -6
  539. package/node_modules/@deepseek-ai/dsh-computer-use/locale/zh.json +0 -6
  540. package/node_modules/@deepseek-ai/dsh-computer-use/package.json +0 -44
  541. package/node_modules/@deepseek-ai/dsh-cua/README.i18n.yaml +0 -49
  542. package/node_modules/@deepseek-ai/dsh-cua/README.md +0 -130
  543. package/node_modules/@deepseek-ai/dsh-cua/README.zh.md +0 -130
  544. package/node_modules/@deepseek-ai/dsh-cua/lib/api.js +0 -597
  545. package/node_modules/@deepseek-ai/dsh-cua/lib/bridge.js +0 -611
  546. package/node_modules/@deepseek-ai/dsh-cua/lib/client.js +0 -1758
  547. package/node_modules/@deepseek-ai/dsh-cua/lib/index.js +0 -1916
  548. package/node_modules/@deepseek-ai/dsh-cua/lib/native-client.js +0 -285
  549. package/node_modules/@deepseek-ai/dsh-cua/lib/protocol.js +0 -305
  550. package/node_modules/@deepseek-ai/dsh-cua/lib/remote-types.js +0 -1
  551. package/node_modules/@deepseek-ai/dsh-cua/lib/typert.host.js +0 -416
  552. package/node_modules/@deepseek-ai/dsh-cua/lib/typert.remote-client.js +0 -301
  553. package/node_modules/@deepseek-ai/dsh-cua/locale/de.json +0 -6
  554. package/node_modules/@deepseek-ai/dsh-cua/locale/en.json +0 -6
  555. package/node_modules/@deepseek-ai/dsh-cua/locale/es.json +0 -6
  556. package/node_modules/@deepseek-ai/dsh-cua/locale/fr.json +0 -6
  557. package/node_modules/@deepseek-ai/dsh-cua/locale/ja.json +0 -6
  558. package/node_modules/@deepseek-ai/dsh-cua/locale/pt.json +0 -6
  559. package/node_modules/@deepseek-ai/dsh-cua/locale/ru.json +0 -6
  560. package/node_modules/@deepseek-ai/dsh-cua/locale/zh.json +0 -6
  561. package/node_modules/@deepseek-ai/dsh-cua/package.json +0 -151
  562. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.i18n.yaml +0 -46
  563. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.md +0 -94
  564. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.zh.md +0 -94
  565. package/node_modules/@deepseek-ai/dsh-cua-bundle/cordis.patch.yml +0 -10
  566. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.md +0 -1
  567. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.zh.md +0 -1
  568. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.svg +0 -33
  569. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.zh.svg +0 -33
  570. package/node_modules/@deepseek-ai/dsh-cua-bundle/icon.svg +0 -35
  571. package/node_modules/@deepseek-ai/dsh-cua-bundle/lib/index.js +0 -1
  572. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/de.json +0 -7
  573. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/en.json +0 -7
  574. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/es.json +0 -7
  575. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/fr.json +0 -7
  576. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ja.json +0 -7
  577. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/pt.json +0 -7
  578. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ru.json +0 -7
  579. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/zh.json +0 -7
  580. package/node_modules/@deepseek-ai/dsh-cua-bundle/package.json +0 -58
  581. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index--TtJvO-i.js +0 -197
  582. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Jtzf36XE.css +0 -1
  583. package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js +0 -14991
  584. package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js +0 -298
  585. package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js +0 -4060
  586. package/node_modules/@opentelemetry/semantic-conventions/build/esm/index-incubating.js +0 -13
  587. package/node_modules/@opentelemetry/semantic-conventions/build/esm/index.js +0 -16
  588. package/node_modules/@opentelemetry/semantic-conventions/build/esm/internal/utils.js +0 -23
  589. package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/SemanticResourceAttributes.js +0 -1250
  590. package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/index.js +0 -10
  591. package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js +0 -1733
  592. package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.js +0 -12
  593. package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_metrics.js +0 -315
  594. package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/SemanticAttributes.js +0 -2360
  595. package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/index.js +0 -10
  596. package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js +0 -7
  597. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js +0 -14991
  598. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js +0 -298
  599. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js +0 -4060
  600. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index-incubating.js +0 -13
  601. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index.js +0 -16
  602. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/internal/utils.js +0 -23
  603. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/SemanticResourceAttributes.js +0 -1250
  604. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/index.js +0 -10
  605. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js +0 -1733
  606. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_events.js +0 -12
  607. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_metrics.js +0 -315
  608. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/SemanticAttributes.js +0 -2360
  609. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/index.js +0 -10
  610. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js +0 -7
  611. package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js +0 -15049
  612. package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js +0 -301
  613. package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js +0 -4072
  614. package/node_modules/@opentelemetry/semantic-conventions/build/src/index-incubating.js +0 -29
  615. package/node_modules/@opentelemetry/semantic-conventions/build/src/index.js +0 -32
  616. package/node_modules/@opentelemetry/semantic-conventions/build/src/internal/utils.js +0 -27
  617. package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/SemanticResourceAttributes.js +0 -1255
  618. package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/index.js +0 -26
  619. package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js +0 -1759
  620. package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_events.js +0 -15
  621. package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_metrics.js +0 -319
  622. package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/SemanticAttributes.js +0 -2368
  623. package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/index.js +0 -26
  624. package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js +0 -10
  625. /package/node_modules/@smithy/core/dist-es/submodules/{protocols → serde}/writeKey.js +0 -0
@@ -171,6 +171,21 @@ window.__ModuleLoader__.load({
171
171
  }) ?? null;
172
172
  }
173
173
  //#endregion
174
+ //#region lib/types/client/file-path.js
175
+ /**
176
+ * Bind path resolution to the originating Session without capturing its current directory.
177
+ * @param ctx - Chat plugin context.
178
+ * @param sessionId - Original Session identity.
179
+ * @returns Resolver using the live working directory, falling back to the workspace root.
180
+ */
181
+ function sessionFilePath(ctx, sessionId) {
182
+ return (path) => {
183
+ const cwd = ctx.sessions.list.getSnapshot().byId[sessionId]?.cwd;
184
+ const current = ctx.sessions.binding(sessionId)?.session.projections.faceOf("workingDirectory").getSnapshot();
185
+ return resolveWorkspacePath(current ?? cwd, path);
186
+ };
187
+ }
188
+ //#endregion
174
189
  //#region lib/types/client/contract/group-tree.js
175
190
  const DEPTH = {
176
191
  exchange: 0,
@@ -4280,7 +4295,41 @@ window.__ModuleLoader__.load({
4280
4295
  * The chat view slot entry: pure component over the composed props; each
4281
4296
  * ordered business Node crosses the keyed renderer seat.
4282
4297
  */
4283
- function ChatView({ useSession, useChat, useConversation, useSessions, renderSlot, sessionId, openFile, openExternalLink, loadOlder, loadThrough, loadImage, inspectCall, chatScroll, forkAt, fileMentions, usePresentation, useProjection, useInteractionIds, dispatchInteraction, t, fileDrag }) {
4298
+ function ChatView({ useSession, useChat, useConversation, useSessions, renderSlot, sessionId, openFile, openExternalLink, resolveFilePath, useContextMenu, loadOlder, loadThrough, loadImage, inspectCall, chatScroll, forkAt, usePresentation, useProjection, useInteractionIds, dispatchInteraction, t, fileDrag }) {
4299
+ const { getTriggerProps } = useContextMenu();
4300
+ const getMarkdownTriggerProps = (0, react.useCallback)((target) => getTriggerProps(() => {
4301
+ switch (target.kind) {
4302
+ case "file": return {
4303
+ kind: "file",
4304
+ value: {
4305
+ sessionId,
4306
+ path: resolveFilePath(target.path),
4307
+ ...target.line === void 0 ? {} : { line: target.line }
4308
+ }
4309
+ };
4310
+ case "url": return {
4311
+ kind: "url",
4312
+ value: {
4313
+ sessionId,
4314
+ url: target.url
4315
+ }
4316
+ };
4317
+ case "image": return {
4318
+ kind: "image",
4319
+ value: {
4320
+ sessionId,
4321
+ url: target.url,
4322
+ ...target.name === void 0 ? {} : { name: target.name },
4323
+ ...target.mediaType === void 0 ? {} : { mediaType: target.mediaType },
4324
+ ...target.path === void 0 ? {} : { path: resolveFilePath(target.path) }
4325
+ }
4326
+ };
4327
+ }
4328
+ }), [
4329
+ getTriggerProps,
4330
+ resolveFilePath,
4331
+ sessionId
4332
+ ]);
4284
4333
  const order = useChat((s) => s.order);
4285
4334
  const groupedEntries = useConversation((snapshot) => snapshot.views.grouped("chat")?.entries);
4286
4335
  const entries = (0, react.useMemo)(() => groupedEntries ?? order.map((key) => ({
@@ -4458,6 +4507,7 @@ window.__ModuleLoader__.load({
4458
4507
  })
4459
4508
  }),
4460
4509
  (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.MarkdownDelegateProvider, {
4510
+ getTriggerProps: getMarkdownTriggerProps,
4461
4511
  openFile: requestOpenFile,
4462
4512
  openExternalLink,
4463
4513
  fileImages,
@@ -4470,8 +4520,7 @@ window.__ModuleLoader__.load({
4470
4520
  openFile: requestOpenFile,
4471
4521
  inspectCall,
4472
4522
  forkAt,
4473
- loadImage,
4474
- fileMentions
4523
+ loadImage
4475
4524
  }, { hookContext: flowContext })
4476
4525
  }),
4477
4526
  (0, react_jsx_runtime.jsx)("div", {
@@ -5297,7 +5346,7 @@ window.__ModuleLoader__.load({
5297
5346
  * Policy reads select this seat's own conclusion, so a mode change re-renders
5298
5347
  * only seats whose visibility actually changes.
5299
5348
  */
5300
- const ChatNodeSeat = (0, react.memo)(function ChatNodeSeat({ nodeKey, groupPart, useChatNode, useChatNodeProcess, usePresentation, cwd, openFile, inspectCall, forkAt, loadImage, fileMentions, useStore, actions, renderSlot, t, useChatNodeBottom, deferCollapse, useGroupAction }) {
5349
+ const ChatNodeSeat = (0, react.memo)(function ChatNodeSeat({ nodeKey, groupPart, useChatNode, useChatNodeProcess, usePresentation, cwd, openFile, inspectCall, forkAt, loadImage, useStore, actions, renderSlot, t, useChatNodeBottom, deferCollapse, useGroupAction }) {
5301
5350
  const bottom = useChatNodeBottom(nodeKey);
5302
5351
  const node = useChatNode(nodeKey);
5303
5352
  const routedNode = node;
@@ -5370,7 +5419,6 @@ window.__ModuleLoader__.load({
5370
5419
  inspectCall,
5371
5420
  forkAt,
5372
5421
  loadImage,
5373
- fileMentions,
5374
5422
  turnProcess
5375
5423
  }, [
5376
5424
  node,
@@ -5380,7 +5428,6 @@ window.__ModuleLoader__.load({
5380
5428
  inspectCall,
5381
5429
  forkAt,
5382
5430
  loadImage,
5383
- fileMentions,
5384
5431
  turnProcess
5385
5432
  ]);
5386
5433
  if (routedNode === void 0 || owner === null) return null;
@@ -6595,7 +6642,7 @@ window.__ModuleLoader__.load({
6595
6642
  return isLocalSubmission(item) && item.placement === "transcript";
6596
6643
  }
6597
6644
  /** Render the flow without adding a DOM parent or changing keyed row positions. */
6598
- const ChatFlow = (0, react.memo)(function ChatFlow({ entries, pendingInputs, lastInputTurn, deferCollapse, useSession, useChat, useChatNode, useChatNodeBottom, useChatNodeProcess, useChatGroup, usePresentation, useConnectionState, useStore, actions, renderSlot, renderFactorySlot, t, useGroupAction, useGroupHeaderAction, cwd, openFile, inspectCall, forkAt, loadImage, fileMentions }) {
6645
+ const ChatFlow = (0, react.memo)(function ChatFlow({ entries, pendingInputs, lastInputTurn, deferCollapse, useSession, useChat, useChatNode, useChatNodeBottom, useChatNodeProcess, useChatGroup, usePresentation, useConnectionState, useStore, actions, renderSlot, renderFactorySlot, t, useGroupAction, useGroupHeaderAction, cwd, openFile, inspectCall, forkAt, loadImage }) {
6599
6646
  const nodeStore = useChat((snapshot) => snapshot.nodes);
6600
6647
  const running = useSession((snapshot) => snapshot.running);
6601
6648
  const disconnected = useConnectionState((state) => state === "disconnected" || state === "connecting");
@@ -6625,8 +6672,7 @@ window.__ModuleLoader__.load({
6625
6672
  openFile,
6626
6673
  inspectCall,
6627
6674
  forkAt,
6628
- loadImage,
6629
- fileMentions
6675
+ loadImage
6630
6676
  };
6631
6677
  const rows = entries.map((entry) => {
6632
6678
  switch (entry.kind) {
@@ -8272,6 +8318,29 @@ window.__ModuleLoader__.load({
8272
8318
  "clock.ymd": "{y}-{m}-{d}"
8273
8319
  };
8274
8320
  //#endregion
8321
+ //#region lib/types/client/reasoning-text.js
8322
+ /** Display text preparation for model reasoning. */
8323
+ /**
8324
+ * Prepare complete or streaming reasoning for display.
8325
+ * @param text - original complete or streaming reasoning.
8326
+ * @returns display text, or empty text when no displayable content is available.
8327
+ */
8328
+ function reasoningText(text) {
8329
+ if (text[0] !== "<") return text;
8330
+ /* v8 ignore start -- Custom rendering behavior is outside unit coverage. */
8331
+ const opening = "<signature>";
8332
+ if (opening.startsWith(text)) return "";
8333
+ if (!text.startsWith(opening)) return text;
8334
+ const end = text.indexOf("</signature>", 11);
8335
+ if (end === -1) return "";
8336
+ let start = end + 12;
8337
+ while (start < text.length) if (text[start] === "\n") start++;
8338
+ else if (text[start] === "\r" && text[start + 1] === "\n") start += 2;
8339
+ else break;
8340
+ return text.slice(start);
8341
+ /* v8 ignore stop */
8342
+ }
8343
+ //#endregion
8275
8344
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-chat/src/client/chat/ReasoningRow.module.css.mjs
8276
8345
  const css$9 = ".SOxCqq_root{flex-direction:column;display:flex}.SOxCqq_root:not([data-expanded]){contain:size layout;height:calc(24px + var(--dsh-content-font-delta,0px))}.SOxCqq_row{overflow:hidden}.SOxCqq_root[data-expanded] [data-open] [data-disclosure-header]{z-index:1;background:var(--dsw-alias-bg-base);position:sticky;top:0}.SOxCqq_leading{flex-shrink:0}.SOxCqq_title{font-weight:400}.SOxCqq_separator{background:var(--dsw-alias-label-caption);border-radius:1px;flex:none;width:2px;height:2px;margin:0 8px}.SOxCqq_summary{min-width:0;font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px));white-space:nowrap;flex:auto;overflow:hidden}.SOxCqq_summaryText{text-overflow:ellipsis;display:block;overflow:hidden}.SOxCqq_summary[data-streaming]{mask-image:linear-gradient(90deg,#000 calc(100% - 48px),#0000)}.SOxCqq_summary[data-streaming] .SOxCqq_summaryText{text-overflow:clip;overflow:visible}.SOxCqq_root:not([data-preview]) .SOxCqq_separator,.SOxCqq_root:not([data-preview]) .SOxCqq_summary{display:none}.SOxCqq_thinkBody{padding:4px 0 4px calc(22px + var(--dsh-content-font-delta,0px));min-width:0}";
8277
8346
  const tagId$9 = "@deepseek-ai/dsh-client-ui-chat/ReasoningRow.module.css";
@@ -8321,7 +8390,7 @@ window.__ModuleLoader__.load({
8321
8390
  * collapsed summary omits double-asterisk markers; expanded content renders
8322
8391
  * the complete Markdown with secondary typography. A streaming preview advances
8323
8392
  * when a paragraph's first line completes. Mode changes toggle CSS display without unmounting
8324
- * collapsed summaries.
8393
+ * collapsed summaries. The Body Slot receives both original and display-ready text.
8325
8394
  * @param props.text - complete or streaming reasoning text.
8326
8395
  * @param props.running - whether this block is the streaming tail.
8327
8396
  * @param props.usePresentation - live display-policy selector for this reasoning row.
@@ -8330,8 +8399,15 @@ window.__ModuleLoader__.load({
8330
8399
  * @param props.t - conversation locale seat for the disclosure and running status.
8331
8400
  * @returns the reasoning disclosure.
8332
8401
  */
8333
- const ReasoningRow = (0, react.memo)(function ReasoningRow({ text, running, textInteractionSource = false, usePresentation, useDisclosure, renderSlot, t }) {
8402
+ const ReasoningRow = (0, react.memo)(function ReasoningRow({ text: rawText, running, textInteractionSource = false, usePresentation, useDisclosure, renderSlot, t }) {
8334
8403
  const { expanded, toggle } = useDisclosure();
8404
+ const { text, hidden } = (0, react.useMemo)(() => {
8405
+ const text = reasoningText(rawText);
8406
+ return {
8407
+ text,
8408
+ hidden: text !== rawText && text.trim() === ""
8409
+ };
8410
+ }, [rawText]);
8335
8411
  const summaryText = running ? latestCompletedParagraphFirstLine(text) : firstLine(text);
8336
8412
  const summary = (0, react.useMemo)(() => summaryText.replaceAll("**", ""), [summaryText]);
8337
8413
  const preview = usePresentation((policy) => !expanded && summary !== "" && (running || policy.settledReasoningPreview));
@@ -8351,6 +8427,7 @@ window.__ModuleLoader__.load({
8351
8427
  className: ReasoningRow_module_css_default.thinkBody,
8352
8428
  "data-text-interaction-source": textInteractionSource && !running ? "" : void 0,
8353
8429
  children: renderSlot("conversation.chat.reasoning.body", {
8430
+ rawText,
8354
8431
  text,
8355
8432
  running
8356
8433
  })
@@ -8358,9 +8435,11 @@ window.__ModuleLoader__.load({
8358
8435
  expanded,
8359
8436
  renderSlot,
8360
8437
  running,
8438
+ rawText,
8361
8439
  text,
8362
8440
  textInteractionSource
8363
8441
  ]);
8442
+ if (hidden) return null;
8364
8443
  return (0, react_jsx_runtime.jsxs)("div", {
8365
8444
  className: ReasoningRow_module_css_default.root,
8366
8445
  "data-variant": "think",
@@ -8513,7 +8592,19 @@ window.__ModuleLoader__.load({
8513
8592
  //#endregion
8514
8593
  //#region lib/types/client/chat/AssistantNodeView.js
8515
8594
  /** Streaming, settled, and interrupted Assistant states share one keyed renderer instance. */
8516
- const AssistantNodeView = (0, react.memo)(function AssistantNodeView({ node, groupPart, useDisclosure, useGroupAction, useTurnData, turnProcess, openFile, loadImage, fileMentions, usePresentation, renderSlot, t }) {
8595
+ const AssistantNodeView = (0, react.memo)(function AssistantNodeView({ node, groupPart, useDisclosure, useGroupAction, useTurnData, turnProcess, openFile, loadImage, fileMentions, usePresentation, renderSlot, t, sessionId, useContextMenu, resolveFilePath }) {
8596
+ const { getTriggerProps } = useContextMenu();
8597
+ const getFileTriggerProps = (0, react.useCallback)((path) => getTriggerProps(() => ({
8598
+ kind: "file",
8599
+ value: {
8600
+ sessionId,
8601
+ path: resolveFilePath(path)
8602
+ }
8603
+ })), [
8604
+ getTriggerProps,
8605
+ sessionId,
8606
+ resolveFilePath
8607
+ ]);
8517
8608
  const data = node.data;
8518
8609
  const turn = node.location.kind === "turn" || node.location.kind === "step" ? node.location.turn : void 0;
8519
8610
  const tail = useTurnData("turn-tail");
@@ -8531,7 +8622,11 @@ window.__ModuleLoader__.load({
8531
8622
  tail,
8532
8623
  turn
8533
8624
  ]);
8534
- const mentions = (0, react.useMemo)(() => owner === void 0 ? void 0 : fileMentions(owner), [fileMentions, owner]);
8625
+ const mentions = (0, react.useMemo)(() => owner === void 0 ? void 0 : fileMentions(owner, getFileTriggerProps), [
8626
+ fileMentions,
8627
+ owner,
8628
+ getFileTriggerProps
8629
+ ]);
8535
8630
  const keepReplies = usePresentation((policy) => policy.foldedReplies === "all");
8536
8631
  const reasoningHidden = turnProcess !== void 0 && turnProcess.foldable && (keepReplies ? groupPart !== "reasoning" : turnProcess.spec.answerStep === data.step && turnProcess.spec.inlineReasoning) && !turnProcess.open;
8537
8632
  const revealProcess = (0, react.useCallback)(() => {
@@ -8717,7 +8812,7 @@ window.__ModuleLoader__.load({
8717
8812
  });
8718
8813
  /**
8719
8814
  * Render the default Body through the same Factory available to third-party wrappers.
8720
- * @param props - original reasoning and the framework's Factory renderer.
8815
+ * @param props - display-ready reasoning and the framework's Factory renderer.
8721
8816
  * @returns an occurrence of the official reasoning Content Factory.
8722
8817
  */
8723
8818
  function DefaultReasoningBody({ text, running, renderFactorySlot }) {
@@ -9386,7 +9481,11 @@ window.__ModuleLoader__.load({
9386
9481
  scope: "session"
9387
9482
  }
9388
9483
  },
9389
- inject: () => ({ hooks: { presentation } })
9484
+ inject: (sessionId) => ({
9485
+ hooks: { presentation },
9486
+ resolveFilePath: sessionFilePath(ctx, sessionId),
9487
+ fileMentions: (owner, getFileTriggerProps) => ctx.get("chatFileMentions")?.forClosing(owner, sessionId, getFileTriggerProps)
9488
+ })
9390
9489
  }, AssistantNodeView));
9391
9490
  ctx.slots.inject("conversation.chat.node", () => ctx.slots.register({
9392
9491
  name: "conversation.chat.node",
@@ -9890,6 +9989,7 @@ window.__ModuleLoader__.load({
9890
9989
  turn,
9891
9990
  step,
9892
9991
  blocks: [],
9992
+ visibleByIndex: [],
9893
9993
  visibleBlocks: 0,
9894
9994
  firstVisibleSeq: void 0,
9895
9995
  firstVisibleTime: void 0,
@@ -9906,11 +10006,6 @@ window.__ModuleLoader__.load({
9906
10006
  if (block.kind === "text" || block.kind === "reasoning") return block.text.trim() !== "";
9907
10007
  return true;
9908
10008
  }
9909
- function countVisibleBlocks(blocks) {
9910
- let count = 0;
9911
- for (const block of blocks) if (blockIsVisible(block)) count++;
9912
- return count;
9913
- }
9914
10009
  function hasVisibleContent(blocks) {
9915
10010
  return blocks.some(blockIsVisible);
9916
10011
  }
@@ -9934,36 +10029,40 @@ window.__ModuleLoader__.load({
9934
10029
  const blocks = [...state.blocks];
9935
10030
  let changedIndex = -1;
9936
10031
  let previousVisible = false;
10032
+ let nextVisible = false;
9937
10033
  switch (chunk.type) {
9938
10034
  case "block-start":
9939
10035
  changedIndex = chunk.index;
9940
- previousVisible = blockIsVisible(blocks[chunk.index]);
10036
+ previousVisible = state.visibleByIndex[chunk.index] === true;
9941
10037
  blocks[chunk.index] = emptyAssistantBlock(chunk.blockType);
10038
+ nextVisible = blockIsVisible(blocks[chunk.index]);
9942
10039
  break;
9943
10040
  case "text-delta": {
9944
10041
  const previous = blocks[chunk.index];
9945
10042
  changedIndex = chunk.index;
9946
- previousVisible = blockIsVisible(previous);
10043
+ previousVisible = state.visibleByIndex[chunk.index] === true;
9947
10044
  blocks[chunk.index] = {
9948
10045
  kind: "text",
9949
10046
  text: (previous?.kind === "text" ? previous.text : "") + chunk.text
9950
10047
  };
10048
+ nextVisible = previous?.kind === "text" && previousVisible || chunk.text.trim() !== "";
9951
10049
  break;
9952
10050
  }
9953
10051
  case "reasoning-delta": {
9954
10052
  const previous = blocks[chunk.index];
9955
10053
  changedIndex = chunk.index;
9956
- previousVisible = blockIsVisible(previous);
10054
+ previousVisible = state.visibleByIndex[chunk.index] === true;
9957
10055
  blocks[chunk.index] = {
9958
10056
  kind: "reasoning",
9959
10057
  text: (previous?.kind === "reasoning" ? previous.text : "") + chunk.text
9960
10058
  };
10059
+ nextVisible = previous?.kind === "reasoning" && previousVisible || chunk.text.trim() !== "";
9961
10060
  break;
9962
10061
  }
9963
10062
  case "tool-call-delta": {
9964
10063
  const previous = blocks[chunk.index];
9965
10064
  changedIndex = chunk.index;
9966
- previousVisible = blockIsVisible(previous);
10065
+ previousVisible = state.visibleByIndex[chunk.index] === true;
9967
10066
  blocks[chunk.index] = {
9968
10067
  kind: "tool-call",
9969
10068
  callId: (previous?.kind === "tool-call" ? previous.callId : "") || String(chunk.id),
@@ -9974,8 +10073,9 @@ window.__ModuleLoader__.load({
9974
10073
  }
9975
10074
  case "block-end":
9976
10075
  changedIndex = chunk.index;
9977
- previousVisible = blockIsVisible(blocks[chunk.index]);
10076
+ previousVisible = state.visibleByIndex[chunk.index] === true;
9978
10077
  blocks[chunk.index] = toAssistantBlock(chunk.block);
10078
+ nextVisible = blockIsVisible(blocks[chunk.index]);
9979
10079
  break;
9980
10080
  case "usage": return {
9981
10081
  ...state,
@@ -9983,11 +10083,18 @@ window.__ModuleLoader__.load({
9983
10083
  };
9984
10084
  default: return state;
9985
10085
  }
9986
- const visibleBlocks = state.visibleBlocks - Number(previousVisible) + Number(blockIsVisible(blocks[changedIndex]));
10086
+ const visibleBlocks = state.visibleBlocks - Number(previousVisible) + Number(nextVisible);
10087
+ let visibleByIndex = state.visibleByIndex;
10088
+ if (previousVisible !== nextVisible) {
10089
+ const next = [...visibleByIndex];
10090
+ next[changedIndex] = nextVisible;
10091
+ visibleByIndex = next;
10092
+ }
9987
10093
  const firstToken = isTokenDelta(chunk);
9988
10094
  return {
9989
10095
  ...state,
9990
10096
  blocks,
10097
+ visibleByIndex,
9991
10098
  visibleBlocks,
9992
10099
  ...visibleBlocks > 0 && state.firstVisibleSeq === void 0 ? {
9993
10100
  firstVisibleSeq: seq,
@@ -9998,10 +10105,12 @@ window.__ModuleLoader__.load({
9998
10105
  }
9999
10106
  function settleMessage(state, match, event) {
10000
10107
  const blocks = toAssistantBlocks(event.data.message.content);
10108
+ const visibleByIndex = blocks.map(blockIsVisible);
10001
10109
  return {
10002
10110
  ...state,
10003
10111
  blocks,
10004
- visibleBlocks: countVisibleBlocks(blocks),
10112
+ visibleByIndex,
10113
+ visibleBlocks: visibleByIndex.reduce((count, visible) => count + Number(visible), 0),
10005
10114
  final: match,
10006
10115
  usage: event.data.usage
10007
10116
  };
@@ -11950,6 +12059,8 @@ window.__ModuleLoader__.load({
11950
12059
  * their step's input; in-history updates stay at their own positions. The
11951
12060
  * request-prompt Definition owns replacement and later-series cards. Positional
11952
12061
  * replacements advance the effective prompt without changing historical cards.
12062
+ * A published node becomes `hidden` under the same key while a prepended replacement
12063
+ * leaves its prompt order unknown, and `visible` again once older history resolves it.
11953
12064
  * @param inspect - Pure surface interpretation supplied by uiConversation.
11954
12065
  * @returns The Chat system-prompt Definition.
11955
12066
  */
@@ -11968,7 +12079,11 @@ window.__ModuleLoader__.load({
11968
12079
  update: (context) => context.state,
11969
12080
  buildViewNode: (context) => {
11970
12081
  const state = context.state?.introduced;
11971
- if (state === void 0 || state.text === "" || context.start?.event.type !== "system/message" || context.start.event.surfaceOp !== "append") return null;
12082
+ if (state === void 0 || state.text === "" || context.start?.event.type !== "system/message" || context.start.event.surfaceOp !== "append") {
12083
+ const current = context.current.get("chat");
12084
+ if (current?.kind !== "system-prompt") return null;
12085
+ return chatNode(context, "system-prompt", current.anchorSeq, current.data, { visibility: "hidden" });
12086
+ }
11972
12087
  return chatNode(context, "system-prompt", state.update ? state.seq : requestPromptAnchor(context.start, void 0, true), {
11973
12088
  text: state.text,
11974
12089
  ...state.update ? { update: true } : {}
@@ -13247,6 +13362,7 @@ window.__ModuleLoader__.load({
13247
13362
  }
13248
13363
  //#endregion
13249
13364
  //#region lib/types/client/conversation-nodes/process-activity.js
13365
+ /** Tool-category and live-detail interpretation owned by Chat grouping. */
13250
13366
  function activity(name) {
13251
13367
  if (name === "read") return "read";
13252
13368
  if (name === "read_image") return "readImage";
@@ -13356,7 +13472,7 @@ window.__ModuleLoader__.load({
13356
13472
  for (let blockIndex = node.data.blocks.length - 1; blockIndex >= 0; blockIndex--) {
13357
13473
  const block = node.data.blocks[blockIndex];
13358
13474
  if (block?.kind !== "reasoning") continue;
13359
- const paragraphs = block.text.split(/\r?\n[\t ]*\r?\n/);
13475
+ const paragraphs = reasoningText(block.text).split(/\r?\n[\t ]*\r?\n/);
13360
13476
  for (let paragraphIndex = paragraphs.length - 1; paragraphIndex >= 0; paragraphIndex--) {
13361
13477
  const detail = normalizeLiveToolDetail(paragraphs[paragraphIndex]?.replaceAll("**", ""));
13362
13478
  if (detail !== "") return detail;
@@ -15382,7 +15498,6 @@ window.__ModuleLoader__.load({
15382
15498
  interactionIds: ctx.uiConversation.interactions
15383
15499
  },
15384
15500
  dispatchInteraction: (gesture) => ctx.uiConversation.interactions.dispatch(sessionId, gesture),
15385
- fileMentions: (owner) => ctx.get("chatFileMentions")?.forClosing(owner, sessionId),
15386
15501
  openFile: async (path, options) => {
15387
15502
  const cwd = ctx.sessions.list.getSnapshot().byId[sessionId]?.cwd;
15388
15503
  const url = fileAddressFor(sessionId, cwd, resolveWorkspacePath(session.projections.faceOf("workingDirectory").getSnapshot() ?? void 0, path));
@@ -15390,6 +15505,7 @@ window.__ModuleLoader__.load({
15390
15505
  else ctx.sidebarRight.openResource(url, { params: { line: options.line } });
15391
15506
  await Promise.resolve();
15392
15507
  },
15508
+ resolveFilePath: sessionFilePath(ctx, sessionId),
15393
15509
  openExternalLink: (url) => {
15394
15510
  if (linkOpening.getSnapshot() === "sidebar" && ctx.get("sidebarRightTabs")?.get("browser") !== void 0) ctx.sidebarRight.openTab("browser", { params: { url } });
15395
15511
  else window.open(url, "_blank", "noopener,noreferrer");
@@ -42,7 +42,8 @@
42
42
  "@deepseek-ai/dsh-client-ui-settings",
43
43
  "@deepseek-ai/dsh-client-ui-sidebar-right",
44
44
  "@deepseek-ai/dsh-client-ui-workspace",
45
- "@deepseek-ai/dsh-client-ui-file-drag"
45
+ "@deepseek-ai/dsh-client-ui-file-drag",
46
+ "@deepseek-ai/dsh-client-ui-context-menu"
46
47
  ],
47
48
  "platform": "web"
48
49
  }
@@ -90,7 +91,8 @@
90
91
  "react-dom": "^18.2.0",
91
92
  "@deepseek-ai/dsh-settings": "0.2.2-alpha.2",
92
93
  "@deepseek-ai/dsh-client-product-analytics": "0.2.2-alpha.2",
93
- "@deepseek-ai/dsh-client-ui-file-drag": "0.2.2-alpha.2"
94
+ "@deepseek-ai/dsh-client-ui-file-drag": "0.2.2-alpha.2",
95
+ "@deepseek-ai/dsh-client-ui-context-menu": "0.2.2-alpha.2"
94
96
  },
95
97
  "dependencies": {
96
98
  "@deepseek-ai/schemastery": "3.18.6-alpha.1"
@@ -27,8 +27,8 @@
27
27
  en: 4feecdbec0c3f39e
28
28
  zh: 618944ecade8a3a2
29
29
  /deepseek-ai-dsh-client-ui-commands/understand-the-implementation:
30
- en: a44d56484412ac85
31
- zh: 6d6012485211908c
30
+ en: 99c9ca848b39d59e
31
+ zh: 24a5fa23e5b50797
32
32
  /deepseek-ai-dsh-client-ui-commands/further-exploration:
33
33
  en: 409c04f534d23de7
34
34
  zh: 165022d7a0a554eb
@@ -55,7 +55,7 @@ Popup selection panels fill the composer overlay's width, matching the slash men
55
55
  <details>
56
56
  <summary>Implementation internals — click to expand</summary>
57
57
 
58
- `src/client/contract.ts` defines contribution and decoration registration, plus `dismiss(name)`, which closes that command's open popups and confirmations: dismissal aborts pending option loads, prevents their late results from reopening the popup, and preserves composer drafts. `CommandDirectory` owns the per-session wire cache and resolves typed commands through `resolution.ts`; that module owns first-party identity matching and localized input spellings. `matchSpace` reads the ready cache synchronously, while `matchEnter` waits for readiness and rejects on warmup failure or cancellation. Forwarded catalog and connection events invalidate the cache. After a matched Host execution, this browser emits `command/executed`; other clients observe only the durable command events. `PopupSelectController` owns popup state, and `PopupSelectView` occupies the input overlay. `presentation.ts` owns row labels, icons, and sections; its helpers and the resolution helpers stay internal to the plugin.
58
+ `src/client/contract.ts` defines contribution and decoration registration, plus `dismiss(name)`, which closes that command's open popups and confirmations: dismissal aborts pending option loads, prevents their late results from reopening the popup, and preserves composer drafts. `CommandDirectory` owns the per-session wire cache and resolves typed commands through the shared [`dsh-commands/builtin`](../../interaction/commands/README.md) library. Client dictionaries reuse its English and Chinese tokens; `resolution.ts` selects the localized menu claim. `matchSpace` reads the ready cache synchronously, while `matchEnter` waits for readiness and rejects on warmup failure or cancellation. Forwarded catalog and connection events invalidate the cache. After a matched Host execution, this browser emits `command/executed`; other clients observe only the durable command events. `PopupSelectController` owns popup state, and `PopupSelectView` occupies the input overlay. `presentation.ts` owns row labels, icons, and sections; its helpers and the menu-claim helper stay internal to the plugin.
59
59
 
60
60
  Each command-directory fetch requires an existing retained Client Session and waits for its initial history open to succeed before sending `commands.list`. A temporary `commandCatalog` reference holds that Session until the fetch settles. An unretained Session or a failed open rejects without sending the RPC, so background catalog refreshes do not reopen closed Sessions. A reloaded draft that opens with a claimed command rebuilds the claim through the `matchClaim` hook, which awaits the same directory and answers only a `leadingInput` claim without invoking or executing anything.
61
61
 
@@ -55,7 +55,7 @@ composer 携带图片或通用文件提交时,只有声明了 `input.attachmen
55
55
  <details>
56
56
  <summary>实现细节——点击展开</summary>
57
57
 
58
- `src/client/contract.ts` 定义贡献项和装饰的注册接口,以及 `dismiss(name)`:它关闭该命令已打开的弹窗与确认对话框,中止待完成的选项加载,阻止晚到结果重新打开弹窗,并保留 composer 草稿。`CommandDirectory` 负责会话级协议缓存,并通过 `resolution.ts` 解析输入命令;该模块负责内置命令标识匹配和本地化输入写法。`matchSpace` 同步读取就绪缓存,`matchEnter` 等待缓存就绪,预热失败或取消时拒绝。转发的目录和连接事件使缓存失效。宿主执行匹配的命令后,本浏览器发布 `command/executed`,其他客户端只观察持久命令事件。`PopupSelectController` 负责弹窗状态,`PopupSelectView` 占据输入浮层。`presentation.ts` 负责行标题、图标和分节,展示与解析辅助函数均留在插件内部。
58
+ `src/client/contract.ts` 定义贡献项和装饰的注册接口,以及 `dismiss(name)`:它关闭该命令已打开的弹窗与确认对话框,中止待完成的选项加载,阻止晚到结果重新打开弹窗,并保留 composer 草稿。`CommandDirectory` 负责会话级协议缓存,并通过共享的 [`dsh-commands/builtin`](../../interaction/commands/README.zh.md) 库解析输入命令。Client 字典复用其中的中英文 token;`resolution.ts` 选择本地化的菜单输入写法。`matchSpace` 同步读取就绪缓存,`matchEnter` 等待缓存就绪,预热失败或取消时拒绝。转发的目录和连接事件使缓存失效。宿主执行匹配的命令后,本浏览器发布 `command/executed`,其他客户端只观察持久命令事件。`PopupSelectController` 负责弹窗状态,`PopupSelectView` 占据输入浮层。`presentation.ts` 负责行标题、图标和分节,展示与菜单输入辅助函数均留在插件内部。
59
59
 
60
60
  每次命令目录拉取都要求客户端已持有该会话,并等待首次历史打开成功后才发送 `commands.list`。临时的 `commandCatalog` 引用持续持有会话,直到拉取结束。未被持有的会话或打开失败会直接拒绝,不发送 RPC,因此后台目录刷新不会重新打开已关闭的会话。刷新后以已认领命令开头的草稿经 `matchClaim` 钩子重建认领:它等待同一个目录就绪,只应答 `leadingInput` 认领,不调用也不执行任何东西。
61
61