@songtonyli/dsh-cli 0.1.90 → 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 (621) 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-user-questions/lib/typert.host.js +1 -1
  341. package/node_modules/@deepseek-ai/dsh-util-time/README.i18n.yaml +10 -10
  342. package/node_modules/@deepseek-ai/dsh-util-time/README.md +11 -7
  343. package/node_modules/@deepseek-ai/dsh-util-time/README.zh.md +11 -7
  344. package/node_modules/@deepseek-ai/dsh-util-time/lib/index.js +1020 -3
  345. package/node_modules/@deepseek-ai/dsh-util-time/package.json +4 -2
  346. package/node_modules/@deepseek-ai/dsh-util-values/README.i18n.yaml +2 -2
  347. package/node_modules/@deepseek-ai/dsh-util-values/README.md +1 -1
  348. package/node_modules/@deepseek-ai/dsh-util-values/README.zh.md +1 -1
  349. package/node_modules/@deepseek-ai/dsh-util-values/lib/index.js +77 -92
  350. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +5 -1
  351. package/node_modules/@deepseek-ai/dsh-web-app/package.json +3 -1
  352. package/node_modules/@deepseek-ai/dsh-web-app/presets/cordis.patch.yml +3 -0
  353. package/node_modules/@deepseek-ai/dsh-web-app/presets/ptc.patch.yml +3 -0
  354. package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +3 -0
  355. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BCbHmUSs.js +197 -0
  356. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BUDGJY4R.css +1 -0
  357. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
  358. package/node_modules/@deepseek-ai/dsh-workflow-ptc/lib/index.js +1 -1
  359. package/node_modules/@deepseek-ai/dsh-workspace-changes/README.i18n.yaml +4 -4
  360. package/node_modules/@deepseek-ai/dsh-workspace-changes/README.md +3 -1
  361. package/node_modules/@deepseek-ai/dsh-workspace-changes/README.zh.md +4 -2
  362. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/index.js +5 -0
  363. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/index.js +5 -0
  364. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +4 -1
  365. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.cjs +16917 -0
  366. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.mjs +15193 -0
  367. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.cjs +325 -0
  368. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.mjs +295 -0
  369. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.cjs +4642 -0
  370. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.mjs +4155 -0
  371. package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.cjs +2495 -0
  372. package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.mjs +7 -0
  373. package/node_modules/@opentelemetry/semantic-conventions/dist/index.cjs +662 -0
  374. package/node_modules/@opentelemetry/semantic-conventions/dist/index.mjs +6 -0
  375. package/node_modules/@opentelemetry/semantic-conventions/dist/internal/utils.cjs +20 -0
  376. package/node_modules/@opentelemetry/semantic-conventions/dist/internal/utils.mjs +20 -0
  377. package/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.cjs +1326 -0
  378. package/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.mjs +1188 -0
  379. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.cjs +1947 -0
  380. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.mjs +1756 -0
  381. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.cjs +9 -0
  382. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.mjs +9 -0
  383. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.cjs +362 -0
  384. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.mjs +312 -0
  385. package/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.cjs +2508 -0
  386. package/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.mjs +2236 -0
  387. package/node_modules/@opentelemetry/semantic-conventions/package.json +22 -35
  388. package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
  389. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -16
  390. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +26 -13
  391. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +8 -4
  392. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +16 -8
  393. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +8 -4
  394. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -1
  395. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +10 -5
  396. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +18 -9
  397. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +18 -9
  398. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +42 -24
  399. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +20 -10
  400. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +24 -12
  401. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +13 -4
  402. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +7 -1
  403. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +13 -4
  404. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +6 -3
  405. package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
  406. package/node_modules/@smithy/core/dist-es/normalizeProvider.js +2 -1
  407. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +8 -4
  408. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +6 -3
  409. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +12 -6
  410. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +4 -2
  411. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -1
  412. package/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js +10 -5
  413. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js +2 -1
  414. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +4 -2
  415. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +2 -1
  416. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +2 -1
  417. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +4 -2
  418. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +2 -1
  419. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +8 -4
  420. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js +6 -3
  421. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js +2 -1
  422. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +8 -4
  423. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +2 -1
  424. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +6 -3
  425. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +2 -1
  426. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +2 -1
  427. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.js +2 -1
  428. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +2 -1
  429. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.js +4 -2
  430. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +8 -4
  431. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -2
  432. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +2 -1
  433. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +7 -5
  434. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +7 -5
  435. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +7 -5
  436. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +6 -3
  437. package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +3 -0
  438. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +4 -2
  439. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +2 -1
  440. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +6 -3
  441. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +6 -3
  442. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js +6 -3
  443. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
  444. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  445. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
  446. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +2 -1
  447. package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js +6 -3
  448. package/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js +2 -1
  449. package/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js +2 -1
  450. package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +2 -1
  451. package/node_modules/@smithy/core/package.json +1 -1
  452. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +19 -7
  453. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +2 -1
  454. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +11 -6
  455. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +6 -0
  456. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  457. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +23 -11
  458. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +4 -2
  459. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +4 -2
  460. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +5 -1
  461. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +2 -1
  462. package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +2 -1
  463. package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +6 -3
  464. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -1
  465. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -1
  466. package/node_modules/@smithy/signature-v4/package.json +2 -2
  467. package/node_modules/@types/node/README.md +1 -1
  468. package/node_modules/@types/node/package.json +2 -2
  469. package/node_modules/encodeurl/README.md +14 -0
  470. package/node_modules/encodeurl/index.js +5 -10
  471. package/node_modules/encodeurl/package.json +7 -3
  472. package/node_modules/hast-util-to-html/lib/handle/comment.js +6 -1
  473. package/node_modules/hast-util-to-html/lib/handle/doctype.js +1 -1
  474. package/node_modules/hast-util-to-html/lib/handle/element.js +33 -9
  475. package/node_modules/hast-util-to-html/lib/handle/index.js +1 -1
  476. package/node_modules/hast-util-to-html/lib/handle/raw.js +1 -1
  477. package/node_modules/hast-util-to-html/lib/handle/root.js +1 -1
  478. package/node_modules/hast-util-to-html/lib/handle/text.js +1 -1
  479. package/node_modules/hast-util-to-html/lib/index.js +9 -4
  480. package/node_modules/hast-util-to-html/lib/omission/closing.js +7 -5
  481. package/node_modules/hast-util-to-html/lib/omission/omission.js +0 -1
  482. package/node_modules/hast-util-to-html/lib/omission/opening.js +4 -2
  483. package/node_modules/hast-util-to-html/lib/omission/util/siblings.js +3 -0
  484. package/node_modules/hast-util-to-html/package.json +5 -23
  485. package/node_modules/hast-util-to-html/readme.md +3 -2
  486. package/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
  487. package/node_modules/jose/package.json +1 -1
  488. package/node_modules/rrule/LICENCE +65 -0
  489. package/node_modules/rrule/README.md +837 -0
  490. package/node_modules/rrule/dist/es5/rrule.js +3803 -0
  491. package/node_modules/rrule/dist/es5/rrule.min.js +2 -0
  492. package/node_modules/rrule/dist/esm/cache.js +95 -0
  493. package/node_modules/rrule/dist/esm/callbackiterresult.js +24 -0
  494. package/node_modules/rrule/dist/esm/datetime.js +186 -0
  495. package/node_modules/rrule/dist/esm/dateutil.js +161 -0
  496. package/node_modules/rrule/dist/esm/datewithzone.js +36 -0
  497. package/node_modules/rrule/dist/esm/helpers.js +118 -0
  498. package/node_modules/rrule/dist/esm/index.js +22 -0
  499. package/node_modules/rrule/dist/esm/iter/index.js +138 -0
  500. package/node_modules/rrule/dist/esm/iter/poslist.js +42 -0
  501. package/node_modules/rrule/dist/esm/iterinfo/easter.js +21 -0
  502. package/node_modules/rrule/dist/esm/iterinfo/index.js +188 -0
  503. package/node_modules/rrule/dist/esm/iterinfo/monthinfo.js +51 -0
  504. package/node_modules/rrule/dist/esm/iterinfo/yearinfo.js +128 -0
  505. package/node_modules/rrule/dist/esm/iterresult.js +88 -0
  506. package/node_modules/rrule/dist/esm/iterset.js +63 -0
  507. package/node_modules/rrule/dist/esm/masks.js +30 -0
  508. package/node_modules/rrule/dist/esm/nlp/i18n.js +74 -0
  509. package/node_modules/rrule/dist/esm/nlp/index.js +122 -0
  510. package/node_modules/rrule/dist/esm/nlp/parsetext.js +391 -0
  511. package/node_modules/rrule/dist/esm/nlp/totext.js +395 -0
  512. package/node_modules/rrule/dist/esm/optionstostring.js +98 -0
  513. package/node_modules/rrule/dist/esm/parseoptions.js +201 -0
  514. package/node_modules/rrule/dist/esm/parsestring.js +128 -0
  515. package/node_modules/rrule/dist/esm/rrule.js +232 -0
  516. package/node_modules/rrule/dist/esm/rruleset.js +182 -0
  517. package/node_modules/rrule/dist/esm/rrulestr.js +188 -0
  518. package/node_modules/rrule/dist/esm/types.js +14 -0
  519. package/node_modules/rrule/dist/esm/weekday.js +45 -0
  520. package/node_modules/rrule/package.json +79 -0
  521. package/package.json +32 -31
  522. package/node_modules/@deepseek-ai/dsh-computer-use/README.i18n.yaml +0 -37
  523. package/node_modules/@deepseek-ai/dsh-computer-use/README.md +0 -90
  524. package/node_modules/@deepseek-ai/dsh-computer-use/README.zh.md +0 -90
  525. package/node_modules/@deepseek-ai/dsh-computer-use/lib/index.js +0 -35
  526. package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/brand.js +0 -10
  527. package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/index.js +0 -36
  528. package/node_modules/@deepseek-ai/dsh-computer-use/locale/de.json +0 -6
  529. package/node_modules/@deepseek-ai/dsh-computer-use/locale/en.json +0 -6
  530. package/node_modules/@deepseek-ai/dsh-computer-use/locale/es.json +0 -6
  531. package/node_modules/@deepseek-ai/dsh-computer-use/locale/fr.json +0 -6
  532. package/node_modules/@deepseek-ai/dsh-computer-use/locale/ja.json +0 -6
  533. package/node_modules/@deepseek-ai/dsh-computer-use/locale/pt.json +0 -6
  534. package/node_modules/@deepseek-ai/dsh-computer-use/locale/ru.json +0 -6
  535. package/node_modules/@deepseek-ai/dsh-computer-use/locale/zh.json +0 -6
  536. package/node_modules/@deepseek-ai/dsh-computer-use/package.json +0 -44
  537. package/node_modules/@deepseek-ai/dsh-cua/README.i18n.yaml +0 -49
  538. package/node_modules/@deepseek-ai/dsh-cua/README.md +0 -130
  539. package/node_modules/@deepseek-ai/dsh-cua/README.zh.md +0 -130
  540. package/node_modules/@deepseek-ai/dsh-cua/lib/api.js +0 -597
  541. package/node_modules/@deepseek-ai/dsh-cua/lib/bridge.js +0 -611
  542. package/node_modules/@deepseek-ai/dsh-cua/lib/client.js +0 -1758
  543. package/node_modules/@deepseek-ai/dsh-cua/lib/index.js +0 -1916
  544. package/node_modules/@deepseek-ai/dsh-cua/lib/native-client.js +0 -285
  545. package/node_modules/@deepseek-ai/dsh-cua/lib/protocol.js +0 -305
  546. package/node_modules/@deepseek-ai/dsh-cua/lib/remote-types.js +0 -1
  547. package/node_modules/@deepseek-ai/dsh-cua/lib/typert.host.js +0 -416
  548. package/node_modules/@deepseek-ai/dsh-cua/lib/typert.remote-client.js +0 -301
  549. package/node_modules/@deepseek-ai/dsh-cua/locale/de.json +0 -6
  550. package/node_modules/@deepseek-ai/dsh-cua/locale/en.json +0 -6
  551. package/node_modules/@deepseek-ai/dsh-cua/locale/es.json +0 -6
  552. package/node_modules/@deepseek-ai/dsh-cua/locale/fr.json +0 -6
  553. package/node_modules/@deepseek-ai/dsh-cua/locale/ja.json +0 -6
  554. package/node_modules/@deepseek-ai/dsh-cua/locale/pt.json +0 -6
  555. package/node_modules/@deepseek-ai/dsh-cua/locale/ru.json +0 -6
  556. package/node_modules/@deepseek-ai/dsh-cua/locale/zh.json +0 -6
  557. package/node_modules/@deepseek-ai/dsh-cua/package.json +0 -151
  558. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.i18n.yaml +0 -46
  559. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.md +0 -94
  560. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.zh.md +0 -94
  561. package/node_modules/@deepseek-ai/dsh-cua-bundle/cordis.patch.yml +0 -10
  562. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.md +0 -1
  563. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.zh.md +0 -1
  564. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.svg +0 -33
  565. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.zh.svg +0 -33
  566. package/node_modules/@deepseek-ai/dsh-cua-bundle/icon.svg +0 -35
  567. package/node_modules/@deepseek-ai/dsh-cua-bundle/lib/index.js +0 -1
  568. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/de.json +0 -7
  569. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/en.json +0 -7
  570. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/es.json +0 -7
  571. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/fr.json +0 -7
  572. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ja.json +0 -7
  573. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/pt.json +0 -7
  574. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ru.json +0 -7
  575. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/zh.json +0 -7
  576. package/node_modules/@deepseek-ai/dsh-cua-bundle/package.json +0 -58
  577. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index--TtJvO-i.js +0 -197
  578. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Jtzf36XE.css +0 -1
  579. package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js +0 -14991
  580. package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js +0 -298
  581. package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js +0 -4060
  582. package/node_modules/@opentelemetry/semantic-conventions/build/esm/index-incubating.js +0 -13
  583. package/node_modules/@opentelemetry/semantic-conventions/build/esm/index.js +0 -16
  584. package/node_modules/@opentelemetry/semantic-conventions/build/esm/internal/utils.js +0 -23
  585. package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/SemanticResourceAttributes.js +0 -1250
  586. package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/index.js +0 -10
  587. package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js +0 -1733
  588. package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.js +0 -12
  589. package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_metrics.js +0 -315
  590. package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/SemanticAttributes.js +0 -2360
  591. package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/index.js +0 -10
  592. package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js +0 -7
  593. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js +0 -14991
  594. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js +0 -298
  595. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js +0 -4060
  596. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index-incubating.js +0 -13
  597. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index.js +0 -16
  598. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/internal/utils.js +0 -23
  599. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/SemanticResourceAttributes.js +0 -1250
  600. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/index.js +0 -10
  601. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js +0 -1733
  602. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_events.js +0 -12
  603. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_metrics.js +0 -315
  604. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/SemanticAttributes.js +0 -2360
  605. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/index.js +0 -10
  606. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js +0 -7
  607. package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js +0 -15049
  608. package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js +0 -301
  609. package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js +0 -4072
  610. package/node_modules/@opentelemetry/semantic-conventions/build/src/index-incubating.js +0 -29
  611. package/node_modules/@opentelemetry/semantic-conventions/build/src/index.js +0 -32
  612. package/node_modules/@opentelemetry/semantic-conventions/build/src/internal/utils.js +0 -27
  613. package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/SemanticResourceAttributes.js +0 -1255
  614. package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/index.js +0 -26
  615. package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js +0 -1759
  616. package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_events.js +0 -15
  617. package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_metrics.js +0 -319
  618. package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/SemanticAttributes.js +0 -2368
  619. package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/index.js +0 -26
  620. package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js +0 -10
  621. /package/node_modules/@smithy/core/dist-es/submodules/{protocols → serde}/writeKey.js +0 -0
@@ -60,6 +60,20 @@ window.__ModuleLoader__.load({
60
60
  return text;
61
61
  }
62
62
  //#endregion
63
+ //#region lib/types/client/tool/file-menu.js
64
+ /**
65
+ * Bind a toolview's path reader to its originating Session.
66
+ * @param ctx - Tool plugin context.
67
+ * @returns Existing Slot registration's inject callback.
68
+ */
69
+ function toolFileInject(ctx) {
70
+ return (sessionId) => ({ resolveFilePath: (path) => {
71
+ const cwd = ctx.sessions.list.getSnapshot().byId[sessionId]?.cwd;
72
+ const current = ctx.sessions.binding(sessionId)?.session.projections.faceOf("workingDirectory").getSnapshot();
73
+ return resolveWorkspacePath(current ?? cwd, path);
74
+ } });
75
+ }
76
+ //#endregion
63
77
  //#region lib/types/client/tool/models/recorded-path.js
64
78
  /** Operation-time filesystem locations carried by settled tool results. */
65
79
  /**
@@ -105,6 +119,7 @@ window.__ModuleLoader__.load({
105
119
  glob: "search",
106
120
  write: "write",
107
121
  edit: "edit",
122
+ apply_patch: "edit",
108
123
  run_code: "code",
109
124
  cordis_package_inspect: "read",
110
125
  cordis_runtime_inspect: "read",
@@ -114,6 +129,7 @@ window.__ModuleLoader__.load({
114
129
  };
115
130
  /** Tool-owned titles that refine a generic row variant without replacing it. */
116
131
  const TOOL_TITLE_KEYS = {
132
+ apply_patch: "tool.title.applyPatch",
117
133
  cordis_package_inspect: "tool.title.inspect",
118
134
  cordis_runtime_inspect: "tool.title.inspect",
119
135
  cordis_run: "tool.title.runCordis",
@@ -128,6 +144,8 @@ window.__ModuleLoader__.load({
128
144
  update_goal: "tool.title.updateGoal",
129
145
  schedule_create: "tool.title.createSchedule",
130
146
  schedule_list: "tool.title.listSchedules",
147
+ schedule_view: "tool.title.viewSchedule",
148
+ schedule_edit: "tool.title.editSchedule",
131
149
  schedule_delete: "tool.title.deleteSchedule",
132
150
  schedule_update: "tool.title.updateSchedule",
133
151
  cordis_inspect_list: "tool.title.inspectProviders",
@@ -309,13 +327,14 @@ window.__ModuleLoader__.load({
309
327
  const titleKey = toolTitleKey(toolName);
310
328
  const done = "kind" in block;
311
329
  const argsRaw = done ? block.call?.argsRaw ?? "" : block.phase === "start" ? block.argsRaw : null;
330
+ const stopped = done && typeof block.meta === "object" && block.meta !== null && !Array.isArray(block.meta) && block.meta.stopped === true;
312
331
  const primary = argumentSummary(variant, block.args, cwd, home);
313
332
  const argumentPath = primary.filePath ?? (argsRaw === null ? void 0 : deriveFilePath(variant, argsRaw));
314
333
  const recordedPath = done ? recordedAbsolutePath(block.meta, "path") : void 0;
315
334
  const canUseArgumentPath = argumentPath !== void 0 && (isAbsoluteWorkspacePath(argumentPath) || done && !block.isError && block.parentCallId === void 0);
316
335
  const filePath = argumentPath === void 0 ? void 0 : recordedPath ?? (canUseArgumentPath ? argumentPath : void 0);
317
- const state = !done ? block.phase === "preparing" ? "preparing" : "running" : block.error?.code === "interrupted" ? "stopped" : block.isError ? "error" : "ok";
318
- const base = primary.summary !== "" || argsRaw === null ? primary.summary : argsRaw === "" ? block.callId : abbreviateHomePath(relativizeToCwd(deriveSummary(variant, argsRaw), cwd), home);
336
+ const state = !done ? block.phase === "preparing" ? "preparing" : "running" : block.error?.code === "interrupted" ? "stopped" : block.isError || stopped ? "error" : "ok";
337
+ const base = toolName === "apply_patch" ? "" : primary.summary !== "" || argsRaw === null ? primary.summary : argsRaw === "" ? block.callId : abbreviateHomePath(relativizeToCwd(deriveSummary(variant, argsRaw), cwd), home);
319
338
  const summary = [titleKey === "tool.title.generic" ? toolName : "", base].filter(Boolean).join(" · ");
320
339
  const output = done ? resultText(block) || null : null;
321
340
  const errorSummary = state === "error" && output !== null ? firstLine(output) : null;
@@ -552,13 +571,19 @@ window.__ModuleLoader__.load({
552
571
  * A successful write with valid empty metadata uses its argument-derived
553
572
  * whole-file diff, matching create and identical-overwrite presentation;
554
573
  * `str_replace_editor` settles through Generic because it has no result view.
574
+ * A settled call whose arguments carry no single intended diff, such as a
575
+ * multi-file patch, shows only the applied diffs its result metadata records.
555
576
  * @param block - running or settled Tool block.
556
577
  * @returns the diff-card props, or null for the generic path.
557
578
  */
558
579
  function diffCardModel(block) {
559
580
  if (block.parentCallId !== void 0) return null;
560
581
  const intended = intendedDiff(block);
561
- if (intended === null) return null;
582
+ if (intended === null) {
583
+ if (!("kind" in block) || block.isError) return null;
584
+ const applied = appliedDiffs(block.meta);
585
+ return applied === null || applied === "empty" ? null : { card: { diffs: applied } };
586
+ }
562
587
  if (!("kind" in block)) return { card: { diffs: [intended.diff] } };
563
588
  if (intended.tool === "str_replace_editor") return null;
564
589
  if (block.isError) return null;
@@ -1591,7 +1616,7 @@ window.__ModuleLoader__.load({
1591
1616
  * @param props - tool state, summary, output, and navigation callbacks.
1592
1617
  * @returns the tool disclosure.
1593
1618
  */
1594
- const ToolRow = (0, react.memo)(function ToolRow({ t, variant, toolName, icon, title, summary, summarySuffix, bodyRaw, output, askQuestion, errorSummary, terminal, diff, read, image, renderSlot, loadImage, search, web, details, state, filePath, filePathLine, onOpenFile, href, inspect, useDisclosure }) {
1619
+ const ToolRow = (0, react.memo)(function ToolRow({ t, variant, toolName, icon, title, summary, summarySuffix, bodyRaw, output, askQuestion, errorSummary, terminal, diff, read, image, renderSlot, loadImage, search, web, details, state, filePath, filePathLine, onOpenFile, fileContextMenuProps, urlContextMenuProps, href, inspect, useDisclosure }) {
1595
1620
  const { expanded, toggle: toggleExpand } = useDisclosure();
1596
1621
  const terminalLabels = (0, react.useMemo)(() => terminalBlockLabels(t), [t]);
1597
1622
  const diffLabels = (0, react.useMemo)(() => diffBlockLabels(t), [t]);
@@ -1650,16 +1675,24 @@ window.__ModuleLoader__.load({
1650
1675
  exitLabel === null && openFile !== void 0 ? (0, react_jsx_runtime.jsx)("button", {
1651
1676
  type: "button",
1652
1677
  className: ToolRow_module_css_default.fileLink,
1678
+ ...fileContextMenuProps,
1653
1679
  onClick: openFile,
1654
- onKeyDown: summaryLinkKeyDown,
1680
+ onKeyDown: (event) => {
1681
+ summaryLinkKeyDown(event);
1682
+ fileContextMenuProps?.onKeyDown?.(event);
1683
+ },
1655
1684
  children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.TextShimmer, { children: summaryText })
1656
1685
  }) : exitLabel === null && linkHref !== void 0 ? (0, react_jsx_runtime.jsx)("a", {
1657
1686
  className: ToolRow_module_css_default.fileLink,
1658
1687
  href: linkHref,
1688
+ ...urlContextMenuProps,
1659
1689
  target: "_blank",
1660
1690
  rel: "noopener noreferrer",
1661
1691
  onClick: stopLinkClick,
1662
- onKeyDown: summaryLinkKeyDown,
1692
+ onKeyDown: (event) => {
1693
+ summaryLinkKeyDown(event);
1694
+ urlContextMenuProps?.onKeyDown?.(event);
1695
+ },
1663
1696
  children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.TextShimmer, { children: summaryText })
1664
1697
  }) : (0, react_jsx_runtime.jsx)("span", {
1665
1698
  className: clsx(ToolRow_module_css_default.summary, exitLabel === null && state === "error" && ToolRow_module_css_default.errorSummary, exitLabel === null && state === "stopped" && ToolRow_module_css_default.stoppedSummary),
@@ -1686,6 +1719,8 @@ window.__ModuleLoader__.load({
1686
1719
  })
1687
1720
  ] }), [
1688
1721
  summaryLinkKeyDown,
1722
+ fileContextMenuProps,
1723
+ urlContextMenuProps,
1689
1724
  linkHref,
1690
1725
  openFile,
1691
1726
  state,
@@ -1701,12 +1736,25 @@ window.__ModuleLoader__.load({
1701
1736
  maxLines: Infinity,
1702
1737
  labels: terminalLabels,
1703
1738
  className: ToolRow_module_css_default.terminalBody
1704
- }) : diffBody !== null ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.DiffBlock, {
1739
+ }) : diffBody !== null ? (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.DiffBlock, {
1705
1740
  ...diffBody.card,
1706
1741
  labels: diffLabels,
1707
1742
  maxLines: 9,
1708
1743
  className: ToolRow_module_css_default.diffBody
1709
- }) : readBody !== null ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.ReadBlock, {
1744
+ }), state === "error" && outputText !== null && (0, react_jsx_runtime.jsx)("div", {
1745
+ className: ToolRow_module_css_default.ioCard,
1746
+ children: (0, react_jsx_runtime.jsxs)("div", {
1747
+ className: ToolRow_module_css_default.ioSection,
1748
+ children: [(0, react_jsx_runtime.jsx)("span", {
1749
+ className: ToolRow_module_css_default.ioLabel,
1750
+ children: t("row.output")
1751
+ }), (0, react_jsx_runtime.jsx)("span", {
1752
+ className: ToolRow_module_css_default.ioText,
1753
+ "data-error": true,
1754
+ children: outputText
1755
+ })]
1756
+ })
1757
+ })] }) : readBody !== null ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.ReadBlock, {
1710
1758
  ...readBody,
1711
1759
  labels: readLabels,
1712
1760
  maxLines: 8,
@@ -1864,7 +1912,7 @@ window.__ModuleLoader__.load({
1864
1912
  others: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconSparkleRegular, { size: 14 })
1865
1913
  };
1866
1914
  /** @param props - current tool stage and locale. @returns its preparation or dispatched card. */
1867
- function GenericToolCard({ toolName, block, cwd, home, openFile, inspect, useDisclosure, t }) {
1915
+ function GenericToolCard({ toolName, block, cwd, home, openFile, getFileTriggerProps, inspect, useDisclosure, t }) {
1868
1916
  const model = toolRowModel(toolName, block, cwd, home);
1869
1917
  const autoReview = model.autoReviewDenial === null ? null : localizeAutoReviewDenial(model.autoReviewDenial, t);
1870
1918
  const terminal = terminalCardModel(block, cwd);
@@ -1875,6 +1923,7 @@ window.__ModuleLoader__.load({
1875
1923
  const state = model.state === "ok" && terminal !== null && terminalFailed(terminal) ? "error" : model.state;
1876
1924
  const singleFile = model.filePath !== void 0;
1877
1925
  return (0, react_jsx_runtime.jsx)(ToolRow, {
1926
+ fileContextMenuProps: model.filePath === void 0 ? void 0 : getFileTriggerProps(model.filePath),
1878
1927
  useDisclosure,
1879
1928
  t,
1880
1929
  variant: model.variant,
@@ -1932,7 +1981,7 @@ window.__ModuleLoader__.load({
1932
1981
  return call.phase === "result" ? call.block.call?.name ?? "" : call.block.name;
1933
1982
  }
1934
1983
  /** One atomic call dispatched through the Tool-owned keyed slot. */
1935
- const ToolCall = (0, react.memo)(function ToolCall({ renderSlot, callId, toolName, call, openFile, cwd, home, inspectCall, loadImage, useDisclosure, t, children }) {
1984
+ const ToolCall = (0, react.memo)(function ToolCall({ renderSlot, callId, toolName, call, openFile, renderFallback, cwd, home, inspectCall, loadImage, useDisclosure, children }) {
1936
1985
  const owner = (0, react.useMemo)(() => ({
1937
1986
  callId,
1938
1987
  toolName,
@@ -1961,19 +2010,13 @@ window.__ModuleLoader__.load({
1961
2010
  className: ToolCallTree_module_css_default.callRow,
1962
2011
  "data-chat-anchor-key": `call:${callId}`,
1963
2012
  "data-chat-call-id": callId,
1964
- children: [autoReviewDenied ? (0, react_jsx_runtime.jsx)(GenericToolCard, {
1965
- ...owner,
1966
- t
1967
- }) : renderSlot("tool.call.toolview", owner, {
2013
+ children: [autoReviewDenied ? renderFallback(owner) : renderSlot("tool.call.toolview", owner, {
1968
2014
  entryKey: toolName,
1969
- fallback: (0, react_jsx_runtime.jsx)(GenericToolCard, {
1970
- ...owner,
1971
- t
1972
- })
2015
+ fallback: renderFallback(owner)
1973
2016
  }), children]
1974
2017
  });
1975
2018
  });
1976
- const ToolCallBranch = (0, react.memo)(function ToolCallBranch({ renderSlot, block, cwd, home, openFile, inspectCall, loadImage, useDisclosure, t }) {
2019
+ const ToolCallBranch = (0, react.memo)(function ToolCallBranch({ renderSlot, block, cwd, home, openFile, renderFallback, inspectCall, loadImage, useDisclosure }) {
1977
2020
  const call = (0, react.useMemo)(() => toolCallPhase(block), [block]);
1978
2021
  return (0, react_jsx_runtime.jsx)(ToolCall, {
1979
2022
  renderSlot,
@@ -1981,12 +2024,12 @@ window.__ModuleLoader__.load({
1981
2024
  toolName: callName(call),
1982
2025
  call,
1983
2026
  openFile,
2027
+ renderFallback,
1984
2028
  cwd,
1985
2029
  home,
1986
2030
  inspectCall,
1987
2031
  useDisclosure,
1988
2032
  loadImage,
1989
- t,
1990
2033
  children: call.phase !== "preparing" && call.block.subCalls.length > 0 ? (0, react_jsx_runtime.jsx)("div", {
1991
2034
  className: ToolCallTree_module_css_default.subCalls,
1992
2035
  "data-subcalls": true,
@@ -1996,10 +2039,10 @@ window.__ModuleLoader__.load({
1996
2039
  cwd,
1997
2040
  home,
1998
2041
  openFile,
2042
+ renderFallback,
1999
2043
  inspectCall,
2000
2044
  useDisclosure,
2001
- loadImage,
2002
- t
2045
+ loadImage
2003
2046
  }, child.callId))
2004
2047
  }) : null
2005
2048
  });
@@ -2010,7 +2053,24 @@ window.__ModuleLoader__.load({
2010
2053
  * @param props - whole-Tool owner data and the Tool-owned child-slot share.
2011
2054
  * @returns the Tool call tree.
2012
2055
  */
2013
- function ToolCallTree({ renderSlot, node, cwd, openFile, inspectCall, loadImage, useDisclosure, useHostInfo, t }) {
2056
+ function ToolCallTree({ renderSlot, node, cwd, openFile, inspectCall, loadImage, useDisclosure, useHostInfo, t, useContextMenu, sessionId, resolveFilePath }) {
2057
+ const { getTriggerProps } = useContextMenu();
2058
+ const getFileTriggerProps = (0, react.useCallback)((path) => getTriggerProps(() => ({
2059
+ kind: "file",
2060
+ value: {
2061
+ sessionId,
2062
+ path: resolveFilePath(path)
2063
+ }
2064
+ })), [
2065
+ getTriggerProps,
2066
+ sessionId,
2067
+ resolveFilePath
2068
+ ]);
2069
+ const renderFallback = (0, react.useCallback)((owner) => (0, react_jsx_runtime.jsx)(GenericToolCard, {
2070
+ ...owner,
2071
+ t,
2072
+ getFileTriggerProps
2073
+ }), [t, getFileTriggerProps]);
2014
2074
  const home = useHostInfo((info) => info.home);
2015
2075
  return (0, react_jsx_runtime.jsx)(ToolCallBranch, {
2016
2076
  renderSlot,
@@ -2018,10 +2078,10 @@ window.__ModuleLoader__.load({
2018
2078
  cwd,
2019
2079
  home,
2020
2080
  openFile,
2081
+ renderFallback,
2021
2082
  inspectCall,
2022
2083
  useDisclosure,
2023
- loadImage,
2024
- t
2084
+ loadImage
2025
2085
  });
2026
2086
  }
2027
2087
  //#endregion
@@ -2643,12 +2703,21 @@ window.__ModuleLoader__.load({
2643
2703
  * Shows the path and decoded input size through preparation, execution, and
2644
2704
  * settlement, with the applied diff available once the call settles.
2645
2705
  */
2646
- function FileMutationRow({ toolName, block, cwd, home, openFile, inspect, useDisclosure, t }) {
2706
+ function FileMutationRow({ toolName, block, cwd, home, openFile, useContextMenu, sessionId, resolveFilePath, inspect, useDisclosure, t }) {
2707
+ const { getTriggerProps } = useContextMenu();
2647
2708
  const model = toolRowModel(toolName, block, cwd, home);
2709
+ const path = model.filePath;
2648
2710
  const diff = diffCardModel(block);
2649
2711
  const kilobytes = contentKilobytes(block);
2650
2712
  const size = kilobytes === null ? null : t("tool.preparing.content", { kilobytes });
2651
2713
  return (0, react_jsx_runtime.jsx)(ToolRow, {
2714
+ fileContextMenuProps: getTriggerProps(path === void 0 ? void 0 : () => ({
2715
+ kind: "file",
2716
+ value: {
2717
+ sessionId,
2718
+ path: resolveFilePath(path)
2719
+ }
2720
+ })),
2652
2721
  useDisclosure,
2653
2722
  t,
2654
2723
  variant: model.variant,
@@ -2666,21 +2735,29 @@ window.__ModuleLoader__.load({
2666
2735
  inspect
2667
2736
  });
2668
2737
  }
2669
- /** Registers the edit and write conversation rows. */
2738
+ /** Registers file-mutation conversation rows. */
2670
2739
  const fileMutationToolview = {
2671
2740
  name: "file-mutation-toolview",
2672
- inject: ["slots"],
2741
+ inject: ["slots", "sessions"],
2673
2742
  apply(ctx) {
2674
2743
  ctx.slots.inject("tool.call.toolview", function* () {
2744
+ yield ctx.slots.register({
2745
+ name: "tool.call.toolview",
2746
+ key: "apply_patch",
2747
+ locale: CONVERSATION_NS,
2748
+ inject: toolFileInject(ctx)
2749
+ }, FileMutationRow);
2675
2750
  yield ctx.slots.register({
2676
2751
  name: "tool.call.toolview",
2677
2752
  key: "edit",
2678
- locale: CONVERSATION_NS
2753
+ locale: CONVERSATION_NS,
2754
+ inject: toolFileInject(ctx)
2679
2755
  }, FileMutationRow);
2680
2756
  yield ctx.slots.register({
2681
2757
  name: "tool.call.toolview",
2682
2758
  key: "write",
2683
- locale: CONVERSATION_NS
2759
+ locale: CONVERSATION_NS,
2760
+ inject: toolFileInject(ctx)
2684
2761
  }, FileMutationRow);
2685
2762
  });
2686
2763
  }
@@ -2692,11 +2769,21 @@ window.__ModuleLoader__.load({
2692
2769
  * caller's card material.
2693
2770
  * @param props - the toolview runtime share and locale seat.
2694
2771
  * @param card - the card props this row owns.
2772
+ * @param getTriggerProps - ordinary menu bindings supplied by the toolview Slot.
2695
2773
  * @returns the assembled ToolRow.
2696
2774
  */
2697
- function readFamilyRow({ toolName, block, cwd, home, openFile, inspect, useDisclosure, t }, card) {
2775
+ function readFamilyRow({ toolName, block, cwd, home, openFile, resolveFilePath, sessionId, inspect, useDisclosure, t }, card, getTriggerProps) {
2698
2776
  const model = toolRowModel(toolName, block, cwd, home);
2777
+ const path = model.filePath;
2699
2778
  return (0, react_jsx_runtime.jsx)(ToolRow, {
2779
+ fileContextMenuProps: getTriggerProps(path === void 0 ? void 0 : () => ({
2780
+ kind: "file",
2781
+ value: {
2782
+ sessionId,
2783
+ path: resolveFilePath(path),
2784
+ ...card.filePathLine === void 0 ? {} : { line: card.filePathLine }
2785
+ }
2786
+ })),
2700
2787
  useDisclosure,
2701
2788
  t,
2702
2789
  variant: model.variant,
@@ -2722,20 +2809,22 @@ window.__ModuleLoader__.load({
2722
2809
  */
2723
2810
  function ReadRow(props) {
2724
2811
  const { block, cwd, home } = props;
2812
+ const { getTriggerProps } = props.useContextMenu();
2725
2813
  return readFamilyRow(props, {
2726
2814
  read: readCardModel(block, cwd, home),
2727
2815
  filePathLine: readCallLine(block)
2728
- });
2816
+ }, getTriggerProps);
2729
2817
  }
2730
2818
  /** Registers the read tool's conversation row. */
2731
2819
  const readToolview = {
2732
2820
  name: "read-toolview",
2733
- inject: ["slots"],
2821
+ inject: ["slots", "sessions"],
2734
2822
  apply(ctx) {
2735
2823
  ctx.slots.inject("tool.call.toolview", () => ctx.slots.register({
2736
2824
  name: "tool.call.toolview",
2737
2825
  key: "read",
2738
- locale: CONVERSATION_NS
2826
+ locale: CONVERSATION_NS,
2827
+ inject: toolFileInject(ctx)
2739
2828
  }, ReadRow));
2740
2829
  }
2741
2830
  };
@@ -2903,11 +2992,12 @@ window.__ModuleLoader__.load({
2903
2992
  */
2904
2993
  function ReadImageRow(props) {
2905
2994
  const { block, renderSlot, loadImage } = props;
2995
+ const { getTriggerProps } = props.useContextMenu();
2906
2996
  return readFamilyRow(props, {
2907
2997
  image: imageCardModel(block),
2908
2998
  renderSlot,
2909
2999
  loadImage
2910
- });
3000
+ }, getTriggerProps);
2911
3001
  }
2912
3002
  /**
2913
3003
  * The read_image row as a plain registrant plugin following the atomic Tool-view
@@ -2917,7 +3007,7 @@ window.__ModuleLoader__.load({
2917
3007
  */
2918
3008
  const readImageToolview = {
2919
3009
  name: "read-image-toolview",
2920
- inject: ["slots"],
3010
+ inject: ["slots", "sessions"],
2921
3011
  /**
2922
3012
  * Register the read_image row into the Tool-owned keyed view slot.
2923
3013
  * @param ctx - registrant context (disposal rides ctx.effect inside slots.register).
@@ -2927,6 +3017,7 @@ window.__ModuleLoader__.load({
2927
3017
  name: "tool.call.toolview",
2928
3018
  key: "read_image",
2929
3019
  locale: CONVERSATION_NS,
3020
+ inject: toolFileInject(ctx),
2930
3021
  children: { "tool.call.images": {
2931
3022
  kind: "single",
2932
3023
  scope: "session"
@@ -3914,11 +4005,24 @@ window.__ModuleLoader__.load({
3914
4005
  return labels.join(t("detail.weekday.join"));
3915
4006
  }
3916
4007
  function scheduleItem(value, t, locale) {
3917
- if (!detailRecord(value) || !nonempty(value.id) || !nonempty(value.prompt) || typeof value.scheduledAt !== "string" || value.deliveryMode !== "host" && value.deliveryMode !== "session-local" || value.state !== "scheduled" && value.state !== "overdue") return null;
4008
+ if (!detailRecord(value) || !nonempty(value.id) || typeof value.scheduledAt !== "string") return null;
4009
+ const title = nonempty(value.title) ? value.title : value.prompt;
4010
+ if (!nonempty(title)) return null;
4011
+ const state = value.status ?? value.state;
4012
+ if (value.status === void 0) {
4013
+ if (!nonempty(value.prompt) || value.deliveryMode !== "host" && value.deliveryMode !== "session-local" || state !== "scheduled" && state !== "overdue") return null;
4014
+ } else if (!nonempty(value.title) || state !== "active" && state !== "paused" && state !== "ended") return null;
3918
4015
  const date = new Date(value.scheduledAt);
3919
4016
  if (!Number.isFinite(date.getTime()) || date.toISOString() !== value.scheduledAt) return null;
3920
4017
  let frequency;
3921
4018
  switch (value.kind) {
4019
+ case "rrule": {
4020
+ if (typeof value.rrule !== "string") return null;
4021
+ const rule = value.rrule.split("\n").find((line) => line.startsWith("RRULE:"))?.slice(6);
4022
+ if (!nonempty(rule)) return null;
4023
+ frequency = t("detail.schedule.custom");
4024
+ break;
4025
+ }
3922
4026
  case "at":
3923
4027
  frequency = t("detail.schedule.once");
3924
4028
  break;
@@ -3958,7 +4062,7 @@ window.__ModuleLoader__.load({
3958
4062
  }
3959
4063
  const dateText = formatDate(date, locale, value.scheduledAt);
3960
4064
  return {
3961
- title: nonempty(value.title) ? value.title : value.prompt,
4065
+ title,
3962
4066
  fields: [
3963
4067
  {
3964
4068
  label: t("detail.schedule.when"),
@@ -3970,11 +4074,24 @@ window.__ModuleLoader__.load({
3970
4074
  },
3971
4075
  {
3972
4076
  label: t("detail.state"),
3973
- value: t(`detail.schedule.${value.state}`)
4077
+ value: t(`detail.schedule.${state}`)
3974
4078
  }
3975
4079
  ]
3976
4080
  };
3977
4081
  }
4082
+ function single(item) {
4083
+ return item === null ? null : { items: [item] };
4084
+ }
4085
+ function deletedTask(value, t) {
4086
+ if (!detailRecord(value) || !nonempty(value.id) || value.deleted !== true) return null;
4087
+ return { items: [{
4088
+ title: value.id,
4089
+ fields: [{
4090
+ label: t("detail.state"),
4091
+ value: t("detail.schedule.deleted")
4092
+ }]
4093
+ }] };
4094
+ }
3978
4095
  /**
3979
4096
  * Derive a supported successful result, retaining generic output on unknown or malformed data.
3980
4097
  * @param block - Logged root or nested Tool call and its optional result.
@@ -3997,14 +4114,14 @@ window.__ModuleLoader__.load({
3997
4114
  case "get_goal":
3998
4115
  case "update_goal": return goalDetail(value, t);
3999
4116
  case "schedule_create":
4000
- case "schedule_update": {
4001
- const item = scheduleItem(value, t, locale);
4002
- return item === null ? null : { items: [item] };
4003
- }
4117
+ case "schedule_update":
4118
+ case "schedule_view": return single(scheduleItem(value, t, locale));
4119
+ case "schedule_edit": return deletedTask(value, t) ?? single(scheduleItem(value, t, locale));
4004
4120
  case "schedule_list": {
4005
- if (!Array.isArray(value)) return null;
4121
+ const entries = Array.isArray(value) ? value : detailRecord(value) ? value.items : void 0;
4122
+ if (!Array.isArray(entries)) return null;
4006
4123
  const items = [];
4007
- for (const entry of value) {
4124
+ for (const entry of entries) {
4008
4125
  const item = scheduleItem(entry, t, locale);
4009
4126
  if (item === null) return null;
4010
4127
  items.push(item);
@@ -4015,15 +4132,7 @@ window.__ModuleLoader__.load({
4015
4132
  empty: t("detail.schedule.empty")
4016
4133
  };
4017
4134
  }
4018
- case "schedule_delete":
4019
- if (!detailRecord(value) || !nonempty(value.id) || value.deleted !== true) return null;
4020
- return { items: [{
4021
- title: value.id,
4022
- fields: [{
4023
- label: t("detail.state"),
4024
- value: t("detail.schedule.deleted")
4025
- }]
4026
- }] };
4135
+ case "schedule_delete": return deletedTask(value, t);
4027
4136
  default: return null;
4028
4137
  }
4029
4138
  }
@@ -4118,6 +4227,16 @@ window.__ModuleLoader__.load({
4118
4227
  key: "schedule_list",
4119
4228
  locale: CONVERSATION_NS
4120
4229
  }, DetailsRow);
4230
+ yield ctx.slots.register({
4231
+ name: "tool.call.toolview",
4232
+ key: "schedule_view",
4233
+ locale: CONVERSATION_NS
4234
+ }, DetailsRow);
4235
+ yield ctx.slots.register({
4236
+ name: "tool.call.toolview",
4237
+ key: "schedule_edit",
4238
+ locale: CONVERSATION_NS
4239
+ }, DetailsRow);
4121
4240
  yield ctx.slots.register({
4122
4241
  name: "tool.call.toolview",
4123
4242
  key: "schedule_delete",
@@ -4554,11 +4673,20 @@ window.__ModuleLoader__.load({
4554
4673
  web_fetch: "tool.title.webFetch"
4555
4674
  };
4556
4675
  /** Lets users expand a completed web search or fetch result. */
4557
- function WebRow({ toolName, block, inspect, useDisclosure, t }) {
4676
+ function WebRow({ toolName, block, useContextMenu, sessionId, inspect, useDisclosure, t }) {
4677
+ const { getTriggerProps } = useContextMenu();
4678
+ const href = webFetchHref(block);
4558
4679
  const model = toolRowModel(toolName, block);
4559
4680
  const web = webCardModel(block);
4560
4681
  const icon = toolName === "web_fetch" ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconBrowseOutlineRegular, { size: 14 }) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconGlobeOutlineRegular, { size: 14 });
4561
4682
  return (0, react_jsx_runtime.jsx)(ToolRow, {
4683
+ urlContextMenuProps: getTriggerProps(href === void 0 ? void 0 : {
4684
+ kind: "url",
4685
+ value: {
4686
+ sessionId,
4687
+ url: href
4688
+ }
4689
+ }),
4562
4690
  useDisclosure,
4563
4691
  t,
4564
4692
  variant: model.variant,
@@ -4569,7 +4697,7 @@ window.__ModuleLoader__.load({
4569
4697
  output: model.output,
4570
4698
  errorSummary: model.errorSummary,
4571
4699
  web,
4572
- href: webFetchHref(block),
4700
+ href,
4573
4701
  state: model.state,
4574
4702
  inspect
4575
4703
  });
@@ -4595,8 +4723,12 @@ window.__ModuleLoader__.load({
4595
4723
  };
4596
4724
  //#endregion
4597
4725
  //#region lib/types/client/apply.js
4598
- /** Required services: the slot registry and the Remote face carrying the Host home used for POSIX `~`. */
4599
- const inject = ["slots", "remote"];
4726
+ /** Required services: Slots, live Session paths, and the Remote face carrying the Host home used for POSIX `~`. */
4727
+ const inject = [
4728
+ "slots",
4729
+ "remote",
4730
+ "sessions"
4731
+ ];
4600
4732
  /**
4601
4733
  * Mount the whole-Tool renderers and built-in atomic Tool registrations.
4602
4734
  * @param ctx - Client root context.
@@ -4606,7 +4738,11 @@ window.__ModuleLoader__.load({
4606
4738
  getSnapshot: () => ctx.remote.$host,
4607
4739
  subscribe: (listener) => ctx.on("connection/reset", listener)
4608
4740
  };
4609
- const toolInject = () => ({ hooks: { hostInfo } });
4741
+ const fileInject = toolFileInject(ctx);
4742
+ const toolInject = (sessionId) => ({
4743
+ ...fileInject(sessionId),
4744
+ hooks: { hostInfo }
4745
+ });
4610
4746
  ctx.slots.inject("conversation.chat.node", () => ctx.slots.register({
4611
4747
  name: "conversation.chat.node",
4612
4748
  key: "tool-call",
@@ -32,7 +32,8 @@
32
32
  "@deepseek-ai/dsh-api-workspace-controller",
33
33
  "@deepseek-ai/dsh-client-connection",
34
34
  "@deepseek-ai/dsh-client-locale",
35
- "@deepseek-ai/dsh-client-ui-conversation"
35
+ "@deepseek-ai/dsh-client-ui-conversation",
36
+ "@deepseek-ai/dsh-api-session-controller"
36
37
  ],
37
38
  "platform": "web"
38
39
  }
@@ -72,7 +73,9 @@
72
73
  "clsx": "^2.0.0",
73
74
  "@deepseek-ai/dsh-ptc-runtime": "0.2.2-alpha.2",
74
75
  "@deepseek-ai/dsh-token-meter": "0.2.2-alpha.2",
75
- "@deepseek-ai/dsh-user-questions": "0.2.2-alpha.2"
76
+ "@deepseek-ai/dsh-user-questions": "0.2.2-alpha.2",
77
+ "@deepseek-ai/dsh-client-ui-context-menu": "0.2.2-alpha.2",
78
+ "@deepseek-ai/dsh-api-session-controller": "0.2.2-alpha.2"
76
79
  },
77
80
  "files": [
78
81
  "locale/*.json",
@@ -18,14 +18,14 @@
18
18
  en: 4bd17d05b8385675
19
19
  zh: 5174e27f754f2a03
20
20
  /deepseek-ai-dsh-client-ui-trajectory/use-this-package/inspecting-records:
21
- en: 130d568589ae108e
22
- zh: 2a52a19499e9c0a7
21
+ en: 4bf16077921c643c
22
+ zh: 08ded05f8f0afded
23
23
  /deepseek-ai-dsh-client-ui-trajectory/use-this-package/the-timing-overview:
24
24
  en: 0f4ee2189324ac06
25
25
  zh: 12e76fed22c09bc1
26
26
  /deepseek-ai-dsh-client-ui-trajectory/understand-the-implementation:
27
- en: 0eaa2a895454e053
28
- zh: 6fb5c2682698fca9
27
+ en: 0d22ad8a6bfc0eab
28
+ zh: 3221c4dd5874c585
29
29
  /deepseek-ai-dsh-client-ui-trajectory/understand-the-implementation/virtual-rows:
30
30
  en: c85e342bc7eee4e6
31
31
  zh: 9feab66ef1755b94
@@ -29,7 +29,9 @@ Open the Trajectory tab in the conversation's view ring to inspect agent activit
29
29
 
30
30
  ### Inspecting records
31
31
 
32
- Calls are identified by their recorded tool name. For `run_code`, the row shows the program description and the inspector opens numbered, highlighted source. The Code tab provides wrapping, a `{}` toggle for the original JSON arguments, and exact source copying, including trailing newlines. Copying the original arguments retains their recorded JSON whitespace. Each newly opened code view takes the last wrapping choice; changing it leaves other open views as they are. Output preserves the recorded text, using a tree for complete JSON objects or arrays. Highlighting uses only an unambiguous TypeScript or Python hint in the recorded tool schema; missing or conflicting hints leave plain source.
32
+ The toolbar folds turns, calls, and subcalls independently. Subcalls fold into a summary beneath their parent tool; click the summary or press Enter or Space to expand it. Search includes folded subcalls, and cross-view inspection expands the requested call. Toolbar controls and search wrap onto additional lines when the pane is narrow.
33
+
34
+ Calls are identified by their recorded tool name. For `run_code`, the row shows the program description and the inspector opens numbered, highlighted source. The Code tab provides wrapping, a `{}` toggle for the original JSON arguments, and exact source copying, including trailing newlines. Copying the original arguments retains their recorded JSON whitespace. Each newly opened code view takes the last wrapping choice; changing it leaves other open views as they are. Output preserves the recorded text, using a tree for complete JSON objects or arrays. Highlighting reads the leading `Execute a program in` language declaration and the legacy `code` parameter description from the recorded tool schema. Only TypeScript and Python are supported. Missing or conflicting hints, or an explicit declaration of another language, leave plain source; later examples in the tool description do not affect language selection.
33
35
 
34
36
  Selection, timeline navigation, folding, and search cover the React-visible window. Request numbers and cumulative usage cover the complete resident snapshot. Selecting a record opens a local inspector for token usage, duration, Input, Output, Timing, and durable images. Image URLs use the Conversation-owned per-session cache, so Chat and Trajectory share one authorized read per attachment. The Trajectory view declares `conversation.trajectory.images`; ledger children call this Slot through the framework `renderSlot` seat, passing image references, display options, and the authorized loader explicitly. Its official `MessageImages` entry calls the shared `conversation.images.content` Factory. A user record shows both nonzero image and ordinary-file counts beside its text, including attachment-only records. A standalone compaction request appears chronologically in its own `Between turns` section, while a numbered compaction remains inside its owning turn.
35
37
 
@@ -57,7 +59,9 @@ The view is a pure projection: Trajectory-owned Definitions assemble business re
57
59
 
58
60
  User, steering, and context inputs and request prompt changes share their request's Step group in log order, before the request separator and assistant output.
59
61
 
60
- Native and nested PTC Tool results retain their raw structured error details and presentation metadata. The Result tab stacks the live canonical value above the rendered content, with one scroll area for the entire panel and no section height limits. Both JSON trees preview long strings up to 12 lines and allow expansion. In-flight PTC calls show “Running…” until a result is available. Historical, failed, evicted, and unloaded raw results show “Raw results are only available for live tool calls” while rendered content remains available. There is no result-mode preference. The inspector subscribes only to the selected result while the Result tab is open, releasing it on selection changes or disposal; Session unload and connection loss clear the displayed value. JSON primitives, including `null`, remain inspectable. Summary previews continue to show rendered content. Failed records show the error code in the ledger and the error name and code in the inspector.
62
+ Native and nested PTC Tool results retain their raw structured error details and presentation metadata. The Result tab stacks the live canonical value above the rendered content, with one scroll area for the entire panel and no section height limits. Both JSON trees preview long strings up to 12 lines and allow expansion. In-flight PTC calls show “Running…” until a result is available. Historical, failed, evicted, and unloaded raw results show “Raw results are only available for live tool calls” while rendered content remains available. There is no result-mode preference. The inspector subscribes only to the selected result while the Result tab is open, releasing it on selection changes or disposal; Session unload and connection loss clear the displayed value. JSON primitives, including `null`, remain inspectable. Summary previews continue to show rendered content.
63
+
64
+ Failed records use non-empty recorded result text for ledger previews, inspector output, and output copying, preserving whitespace-only text. JSON failure output stays as recorded text in Summary and the rendered section of Result. With that text present, structured error names and codes are neither displayed nor separately indexed for search. Only failures without any non-empty text block fall back to the error code in the ledger and the error name and code in the inspector; image content remains visible beside that fallback.
61
65
 
62
66
  Tool records begin at durable tool/call events and retain complete argument text with a lazy `args` view, reused by paired results. Chat's transient preparing stage does not create Trajectory tool rows or alter historical tool timing.
63
67