@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
@@ -34,6 +34,23 @@ window.__ModuleLoader__.load({
34
34
  let _deepseek_ai_dsh_client_ui_dockkit = require("@deepseek-ai/dsh-client-ui-dockkit");
35
35
  let zod = require("zod");
36
36
  let react_dom = require("react-dom");
37
+ //#region lib/types/client/shell/TabMenuContent.js
38
+ /** @param props - clicked tab and already retained view. @returns existing plugin menu rows. */
39
+ function TabMenuContent({ target, dismiss, useViews, SessionProvider, renderSlot }) {
40
+ const views = useViews((value) => value);
41
+ if (target.kind !== "tab") return null;
42
+ const view = views.find((view) => view.sessionId === target.value.sessionId);
43
+ const tab = target.value.tab;
44
+ if (view === void 0) return null;
45
+ return (0, react_jsx_runtime.jsx)(SessionProvider, {
46
+ session: view.reference,
47
+ children: renderSlot("sidebar.right.tab.menu.item", {
48
+ tab,
49
+ dismiss
50
+ })
51
+ });
52
+ }
53
+ //#endregion
37
54
  //#region lib/types/client/focus.js
38
55
  /**
39
56
  * Read pane and tab identity from live owner markup, including an embedding iframe.
@@ -609,6 +626,10 @@ window.__ModuleLoader__.load({
609
626
  const entries = useGuideEntries((entries) => entries);
610
627
  const unpinned = useEntryPins((ids) => ids);
611
628
  const hasEntryActions = useEntryActions((registered) => registered);
629
+ const open = (kind) => {
630
+ tab.actions.openTab(kind, { replaceTab: true });
631
+ tab.actions.close();
632
+ };
612
633
  const visibleEntries = entries.filter((entry) => entry.kind === "files" || !unpinned.includes(guideEntryId(entry)));
613
634
  return renderSlotChain("sidebar.right.tab.guide", {}, {
614
635
  hookContext: useTabInfo,
@@ -630,7 +651,7 @@ window.__ModuleLoader__.load({
630
651
  described,
631
652
  shortcut: shortcuts.find((shortcut) => shortcut.id === entry.commandId),
632
653
  onPick: (selected) => {
633
- tab.actions.openTab(selected.kind, { replaceTab: true });
654
+ open(selected.kind);
634
655
  }
635
656
  })
636
657
  })
@@ -644,7 +665,7 @@ window.__ModuleLoader__.load({
644
665
  })),
645
666
  onOpen: (id) => {
646
667
  const entry = entries.find((candidate) => guideEntryId(candidate) === id);
647
- if (entry !== void 0) tab.actions.openTab(entry.kind, { replaceTab: true });
668
+ if (entry !== void 0) open(entry.kind);
648
669
  },
649
670
  onPinnedChange: setPinned,
650
671
  renderSlot
@@ -652,8 +673,23 @@ window.__ModuleLoader__.load({
652
673
  });
653
674
  }
654
675
  //#endregion
676
+ //#region ../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
677
+ function r(e) {
678
+ var t, f, n = "";
679
+ if ("string" == typeof e || "number" == typeof e) n += e;
680
+ else if ("object" == typeof e) if (Array.isArray(e)) {
681
+ var o = e.length;
682
+ for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
683
+ } else for (f in e) e[f] && (n && (n += " "), n += f);
684
+ return n;
685
+ }
686
+ function clsx() {
687
+ for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
688
+ return n;
689
+ }
690
+ //#endregion
655
691
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-sidebar-right/src/client/shell/ExpandButton.module.css.mjs
656
- const css$1 = ".owsXtq_button{width:28px;color:var(--dsw-alias-label-secondary);flex:none;padding:0}.owsXtq_button svg{width:15px;height:15px}.owsXtq_icon{transform:scaleX(-1)}";
692
+ const css$1 = ".owsXtq_button{width:28px;color:var(--dsw-alias-label-secondary);flex:none;padding:0}.owsXtq_button svg{width:15px;height:15px}.owsXtq_expanded{visibility:hidden}.owsXtq_icon{transform:scaleX(-1)}";
657
693
  const tagId$1 = "@deepseek-ai/dsh-client-ui-sidebar-right/ExpandButton.module.css";
658
694
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
659
695
  const tag = document.createElement("style");
@@ -664,22 +700,26 @@ window.__ModuleLoader__.load({
664
700
  }
665
701
  var ExpandButton_module_css_default = {
666
702
  "button": "owsXtq_button",
703
+ "expanded": "owsXtq_expanded",
667
704
  "icon": "owsXtq_icon"
668
705
  };
669
706
  //#endregion
670
707
  //#region lib/types/client/shell/ExpandButton.js
671
- /** The expand control while the panel is collapsed; nothing while it is shown. */
708
+ /** Opens a collapsed panel; when expanded, hides and disables on mobile devices and renders nothing on desktop devices. */
672
709
  function ExpandButton({ sessionId, useStore, actions, t, useShortcuts }) {
673
710
  const shortcut = useShortcuts((entries) => entries.find((entry) => entry.id === "sidebar.right.toggle"));
674
- if (useStore((state) => state.bySession[sessionId]?.layout.expanded ?? false)) return null;
711
+ const expanded = useStore((state) => state.bySession[sessionId]?.layout.expanded ?? false);
712
+ if (expanded && !(0, _deepseek_ai_dsh_client_ui_primitives.isMobileDevice)()) return null;
675
713
  return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
676
714
  label: t("chrome.expand"),
677
715
  shortcutKeys: shortcut?.keys,
678
716
  side: "bottom",
679
717
  delayMs: 500,
718
+ disabled: expanded,
680
719
  children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
681
720
  size: "sm",
682
- className: ExpandButton_module_css_default.button,
721
+ className: clsx(ExpandButton_module_css_default.button, expanded && ExpandButton_module_css_default.expanded),
722
+ disabled: expanded,
683
723
  "aria-label": t("chrome.expandAria"),
684
724
  "aria-keyshortcuts": shortcut?.aria,
685
725
  "data-sidebar-right-expand": true,
@@ -944,6 +984,89 @@ window.__ModuleLoader__.load({
944
984
  contentId: pageAddress(initial.kind)
945
985
  };
946
986
  }
987
+ /**
988
+ * First tab showing (kind, contentId) in one host: docked panes in visual
989
+ * order, or floating panels from the bottom of the stack.
990
+ * @param state - current layout.
991
+ * @param destination - the host searched.
992
+ * @param contentId - the content identity.
993
+ * @param kind - the claimed kind.
994
+ * @returns the tab, or `undefined` when that host shows no such content.
995
+ */
996
+ function findHostContentTab(state, destination, contentId, kind) {
997
+ const panes = destination === "sidebar" ? (0, _deepseek_ai_dsh_client_ui_dockkit.dockPaneIds)(state) : state.floats;
998
+ for (const paneId of panes) {
999
+ const found = (0, _deepseek_ai_dsh_client_ui_dockkit.findPaneContentTab)(state, paneId, contentId, kind);
1000
+ if (found !== void 0) return found;
1001
+ }
1002
+ }
1003
+ /**
1004
+ * Plan an open into an explicit host: reveal the copy already there, else move
1005
+ * one copy from the other host, else open a new tab there. A move keeps the
1006
+ * tab record, so its occurrence survives the commit.
1007
+ * @param state - current layout.
1008
+ * @param mint - id source for a new tab or floating pane.
1009
+ * @param intent - the claimed content and its host.
1010
+ * @param destination - the host.
1011
+ * @returns the operations plus the tab they settle on.
1012
+ */
1013
+ function planOpenIn(state, mint, intent, destination) {
1014
+ const { kind, contentId, title } = intent;
1015
+ const other = destination === "sidebar" ? "float" : "sidebar";
1016
+ const here = findHostContentTab(state, destination, contentId, kind);
1017
+ const there = here === void 0 ? findHostContentTab(state, other, contentId, kind) : void 0;
1018
+ if (destination === "sidebar") {
1019
+ const expand = (0, _deepseek_ai_dsh_client_ui_dockkit.planSetExpanded)(state, true);
1020
+ if (here !== void 0) return {
1021
+ ops: [...expand, {
1022
+ type: "focusTab",
1023
+ tabId: here
1024
+ }],
1025
+ tabId: here
1026
+ };
1027
+ const paneId = (0, _deepseek_ai_dsh_client_ui_dockkit.activeDockPaneId)(state);
1028
+ if (there !== void 0) return {
1029
+ ops: [...expand, ...(0, _deepseek_ai_dsh_client_ui_dockkit.planUnfloatPane)(state, (0, _deepseek_ai_dsh_client_ui_dockkit.findTabPane)(state, there).id, paneId)],
1030
+ tabId: there
1031
+ };
1032
+ const opened = (0, _deepseek_ai_dsh_client_ui_dockkit.planOpenContent)(state, mint, {
1033
+ kind,
1034
+ contentId,
1035
+ title,
1036
+ paneId,
1037
+ revealIfOpened: false
1038
+ });
1039
+ return {
1040
+ ops: [...expand, ...opened.ops],
1041
+ tabId: opened.tabId
1042
+ };
1043
+ }
1044
+ if (here !== void 0) return {
1045
+ ops: [{
1046
+ type: "focusTab",
1047
+ tabId: here
1048
+ }],
1049
+ tabId: here
1050
+ };
1051
+ if (there !== void 0) return {
1052
+ ops: (0, _deepseek_ai_dsh_client_ui_dockkit.planFloatTab)(state, mint, there).ops,
1053
+ tabId: there
1054
+ };
1055
+ const paneId = (0, _deepseek_ai_dsh_client_ui_dockkit.activeDockPaneId)(state);
1056
+ const pane = (0, _deepseek_ai_dsh_client_ui_dockkit.getPane)(state, paneId);
1057
+ const opened = (0, _deepseek_ai_dsh_client_ui_dockkit.planOpenContent)(state, mint, {
1058
+ kind,
1059
+ contentId,
1060
+ title,
1061
+ paneId,
1062
+ index: pane.activeTabId === void 0 ? 0 : pane.tabs.indexOf(pane.activeTabId) + 1,
1063
+ revealIfOpened: false
1064
+ });
1065
+ return {
1066
+ ops: [...opened.ops, ...(0, _deepseek_ai_dsh_client_ui_dockkit.planFloatTab)(state, mint, opened.tabId).ops],
1067
+ tabId: opened.tabId
1068
+ };
1069
+ }
947
1070
  /** A mint that counts, so the surface can carry its position forward. */
948
1071
  function counting(from) {
949
1072
  let counter = from;
@@ -1114,15 +1237,53 @@ window.__ModuleLoader__.load({
1114
1237
  },
1115
1238
  openContent: (d, sessionId, intent, settled) => {
1116
1239
  d.bySession = seat(d, sessionId, (s) => advance(s, (state, mint) => {
1117
- const { kind, contentId, title, replaceTab: replace } = intent;
1118
- const ops = [...(0, _deepseek_ai_dsh_client_ui_dockkit.planSetExpanded)(state, true)];
1240
+ if (intent.destination !== void 0) {
1241
+ const planned = planOpenIn(state, mint, intent, intent.destination);
1242
+ settled(planned.tabId);
1243
+ return planned.ops;
1244
+ }
1245
+ const { kind, contentId, title } = intent;
1246
+ const replace = intent.replaceTab !== void 0 && state.tabs[intent.replaceTab] !== void 0 ? intent.replaceTab : void 0;
1119
1247
  const replaced = replace === void 0 ? void 0 : (0, _deepseek_ai_dsh_client_ui_dockkit.findTabPane)(state, replace);
1120
- const lent = replace !== void 0 && replaced !== void 0 && replaced.host === "dock" ? replaced : void 0;
1248
+ const lent = replaced?.host === "dock" ? replaced : void 0;
1121
1249
  const paneId = lent?.id ?? intent.paneId;
1122
1250
  const index = lent === void 0 || replace === void 0 ? void 0 : lent.tabs.indexOf(replace);
1123
1251
  const page = contentId === pageAddress(kind);
1124
- const held = page ? panePage(state, paneId ?? (0, _deepseek_ai_dsh_client_ui_dockkit.activeDockPaneId)(state), kind) : void 0;
1252
+ const held = page ? panePage(state, replaced?.id ?? paneId ?? (0, _deepseek_ai_dsh_client_ui_dockkit.activeDockPaneId)(state), kind) : void 0;
1125
1253
  const revealed = page ? held : intent.revealIfOpened === false ? void 0 : (0, _deepseek_ai_dsh_client_ui_dockkit.findContentTab)(state, contentId, kind);
1254
+ if (replace !== void 0 && revealed === void 0 && replaced?.host === "float") {
1255
+ const tab = {
1256
+ id: mint("tab"),
1257
+ kind,
1258
+ contentId,
1259
+ title
1260
+ };
1261
+ settled(tab.id);
1262
+ return [
1263
+ {
1264
+ type: "closeTab",
1265
+ tabId: replace
1266
+ },
1267
+ {
1268
+ type: "insertPane",
1269
+ pane: {
1270
+ ...replaced,
1271
+ tabs: [tab.id],
1272
+ activeTabId: tab.id
1273
+ },
1274
+ tabs: [tab],
1275
+ attach: {
1276
+ mode: "float",
1277
+ index: state.floats.indexOf(replaced.id)
1278
+ }
1279
+ },
1280
+ {
1281
+ type: "focusTab",
1282
+ tabId: tab.id
1283
+ }
1284
+ ];
1285
+ }
1286
+ const ops = revealed !== void 0 && (0, _deepseek_ai_dsh_client_ui_dockkit.findTabPane)(state, revealed).host === "float" ? [] : [...(0, _deepseek_ai_dsh_client_ui_dockkit.planSetExpanded)(state, true)];
1126
1287
  let openedInNewPane;
1127
1288
  const split = intent.preferNewPane === true && replace === void 0 && revealed === void 0 ? (0, _deepseek_ai_dsh_client_ui_dockkit.planSplitPane)(state, mint, paneId, (id) => {
1128
1289
  openedInNewPane = id;
@@ -1151,7 +1312,7 @@ window.__ModuleLoader__.load({
1151
1312
  ...page ? { revealIfOpened: false } : intent.revealIfOpened === void 0 ? {} : { revealIfOpened: intent.revealIfOpened }
1152
1313
  });
1153
1314
  ops.push(...planned.ops);
1154
- if (replace !== void 0 && replace !== planned.tabId) ops.push({
1315
+ if (replace !== void 0 && revealed === void 0) ops.push({
1155
1316
  type: "closeTab",
1156
1317
  tabId: replace
1157
1318
  });
@@ -1204,7 +1365,8 @@ window.__ModuleLoader__.load({
1204
1365
  const floated = (0, _deepseek_ai_dsh_client_ui_dockkit.getPane)(state, paneId).tabs[0];
1205
1366
  const plan = () => (0, _deepseek_ai_dsh_client_ui_dockkit.planUnfloatPane)(state, paneId);
1206
1367
  /* v8 ignore next -- a floating pane holds exactly one tab. */
1207
- return floated === void 0 ? plan() : arriving(state, floated, (0, _deepseek_ai_dsh_client_ui_dockkit.activeDockPaneId)(state), plan);
1368
+ const ops = floated === void 0 ? plan() : arriving(state, floated, (0, _deepseek_ai_dsh_client_ui_dockkit.activeDockPaneId)(state), plan);
1369
+ return [...(0, _deepseek_ai_dsh_client_ui_dockkit.planSetExpanded)(state, true), ...ops];
1208
1370
  }, seed));
1209
1371
  },
1210
1372
  moveFloat: (d, sessionId, paneId, x, y) => {
@@ -1254,8 +1416,39 @@ window.__ModuleLoader__.load({
1254
1416
  };
1255
1417
  }
1256
1418
  //#endregion
1419
+ //#region lib/types/client/shell/flash.js
1420
+ /**
1421
+ * Mark the pane a flash request names, docked or floating, until its animation ends.
1422
+ * @param root - the Session's panel, which contains its docked and floating panes.
1423
+ * @param flash - the latest request; alternating serials select alternating keyframes, so a repeat restarts.
1424
+ * @returns the cleanup that removes the mark, or undefined when no pane was marked.
1425
+ */
1426
+ function flashPane(root, flash) {
1427
+ if (root === null || flash === void 0) return void 0;
1428
+ const pane = root.querySelector(`[data-dockkit-pane="${flash.paneId}"], [data-dockkit-float="${flash.paneId}"]`);
1429
+ if (pane === null) return void 0;
1430
+ let started;
1431
+ const start = (event) => {
1432
+ if (event.target === pane) started = event.animationName;
1433
+ };
1434
+ const end = (event) => {
1435
+ if (event.target === pane && event.animationName === started) clear();
1436
+ };
1437
+ const clear = () => {
1438
+ pane.removeEventListener("animationstart", start);
1439
+ pane.removeEventListener("animationend", end);
1440
+ pane.removeEventListener("animationcancel", end);
1441
+ delete pane.dataset.sidebarRightFlash;
1442
+ };
1443
+ pane.dataset.sidebarRightFlash = flash.serial % 2 === 0 ? "even" : "odd";
1444
+ pane.addEventListener("animationstart", start);
1445
+ pane.addEventListener("animationend", end);
1446
+ pane.addEventListener("animationcancel", end);
1447
+ return clear;
1448
+ }
1449
+ //#endregion
1257
1450
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-sidebar-right/src/client/shell/SidebarRight.module.css.mjs
1258
- const css = ".jVjTDG_session{display:contents}.jVjTDG_session[hidden]{display:none}.jVjTDG_panel{--dsh-dockkit-dock-layer:10;--dsh-dockkit-float-layer:60;pointer-events:none;flex-direction:column;min-width:0;display:flex;position:absolute;top:0;bottom:0;right:0;overflow:clip}.jVjTDG_panel [data-dockkit-host=dock],.jVjTDG_panel [data-dockkit-empty],.jVjTDG_panel [data-dockkit-divider]{transform:translateX(var(--dsh-sidebar-width));visibility:hidden;transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out), visibility 0s linear var(--ds-transition-duration-slow)}.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-host=dock],.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-empty],.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-divider]{visibility:visible;transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out);transform:none}@starting-style{.jVjTDG_panel[data-sidebar-right-opening] [data-dockkit-host=dock],.jVjTDG_panel[data-sidebar-right-opening] [data-dockkit-empty],.jVjTDG_panel[data-sidebar-right-opening] [data-dockkit-divider]{transform:translateX(var(--dsh-sidebar-width))}}.jVjTDG_panel[data-sidebar-right-panel=fullscreen]{--dsh-dockkit-dock-layer:40}[data-windows-titlebar] .jVjTDG_panel[data-sidebar-right-panel=fullscreen]{max-width:calc(100vw - var(--dsh-windows-sidebar-width))}[data-windows-titlebar] .jVjTDG_panel[data-sidebar-right-panel=fullscreen] [data-dockkit-column=\"0\"][data-dockkit-pane]{border-radius:var(--dsh-windows-content-radius) 0 0 0;corner-shape:round}[data-platform=darwin] .jVjTDG_panel[data-sidebar-right-panel=fullscreen] [data-dockkit-host=dock][data-dockkit-column=\"0\"]{--dsh-dockkit-strip-inline-start:88px}[data-platform=darwin] .jVjTDG_panel[data-sidebar-right-panel=fullscreen] [data-dockkit-host=dock][data-dockkit-column=\"1\"]{--dsh-dockkit-strip-inline-start:10px}[data-platform=darwin][data-fullscreen] .jVjTDG_panel[data-sidebar-right-panel=fullscreen] [data-dockkit-host=dock][data-dockkit-column=\"0\"]{--dsh-dockkit-strip-inline-start:10px}@media (prefers-reduced-motion:reduce){.jVjTDG_panel [data-dockkit-host=dock],.jVjTDG_panel [data-dockkit-empty],.jVjTDG_panel [data-dockkit-divider],.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-host=dock],.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-empty],.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-divider]{transition:none}}.jVjTDG_iconButton{width:28px;height:28px;color:var(--dsw-alias-label-secondary);border-radius:var(--dsw-radius-sm);cursor:pointer;background:0 0;border:none;flex:none;justify-content:center;align-items:center;padding:6px;line-height:1;display:inline-flex}.jVjTDG_iconButton svg{width:15px;height:15px}@media (hover:hover){.jVjTDG_iconButton:hover{background:var(--dsw-alias-interactive-bg-hover)}}.jVjTDG_collapseGlyph{transform:scaleX(-1)}.jVjTDG_panelBody{flex:auto;min-height:0;display:flex}.jVjTDG_unavailable{color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);margin:0;padding:12px}.jVjTDG_tabTitle{display:contents}.jVjTDG_tabBody{flex-direction:column;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}";
1451
+ const css = ".jVjTDG_session{display:contents}.jVjTDG_session[hidden]{display:none}.jVjTDG_panel{--dsh-dockkit-dock-layer:10;--dsh-dockkit-float-layer:60;pointer-events:none;flex-direction:column;min-width:0;display:flex;position:absolute;top:0;bottom:0;right:0;overflow:clip}.jVjTDG_panel [data-dockkit-host=dock],.jVjTDG_panel [data-dockkit-empty],.jVjTDG_panel [data-dockkit-divider]{transform:translateX(var(--dsh-sidebar-width));visibility:hidden;transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out), visibility 0s linear var(--ds-transition-duration-slow)}.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-host=dock],.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-empty],.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-divider]{visibility:visible;transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out);transform:none}@starting-style{.jVjTDG_panel[data-sidebar-right-opening] [data-dockkit-host=dock],.jVjTDG_panel[data-sidebar-right-opening] [data-dockkit-empty],.jVjTDG_panel[data-sidebar-right-opening] [data-dockkit-divider]{transform:translateX(var(--dsh-sidebar-width))}}.jVjTDG_panel[data-sidebar-right-panel=fullscreen]{--dsh-dockkit-dock-layer:40}[data-windows-titlebar] .jVjTDG_panel[data-sidebar-right-panel=fullscreen]{max-width:calc(100vw - var(--dsh-windows-sidebar-width))}[data-windows-titlebar] .jVjTDG_panel[data-sidebar-right-panel=fullscreen] [data-dockkit-column=\"0\"][data-dockkit-pane]{border-radius:var(--dsh-windows-content-radius) 0 0 0;corner-shape:round}[data-platform=darwin] .jVjTDG_panel[data-sidebar-right-panel=fullscreen] [data-dockkit-host=dock][data-dockkit-column=\"0\"]{--dsh-dockkit-strip-inline-start:88px}[data-platform=darwin] .jVjTDG_panel[data-sidebar-right-panel=fullscreen] [data-dockkit-host=dock][data-dockkit-column=\"1\"]{--dsh-dockkit-strip-inline-start:10px}[data-platform=darwin][data-fullscreen] .jVjTDG_panel[data-sidebar-right-panel=fullscreen] [data-dockkit-host=dock][data-dockkit-column=\"0\"]{--dsh-dockkit-strip-inline-start:10px}@media (prefers-reduced-motion:reduce){.jVjTDG_panel [data-dockkit-host=dock],.jVjTDG_panel [data-dockkit-empty],.jVjTDG_panel [data-dockkit-divider],.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-host=dock],.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-empty],.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-divider]{transition:none}}.jVjTDG_iconButton{width:28px;height:28px;color:var(--dsw-alias-label-secondary);border-radius:var(--dsw-radius-sm);cursor:pointer;background:0 0;border:none;flex:none;justify-content:center;align-items:center;padding:6px;line-height:1;display:inline-flex}.jVjTDG_iconButton svg{width:15px;height:15px}@media (hover:hover){.jVjTDG_iconButton:hover{background:var(--dsw-alias-interactive-bg-hover)}}.jVjTDG_collapseGlyph{transform:scaleX(-1)}.jVjTDG_panelBody{flex:auto;min-height:0;display:flex}@media (pointer:coarse){.jVjTDG_panelBody [data-dockkit-split-control]:has(>[data-dockkit-split-blocked]){visibility:hidden}}.jVjTDG_unavailable{color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);margin:0;padding:12px}.jVjTDG_tabTitle{display:contents}.jVjTDG_tabBody{flex-direction:column;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.jVjTDG_panel [data-dockkit-pane][data-sidebar-right-flash],.jVjTDG_panel [data-dockkit-float][data-sidebar-right-flash]{--sidebar-right-flash-color:var(--dsw-alias-brand-primary-new-colorprimary-new-color);--sidebar-right-flash-ring:color-mix(in srgb, var(--sidebar-right-flash-color) 48%, transparent);--sidebar-right-flash-near:color-mix(in srgb, var(--sidebar-right-flash-color) 16%, transparent);--sidebar-right-flash-far:color-mix(in srgb, var(--sidebar-right-flash-color) 10%, transparent)}body[data-ds-dark-theme] .jVjTDG_panel [data-dockkit-pane][data-sidebar-right-flash],body[data-ds-dark-theme] .jVjTDG_panel [data-dockkit-float][data-sidebar-right-flash]{--sidebar-right-flash-color:var(--dsw-static-neutral-00)}.jVjTDG_panel [data-dockkit-pane][data-sidebar-right-flash]{position:relative}.jVjTDG_panel [data-dockkit-pane][data-sidebar-right-flash]:after{content:\"\";z-index:7;pointer-events:none;--sidebar-right-flash-from:inset 0 0 0 1px var(--sidebar-right-flash-ring), inset 0 2px 4px 0 var(--sidebar-right-flash-near), inset 0 0 10px 0 var(--sidebar-right-flash-far);--sidebar-right-flash-to:inset 0 0 0 1px transparent, inset 0 2px 4px 0 transparent, inset 0 0 10px 0 transparent;position:absolute;inset:0}.jVjTDG_panel [data-dockkit-float][data-sidebar-right-flash]{--sidebar-right-flash-from:var(--dsw-elevation-prominent), 0 0 0 1px var(--sidebar-right-flash-ring), 0 2px 4px 0 var(--sidebar-right-flash-near), 0 0 10px 0 var(--sidebar-right-flash-far);--sidebar-right-flash-to:var(--dsw-elevation-prominent), 0 0 0 1px transparent, 0 2px 4px 0 transparent, 0 0 10px 0 transparent}.jVjTDG_panel [data-dockkit-pane][data-sidebar-right-flash]:after,.jVjTDG_panel [data-dockkit-float][data-sidebar-right-flash]{animation-duration:calc(var(--ds-transition-duration-slow) * 2);animation-timing-function:var(--ds-ease-in-out)}.jVjTDG_panel [data-dockkit-pane][data-sidebar-right-flash=odd]:after,.jVjTDG_panel [data-dockkit-float][data-sidebar-right-flash=odd]{animation-name:jVjTDG_flashOdd}.jVjTDG_panel [data-dockkit-pane][data-sidebar-right-flash=even]:after,.jVjTDG_panel [data-dockkit-float][data-sidebar-right-flash=even]{animation-name:jVjTDG_flashEven}@keyframes jVjTDG_flashOdd{0%{box-shadow:var(--sidebar-right-flash-from)}to{box-shadow:var(--sidebar-right-flash-to)}}@keyframes jVjTDG_flashEven{0%{box-shadow:var(--sidebar-right-flash-from)}to{box-shadow:var(--sidebar-right-flash-to)}}@media (prefers-reduced-motion:reduce){.jVjTDG_panel [data-dockkit-pane][data-sidebar-right-flash]:after,.jVjTDG_panel [data-dockkit-float][data-sidebar-right-flash]{animation-timing-function:step-end}}";
1259
1452
  const tagId = "@deepseek-ai/dsh-client-ui-sidebar-right/SidebarRight.module.css";
1260
1453
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
1261
1454
  const tag = document.createElement("style");
@@ -1266,6 +1459,8 @@ window.__ModuleLoader__.load({
1266
1459
  }
1267
1460
  var SidebarRight_module_css_default = {
1268
1461
  "collapseGlyph": "jVjTDG_collapseGlyph",
1462
+ "flashEven": "jVjTDG_flashEven",
1463
+ "flashOdd": "jVjTDG_flashOdd",
1269
1464
  "iconButton": "jVjTDG_iconButton",
1270
1465
  "panel": "jVjTDG_panel",
1271
1466
  "panelBody": "jVjTDG_panelBody",
@@ -1518,9 +1713,20 @@ window.__ModuleLoader__.load({
1518
1713
  * anchored to the frame's right edge and slid off it while collapsed.
1519
1714
  */
1520
1715
  function SidebarPanel(panel) {
1521
- const { sessionId, surface, actions, t, renderSlot, openTab, width, reportRoom, fullscreen, panelRef } = panel;
1716
+ const { sessionId, surface, actions, t, openTab, width, reportRoom, fullscreen, panelRef } = panel;
1522
1717
  const { expanded } = surface.layout;
1523
1718
  const types = panel.useTabTypes((value) => value);
1719
+ const flash = panel.useFlash((value) => value);
1720
+ const played = (0, react.useRef)(flash?.serial);
1721
+ (0, react.useLayoutEffect)(() => {
1722
+ if (flash === void 0 || flash.serial === played.current) return void 0;
1723
+ played.current = flash.serial;
1724
+ return panel.active ? flashPane(panelRef.current, flash) : void 0;
1725
+ }, [
1726
+ flash,
1727
+ panel.active,
1728
+ panelRef
1729
+ ]);
1524
1730
  const [opened, setOpened] = (0, react.useState)(expanded);
1525
1731
  const [opening, setOpening] = (0, react.useState)(false);
1526
1732
  if (opened !== expanded) {
@@ -1557,10 +1763,8 @@ window.__ModuleLoader__.load({
1557
1763
  renderTabTitle: titlesFor(panel),
1558
1764
  active: panel.active,
1559
1765
  keepMounted: (tab) => types.find((type) => type.kind === tab.kind)?.keepMounted === true,
1560
- renderTabMenuItems: (tab, dismiss) => renderSlot("sidebar.right.tab.menu.item", {
1561
- tab,
1562
- dismiss
1563
- }),
1766
+ getTabTriggerProps: panel.getTabTriggerProps,
1767
+ tabMenuOpen: panel.tabMenuOpen,
1564
1768
  chrome: (0, react_jsx_runtime.jsx)(PanelChrome, {
1565
1769
  sessionId,
1566
1770
  fullscreen,
@@ -1581,7 +1785,17 @@ window.__ModuleLoader__.load({
1581
1785
  * itself; this seat reports only what it renders with: the room its kit
1582
1786
  * measured and the automatic fullscreen rule of its frame width.
1583
1787
  */
1584
- function RightbarSeat({ sessionId, width, viewportWidth, canShow, useStore, actions, t, renderSlot, syncPresentation, measureRoom, reportAutoFullscreen, openTab, closeTab, useTabTypes, useTabNavigation, occurrence, retainTab, active, useShortcuts, splitPane, toggleFullscreen }) {
1788
+ function RightbarSeat({ sessionId, width, viewportWidth, canShow, useStore, actions, t, renderSlot, syncPresentation, measureRoom, reportAutoFullscreen, openTab, closeTab, useContextMenu, useContextMenuTarget, useTabTypes, useTabNavigation, occurrence, retainTab, active, useShortcuts, splitPane, toggleFullscreen, useFlash }) {
1789
+ const { getTriggerProps } = useContextMenu();
1790
+ const getTabTriggerProps = (tab, paneId, handlers) => getTriggerProps({
1791
+ kind: "tab",
1792
+ value: {
1793
+ sessionId,
1794
+ tab,
1795
+ paneId
1796
+ }
1797
+ }, handlers);
1798
+ const tabMenuOpen = useContextMenuTarget((target) => target?.kind === "tab" && target.value.sessionId === sessionId);
1585
1799
  const shortcuts = useShortcuts((entries) => entries);
1586
1800
  const surface = useStore((state) => state.bySession[sessionId]);
1587
1801
  const shown = active && surface !== void 0 && surface.layout.expanded;
@@ -1656,9 +1870,12 @@ window.__ModuleLoader__.load({
1656
1870
  surface,
1657
1871
  openTab,
1658
1872
  closeTab,
1873
+ getTabTriggerProps,
1874
+ tabMenuOpen,
1659
1875
  useTabTypes,
1660
1876
  useTabNavigation,
1661
1877
  useStore,
1878
+ useFlash,
1662
1879
  occurrence,
1663
1880
  fullscreen,
1664
1881
  autoFullscreen,
@@ -2021,9 +2238,12 @@ window.__ModuleLoader__.load({
2021
2238
  return release;
2022
2239
  },
2023
2240
  openResource: (address, options = {}) => {
2024
- navigator.openResourceIn(sessionId, address, {
2241
+ navigator.openResourceIn(sessionId, address, options.destination === void 0 ? {
2025
2242
  ...place(options),
2026
2243
  params: options.params
2244
+ } : {
2245
+ destination: options.destination,
2246
+ params: options.params
2027
2247
  });
2028
2248
  },
2029
2249
  openTab: (kind, options = {}) => {
@@ -2146,17 +2366,20 @@ window.__ModuleLoader__.load({
2146
2366
  const rooms = /* @__PURE__ */ new Map();
2147
2367
  const onScreen = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(void 0);
2148
2368
  const inventory = new SidebarTabInventory();
2369
+ const flashes = /* @__PURE__ */ new Map();
2149
2370
  const controller = new SidebarRightController(tabs, pin, host, {
2150
2371
  adopted,
2151
2372
  rooms,
2152
2373
  onScreen,
2153
- openTabs: inventory.source
2374
+ openTabs: inventory.source,
2375
+ flashes
2154
2376
  });
2155
2377
  return {
2156
2378
  controller,
2157
2379
  forget: (sessionId) => {
2158
2380
  inventory.remove(sessionId);
2159
2381
  rooms.delete(sessionId);
2382
+ flashes.delete(sessionId);
2160
2383
  },
2161
2384
  show: (sessionId) => {
2162
2385
  if (onScreen.getSnapshot() !== sessionId) onScreen.set(sessionId);
@@ -2197,6 +2420,7 @@ window.__ModuleLoader__.load({
2197
2420
  adopted;
2198
2421
  rooms;
2199
2422
  closeHandlers = /* @__PURE__ */ new Map();
2423
+ flashes;
2200
2424
  /**
2201
2425
  * Register resource cleanup before explicit removal. Failure preserves the tab.
2202
2426
  * @param kind - tab kind owned by the registering plugin.
@@ -2228,9 +2452,33 @@ window.__ModuleLoader__.load({
2228
2452
  this.rooms = sessions.rooms;
2229
2453
  this.mounted = sessions.onScreen;
2230
2454
  this.openTabs = sessions.openTabs;
2455
+ this.flashes = sessions.flashes;
2231
2456
  this.tabDomain = new TabDomain(this, pin);
2232
2457
  }
2233
2458
  /**
2459
+ * Read closeable tabs from the clicked pane.
2460
+ * @param sessionId - owning Session.
2461
+ * @param paneId - clicked pane.
2462
+ * @param tabId - anchor tab.
2463
+ * @returns closeable ids in display order, or empty sets after the anchor moves or closes.
2464
+ */
2465
+ menuTabs(sessionId, paneId, tabId) {
2466
+ const surface = this.adopted.get(sessionId)?.store.getSnapshot().bySession[sessionId];
2467
+ const pane = surface?.layout.nodes[paneId];
2468
+ if (surface === void 0 || pane?.kind !== "pane" || !pane.tabs.includes(tabId)) return {
2469
+ all: [],
2470
+ right: [],
2471
+ close: false
2472
+ };
2473
+ const index = pane.tabs.indexOf(tabId);
2474
+ const closeable = (id) => canCloseTab(surface, id);
2475
+ return {
2476
+ close: closeable(tabId),
2477
+ all: pane.tabs.filter((id) => id !== tabId && closeable(id)),
2478
+ right: pane.tabs.slice(index + 1).filter(closeable)
2479
+ };
2480
+ }
2481
+ /**
2234
2482
  * Read the committed tabs of a Session so providers can restore their content.
2235
2483
  * @param sessionId - Session whose layout has been adopted.
2236
2484
  * @returns its open records, or an empty list before adoption.
@@ -2304,7 +2552,26 @@ window.__ModuleLoader__.load({
2304
2552
  /** Claim a resource and place it in one session; an address outside the scheme or one no type claims throws. */
2305
2553
  placeResource(sessionId, actions, address, options) {
2306
2554
  if (!address.startsWith(RESOURCE_SCHEME)) throw new Error(`sidebarRight: no registered tab type claims "${address}"`);
2307
- this.place(sessionId, actions, this.tabs.claim(address, options.kind), address, options, options.params);
2555
+ const claim = this.tabs.claim(address, options.kind);
2556
+ if (options.destination === void 0) this.place(sessionId, actions, claim, address, options, options.params);
2557
+ else this.placeIn(sessionId, actions, claim, address, options.destination, options.params);
2558
+ }
2559
+ /** Settle a claimed resource in an explicit host: one store intent, no close handler, and a flash only for a reveal. */
2560
+ placeIn(sessionId, actions, claim, address, destination, params) {
2561
+ const layout = this.adopted.get(sessionId)?.store.getSnapshot().bySession[sessionId]?.layout;
2562
+ const revealed = layout === void 0 ? void 0 : findHostContentTab(layout, destination, claim.contentId, claim.kind);
2563
+ actions.openContent(sessionId, {
2564
+ kind: claim.kind,
2565
+ contentId: claim.contentId,
2566
+ title: claim.title,
2567
+ destination
2568
+ }, (tabId) => {
2569
+ this.tabDomain.navigate(sessionId, tabId, {
2570
+ address,
2571
+ params
2572
+ });
2573
+ });
2574
+ if (layout !== void 0 && revealed !== void 0) this.flashShowing(sessionId, layout, revealed);
2308
2575
  }
2309
2576
  /** Place a page type in one session at the address pages are recorded under; an unregistered kind throws. */
2310
2577
  placeTab(sessionId, actions, kind, options) {
@@ -2319,10 +2586,11 @@ window.__ModuleLoader__.load({
2319
2586
  }
2320
2587
  /** The steps both opens share: one store intent, and the navigation record for the tab it settles on. */
2321
2588
  place(sessionId, actions, claim, address, placement, params) {
2322
- const surface = this.adopted.get(sessionId)?.store.getSnapshot().bySession[sessionId];
2323
- const targetPane = surface === void 0 ? void 0 : placement.paneId ?? (0, _deepseek_ai_dsh_client_ui_dockkit.activeDockPaneId)(surface.layout);
2324
- const target = targetPane === void 0 ? void 0 : surface?.layout.nodes[targetPane];
2325
- const preferNewPane = placement.preferNewPane === true && placement.replaceTab === void 0 && surface !== void 0 && target?.kind === "pane" && target.host === "dock" && target.tabs.length > 0 && (0, _deepseek_ai_dsh_client_ui_dockkit.canSplit)(surface.layout) && (0, _deepseek_ai_dsh_client_ui_dockkit.dockPaneIds)(surface.layout).length < 2 && this.mounted.getSnapshot() === sessionId && this.canSplitPane(sessionId, target.id);
2589
+ const layout = (this.adopted.get(sessionId)?.store.getSnapshot().bySession[sessionId])?.layout;
2590
+ const replaced = placement.replaceTab === void 0 ? void 0 : layout?.tabs[placement.replaceTab];
2591
+ const targetPane = layout === void 0 ? void 0 : placement.paneId ?? (0, _deepseek_ai_dsh_client_ui_dockkit.activeDockPaneId)(layout);
2592
+ const target = targetPane === void 0 ? void 0 : layout?.nodes[targetPane];
2593
+ const preferNewPane = placement.preferNewPane === true && replaced === void 0 && layout !== void 0 && target?.kind === "pane" && target.host === "dock" && target.tabs.length > 0 && (0, _deepseek_ai_dsh_client_ui_dockkit.canSplit)(layout) && (0, _deepseek_ai_dsh_client_ui_dockkit.dockPaneIds)(layout).length < 2 && this.mounted.getSnapshot() === sessionId && this.canSplitPane(sessionId, target.id);
2326
2594
  const commit = () => {
2327
2595
  actions.openContent(sessionId, {
2328
2596
  kind: claim.kind,
@@ -2330,7 +2598,7 @@ window.__ModuleLoader__.load({
2330
2598
  title: claim.title,
2331
2599
  ...placement.paneId === void 0 ? {} : { paneId: placement.paneId },
2332
2600
  ...preferNewPane ? { preferNewPane: true } : {},
2333
- ...placement.replaceTab === void 0 ? {} : { replaceTab: placement.replaceTab },
2601
+ ...replaced === void 0 ? {} : { replaceTab: replaced.id },
2334
2602
  ...placement.revealIfOpened === void 0 ? {} : { revealIfOpened: placement.revealIfOpened }
2335
2603
  }, (tabId) => {
2336
2604
  this.tabDomain.navigate(sessionId, tabId, {
@@ -2339,15 +2607,45 @@ window.__ModuleLoader__.load({
2339
2607
  });
2340
2608
  });
2341
2609
  };
2342
- const layout = surface?.layout;
2343
- const replaced = placement.replaceTab === void 0 ? void 0 : layout?.tabs[placement.replaceTab];
2344
- const replacementPane = replaced === void 0 || layout === void 0 ? void 0 : (0, _deepseek_ai_dsh_client_ui_dockkit.findTabPane)(layout, replaced.id);
2345
- const revealed = layout === void 0 ? void 0 : claim.contentId === pageAddress(claim.kind) ? (0, _deepseek_ai_dsh_client_ui_dockkit.findPaneContentTab)(layout, replacementPane?.host === "dock" ? replacementPane.id : placement.paneId ?? (0, _deepseek_ai_dsh_client_ui_dockkit.activeDockPaneId)(layout), claim.contentId, claim.kind) : placement.revealIfOpened === false ? void 0 : (0, _deepseek_ai_dsh_client_ui_dockkit.findContentTab)(layout, claim.contentId, claim.kind);
2346
- if (replaced === void 0 || replaced.id === revealed) {
2347
- commit();
2348
- return;
2610
+ const pagePane = layout === void 0 ? void 0 : replaced === void 0 ? targetPane : (0, _deepseek_ai_dsh_client_ui_dockkit.findTabPane)(layout, replaced.id).id;
2611
+ const revealed = layout === void 0 || pagePane === void 0 ? void 0 : claim.contentId === pageAddress(claim.kind) ? (0, _deepseek_ai_dsh_client_ui_dockkit.findPaneContentTab)(layout, pagePane, claim.contentId, claim.kind) : placement.revealIfOpened === false ? void 0 : (0, _deepseek_ai_dsh_client_ui_dockkit.findContentTab)(layout, claim.contentId, claim.kind);
2612
+ if (replaced === void 0 || revealed !== void 0) commit();
2613
+ else this.removeAfterCleanup(sessionId, replaced, commit);
2614
+ if (layout !== void 0 && revealed !== void 0) this.flashShowing(sessionId, layout, revealed);
2615
+ }
2616
+ /**
2617
+ * The flash requests of one Session's seat: each open that reveals an
2618
+ * existing tab names the pane holding it, with a serial that changes on
2619
+ * every request.
2620
+ * @param sessionId - the Session whose seat draws the highlight.
2621
+ * @returns the Session's stable source.
2622
+ */
2623
+ flashOf(sessionId) {
2624
+ return this.flashSource(sessionId);
2625
+ }
2626
+ flashSource(sessionId) {
2627
+ let source = this.flashes.get(sessionId);
2628
+ if (source === void 0) {
2629
+ source = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(void 0);
2630
+ this.flashes.set(sessionId, source);
2349
2631
  }
2350
- this.removeAfterCleanup(sessionId, replaced, commit);
2632
+ return source;
2633
+ }
2634
+ /**
2635
+ * Flash the pane holding a revealed tab only when that tab was already on screen; a reveal that switches
2636
+ * tabs or expands the column is its own visible change.
2637
+ */
2638
+ flashShowing(sessionId, layout, tabId) {
2639
+ const pane = (0, _deepseek_ai_dsh_client_ui_dockkit.findTabPane)(layout, tabId);
2640
+ if (pane.activeTabId === tabId && (pane.host === "float" || layout.expanded)) this.flash(sessionId, pane.id);
2641
+ }
2642
+ /** Ask a Session's seat to highlight the pane holding a revealed tab. */
2643
+ flash(sessionId, paneId) {
2644
+ const source = this.flashSource(sessionId);
2645
+ source.set({
2646
+ paneId,
2647
+ serial: (source.getSnapshot()?.serial ?? 0) + 1
2648
+ });
2351
2649
  }
2352
2650
  /**
2353
2651
  * Close one tab of the on-screen Session; the sole docked guide remains open.
@@ -2446,10 +2744,15 @@ window.__ModuleLoader__.load({
2446
2744
  if (target.host === "float" && tab?.kind === kind && this.tabs.get(kind)?.multiple !== true) {
2447
2745
  actions.setExpanded(sessionId, true);
2448
2746
  this.focus(tab.id);
2449
- } else this.openTab(kind, {
2450
- ...target.host === "dock" ? { paneId: target.paneId } : {},
2451
- ...tab?.kind === "guide" ? { replaceTab: tab.id } : {}
2452
- });
2747
+ this.flash(sessionId, target.paneId);
2748
+ } else {
2749
+ const guide = tab?.kind === "guide" ? tab : void 0;
2750
+ this.openTab(kind, {
2751
+ ...target.host === "dock" ? { paneId: target.paneId } : {},
2752
+ ...guide === void 0 ? {} : { replaceTab: guide.id }
2753
+ });
2754
+ if (guide !== void 0) this.closeIn(sessionId, guide.id);
2755
+ }
2453
2756
  return this.mountedSurface()?.layout.activePaneId;
2454
2757
  });
2455
2758
  }
@@ -2556,7 +2859,7 @@ window.__ModuleLoader__.load({
2556
2859
  actions.floatTab(sessionId, tabId, rect);
2557
2860
  }
2558
2861
  /**
2559
- * Return a floating panel's tab to the active docked pane; a missing or docked pane is left alone.
2862
+ * Return a floating panel's tab to the active docked pane and expand the column; a missing or docked pane is left alone.
2560
2863
  * @param paneId - the floating pane.
2561
2864
  */
2562
2865
  dock(paneId) {
@@ -4772,6 +5075,9 @@ window.__ModuleLoader__.load({
4772
5075
  */
4773
5076
  /** Simplified Chinese dictionary and key-set source of truth. */
4774
5077
  const zh = {
5078
+ "menu.close": "关闭",
5079
+ "menu.closeOthers": "关闭其他标签页",
5080
+ "menu.closeRight": "关闭右侧标签页",
4775
5081
  "command.close": "关闭当前页面/窗口",
4776
5082
  "command.refresh": "刷新当前页面",
4777
5083
  "command.noRefresh": "当前页面不支持刷新",
@@ -4810,6 +5116,9 @@ window.__ModuleLoader__.load({
4810
5116
  };
4811
5117
  /** English dictionary, checked against the Chinese key set. */
4812
5118
  const en = {
5119
+ "menu.close": "Close",
5120
+ "menu.closeOthers": "Close Other Tabs",
5121
+ "menu.closeRight": "Close Tabs to the Right",
4813
5122
  "command.close": "Close current page or window",
4814
5123
  "command.refresh": "Refresh current page",
4815
5124
  "command.noRefresh": "This page cannot be refreshed",
@@ -4848,6 +5157,9 @@ window.__ModuleLoader__.load({
4848
5157
  };
4849
5158
  /** Japanese copy, checked against the English keys. */
4850
5159
  const ja = {
5160
+ "menu.close": "閉じる",
5161
+ "menu.closeOthers": "他のタブを閉じる",
5162
+ "menu.closeRight": "右側のタブを閉じる",
4851
5163
  "command.close": "現在のページまたはウィンドウを閉じる",
4852
5164
  "command.refresh": "現在のページを更新",
4853
5165
  "command.noRefresh": "このページは更新できません",
@@ -4886,6 +5198,9 @@ window.__ModuleLoader__.load({
4886
5198
  };
4887
5199
  /** Spanish dictionary, checked against the English keys. */
4888
5200
  const es = {
5201
+ "menu.close": "Cerrar",
5202
+ "menu.closeOthers": "Cerrar otras pestañas",
5203
+ "menu.closeRight": "Cerrar pestañas a la derecha",
4889
5204
  "command.close": "Cerrar la página o ventana actual",
4890
5205
  "command.refresh": "Actualizar la página actual",
4891
5206
  "command.noRefresh": "Esta página no se puede actualizar",
@@ -4924,6 +5239,9 @@ window.__ModuleLoader__.load({
4924
5239
  };
4925
5240
  /** French dictionary, checked against the English keys. */
4926
5241
  const fr = {
5242
+ "menu.close": "Fermer",
5243
+ "menu.closeOthers": "Fermer les autres onglets",
5244
+ "menu.closeRight": "Fermer les onglets à droite",
4927
5245
  "command.close": "Fermer la page ou la fenêtre actuelle",
4928
5246
  "command.refresh": "Actualiser la page actuelle",
4929
5247
  "command.noRefresh": "Cette page ne peut pas être actualisée",
@@ -4962,6 +5280,9 @@ window.__ModuleLoader__.load({
4962
5280
  };
4963
5281
  /** German dictionary, checked against the English keys. */
4964
5282
  const de = {
5283
+ "menu.close": "Schließen",
5284
+ "menu.closeOthers": "Andere Tabs schließen",
5285
+ "menu.closeRight": "Tabs rechts schließen",
4965
5286
  "command.close": "Aktuelle Seite oder Fenster schließen",
4966
5287
  "command.refresh": "Aktuelle Seite aktualisieren",
4967
5288
  "command.noRefresh": "Diese Seite kann nicht aktualisiert werden",
@@ -5000,6 +5321,9 @@ window.__ModuleLoader__.load({
5000
5321
  };
5001
5322
  /** Russian dictionary, checked against the English keys. */
5002
5323
  const ru = {
5324
+ "menu.close": "Закрыть",
5325
+ "menu.closeOthers": "Закрыть другие вкладки",
5326
+ "menu.closeRight": "Закрыть вкладки справа",
5003
5327
  "command.close": "Закрыть текущую страницу или окно",
5004
5328
  "command.refresh": "Обновить текущую страницу",
5005
5329
  "command.noRefresh": "Эту страницу невозможно обновить",
@@ -5038,6 +5362,9 @@ window.__ModuleLoader__.load({
5038
5362
  };
5039
5363
  /** Portuguese dictionary, checked against the English keys. */
5040
5364
  const pt = {
5365
+ "menu.close": "Fechar",
5366
+ "menu.closeOthers": "Fechar outras abas",
5367
+ "menu.closeRight": "Fechar abas à direita",
5041
5368
  "command.close": "Fechar a página ou janela atual",
5042
5369
  "command.refresh": "Atualizar página atual",
5043
5370
  "command.noRefresh": "Esta página não pode ser atualizada",
@@ -5118,7 +5445,10 @@ window.__ModuleLoader__.load({
5118
5445
  expanded: layout.expanded,
5119
5446
  fullscreen
5120
5447
  },
5121
- panel: { id: pane.id },
5448
+ panel: {
5449
+ id: pane.id,
5450
+ isFloating: pane.host === "float"
5451
+ },
5122
5452
  tab: {
5123
5453
  ...tab,
5124
5454
  visible: active && (pane.host === "float" || layout.expanded && (title || pane.activeTabId === tabId)),
@@ -5154,6 +5484,7 @@ window.__ModuleLoader__.load({
5154
5484
  const NS = "sidebarRight";
5155
5485
  /** Required browser services: the slot registry, the frame's panel actions, copy, and the resource model. */
5156
5486
  const inject = [
5487
+ "contextMenus",
5157
5488
  "slots",
5158
5489
  "layout",
5159
5490
  "locale",
@@ -5198,6 +5529,59 @@ window.__ModuleLoader__.load({
5198
5529
  closeWithPaneFocus(document, sessionId, paneId, close);
5199
5530
  }
5200
5531
  });
5532
+ ctx.effect(() => ctx.slots.inject("contextMenu.icon", () => ctx.slots.register({
5533
+ name: "contextMenu.icon",
5534
+ key: "sidebar.close"
5535
+ }, _deepseek_ai_dsh_client_ui_primitives.IconCloseOutlineRegular)), "sidebar: menu icon");
5536
+ ctx.effect(() => ctx.contextMenus.register({
5537
+ id: "sidebar.close",
5538
+ target: "tab",
5539
+ order: 100,
5540
+ resolve: ({ sessionId, paneId, tab }) => {
5541
+ const tabId = tab.id;
5542
+ const tabs = controller.menuTabs(sessionId, paneId, tabId);
5543
+ if (!tabs.close && tabs.all.length === 0) return [];
5544
+ const closeMany = (ids) => {
5545
+ for (const id of ids) if (controller.menuTabs(sessionId, paneId, tabId).all.includes(id)) controller.closeIn(sessionId, id);
5546
+ };
5547
+ return [
5548
+ {
5549
+ id: "close",
5550
+ commandId: "page.close",
5551
+ icon: { key: "sidebar.close" },
5552
+ label: t("menu.close"),
5553
+ disabled: !tabs.close,
5554
+ run: () => {
5555
+ if (controller.menuTabs(sessionId, paneId, tabId).close) controller.closeIn(sessionId, tabId);
5556
+ }
5557
+ },
5558
+ {
5559
+ id: "others",
5560
+ label: t("menu.closeOthers"),
5561
+ disabled: tabs.all.length === 0,
5562
+ run: () => {
5563
+ closeMany(tabs.all);
5564
+ }
5565
+ },
5566
+ ...tabs.right.length === 0 ? [] : [{
5567
+ id: "right",
5568
+ label: t("menu.closeRight"),
5569
+ run: () => {
5570
+ closeMany(tabs.right);
5571
+ }
5572
+ }]
5573
+ ];
5574
+ }
5575
+ }), "sidebar: menu actions");
5576
+ ctx.effect(() => ctx.slots.inject("contextMenu.content", () => ctx.slots.register({
5577
+ name: "contextMenu.content",
5578
+ key: "tab",
5579
+ children: { "sidebar.right.tab.menu.item": {
5580
+ kind: "list",
5581
+ scope: "session"
5582
+ } },
5583
+ inject: () => ({ hooks: { views: views.source } })
5584
+ }, TabMenuContent)), "sidebar: menu extensions");
5201
5585
  ctx.effect(() => {
5202
5586
  const sync = () => {
5203
5587
  const selected = views.source.getSnapshot().find((view) => view.selected);
@@ -5273,15 +5657,12 @@ window.__ModuleLoader__.load({
5273
5657
  },
5274
5658
  openTab: (kind, options) => {
5275
5659
  controller.openTab(kind, options);
5276
- },
5277
- hooks: {
5278
- shortcuts: ctx.shortcuts.catalog,
5279
- tabTypes: {
5280
- subscribe: (listener) => tabs.subscribe(listener),
5281
- getSnapshot: () => tabs.entries()
5282
- }
5283
5660
  }
5284
5661
  };
5662
+ const tabTypes = {
5663
+ subscribe: (listener) => tabs.subscribe(listener),
5664
+ getSnapshot: () => tabs.entries()
5665
+ };
5285
5666
  const disposeTypes = [tabs.register(guideDefinition(t))];
5286
5667
  const disposeSeat = ctx.slots.inject("rightbar", function* () {
5287
5668
  yield ctx.slots.register({
@@ -5308,15 +5689,17 @@ window.__ModuleLoader__.load({
5308
5689
  kind: "keyed",
5309
5690
  scope: "session",
5310
5691
  inject: { hooks: { tabInfo: tabInfoFactory } }
5311
- },
5312
- "sidebar.right.tab.menu.item": {
5313
- kind: "list",
5314
- scope: "session"
5315
5692
  }
5316
5693
  },
5317
5694
  store,
5318
5695
  inject: (sessionId) => ({
5319
5696
  ...injected,
5697
+ hooks: {
5698
+ contextMenuTarget: ctx.contextMenus.active,
5699
+ shortcuts: ctx.shortcuts.catalog,
5700
+ tabTypes,
5701
+ flash: controller.flashOf(sessionId)
5702
+ },
5320
5703
  measureRoom: (canSplitPane) => {
5321
5704
  measure(sessionId, canSplitPane);
5322
5705
  },