@songtonyli/dsh-cli 0.1.40 → 0.1.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1235) hide show
  1. package/README.md +1 -1
  2. package/bin/dsh.mjs +1 -1
  3. package/node_modules/@deepseek-ai/cordis/package.json +4 -4
  4. package/node_modules/@deepseek-ai/cordis-plugin-group/package.json +3 -3
  5. package/node_modules/@deepseek-ai/cordis-plugin-include/package.json +4 -4
  6. package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +4 -4
  7. package/node_modules/@deepseek-ai/cordis-plugin-timer/package.json +3 -3
  8. package/node_modules/@deepseek-ai/cosmokit/package.json +1 -1
  9. package/node_modules/@deepseek-ai/dsh/README.i18n.yaml +21 -5
  10. package/node_modules/@deepseek-ai/dsh/README.md +3 -1
  11. package/node_modules/@deepseek-ai/dsh/README.zh.md +3 -1
  12. package/node_modules/@deepseek-ai/dsh/lib/bin.js +5 -11
  13. package/node_modules/@deepseek-ai/dsh/lib/{dump-config-C-0P1h0W.js → dump-config-BEDI-dNY.js} +2 -2
  14. package/node_modules/@deepseek-ai/dsh/lib/dump-config-crgOY3tW.js +2 -0
  15. package/node_modules/@deepseek-ai/dsh/lib/{dump-config-schema-BgEU7VYz.js → dump-config-schema-DhhNOaro.js} +3 -3
  16. package/node_modules/@deepseek-ai/dsh/lib/plugin-DkYIj96-.js +83 -0
  17. package/node_modules/@deepseek-ai/dsh/lib/{profile-boot-DIiro1p-.js → profile-boot-BZ2ZjNWi.js} +4 -3
  18. package/node_modules/@deepseek-ai/dsh/lib/profile-boot.js +1 -1
  19. package/node_modules/@deepseek-ai/dsh/package.json +116 -113
  20. package/node_modules/@deepseek-ai/dsh-acp/README.i18n.yaml +81 -5
  21. package/node_modules/@deepseek-ai/dsh-acp/package.json +25 -25
  22. package/node_modules/@deepseek-ai/dsh-acp-app/README.i18n.yaml +42 -5
  23. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
  24. package/node_modules/@deepseek-ai/dsh-agent/README.i18n.yaml +90 -5
  25. package/node_modules/@deepseek-ai/dsh-agent/package.json +22 -22
  26. package/node_modules/@deepseek-ai/dsh-agent-default-model/README.i18n.yaml +51 -5
  27. package/node_modules/@deepseek-ai/dsh-agent-default-model/README.md +1 -1
  28. package/node_modules/@deepseek-ai/dsh-agent-default-model/README.zh.md +1 -1
  29. package/node_modules/@deepseek-ai/dsh-agent-default-model/lib/index.js +10 -3
  30. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +10 -10
  31. package/node_modules/@deepseek-ai/dsh-agent-instructions/README.i18n.yaml +99 -5
  32. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +26 -25
  33. package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +99 -5
  34. package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +3 -3
  35. package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +3 -3
  36. package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +35 -9
  37. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +27 -26
  38. package/node_modules/@deepseek-ai/dsh-agent-preset/README.i18n.yaml +36 -5
  39. package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +12 -12
  40. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +9 -6
  41. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/SKILL.md +10 -3
  42. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/practices.md +38 -0
  43. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/ui-plugin.md +1 -1
  44. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.i18n.yaml +48 -5
  45. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.md +2 -2
  46. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.zh.md +2 -2
  47. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/index.js +52 -21
  48. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/invariant.js +52 -21
  49. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +114 -45
  50. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.remote-client.js +37 -3
  51. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/index.js +26 -11
  52. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/mount.js +5 -1
  53. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +39 -36
  54. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.i18n.yaml +54 -5
  55. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +11 -11
  56. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/README.i18n.yaml +63 -5
  57. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
  58. package/node_modules/@deepseek-ai/dsh-api-account-controller/README.i18n.yaml +36 -5
  59. package/node_modules/@deepseek-ai/dsh-api-account-controller/README.md +7 -1
  60. package/node_modules/@deepseek-ai/dsh-api-account-controller/README.zh.md +7 -1
  61. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/index.js +123 -10
  62. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.host.js +200 -11
  63. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.remote-client.js +200 -11
  64. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/types/index.js +79 -6
  65. package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +9 -7
  66. package/node_modules/@deepseek-ai/dsh-api-gateway/README.i18n.yaml +33 -5
  67. package/node_modules/@deepseek-ai/dsh-api-gateway/README.md +4 -0
  68. package/node_modules/@deepseek-ai/dsh-api-gateway/README.zh.md +4 -0
  69. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.js +6 -2
  70. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/index.js +50 -26
  71. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/stream-client.js +9 -2
  72. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/index.js +61 -29
  73. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +14 -13
  74. package/node_modules/@deepseek-ai/dsh-api-job-controller/README.i18n.yaml +33 -5
  75. package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +13 -13
  76. package/node_modules/@deepseek-ai/dsh-api-remotes/README.i18n.yaml +36 -5
  77. package/node_modules/@deepseek-ai/dsh-api-remotes/README.md +2 -2
  78. package/node_modules/@deepseek-ai/dsh-api-remotes/README.zh.md +2 -2
  79. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +1268 -217
  80. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +12 -0
  81. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +5 -2
  82. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +3 -0
  83. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +43 -40
  84. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +39 -5
  85. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +9 -5
  86. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +9 -5
  87. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +101 -32
  88. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +159 -79
  89. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +179 -99
  90. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +40 -15
  91. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/catalog.js +52 -3
  92. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/assistant-stream.js +16 -1
  93. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/projection-store.js +9 -0
  94. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +81 -40
  95. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/transport.js +5 -2
  96. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +11 -14
  97. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history.js +24 -9
  98. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +24 -4
  99. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +75 -68
  100. package/node_modules/@deepseek-ai/dsh-api-settings-controller/README.i18n.yaml +33 -5
  101. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +16 -16
  102. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.i18n.yaml +36 -5
  103. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +63 -39
  104. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +20 -20
  105. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.i18n.yaml +33 -5
  106. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.md +4 -2
  107. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.zh.md +4 -2
  108. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/client.js +4 -5
  109. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/index.js +25 -12
  110. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.host.js +13 -32
  111. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.remote-client.js +11 -26
  112. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/model.js +2 -3
  113. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/service.js +2 -2
  114. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/default-directory.js +3 -3
  115. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/default-workspace.js +29 -0
  116. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/index.js +7 -11
  117. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +25 -21
  118. package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.i18n.yaml +66 -5
  119. package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.md +1 -1
  120. package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.zh.md +1 -1
  121. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/index.js +7 -1
  122. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.host.js +1 -1
  123. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.remote-client.js +1 -1
  124. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/index.js +10 -1
  125. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +15 -15
  126. package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +72 -5
  127. package/node_modules/@deepseek-ai/dsh-app-boot/README.md +11 -3
  128. package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +11 -3
  129. package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +474 -66
  130. package/node_modules/@deepseek-ai/dsh-app-boot/lib/worker/profile-resolution-bootstrap.js +16 -6
  131. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +22 -19
  132. package/node_modules/@deepseek-ai/dsh-atomic-write/README.i18n.yaml +54 -5
  133. package/node_modules/@deepseek-ai/dsh-atomic-write/README.md +6 -5
  134. package/node_modules/@deepseek-ai/dsh-atomic-write/README.zh.md +6 -5
  135. package/node_modules/@deepseek-ai/dsh-atomic-write/lib/index.js +73 -8
  136. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
  137. package/node_modules/@deepseek-ai/dsh-attachment/README.i18n.yaml +66 -5
  138. package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
  139. package/node_modules/@deepseek-ai/dsh-attachment-local/README.i18n.yaml +60 -5
  140. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +9 -9
  141. package/node_modules/@deepseek-ai/dsh-authorization/README.i18n.yaml +63 -5
  142. package/node_modules/@deepseek-ai/dsh-authorization/package.json +9 -9
  143. package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +60 -5
  144. package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +5 -2
  145. package/node_modules/@deepseek-ai/dsh-base/package.json +96 -95
  146. package/node_modules/@deepseek-ai/dsh-bash-local/README.i18n.yaml +60 -5
  147. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -11
  148. package/node_modules/@deepseek-ai/dsh-bash-sandbox/README.i18n.yaml +96 -5
  149. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +14 -14
  150. package/node_modules/@deepseek-ai/dsh-brand/README.i18n.yaml +45 -5
  151. package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
  152. package/node_modules/@deepseek-ai/dsh-chunked-list/README.i18n.yaml +36 -5
  153. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +3 -3
  154. package/node_modules/@deepseek-ai/dsh-client-connection/README.i18n.yaml +36 -5
  155. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +13 -13
  156. package/node_modules/@deepseek-ai/dsh-client-file-upload/README.i18n.yaml +36 -5
  157. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +63 -39
  158. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +14 -14
  159. package/node_modules/@deepseek-ai/dsh-client-hmr/README.i18n.yaml +63 -5
  160. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +8 -8
  161. package/node_modules/@deepseek-ai/dsh-client-locale/README.i18n.yaml +63 -5
  162. package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +9 -1
  163. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +13 -13
  164. package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +69 -5
  165. package/node_modules/@deepseek-ai/dsh-client-modules/README.md +1 -1
  166. package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +1 -1
  167. package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +103 -17
  168. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +8 -8
  169. package/node_modules/@deepseek-ai/dsh-client-resources/README.i18n.yaml +48 -5
  170. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +7 -7
  171. package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.i18n.yaml +37 -0
  172. package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.md +94 -0
  173. package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.zh.md +94 -0
  174. package/node_modules/@deepseek-ai/dsh-client-shortcuts/lib/client.js +2006 -0
  175. package/node_modules/@deepseek-ai/dsh-client-shortcuts/lib/index.js +23 -0
  176. package/node_modules/@deepseek-ai/dsh-client-shortcuts/lib/protocol.js +524 -0
  177. package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +63 -0
  178. package/node_modules/@deepseek-ai/dsh-client-store/README.i18n.yaml +27 -5
  179. package/node_modules/@deepseek-ai/dsh-client-store/package.json +3 -3
  180. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.i18n.yaml +36 -5
  181. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.md +6 -6
  182. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.zh.md +6 -6
  183. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +192 -135
  184. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +18 -18
  185. package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.i18n.yaml +27 -5
  186. package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.md +3 -1
  187. package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.zh.md +3 -1
  188. package/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/client.js +77 -4
  189. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +16 -15
  190. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.i18n.yaml +45 -5
  191. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.md +1 -1
  192. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.zh.md +1 -1
  193. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +19 -93
  194. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +11 -11
  195. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/README.i18n.yaml +42 -5
  196. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +6 -6
  197. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +51 -5
  198. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +34 -9
  199. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +34 -9
  200. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +885 -287
  201. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/index.js +15 -8
  202. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +39 -39
  203. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +45 -5
  204. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +2 -0
  205. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +2 -0
  206. package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +2 -2
  207. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +17 -17
  208. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +36 -5
  209. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +12 -6
  210. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +12 -6
  211. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +415 -80
  212. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +35 -34
  213. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.i18n.yaml +54 -5
  214. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.md +2 -0
  215. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.zh.md +2 -0
  216. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +73 -3
  217. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +14 -14
  218. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +57 -5
  219. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +10 -7
  220. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +10 -7
  221. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +242 -211
  222. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/index.js +1 -1
  223. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +29 -29
  224. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/README.i18n.yaml +39 -5
  225. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +2 -2
  226. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +9 -9
  227. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/README.i18n.yaml +39 -5
  228. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +5 -5
  229. package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.i18n.yaml +42 -5
  230. package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +8 -2
  231. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +16 -16
  232. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.i18n.yaml +39 -5
  233. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.md +3 -1
  234. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.zh.md +3 -1
  235. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +3 -3
  236. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +14 -14
  237. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +42 -5
  238. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +1 -1
  239. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +1 -1
  240. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +1 -1
  241. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +12 -12
  242. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.i18n.yaml +42 -5
  243. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.md +4 -2
  244. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.zh.md +4 -2
  245. package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +63 -36
  246. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +14 -12
  247. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/README.i18n.yaml +39 -5
  248. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +2 -2
  249. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +18 -18
  250. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +45 -5
  251. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +14 -9
  252. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +14 -9
  253. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +97 -80
  254. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +17 -17
  255. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.i18n.yaml +39 -5
  256. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +4 -2
  257. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +4 -2
  258. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +172 -56
  259. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +22 -18
  260. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.i18n.yaml +42 -5
  261. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +4 -4
  262. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +17 -17
  263. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.i18n.yaml +45 -5
  264. package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +8 -3
  265. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +22 -22
  266. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +60 -5
  267. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +16 -6
  268. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +17 -7
  269. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +336 -98
  270. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/index.js +140 -4
  271. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/typert.host.js +53 -0
  272. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/typert.remote-client.js +28 -0
  273. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +36 -18
  274. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +60 -5
  275. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +32 -11
  276. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +32 -11
  277. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Button.module.css +6 -8
  278. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Checkbox.module.css +1 -1
  279. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CodeCard.module.css +83 -0
  280. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ConnectionIndicator.module.css +6 -2
  281. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DiffBlock.module.css +24 -53
  282. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/HoverCard.module.css +17 -8
  283. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImageLightbox.module.css +46 -0
  284. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImagePreview.module.css +24 -0
  285. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Input.module.css +2 -2
  286. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/JsonTree.module.css +3 -3
  287. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Menu.module.css +22 -18
  288. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuSurface.module.css +49 -0
  289. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Modal.module.css +27 -6
  290. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Pill.module.css +2 -1
  291. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ReadBlock.module.css +13 -81
  292. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RiskConfirmation.module.css +1 -1
  293. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SearchBlock.module.css +1 -1
  294. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedControl.module.css +9 -9
  295. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedTabs.module.css +3 -3
  296. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ShortcutKeys.module.css +33 -0
  297. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Switch.module.css +3 -8
  298. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TerminalBlock.module.css +3 -3
  299. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Toast.module.css +2 -2
  300. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tooltip.module.css +9 -1
  301. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/WebBlock.module.css +1 -1
  302. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +1735 -897
  303. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/CodeBlock.module.css +16 -1
  304. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/JsonBlock.module.css +2 -2
  305. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css +28 -23
  306. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/SettingsForm.module.css +2 -2
  307. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/fields.module.css +4 -4
  308. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Button.d.ts +6 -5
  309. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CodeToolbar.d.ts +30 -0
  310. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DiffBlock.d.ts +3 -3
  311. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCard.d.ts +5 -2
  312. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ImageLightbox.d.ts +27 -0
  313. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ImagePreview.d.ts +12 -0
  314. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Menu.d.ts +12 -4
  315. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuSurface.d.ts +16 -0
  316. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Modal.d.ts +12 -4
  317. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReadBlock.d.ts +2 -1
  318. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ShortcutKeys.d.ts +11 -0
  319. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tooltip.d.ts +17 -5
  320. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-highlighting.d.ts +1 -8
  321. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/focus.d.ts +9 -0
  322. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/guide-artwork.d.ts +15 -0
  323. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/index.d.ts +8 -4
  324. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/shared-artwork.d.ts +8 -1
  325. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +10 -1
  326. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/input-modality.d.ts +19 -0
  327. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/keyboard-composition.d.ts +11 -0
  328. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/CodeBlock.d.ts +6 -1
  329. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/MarkdownDelegate.d.ts +11 -1
  330. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/highlight.d.ts +16 -10
  331. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/local-image-syntax.d.ts +10 -0
  332. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/render.d.ts +3 -0
  333. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/plugin-artwork.d.ts +1 -1
  334. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/fields.d.ts +1 -0
  335. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useModalLayer.d.ts +27 -0
  336. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/user-text.d.ts +2 -2
  337. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/user-text.module.css +4 -1
  338. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +6 -5
  339. package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.i18n.yaml +48 -5
  340. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +15 -15
  341. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.i18n.yaml +51 -5
  342. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +5 -5
  343. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +39 -5
  344. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +36 -39
  345. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +42 -45
  346. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +6735 -171
  347. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/index.js +1 -1
  348. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +32 -13
  349. package/node_modules/@deepseek-ai/dsh-client-ui-session/README.i18n.yaml +27 -5
  350. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +10 -10
  351. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.i18n.yaml +57 -5
  352. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.md +3 -3
  353. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.zh.md +3 -3
  354. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +9 -9
  355. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +39 -5
  356. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +46 -8
  357. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +46 -8
  358. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2300 -255
  359. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/index.js +66 -6
  360. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +22 -14
  361. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/README.i18n.yaml +36 -5
  362. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +11 -11
  363. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +57 -5
  364. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +10 -8
  365. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +10 -8
  366. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +202 -109
  367. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +20 -16
  368. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +60 -5
  369. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +10 -2
  370. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +11 -3
  371. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +48 -15
  372. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +13 -13
  373. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.i18n.yaml +51 -5
  374. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +1 -1
  375. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +14 -14
  376. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.i18n.yaml +36 -5
  377. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +1 -1
  378. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +8 -8
  379. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/README.i18n.yaml +36 -5
  380. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +11 -11
  381. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/README.i18n.yaml +57 -5
  382. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +10 -10
  383. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/README.i18n.yaml +36 -5
  384. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/README.zh.md +3 -3
  385. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/lib/client.js +12 -12
  386. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +11 -11
  387. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.i18n.yaml +36 -5
  388. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +11 -11
  389. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.i18n.yaml +37 -0
  390. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.md +89 -0
  391. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.zh.md +89 -0
  392. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/lib/client.js +1163 -0
  393. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/lib/index.js +6 -0
  394. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +63 -0
  395. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +54 -5
  396. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +4 -2
  397. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +4 -2
  398. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +59 -21
  399. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +16 -14
  400. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.i18n.yaml +51 -5
  401. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.md +5 -1
  402. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.zh.md +5 -1
  403. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/client.js +77 -12
  404. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +13 -12
  405. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +45 -5
  406. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +14 -8
  407. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +14 -8
  408. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.excel.js +41 -15
  409. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +102 -75
  410. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +57 -28
  411. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +21 -21
  412. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.i18n.yaml +33 -5
  413. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.md +5 -1
  414. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.zh.md +5 -1
  415. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/client.js +76 -19
  416. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +19 -17
  417. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.i18n.yaml +54 -5
  418. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.md +12 -6
  419. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +12 -6
  420. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +667 -85
  421. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +20 -17
  422. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.i18n.yaml +36 -5
  423. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.md +4 -2
  424. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.zh.md +4 -2
  425. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.js +151 -106
  426. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.terminal.js +1 -1
  427. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +19 -17
  428. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.i18n.yaml +57 -5
  429. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.md +2 -0
  430. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.zh.md +2 -0
  431. package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +29 -2
  432. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +15 -15
  433. package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.i18n.yaml +54 -5
  434. package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +4 -4
  435. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +63 -5
  436. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +3 -1
  437. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +3 -1
  438. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +67 -48
  439. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +19 -19
  440. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +54 -5
  441. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +20 -2
  442. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +20 -2
  443. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +13 -5
  444. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +14 -14
  445. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +48 -5
  446. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +13 -5
  447. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +13 -5
  448. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +315 -90
  449. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +25 -24
  450. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.i18n.yaml +48 -5
  451. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.md +3 -1
  452. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +3 -1
  453. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +68 -10
  454. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +18 -18
  455. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.i18n.yaml +51 -5
  456. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +8 -3
  457. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +20 -20
  458. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.i18n.yaml +48 -5
  459. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +1 -1
  460. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +16 -16
  461. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +72 -5
  462. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +12 -10
  463. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +12 -10
  464. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +608 -329
  465. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +27 -25
  466. package/node_modules/@deepseek-ai/dsh-cmdline/README.i18n.yaml +60 -5
  467. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
  468. package/node_modules/@deepseek-ai/dsh-command-compact/README.i18n.yaml +66 -5
  469. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +12 -12
  470. package/node_modules/@deepseek-ai/dsh-command-feedback/README.i18n.yaml +63 -5
  471. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +15 -15
  472. package/node_modules/@deepseek-ai/dsh-command-goal/README.i18n.yaml +63 -5
  473. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +14 -14
  474. package/node_modules/@deepseek-ai/dsh-commands/README.i18n.yaml +75 -5
  475. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +63 -39
  476. package/node_modules/@deepseek-ai/dsh-commands/package.json +20 -20
  477. package/node_modules/@deepseek-ai/dsh-compaction/README.i18n.yaml +84 -5
  478. package/node_modules/@deepseek-ai/dsh-compaction/package.json +13 -13
  479. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.i18n.yaml +105 -5
  480. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.md +2 -2
  481. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.zh.md +2 -2
  482. package/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +1 -0
  483. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +27 -27
  484. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/README.i18n.yaml +54 -5
  485. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +18 -18
  486. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/README.i18n.yaml +66 -5
  487. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +18 -18
  488. package/node_modules/@deepseek-ai/dsh-config-editor/README.i18n.yaml +36 -5
  489. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +12 -12
  490. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.i18n.yaml +78 -5
  491. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.md +4 -0
  492. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.zh.md +4 -0
  493. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +193 -43
  494. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +9 -9
  495. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.i18n.yaml +66 -5
  496. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +126 -78
  497. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +20 -20
  498. package/node_modules/@deepseek-ai/dsh-credentials/README.i18n.yaml +72 -5
  499. package/node_modules/@deepseek-ai/dsh-credentials/package.json +6 -6
  500. package/node_modules/@deepseek-ai/dsh-credentials-local/README.i18n.yaml +75 -5
  501. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +12 -12
  502. package/node_modules/@deepseek-ai/dsh-deepseek-account/README.i18n.yaml +36 -5
  503. package/node_modules/@deepseek-ai/dsh-deepseek-account/README.md +13 -3
  504. package/node_modules/@deepseek-ai/dsh-deepseek-account/README.zh.md +13 -3
  505. package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/index.js +54 -1
  506. package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/types/account-tasks.js +30 -0
  507. package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/types/index.js +26 -0
  508. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +14 -5
  509. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.i18n.yaml +36 -5
  510. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.md +16 -8
  511. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.zh.md +16 -8
  512. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/index.js +262 -40
  513. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/details.js +44 -3
  514. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/index.js +190 -32
  515. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/protocol.js +45 -2
  516. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +12 -12
  517. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.i18n.yaml +30 -5
  518. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +3 -3
  519. package/node_modules/@deepseek-ai/dsh-deque/README.i18n.yaml +45 -5
  520. package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
  521. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +99 -5
  522. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +7 -3
  523. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +7 -3
  524. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/index.js +359 -323
  525. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/invariant.js +170 -25
  526. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/client.js +1 -1
  527. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/index.js +180 -237
  528. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/invariant.js +2 -2
  529. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/projection.js +95 -28
  530. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-board.js +7 -47
  531. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-view.js +57 -0
  532. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +25 -39
  533. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.i18n.yaml +51 -5
  534. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +7 -7
  535. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/README.i18n.yaml +36 -5
  536. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/README.md +2 -0
  537. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/README.zh.md +2 -0
  538. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/index.js +3 -2
  539. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.host.js +27 -6
  540. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.remote-client.js +20 -3
  541. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/types/index.js +2 -1
  542. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +8 -8
  543. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.i18n.yaml +64 -0
  544. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.md +129 -0
  545. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.zh.md +129 -0
  546. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/cordis.patch.yml +3 -0
  547. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/icon.svg +10 -0
  548. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/lib/index.js +511 -0
  549. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/en.json +6 -0
  550. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/zh.json +6 -0
  551. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +82 -0
  552. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.i18n.yaml +42 -5
  553. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.md +14 -10
  554. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.zh.md +14 -10
  555. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +317 -4345
  556. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +24 -28
  557. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.i18n.yaml +36 -5
  558. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.md +4 -2
  559. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.zh.md +4 -2
  560. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/client.js +184 -44
  561. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +33 -33
  562. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.i18n.yaml +36 -5
  563. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.md +3 -1
  564. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.zh.md +3 -1
  565. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/index.js +5 -4
  566. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/types/index.js +5 -4
  567. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +11 -9
  568. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.i18n.yaml +36 -5
  569. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.md +5 -1
  570. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.zh.md +5 -1
  571. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/index.js +164 -26
  572. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/worker.js +3 -1
  573. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +10 -10
  574. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +69 -5
  575. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +1 -1
  576. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +1 -1
  577. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +9 -1
  578. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +25 -25
  579. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/README.i18n.yaml +36 -5
  580. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +8 -8
  581. package/node_modules/@deepseek-ai/dsh-file-reference/README.i18n.yaml +54 -5
  582. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
  583. package/node_modules/@deepseek-ai/dsh-file-reference-local/README.i18n.yaml +66 -5
  584. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +12 -12
  585. package/node_modules/@deepseek-ai/dsh-fs/README.i18n.yaml +57 -5
  586. package/node_modules/@deepseek-ai/dsh-fs/package.json +11 -11
  587. package/node_modules/@deepseek-ai/dsh-fs-local/README.i18n.yaml +60 -5
  588. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +7 -7
  589. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.i18n.yaml +69 -5
  590. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
  591. package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.i18n.yaml +66 -5
  592. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +12 -12
  593. package/node_modules/@deepseek-ai/dsh-goal/README.i18n.yaml +72 -5
  594. package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +63 -39
  595. package/node_modules/@deepseek-ai/dsh-goal/package.json +25 -25
  596. package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.i18n.yaml +78 -5
  597. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +17 -17
  598. package/node_modules/@deepseek-ai/dsh-headless/README.i18n.yaml +66 -5
  599. package/node_modules/@deepseek-ai/dsh-headless/package.json +22 -22
  600. package/node_modules/@deepseek-ai/dsh-hmr/README.i18n.yaml +45 -5
  601. package/node_modules/@deepseek-ai/dsh-hmr/package.json +15 -15
  602. package/node_modules/@deepseek-ai/dsh-home-paths/README.i18n.yaml +51 -5
  603. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
  604. package/node_modules/@deepseek-ai/dsh-hook-protocol/README.i18n.yaml +60 -5
  605. package/node_modules/@deepseek-ai/dsh-hook-protocol/package.json +9 -9
  606. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/README.i18n.yaml +87 -5
  607. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/package.json +23 -23
  608. package/node_modules/@deepseek-ai/dsh-hooks-codex/README.i18n.yaml +87 -5
  609. package/node_modules/@deepseek-ai/dsh-hooks-codex/package.json +21 -21
  610. package/node_modules/@deepseek-ai/dsh-host-directory-picker/README.i18n.yaml +57 -5
  611. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
  612. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.i18n.yaml +57 -5
  613. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +18 -18
  614. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/README.i18n.yaml +60 -5
  615. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +5 -5
  616. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/README.i18n.yaml +54 -5
  617. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +5 -5
  618. package/node_modules/@deepseek-ai/dsh-host-frontend-static/README.i18n.yaml +54 -5
  619. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
  620. package/node_modules/@deepseek-ai/dsh-host-open-in-app/README.i18n.yaml +51 -5
  621. package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/index.js +2 -2
  622. package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/resolver.js +2 -2
  623. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +9 -9
  624. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.i18n.yaml +54 -5
  625. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +13 -13
  626. package/node_modules/@deepseek-ai/dsh-host-webserver/README.i18n.yaml +57 -5
  627. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +4 -4
  628. package/node_modules/@deepseek-ai/dsh-http-proxy/README.i18n.yaml +54 -5
  629. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +4 -4
  630. package/node_modules/@deepseek-ai/dsh-invariants/README.i18n.yaml +60 -5
  631. package/node_modules/@deepseek-ai/dsh-invariants/package.json +4 -4
  632. package/node_modules/@deepseek-ai/dsh-jobs/README.i18n.yaml +60 -5
  633. package/node_modules/@deepseek-ai/dsh-jobs/package.json +13 -13
  634. package/node_modules/@deepseek-ai/dsh-jobs-local/README.i18n.yaml +66 -5
  635. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +16 -16
  636. package/node_modules/@deepseek-ai/dsh-launch-environment/README.i18n.yaml +48 -5
  637. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
  638. package/node_modules/@deepseek-ai/dsh-lazy-require/README.i18n.yaml +39 -5
  639. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
  640. package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +63 -5
  641. package/node_modules/@deepseek-ai/dsh-llm/README.md +5 -3
  642. package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +5 -3
  643. package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +107 -12
  644. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +16 -20
  645. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.remote-client.js +3 -3
  646. package/node_modules/@deepseek-ai/dsh-llm/lib/types/content.js +107 -0
  647. package/node_modules/@deepseek-ai/dsh-llm/lib/types/error.js +2 -0
  648. package/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +26 -9
  649. package/node_modules/@deepseek-ai/dsh-llm/package.json +11 -11
  650. package/node_modules/@deepseek-ai/dsh-llm-cursor/README.i18n.yaml +66 -5
  651. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +26 -26
  652. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +90 -5
  653. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +18 -13
  654. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +18 -13
  655. package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +642 -595
  656. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +44 -47
  657. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.i18n.yaml +46 -0
  658. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.md +79 -0
  659. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.zh.md +79 -0
  660. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/index.js +62 -0
  661. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +54 -0
  662. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.i18n.yaml +46 -0
  663. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.md +78 -0
  664. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.zh.md +78 -0
  665. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/index.js +69 -0
  666. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +53 -0
  667. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +93 -5
  668. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +26 -25
  669. package/node_modules/@deepseek-ai/dsh-llm-retry/README.i18n.yaml +69 -5
  670. package/node_modules/@deepseek-ai/dsh-llm-retry/README.md +1 -1
  671. package/node_modules/@deepseek-ai/dsh-llm-retry/README.zh.md +1 -1
  672. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +26 -25
  673. package/node_modules/@deepseek-ai/dsh-mcp-client/README.i18n.yaml +96 -5
  674. package/node_modules/@deepseek-ai/dsh-mcp-client/README.md +1 -1
  675. package/node_modules/@deepseek-ai/dsh-mcp-client/README.zh.md +1 -1
  676. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/index.js +1 -1
  677. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +23 -23
  678. package/node_modules/@deepseek-ai/dsh-mcp-resources/README.i18n.yaml +63 -5
  679. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +14 -14
  680. package/node_modules/@deepseek-ai/dsh-message-feedback/README.i18n.yaml +54 -5
  681. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +19 -19
  682. package/node_modules/@deepseek-ai/dsh-native-command/README.i18n.yaml +51 -5
  683. package/node_modules/@deepseek-ai/dsh-native-command/README.md +5 -3
  684. package/node_modules/@deepseek-ai/dsh-native-command/README.zh.md +5 -3
  685. package/node_modules/@deepseek-ai/dsh-native-command/lib/index.js +108 -33
  686. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/file-applications-windows.js +55 -10
  687. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/path-opener.js +59 -22
  688. package/node_modules/@deepseek-ai/dsh-native-command/package.json +4 -4
  689. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/README.i18n.yaml +69 -5
  690. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/lib/index.js +111 -9
  691. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +16 -16
  692. package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.i18n.yaml +36 -5
  693. package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.md +1 -1
  694. package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.zh.md +1 -1
  695. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +12 -12
  696. package/node_modules/@deepseek-ai/dsh-output-retention/README.i18n.yaml +66 -5
  697. package/node_modules/@deepseek-ai/dsh-output-retention/README.md +7 -3
  698. package/node_modules/@deepseek-ai/dsh-output-retention/README.zh.md +7 -3
  699. package/node_modules/@deepseek-ai/dsh-output-retention/lib/index.js +17 -1
  700. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
  701. package/node_modules/@deepseek-ai/dsh-package-manifest/README.i18n.yaml +36 -5
  702. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
  703. package/node_modules/@deepseek-ai/dsh-permission-presets/README.i18n.yaml +63 -5
  704. package/node_modules/@deepseek-ai/dsh-permission-presets/README.md +4 -4
  705. package/node_modules/@deepseek-ai/dsh-permission-presets/README.zh.md +4 -4
  706. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/index.js +9 -3
  707. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +65 -41
  708. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.remote-client.js +1 -1
  709. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/types/index.js +10 -3
  710. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +23 -23
  711. package/node_modules/@deepseek-ai/dsh-persona/README.i18n.yaml +63 -5
  712. package/node_modules/@deepseek-ai/dsh-persona/package.json +7 -7
  713. package/node_modules/@deepseek-ai/dsh-plan-mode/README.i18n.yaml +108 -5
  714. package/node_modules/@deepseek-ai/dsh-plan-mode/lib/index.js +1 -1
  715. package/node_modules/@deepseek-ai/dsh-plan-mode/lib/types/index.js +0 -1
  716. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +24 -24
  717. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +54 -5
  718. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +19 -2
  719. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +19 -2
  720. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +760 -155
  721. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +237 -26
  722. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +215 -22
  723. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/failure.js +19 -2
  724. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/github-connection.js +61 -0
  725. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +113 -23
  726. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/install-failure.js +1 -0
  727. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +403 -22
  728. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/registry.js +2 -0
  729. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/run-tree.js +57 -0
  730. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +13 -3
  731. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +33 -33
  732. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.i18n.yaml +42 -5
  733. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +19 -19
  734. package/node_modules/@deepseek-ai/dsh-ptc-runtime/README.i18n.yaml +69 -5
  735. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
  736. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +57 -5
  737. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +23 -23
  738. package/node_modules/@deepseek-ai/dsh-pwsh-local/README.i18n.yaml +63 -5
  739. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -11
  740. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/README.i18n.yaml +72 -5
  741. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +14 -14
  742. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/README.i18n.yaml +99 -5
  743. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +111 -9
  744. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +12 -12
  745. package/node_modules/@deepseek-ai/dsh-sandbox/README.i18n.yaml +90 -5
  746. package/node_modules/@deepseek-ai/dsh-sandbox/README.md +1 -1
  747. package/node_modules/@deepseek-ai/dsh-sandbox/README.zh.md +1 -1
  748. package/node_modules/@deepseek-ai/dsh-sandbox/lib/index.js +16 -2
  749. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
  750. package/node_modules/@deepseek-ai/dsh-sandbox-local/README.i18n.yaml +64 -6
  751. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +12 -12
  752. package/node_modules/@deepseek-ai/dsh-sandbox-policy/README.i18n.yaml +78 -5
  753. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +16 -16
  754. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.i18n.yaml +67 -6
  755. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
  756. package/node_modules/@deepseek-ai/dsh-schedule/README.i18n.yaml +75 -5
  757. package/node_modules/@deepseek-ai/dsh-schedule/README.md +65 -129
  758. package/node_modules/@deepseek-ai/dsh-schedule/README.zh.md +72 -137
  759. package/node_modules/@deepseek-ai/dsh-schedule/lib/index.js +2147 -797
  760. package/node_modules/@deepseek-ai/dsh-schedule/lib/invariant.js +79 -17
  761. package/node_modules/@deepseek-ai/dsh-schedule/lib/typert.host.js +727 -0
  762. package/node_modules/@deepseek-ai/dsh-schedule/lib/typert.remote-client.js +477 -0
  763. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/delivery-history.js +66 -0
  764. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/domain.js +1000 -113
  765. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/index.js +428 -101
  766. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/invariant.js +8 -1
  767. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/runtime.js +129 -268
  768. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/storage.js +54 -0
  769. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/tools.js +305 -204
  770. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/update.js +164 -0
  771. package/node_modules/@deepseek-ai/dsh-schedule/package.json +50 -28
  772. package/node_modules/@deepseek-ai/dsh-scope/README.i18n.yaml +51 -5
  773. package/node_modules/@deepseek-ai/dsh-scope/package.json +5 -5
  774. package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +39 -5
  775. package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +1 -0
  776. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +9 -9
  777. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.i18n.yaml +72 -5
  778. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +1 -1
  779. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +25 -25
  780. package/node_modules/@deepseek-ai/dsh-sdk-minimal/README.i18n.yaml +48 -5
  781. package/node_modules/@deepseek-ai/dsh-sdk-minimal/cordis.patch.yml +1 -1
  782. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +31 -31
  783. package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.i18n.yaml +54 -5
  784. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +9 -9
  785. package/node_modules/@deepseek-ai/dsh-session/README.i18n.yaml +102 -5
  786. package/node_modules/@deepseek-ai/dsh-session/README.md +1 -1
  787. package/node_modules/@deepseek-ai/dsh-session/README.zh.md +1 -1
  788. package/node_modules/@deepseek-ai/dsh-session/lib/index.js +89 -0
  789. package/node_modules/@deepseek-ai/dsh-session/lib/types/index.js +16 -0
  790. package/node_modules/@deepseek-ai/dsh-session/lib/types/tool-history.js +76 -0
  791. package/node_modules/@deepseek-ai/dsh-session/package.json +11 -11
  792. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/README.i18n.yaml +63 -5
  793. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +18 -18
  794. package/node_modules/@deepseek-ai/dsh-session-format/README.i18n.yaml +51 -5
  795. package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
  796. package/node_modules/@deepseek-ai/dsh-session-format-catalog/README.i18n.yaml +51 -5
  797. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -11
  798. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/README.i18n.yaml +51 -5
  799. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +6 -6
  800. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/README.i18n.yaml +51 -5
  801. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +8 -8
  802. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/README.i18n.yaml +78 -5
  803. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
  804. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.i18n.yaml +90 -5
  805. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.md +1 -1
  806. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.zh.md +1 -1
  807. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +5 -5
  808. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.i18n.yaml +45 -5
  809. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.md +8 -4
  810. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.zh.md +8 -4
  811. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/index.js +53 -9
  812. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/types/index.js +51 -9
  813. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +20 -19
  814. package/node_modules/@deepseek-ai/dsh-session-log-export/README.i18n.yaml +72 -5
  815. package/node_modules/@deepseek-ai/dsh-session-log-export/README.md +2 -0
  816. package/node_modules/@deepseek-ai/dsh-session-log-export/README.zh.md +2 -0
  817. package/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +3 -3
  818. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/CHANGELOG.md +10 -0
  819. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/LICENSE +1 -1
  820. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/README.md +10 -10
  821. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/esm/browser.js +82 -55
  822. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/esm/index.mjs +87 -56
  823. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/lib/browser.cjs +106 -77
  824. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/lib/index.cjs +106 -77
  825. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/lib/node-worker.cjs +5 -1
  826. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/lib/node.cjs +111 -78
  827. package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/package.json +12 -11
  828. package/node_modules/@deepseek-ai/dsh-session-log-export/node_modules/fflate/umd/index.js +1 -0
  829. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +25 -25
  830. package/node_modules/@deepseek-ai/dsh-session-persistence/README.i18n.yaml +78 -5
  831. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
  832. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.i18n.yaml +69 -5
  833. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +189 -9
  834. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +13 -13
  835. package/node_modules/@deepseek-ai/dsh-session-projection/README.i18n.yaml +57 -5
  836. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +5 -5
  837. package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.i18n.yaml +60 -5
  838. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +13 -13
  839. package/node_modules/@deepseek-ai/dsh-session-query/README.i18n.yaml +66 -5
  840. package/node_modules/@deepseek-ai/dsh-session-query/README.md +1 -1
  841. package/node_modules/@deepseek-ai/dsh-session-query/README.zh.md +1 -1
  842. package/node_modules/@deepseek-ai/dsh-session-query/lib/index.js +7 -1
  843. package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
  844. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/README.i18n.yaml +66 -5
  845. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +13 -13
  846. package/node_modules/@deepseek-ai/dsh-session-reference/README.i18n.yaml +66 -5
  847. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +63 -39
  848. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +39 -39
  849. package/node_modules/@deepseek-ai/dsh-session-stats/README.i18n.yaml +57 -5
  850. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +11 -11
  851. package/node_modules/@deepseek-ai/dsh-session-telemetry/README.i18n.yaml +63 -5
  852. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
  853. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/README.i18n.yaml +60 -5
  854. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +23 -23
  855. package/node_modules/@deepseek-ai/dsh-session-title/README.i18n.yaml +72 -5
  856. package/node_modules/@deepseek-ai/dsh-session-title/package.json +19 -19
  857. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/README.i18n.yaml +63 -5
  858. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +18 -17
  859. package/node_modules/@deepseek-ai/dsh-session-title-llm/README.i18n.yaml +63 -5
  860. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
  861. package/node_modules/@deepseek-ai/dsh-session-turn-outline/README.i18n.yaml +54 -5
  862. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +11 -11
  863. package/node_modules/@deepseek-ai/dsh-settings/README.i18n.yaml +36 -5
  864. package/node_modules/@deepseek-ai/dsh-settings/package.json +19 -19
  865. package/node_modules/@deepseek-ai/dsh-shell/README.i18n.yaml +66 -5
  866. package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -7
  867. package/node_modules/@deepseek-ai/dsh-shell-env/README.i18n.yaml +57 -5
  868. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +14 -14
  869. package/node_modules/@deepseek-ai/dsh-skill/README.i18n.yaml +63 -5
  870. package/node_modules/@deepseek-ai/dsh-skill/package.json +9 -9
  871. package/node_modules/@deepseek-ai/dsh-skill-badge/README.i18n.yaml +54 -5
  872. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +5 -5
  873. package/node_modules/@deepseek-ai/dsh-skill-filesystem/README.i18n.yaml +66 -5
  874. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +10 -10
  875. package/node_modules/@deepseek-ai/dsh-skill-office/README.i18n.yaml +42 -5
  876. package/node_modules/@deepseek-ai/dsh-skill-office/README.md +8 -2
  877. package/node_modules/@deepseek-ai/dsh-skill-office/README.zh.md +8 -2
  878. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-docx/SKILL.md +14 -3
  879. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-pptx/SKILL.md +14 -3
  880. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-xlsx/SKILL.md +22 -4
  881. package/node_modules/@deepseek-ai/dsh-skill-office/lib/index.js +21 -3
  882. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +9 -8
  883. package/node_modules/@deepseek-ai/dsh-spill/README.i18n.yaml +69 -5
  884. package/node_modules/@deepseek-ai/dsh-spill/README.md +2 -2
  885. package/node_modules/@deepseek-ai/dsh-spill/README.zh.md +2 -2
  886. package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
  887. package/node_modules/@deepseek-ai/dsh-spill-local/README.i18n.yaml +63 -5
  888. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +11 -11
  889. package/node_modules/@deepseek-ai/dsh-spill-policy/README.i18n.yaml +81 -5
  890. package/node_modules/@deepseek-ai/dsh-spill-policy/README.md +22 -22
  891. package/node_modules/@deepseek-ai/dsh-spill-policy/README.zh.md +22 -22
  892. package/node_modules/@deepseek-ai/dsh-spill-policy/lib/index.js +216 -142
  893. package/node_modules/@deepseek-ai/dsh-spill-policy/lib/types/index.js +110 -167
  894. package/node_modules/@deepseek-ai/dsh-spill-policy/lib/types/notice.js +10 -2
  895. package/node_modules/@deepseek-ai/dsh-spill-policy/lib/types/retention.js +88 -0
  896. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +35 -22
  897. package/node_modules/@deepseek-ai/dsh-storage/README.i18n.yaml +66 -5
  898. package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
  899. package/node_modules/@deepseek-ai/dsh-storage-domain/README.i18n.yaml +72 -5
  900. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +8 -8
  901. package/node_modules/@deepseek-ai/dsh-storage-json/README.i18n.yaml +63 -5
  902. package/node_modules/@deepseek-ai/dsh-storage-json/lib/index.js +1 -1
  903. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
  904. package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +93 -5
  905. package/node_modules/@deepseek-ai/dsh-subagent/README.md +3 -2
  906. package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +4 -3
  907. package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +71 -238
  908. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +65 -41
  909. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/control-types.js +1 -1
  910. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +12 -12
  911. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/list-children.js +50 -261
  912. package/node_modules/@deepseek-ai/dsh-subagent/package.json +51 -56
  913. package/node_modules/@deepseek-ai/dsh-subagent-acp/README.i18n.yaml +84 -5
  914. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
  915. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.i18n.yaml +81 -5
  916. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +18 -18
  917. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/README.i18n.yaml +105 -5
  918. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +26 -26
  919. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.i18n.yaml +78 -5
  920. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +21 -20
  921. package/node_modules/@deepseek-ai/dsh-subprocess/README.i18n.yaml +72 -5
  922. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
  923. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.i18n.yaml +69 -5
  924. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.md +3 -2
  925. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.zh.md +3 -2
  926. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/index.js +10 -4
  927. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/output.js +82 -24
  928. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-B2zsQ1Dz.js +1529 -0
  929. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner.js +1 -1
  930. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +9 -9
  931. package/node_modules/@deepseek-ai/dsh-system-prompt/README.i18n.yaml +87 -5
  932. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +10 -10
  933. package/node_modules/@deepseek-ai/dsh-terminal/README.i18n.yaml +78 -5
  934. package/node_modules/@deepseek-ai/dsh-terminal/package.json +8 -8
  935. package/node_modules/@deepseek-ai/dsh-terminal-bash/README.i18n.yaml +90 -5
  936. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +20 -20
  937. package/node_modules/@deepseek-ai/dsh-time-context/README.i18n.yaml +69 -5
  938. package/node_modules/@deepseek-ai/dsh-time-context/README.md +6 -6
  939. package/node_modules/@deepseek-ai/dsh-time-context/README.zh.md +6 -6
  940. package/node_modules/@deepseek-ai/dsh-time-context/lib/index.js +3 -3
  941. package/node_modules/@deepseek-ai/dsh-time-context/package.json +24 -24
  942. package/node_modules/@deepseek-ai/dsh-timeout/README.i18n.yaml +63 -5
  943. package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
  944. package/node_modules/@deepseek-ai/dsh-tmux-context/README.i18n.yaml +66 -5
  945. package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +111 -9
  946. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +14 -14
  947. package/node_modules/@deepseek-ai/dsh-token-meter/README.i18n.yaml +63 -5
  948. package/node_modules/@deepseek-ai/dsh-token-meter/README.md +2 -0
  949. package/node_modules/@deepseek-ai/dsh-token-meter/README.zh.md +2 -0
  950. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +22 -18
  951. package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.i18n.yaml +75 -5
  952. package/node_modules/@deepseek-ai/dsh-tool-ask-user/lib/index.js +1 -1
  953. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +11 -11
  954. package/node_modules/@deepseek-ai/dsh-tool-bash/README.i18n.yaml +126 -5
  955. package/node_modules/@deepseek-ai/dsh-tool-bash/README.md +2 -2
  956. package/node_modules/@deepseek-ai/dsh-tool-bash/README.zh.md +2 -2
  957. package/node_modules/@deepseek-ai/dsh-tool-bash/lib/index.js +6 -9
  958. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +32 -32
  959. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.i18n.yaml +78 -5
  960. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/lib/index.js +2 -1
  961. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +24 -22
  962. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/README.i18n.yaml +66 -5
  963. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +9 -9
  964. package/node_modules/@deepseek-ai/dsh-tool-cordis/README.i18n.yaml +45 -5
  965. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +373 -79
  966. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +16 -16
  967. package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +141 -5
  968. package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +4 -4
  969. package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +4 -4
  970. package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +9 -73
  971. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +32 -30
  972. package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.i18n.yaml +114 -5
  973. package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.md +3 -9
  974. package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.zh.md +3 -9
  975. package/node_modules/@deepseek-ai/dsh-tool-fs-search/lib/index.js +4 -5
  976. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +23 -23
  977. package/node_modules/@deepseek-ai/dsh-tool-goal/README.i18n.yaml +78 -5
  978. package/node_modules/@deepseek-ai/dsh-tool-goal/README.md +2 -2
  979. package/node_modules/@deepseek-ai/dsh-tool-goal/README.zh.md +2 -2
  980. package/node_modules/@deepseek-ai/dsh-tool-goal/lib/index.js +6 -6
  981. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +20 -20
  982. package/node_modules/@deepseek-ai/dsh-tool-jobs/README.i18n.yaml +96 -5
  983. package/node_modules/@deepseek-ai/dsh-tool-jobs/README.md +6 -6
  984. package/node_modules/@deepseek-ai/dsh-tool-jobs/README.zh.md +6 -6
  985. package/node_modules/@deepseek-ai/dsh-tool-jobs/lib/index.js +21 -15
  986. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +18 -18
  987. package/node_modules/@deepseek-ai/dsh-tool-present/README.i18n.yaml +45 -5
  988. package/node_modules/@deepseek-ai/dsh-tool-present/README.md +1 -1
  989. package/node_modules/@deepseek-ai/dsh-tool-present/README.zh.md +1 -1
  990. package/node_modules/@deepseek-ai/dsh-tool-present/lib/index.js +2 -1
  991. package/node_modules/@deepseek-ai/dsh-tool-present/lib/types/index.js +5 -5
  992. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +20 -20
  993. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.i18n.yaml +123 -5
  994. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.md +3 -3
  995. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.zh.md +3 -3
  996. package/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/index.js +8 -8
  997. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +31 -31
  998. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.i18n.yaml +78 -5
  999. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.md +6 -6
  1000. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.zh.md +6 -6
  1001. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/lib/index.js +7 -25
  1002. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +25 -23
  1003. package/node_modules/@deepseek-ai/dsh-tool-ralph/README.i18n.yaml +99 -5
  1004. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +23 -23
  1005. package/node_modules/@deepseek-ai/dsh-tool-skill/README.i18n.yaml +141 -5
  1006. package/node_modules/@deepseek-ai/dsh-tool-skill/lib/index.js +1 -1
  1007. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +15 -15
  1008. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/README.i18n.yaml +78 -5
  1009. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/lib/index.js +2 -1
  1010. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +22 -20
  1011. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +120 -5
  1012. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +1 -1
  1013. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +1 -1
  1014. package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +4 -4
  1015. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +30 -30
  1016. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +105 -5
  1017. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +4 -4
  1018. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +4 -4
  1019. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +3 -3
  1020. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/index.js +6 -11
  1021. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/list-agents.js +6 -14
  1022. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +21 -21
  1023. package/node_modules/@deepseek-ai/dsh-tool-todo/README.i18n.yaml +90 -5
  1024. package/node_modules/@deepseek-ai/dsh-tool-todo/README.md +1 -1
  1025. package/node_modules/@deepseek-ai/dsh-tool-todo/README.zh.md +1 -1
  1026. package/node_modules/@deepseek-ai/dsh-tool-todo/lib/index.js +4 -4
  1027. package/node_modules/@deepseek-ai/dsh-tool-todo/lib/types/index.js +5 -15
  1028. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +20 -20
  1029. package/node_modules/@deepseek-ai/dsh-tool-web/README.i18n.yaml +150 -5
  1030. package/node_modules/@deepseek-ai/dsh-tool-web/README.md +4 -4
  1031. package/node_modules/@deepseek-ai/dsh-tool-web/README.zh.md +4 -4
  1032. package/node_modules/@deepseek-ai/dsh-tool-web/lib/index.js +4 -4
  1033. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +22 -21
  1034. package/node_modules/@deepseek-ai/dsh-tool-workflow/README.i18n.yaml +102 -5
  1035. package/node_modules/@deepseek-ai/dsh-tool-workflow/README.md +1 -1
  1036. package/node_modules/@deepseek-ai/dsh-tool-workflow/README.zh.md +1 -1
  1037. package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/index.js +9 -16
  1038. package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/types/index.js +10 -16
  1039. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +25 -25
  1040. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/README.i18n.yaml +66 -5
  1041. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +11 -11
  1042. package/node_modules/@deepseek-ai/dsh-tools/README.i18n.yaml +102 -5
  1043. package/node_modules/@deepseek-ai/dsh-tools/README.md +3 -1
  1044. package/node_modules/@deepseek-ai/dsh-tools/README.zh.md +3 -1
  1045. package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +16 -2
  1046. package/node_modules/@deepseek-ai/dsh-tools/lib/types/index.js +13 -1
  1047. package/node_modules/@deepseek-ai/dsh-tools/lib/types/ptc.js +1 -1
  1048. package/node_modules/@deepseek-ai/dsh-tools/lib/types/schema.js +5 -0
  1049. package/node_modules/@deepseek-ai/dsh-tools/package.json +27 -27
  1050. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +84 -5
  1051. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +1 -1
  1052. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +1 -1
  1053. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +16 -1
  1054. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +76 -76
  1055. package/node_modules/@deepseek-ai/dsh-typert-loader/README.i18n.yaml +57 -5
  1056. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +9 -9
  1057. package/node_modules/@deepseek-ai/dsh-typert-protocol/README.i18n.yaml +63 -5
  1058. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +4 -4
  1059. package/node_modules/@deepseek-ai/dsh-typert-registry/README.i18n.yaml +60 -5
  1060. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
  1061. package/node_modules/@deepseek-ai/dsh-user-approval/README.i18n.yaml +87 -5
  1062. package/node_modules/@deepseek-ai/dsh-user-approval/README.md +1 -1
  1063. package/node_modules/@deepseek-ai/dsh-user-approval/README.zh.md +1 -1
  1064. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +18 -18
  1065. package/node_modules/@deepseek-ai/dsh-user-questions/README.i18n.yaml +42 -5
  1066. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +9 -9
  1067. package/node_modules/@deepseek-ai/dsh-util-code-language/README.i18n.yaml +25 -0
  1068. package/node_modules/@deepseek-ai/dsh-util-code-language/README.md +50 -0
  1069. package/node_modules/@deepseek-ai/dsh-util-code-language/README.zh.md +50 -0
  1070. package/node_modules/@deepseek-ai/dsh-util-code-language/lib/index.js +269 -0
  1071. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +35 -0
  1072. package/node_modules/@deepseek-ai/dsh-util-crypto/README.i18n.yaml +33 -5
  1073. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
  1074. package/node_modules/@deepseek-ai/dsh-util-time/README.i18n.yaml +33 -5
  1075. package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
  1076. package/node_modules/@deepseek-ai/dsh-util-values/README.i18n.yaml +42 -5
  1077. package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
  1078. package/node_modules/@deepseek-ai/dsh-util-workspace-path/README.i18n.yaml +24 -5
  1079. package/node_modules/@deepseek-ai/dsh-util-workspace-path/README.md +2 -0
  1080. package/node_modules/@deepseek-ai/dsh-util-workspace-path/README.zh.md +2 -0
  1081. package/node_modules/@deepseek-ai/dsh-util-workspace-path/lib/index.js +11 -1
  1082. package/node_modules/@deepseek-ai/dsh-util-workspace-path/lib/types/index.d.ts +7 -0
  1083. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
  1084. package/node_modules/@deepseek-ai/dsh-web/README.i18n.yaml +66 -5
  1085. package/node_modules/@deepseek-ai/dsh-web/package.json +6 -6
  1086. package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +75 -5
  1087. package/node_modules/@deepseek-ai/dsh-web-app/README.md +1 -1
  1088. package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +1 -1
  1089. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +21 -3
  1090. package/node_modules/@deepseek-ai/dsh-web-app/lib/index.js +33 -5
  1091. package/node_modules/@deepseek-ai/dsh-web-app/package.json +143 -139
  1092. package/node_modules/@deepseek-ai/dsh-web-fetch-http/README.i18n.yaml +60 -5
  1093. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +10 -10
  1094. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/Montserrat-OFL.txt +93 -0
  1095. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/montserrat-light-Cvd2VjE_.woff2 +0 -0
  1096. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/montserrat-medium-B4OyO9CN.woff2 +0 -0
  1097. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/montserrat-regular-DYep38cA.woff2 +0 -0
  1098. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DUvMhLle.css +1 -0
  1099. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Q6zc2uHV.js +127 -0
  1100. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/asciidoc-Ve4PFQV2.js +2 -0
  1101. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/bat-BkioyH1T.js +2 -0
  1102. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/bibtex-CHM0blh-.js +2 -0
  1103. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/clojure-P80f7IUj.js +2 -0
  1104. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/cmake-D1j8_8rp.js +2 -0
  1105. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/csv-fuZLfV_i.js +2 -0
  1106. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/dart-bE4Kk8sk.js +2 -0
  1107. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/diff-D97Zzqfu.js +2 -0
  1108. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/dotenv-Da5cRb03.js +2 -0
  1109. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/elixir-CvYZzuDY.js +2 -0
  1110. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/erlang-DsQrWhSR.js +2 -0
  1111. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/fish-BvzEVeQv.js +2 -0
  1112. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/fsharp-CXgrBDvD.js +2 -0
  1113. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/graphql-DujV8YkJ.js +2 -0
  1114. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/groovy-gcz8RCvz.js +2 -0
  1115. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/haskell-Df6bDoY_.js +2 -0
  1116. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/hcl-BWvSN4gD.js +2 -0
  1117. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/html-derivative-DOyKdj44.js +2 -0
  1118. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/html-fwsONPVS.js +2 -0
  1119. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/http-DcV90OkR.js +2 -0
  1120. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/javascript-DI5JR1nB.js +2 -0
  1121. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/julia-BpJ6DjL_.js +2 -0
  1122. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/latex-B4C7GdlO.js +2 -0
  1123. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/log-2UxHyX5q.js +2 -0
  1124. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/make-CHLpvVh8.js +2 -0
  1125. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/nix-CwoSXNpI.js +2 -0
  1126. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/perl-DsWkoyyU.js +2 -0
  1127. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-LEPfNACG.js +2 -0
  1128. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/powershell-Dpen1YoG.js +2 -0
  1129. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/proto-C7zT0LnQ.js +2 -0
  1130. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/r-Dspwwk_N.js +2 -0
  1131. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/rst-BbocfKWr.js +2 -0
  1132. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/ruby-R292Iif0.js +2 -0
  1133. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/scala-C151Ov-r.js +2 -0
  1134. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/svelte-DNMY6jOf.js +2 -0
  1135. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/system-verilog-CnnmHF94.js +2 -0
  1136. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/vb-D17OF-Vu.js +2 -0
  1137. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/verilog-BQ8w6xss.js +2 -0
  1138. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/vue-Dq2x6432.js +2 -0
  1139. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
  1140. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +17 -15
  1141. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.i18n.yaml +84 -5
  1142. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +16 -16
  1143. package/node_modules/@deepseek-ai/dsh-web-search-exa/README.i18n.yaml +60 -5
  1144. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +9 -9
  1145. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/README.i18n.yaml +81 -5
  1146. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +9 -9
  1147. package/node_modules/@deepseek-ai/dsh-webhook/README.i18n.yaml +45 -5
  1148. package/node_modules/@deepseek-ai/dsh-webhook/package.json +25 -25
  1149. package/node_modules/@deepseek-ai/dsh-webhook-github/README.i18n.yaml +36 -5
  1150. package/node_modules/@deepseek-ai/dsh-webhook-github/package.json +15 -15
  1151. package/node_modules/@deepseek-ai/dsh-win32-process/README.i18n.yaml +42 -5
  1152. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
  1153. package/node_modules/@deepseek-ai/dsh-workflow/README.i18n.yaml +60 -5
  1154. package/node_modules/@deepseek-ai/dsh-workflow/package.json +13 -13
  1155. package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.i18n.yaml +78 -5
  1156. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +37 -36
  1157. package/node_modules/@deepseek-ai/dsh-workspace/README.i18n.yaml +87 -5
  1158. package/node_modules/@deepseek-ai/dsh-workspace/README.md +1 -1
  1159. package/node_modules/@deepseek-ai/dsh-workspace/README.zh.md +1 -1
  1160. package/node_modules/@deepseek-ai/dsh-workspace/lib/index.js +7 -5
  1161. package/node_modules/@deepseek-ai/dsh-workspace/lib/types/index.js +7 -5
  1162. package/node_modules/@deepseek-ai/dsh-workspace/package.json +16 -16
  1163. package/node_modules/@deepseek-ai/dsh-workspace-changes/README.i18n.yaml +36 -5
  1164. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +16 -16
  1165. package/node_modules/@deepseek-ai/libreoffice-kit/README.md +30 -5
  1166. package/node_modules/@deepseek-ai/libreoffice-kit/README.zh.md +30 -5
  1167. package/node_modules/@deepseek-ai/libreoffice-kit/lib/cli.js +2058 -0
  1168. package/node_modules/@deepseek-ai/libreoffice-kit/lib/font-snapshot-worker.js +454 -0
  1169. package/node_modules/@deepseek-ai/libreoffice-kit/lib/index.js +1055 -57
  1170. package/node_modules/@deepseek-ai/libreoffice-kit/lib/worker.js +922 -239
  1171. package/node_modules/@deepseek-ai/libreoffice-kit/package.json +9 -3
  1172. package/node_modules/@deepseek-ai/node-addon-system/README.i18n.yaml +9 -5
  1173. package/node_modules/@deepseek-ai/node-addon-system/README.md +1 -1
  1174. package/node_modules/@deepseek-ai/node-addon-system/README.zh.md +1 -1
  1175. package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
  1176. package/node_modules/@js-temporal/polyfill/CHANGELOG.md +453 -0
  1177. package/node_modules/@js-temporal/polyfill/LICENSE +13 -0
  1178. package/node_modules/@js-temporal/polyfill/README.md +90 -0
  1179. package/node_modules/@js-temporal/polyfill/dist/index.cjs +2 -0
  1180. package/node_modules/@js-temporal/polyfill/dist/index.esm.js +2 -0
  1181. package/node_modules/@js-temporal/polyfill/dist/index.umd.js +2 -0
  1182. package/node_modules/@js-temporal/polyfill/lib/assert.ts +8 -0
  1183. package/node_modules/@js-temporal/polyfill/lib/bigintmath.ts +39 -0
  1184. package/node_modules/@js-temporal/polyfill/lib/calendar.ts +2424 -0
  1185. package/node_modules/@js-temporal/polyfill/lib/debug.ts +7 -0
  1186. package/node_modules/@js-temporal/polyfill/lib/duration.ts +438 -0
  1187. package/node_modules/@js-temporal/polyfill/lib/ecmascript.ts +4973 -0
  1188. package/node_modules/@js-temporal/polyfill/lib/index.ts +34 -0
  1189. package/node_modules/@js-temporal/polyfill/lib/init.ts +43 -0
  1190. package/node_modules/@js-temporal/polyfill/lib/instant.ts +138 -0
  1191. package/node_modules/@js-temporal/polyfill/lib/intl.ts +758 -0
  1192. package/node_modules/@js-temporal/polyfill/lib/intrinsicclass.ts +162 -0
  1193. package/node_modules/@js-temporal/polyfill/lib/legacydate.ts +17 -0
  1194. package/node_modules/@js-temporal/polyfill/lib/math.ts +96 -0
  1195. package/node_modules/@js-temporal/polyfill/lib/now.ts +48 -0
  1196. package/node_modules/@js-temporal/polyfill/lib/plaindate.ts +212 -0
  1197. package/node_modules/@js-temporal/polyfill/lib/plaindatetime.ts +274 -0
  1198. package/node_modules/@js-temporal/polyfill/lib/plainmonthday.ts +110 -0
  1199. package/node_modules/@js-temporal/polyfill/lib/plaintime.ts +154 -0
  1200. package/node_modules/@js-temporal/polyfill/lib/plainyearmonth.ts +157 -0
  1201. package/node_modules/@js-temporal/polyfill/lib/regex.ts +59 -0
  1202. package/node_modules/@js-temporal/polyfill/lib/slots.ts +341 -0
  1203. package/node_modules/@js-temporal/polyfill/lib/temporal.ts +10 -0
  1204. package/node_modules/@js-temporal/polyfill/lib/timeduration.ts +149 -0
  1205. package/node_modules/@js-temporal/polyfill/lib/zoneddatetime.ts +492 -0
  1206. package/node_modules/@js-temporal/polyfill/package.json +125 -0
  1207. package/node_modules/fflate/CHANGELOG.md +0 -10
  1208. package/node_modules/fflate/LICENSE +1 -1
  1209. package/node_modules/fflate/README.md +10 -10
  1210. package/node_modules/fflate/esm/browser.js +55 -82
  1211. package/node_modules/fflate/esm/index.mjs +56 -87
  1212. package/node_modules/fflate/lib/browser.cjs +77 -106
  1213. package/node_modules/fflate/lib/index.cjs +77 -106
  1214. package/node_modules/fflate/lib/node-worker.cjs +1 -5
  1215. package/node_modules/fflate/lib/node.cjs +78 -111
  1216. package/node_modules/fflate/package.json +10 -11
  1217. package/node_modules/fflate/umd/index.js +1 -1
  1218. package/node_modules/jsbi/LICENSE +176 -0
  1219. package/node_modules/jsbi/README.md +173 -0
  1220. package/node_modules/jsbi/dist/jsbi-cjs.js +2 -0
  1221. package/node_modules/jsbi/dist/jsbi-umd.js +2 -0
  1222. package/node_modules/jsbi/dist/jsbi.mjs +2 -0
  1223. package/node_modules/jsbi/package.json +25 -0
  1224. package/package.json +305 -289
  1225. package/node_modules/@deepseek-ai/dsh/lib/dump-config-DaAE0NHG.js +0 -2
  1226. package/node_modules/@deepseek-ai/dsh/lib/plugin-CnNK4cws.js +0 -31
  1227. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.host.js +0 -741
  1228. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.remote-client.js +0 -70
  1229. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DU8FBaxM.js +0 -127
  1230. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Uv-aF9RH.css +0 -1
  1231. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/html-CfGypltT.js +0 -2
  1232. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-DJl5gRdb.js +0 -2
  1233. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/ruby-5eNB0pDK.js +0 -2
  1234. package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/umd/index.js +0 -1
  1235. /package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/lib/worker.cjs +0 -0
@@ -76,6 +76,18 @@ window.__ModuleLoader__.load({
76
76
  return path.startsWith("/") || isWindowsStylePath(path);
77
77
  }
78
78
  /**
79
+ * Resolve a Workspace-relative path into the Host-facing spelling used by path operations.
80
+ * @param cwd - Session Workspace root, when known.
81
+ * @param path - Absolute or Workspace-relative path.
82
+ * @returns an absolute path when a Workspace root is available, otherwise the original path.
83
+ */
84
+ function resolveWorkspacePath(cwd, path) {
85
+ if (isAbsoluteWorkspacePath(path)) return path;
86
+ if (cwd === void 0 || cwd === "") return path;
87
+ const separator = isWindowsStylePath(cwd) && cwd.includes("\\") ? "\\" : "/";
88
+ return `${cwd.replace(/[/\\]+$/, "")}${separator}${path.replace(/^[/\\]+/, "")}`;
89
+ }
90
+ /**
79
91
  * The address for a path as a caller holds it: a relative path, or an absolute
80
92
  * path inside the Session's workspace, becomes a `session`-scoped address; an
81
93
  * absolute path outside it, or one whose workspace root is unknown, keeps its
@@ -93,6 +105,16 @@ window.__ModuleLoader__.load({
93
105
  if (root !== "" && normalized.startsWith(`${root}/`)) return sessionFileAddress(sessionId, normalized.slice(root.length + 1));
94
106
  return sessionFileAddress(sessionId, normalized);
95
107
  }
108
+ /**
109
+ * Address a decoded absolute file path through the authenticated file route.
110
+ * @param base - HTTP(S) application base, including its deployment prefix, or `dsh-app://app/`.
111
+ * @param path - Native file path; URL escapes in authored Markdown must already be decoded.
112
+ * @returns File URL, or undefined for unsupported transports and non-absolute paths.
113
+ */
114
+ function fileMediaUrl(base, path) {
115
+ if (!/^https?:/u.test(base) && !base.startsWith("dsh-app://app/") || !isAbsoluteWorkspacePath(path) || /^[/\\]{2}/u.test(path) || /[\u0000-\u001f\u007f]/u.test(path)) return void 0;
116
+ return new URL(`api/file?path=${encodeURIComponent(path)}`, base).href;
117
+ }
96
118
  //#endregion
97
119
  //#region lib/types/client/contract/snapshot.js
98
120
  const EMPTY_LIST$1 = [];
@@ -161,7 +183,7 @@ window.__ModuleLoader__.load({
161
183
  return useChat((snapshot) => {
162
184
  for (const node of snapshot.nodes.values()) {
163
185
  const root = node.kind === "tool-call" ? node.data.root : void 0;
164
- if (root !== void 0 && root.callId === callId && !("kind" in root)) return commandOf(root);
186
+ if (root !== void 0 && root.callId === callId && !("kind" in root) && root.phase === "start") return commandOf(root);
165
187
  }
166
188
  }) ?? null;
167
189
  }
@@ -724,7 +746,7 @@ window.__ModuleLoader__.load({
724
746
  }
725
747
  //#endregion
726
748
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-chat/src/client/chat/ContextInjectionRow.module.css.mjs
727
- const css$16 = ".bt4xOW_root{min-width:0}.bt4xOW_root[data-open]{padding-bottom:4px}.bt4xOW_chevron{color:var(--dsw-alias-label-secondary)}.bt4xOW_sep{background:var(--dsw-alias-label-caption);border-radius:1px;flex:none;width:2px;height:2px;margin:0 8px}.bt4xOW_source{min-width:0;color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));text-overflow:ellipsis;white-space:nowrap;flex:none;overflow:hidden}.bt4xOW_summary{min-width:0;color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));text-overflow:ellipsis;white-space:nowrap;flex:auto;overflow:hidden}.bt4xOW_body{box-sizing:border-box;width:calc(100% - 22px - var(--dsh-content-font-delta,0px));max-height:141px;margin:4px 0 0 calc(22px + var(--dsh-content-font-delta,0px));background:var(--dsw-alias-markdown-code-block);color:var(--dsw-alias-label-tertiary);font:400 11px/16px var(--ds-font-family-code);border:none;border-radius:8px;padding:10px 16px 12px 12px;overflow:auto}";
749
+ const css$16 = ".bt4xOW_root{min-width:0}.bt4xOW_root[data-open]{padding-bottom:4px}.bt4xOW_chevron{color:var(--dsw-alias-label-secondary)}.bt4xOW_sep{background:var(--dsw-alias-label-caption);border-radius:1px;flex:none;width:2px;height:2px;margin:0 8px}.bt4xOW_source{min-width:0;color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));text-overflow:ellipsis;white-space:nowrap;flex:none;overflow:hidden}.bt4xOW_summary{min-width:0;color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));text-overflow:ellipsis;white-space:nowrap;flex:auto;overflow:hidden}.bt4xOW_body{box-sizing:border-box;width:calc(100% - 22px - var(--dsh-content-font-delta,0px));max-height:141px;margin:4px 0 0 calc(22px + var(--dsh-content-font-delta,0px));border-radius:var(--dsw-radius-md);background:var(--dsw-alias-markdown-code-block);color:var(--dsw-alias-label-tertiary);font:400 11px/16px var(--ds-font-family-code);border:none;padding:10px 16px 12px 12px;overflow:auto}.bt4xOW_toolChanges{white-space:nowrap}";
728
750
  const tagId$16 = "@deepseek-ai/dsh-client-ui-chat/ContextInjectionRow.module.css";
729
751
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$16) + "]") === null) {
730
752
  const tag = document.createElement("style");
@@ -739,7 +761,8 @@ window.__ModuleLoader__.load({
739
761
  "root": "bt4xOW_root",
740
762
  "sep": "bt4xOW_sep",
741
763
  "source": "bt4xOW_source",
742
- "summary": "bt4xOW_summary"
764
+ "summary": "bt4xOW_summary",
765
+ "toolChanges": "bt4xOW_toolChanges"
743
766
  };
744
767
  //#endregion
745
768
  //#region lib/types/client/chat/ContextInjectionRow.js
@@ -761,15 +784,29 @@ window.__ModuleLoader__.load({
761
784
  source,
762
785
  t
763
786
  });
787
+ const toolBlocks = content.length > 0 && content.every((block) => block.type === "tool-addition" || block.type === "tool-removal") ? content : void 0;
788
+ const added = toolBlocks?.flatMap((block) => block.type === "tool-addition" ? [block.toolName] : []) ?? [];
789
+ const removed = toolBlocks?.flatMap((block) => block.type === "tool-removal" ? [block.toolName] : []) ?? [];
790
+ const single = toolBlocks?.length === 1 ? toolBlocks[0] : void 0;
791
+ const toolSummary = toolBlocks === void 0 || single !== void 0 ? null : added.length > 0 && removed.length > 0 ? t("message.toolsChanged", {
792
+ added: added.length,
793
+ removed: removed.length
794
+ }) : added.length > 0 ? t("message.toolsAddedCount", { count: added.length }) : t("message.toolsRemovedCount", { count: removed.length });
764
795
  return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.DisclosureRow, {
765
796
  className: ContextInjectionRow_module_css_default.root,
766
- icon: producer.role === "recall" ? (0, react_jsx_runtime.jsx)("span", {
797
+ icon: toolBlocks !== void 0 ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconBrowseOutlineRegular, { size: 14 }) : producer.role === "recall" ? (0, react_jsx_runtime.jsx)("span", {
767
798
  "data-context-recall-icon": true,
768
799
  children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.ReferenceIconRegular, { kind: "session" })
769
800
  }) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconContextInjectionOutlineRegular, { size: 14 }),
770
801
  chevronClassName: ContextInjectionRow_module_css_default.chevron,
771
- title: t(producer.role === "recall" ? "message.contextRecall" : "message.contextInjection"),
772
- collapsedContent: producer.label === null ? void 0 : (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
802
+ title: single !== void 0 ? t(single.type === "tool-addition" ? "message.toolAdded" : "message.toolRemoved", { name: single.toolName }) : t(toolBlocks !== void 0 ? "message.toolsUpdated" : producer.role === "recall" ? "message.contextRecall" : "message.contextInjection"),
803
+ collapsedContent: toolSummary !== null ? (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [(0, react_jsx_runtime.jsx)("span", {
804
+ className: ContextInjectionRow_module_css_default.sep,
805
+ "aria-hidden": true
806
+ }), (0, react_jsx_runtime.jsx)("span", {
807
+ className: ContextInjectionRow_module_css_default.summary,
808
+ children: toolSummary
809
+ })] }) : toolBlocks !== void 0 || producer.label === null ? void 0 : (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
773
810
  (0, react_jsx_runtime.jsx)("span", {
774
811
  className: ContextInjectionRow_module_css_default.sep,
775
812
  "aria-hidden": true
@@ -789,8 +826,8 @@ window.__ModuleLoader__.load({
789
826
  })] })
790
827
  ] }),
791
828
  keepContentWhenOpen: true,
792
- open,
793
- expandable: true,
829
+ open: open && single === void 0,
830
+ expandable: single === void 0,
794
831
  expandOnRowClick: true,
795
832
  onToggle: () => {
796
833
  setOpen((value) => !value);
@@ -799,7 +836,10 @@ window.__ModuleLoader__.load({
799
836
  className: ContextInjectionRow_module_css_default.body,
800
837
  "data-context-injection-body": true,
801
838
  "data-context-form": rendered ?? void 0,
802
- children: body
839
+ children: toolBlocks === void 0 ? body : (0, react_jsx_runtime.jsxs)("div", {
840
+ className: ContextInjectionRow_module_css_default.toolChanges,
841
+ children: [added.length > 0 && (0, react_jsx_runtime.jsx)("div", { children: t("message.toolsAdded", { names: added.join(", ") }) }), removed.length > 0 && (0, react_jsx_runtime.jsx)("div", { children: t("message.toolsRemoved", { names: removed.join(", ") }) })]
842
+ })
803
843
  })
804
844
  });
805
845
  }
@@ -1006,14 +1046,19 @@ window.__ModuleLoader__.load({
1006
1046
  return {
1007
1047
  code: {
1008
1048
  copyLabel: t("copy"),
1009
- copiedLabel: t("copied")
1049
+ copiedLabel: t("copied"),
1050
+ toolbarLabels: {
1051
+ codeLabel: t("codeBlock.title"),
1052
+ wrapLabel: t("codeBlock.wrap"),
1053
+ unwrapLabel: t("codeBlock.unwrap")
1054
+ }
1010
1055
  },
1011
1056
  footnotes: t("markdown.footnotes")
1012
1057
  };
1013
1058
  }
1014
1059
  //#endregion
1015
1060
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-chat/src/client/chat/MessageItem.module.css.mjs
1016
- const css$15 = "._1feDfq_userRow{flex-direction:column;align-items:flex-end;gap:6px;display:flex}._1feDfq_userStack{min-width:0;max-width:min(calc(var(--dsh-chat-content-width,748px) * .702), 82%);flex-direction:column;align-items:flex-end;gap:8px;display:flex}._1feDfq_bubble{background:var(--dsw-specific-bubble);max-width:100%;font-size:var(--dsh-content-font-size,14px);line-height:calc(22px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-primary);white-space:pre-wrap;word-break:break-word;border-radius:22px;padding:10px 16px}._1feDfq_referenceSummary{color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(18px + var(--dsh-content-font-delta-secondary,0px))}._1feDfq_contextRow{padding:2px 0}._1feDfq_compactionRow{--dsh-compaction-header-height:calc(24px + var(--dsh-content-font-delta,0px));padding:2px 0}._1feDfq_compactionButton{width:100%;height:var(--dsh-compaction-header-height);min-width:0;color:inherit;font:inherit;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;padding:0;display:flex}._1feDfq_compactionRow:has(._1feDfq_compactionBody) ._1feDfq_compactionButton{z-index:7;background:var(--dsw-alias-bg-base);border-radius:0;position:sticky;top:0}._1feDfq_compactionBody :has(>[data-code-block-banner]){top:var(--dsh-compaction-header-height)}._1feDfq_compactionRow:has(._1feDfq_compactionBody) ._1feDfq_compactionButton:hover{background:var(--dsw-alias-interactive-bg-hover-solid)}._1feDfq_compactionButton:not(:disabled){cursor:pointer}._1feDfq_compactionButton:not(:disabled):hover{background:var(--dsw-alias-interactive-bg-hover)}._1feDfq_compactionLeading{width:calc(16px + var(--dsh-content-font-delta,0px));height:calc(16px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-secondary);flex:none;place-items:center;margin-right:6px;display:inline-grid}._1feDfq_compactionLeading svg{width:calc(14px + var(--dsh-content-font-delta,0px));height:calc(14px + var(--dsh-content-font-delta,0px))}._1feDfq_compactionContextIcon,._1feDfq_compactionDisclosureIcon{grid-area:1/1;justify-content:center;align-items:center;display:inline-flex}._1feDfq_compactionDisclosureIcon,._1feDfq_compactionButton:not(:disabled):hover ._1feDfq_compactionContextIcon,._1feDfq_compactionButton:not(:disabled):focus-visible ._1feDfq_compactionContextIcon{opacity:0}._1feDfq_compactionButton:not(:disabled):hover ._1feDfq_compactionDisclosureIcon,._1feDfq_compactionButton:not(:disabled):focus-visible ._1feDfq_compactionDisclosureIcon{opacity:1}._1feDfq_compactionTitle{font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-primary-dimmed);flex:none}._1feDfq_compactionSep{background:var(--dsw-alias-label-caption);border-radius:1px;flex:none;width:2px;height:2px;margin:0 8px}._1feDfq_compactionSummary{min-width:0;color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));text-overflow:ellipsis;white-space:nowrap;flex:auto;overflow:hidden}._1feDfq_compactionBody{padding:4px 0 4px calc(22px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px))}._1feDfq_retryRow{color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px))}._1feDfq_retrySummary{width:fit-content;color:inherit;cursor:pointer;user-select:none;border-radius:3px;align-items:center;gap:7px;padding:2px 0;list-style:none;display:inline-flex}._1feDfq_retrySummary::-webkit-details-marker{display:none}._1feDfq_retrySummary:after{content:\"\";opacity:.8;border-bottom:1.5px solid;border-right:1.5px solid;width:6px;height:6px;transition:transform .12s;transform:rotate(-45deg)}._1feDfq_retrySummary:hover{color:var(--dsw-alias-label-secondary)}._1feDfq_retrySummary:focus-visible{outline:1.5px solid var(--dsw-alias-button-info-fill);outline-offset:2px}._1feDfq_retryText{color:inherit}._1feDfq_retryRow[data-active] ._1feDfq_retryText{background:linear-gradient(90deg, var(--dsw-alias-label-tertiary) 0%, var(--dsw-alias-label-tertiary) 40%, var(--dsw-alias-label-secondary) 50%, var(--dsw-alias-label-tertiary) 60%, var(--dsw-alias-label-tertiary) 100%);color:#0000;background-position:100%;background-size:200% 100%;background-clip:text;animation:1.6s ease-in-out infinite _1feDfq_retry-shimmer}._1feDfq_retryRow[open] ._1feDfq_retrySummary:after{transform:rotate(45deg)}._1feDfq_retryDetails{overflow-wrap:anywhere;font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(18px + var(--dsh-content-font-delta-secondary,0px));gap:2px;margin-top:3px;padding-left:14px;display:grid}._1feDfq_retryDetailLabel{color:var(--dsw-alias-label-secondary)}._1feDfq_turnErrorRow{font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px));grid-template-columns:10px minmax(0,1fr) auto;align-items:start;gap:8px;padding:2px 0;display:grid}._1feDfq_turnErrorDot{margin-top:5px}._1feDfq_turnErrorCopy{overflow-wrap:anywhere;min-width:0}._1feDfq_turnErrorTitle{color:var(--dsw-alias-state-error-primary);margin-right:6px;font-weight:600}._1feDfq_turnErrorMessage{color:var(--dsw-alias-label-secondary)}._1feDfq_turnErrorCode{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-markdown-code-block-small)}._1feDfq_maxTokensTitle{color:var(--dsw-alias-state-warn-primary);margin-right:6px;font-weight:600}@keyframes _1feDfq_retry-shimmer{0%{background-position:100%}to{background-position:0}}@media (prefers-reduced-motion:reduce){._1feDfq_retryRow[data-active] ._1feDfq_retryText{color:inherit;background:0 0;animation:none}}._1feDfq_attachmentRow{flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:100%;display:flex}._1feDfq_fileCard{border:.5px solid var(--dsw-alias-border-l2,#0000001f);background:var(--dsw-specific-input-major,transparent);box-sizing:border-box;border-radius:16px;flex:0 0 240px;align-items:center;gap:10px;width:240px;min-height:64px;padding:8px 12px;display:inline-flex}._1feDfq_fileIcon{flex:none;width:28px;height:28px}._1feDfq_fileContent{flex-direction:column;flex:1;min-width:0;display:flex}._1feDfq_fileName{white-space:nowrap;text-overflow:ellipsis;color:var(--dsw-alias-label-primary);font-size:14px;font-weight:500;line-height:22px;overflow:hidden}._1feDfq_fileMeta{white-space:nowrap;text-overflow:ellipsis;color:var(--dsw-alias-label-tertiary,#00000073);font-size:12px;line-height:15px;overflow:hidden}";
1061
+ const css$15 = "._1feDfq_userRow{flex-direction:column;align-items:flex-end;gap:6px;display:flex}._1feDfq_userStack{min-width:0;max-width:min(calc(var(--dsh-chat-content-width,748px) * .702), 82%);flex-direction:column;align-items:flex-end;gap:8px;display:flex}._1feDfq_bubble{background:var(--dsw-specific-bubble);border-radius:var(--dsw-radius-xl);max-width:100%;font-size:var(--dsh-content-font-size,14px);line-height:calc(22px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-primary);white-space:pre-wrap;word-break:break-word;padding:10px 16px}._1feDfq_referenceSummary{color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(18px + var(--dsh-content-font-delta-secondary,0px))}._1feDfq_contextRow{padding:2px 0}._1feDfq_compactionRow{--dsh-compaction-header-height:calc(24px + var(--dsh-content-font-delta,0px));padding:2px 0}._1feDfq_compactionButton{width:100%;height:var(--dsh-compaction-header-height);border-radius:var(--dsw-radius-sm);min-width:0;color:inherit;font:inherit;text-align:left;background:0 0;border:none;align-items:center;padding:0;display:flex}._1feDfq_compactionRow:has(._1feDfq_compactionBody) ._1feDfq_compactionButton{z-index:7;background:var(--dsw-alias-bg-base);border-radius:0;position:sticky;top:0}._1feDfq_compactionBody :has(>[data-code-block-banner]){top:var(--dsh-compaction-header-height)}._1feDfq_compactionRow:has(._1feDfq_compactionBody) ._1feDfq_compactionButton:hover{background:var(--dsw-alias-interactive-bg-hover-solid)}._1feDfq_compactionButton:not(:disabled){cursor:pointer}._1feDfq_compactionButton:not(:disabled):hover{background:var(--dsw-alias-interactive-bg-hover)}._1feDfq_compactionLeading{width:calc(16px + var(--dsh-content-font-delta,0px));height:calc(16px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-secondary);flex:none;place-items:center;margin-right:6px;display:inline-grid}._1feDfq_compactionLeading svg{width:calc(14px + var(--dsh-content-font-delta,0px));height:calc(14px + var(--dsh-content-font-delta,0px))}._1feDfq_compactionContextIcon,._1feDfq_compactionDisclosureIcon{grid-area:1/1;justify-content:center;align-items:center;display:inline-flex}._1feDfq_compactionDisclosureIcon,._1feDfq_compactionButton:not(:disabled):hover ._1feDfq_compactionContextIcon,._1feDfq_compactionButton:not(:disabled):focus-visible ._1feDfq_compactionContextIcon{opacity:0}._1feDfq_compactionButton:not(:disabled):hover ._1feDfq_compactionDisclosureIcon,._1feDfq_compactionButton:not(:disabled):focus-visible ._1feDfq_compactionDisclosureIcon{opacity:1}._1feDfq_compactionTitle{font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-primary-dimmed);flex:none}._1feDfq_compactionSep{background:var(--dsw-alias-label-caption);border-radius:1px;flex:none;width:2px;height:2px;margin:0 8px}._1feDfq_compactionSummary{min-width:0;color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));text-overflow:ellipsis;white-space:nowrap;flex:auto;overflow:hidden}._1feDfq_compactionBody{padding:4px 0 4px calc(22px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px))}._1feDfq_retryRow{color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px))}._1feDfq_retrySummary{border-radius:var(--dsw-radius-sm);width:fit-content;color:inherit;cursor:pointer;user-select:none;align-items:center;gap:7px;padding:2px 0;list-style:none;display:inline-flex}._1feDfq_retrySummary::-webkit-details-marker{display:none}._1feDfq_retrySummary:after{content:\"\";opacity:.8;border-bottom:1.5px solid;border-right:1.5px solid;width:6px;height:6px;transition:transform .12s;transform:rotate(-45deg)}._1feDfq_retrySummary:hover{color:var(--dsw-alias-label-secondary)}._1feDfq_retrySummary:focus-visible{outline:1.5px solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}._1feDfq_retryText{color:inherit}._1feDfq_retryRow[data-active] ._1feDfq_retryText{background:linear-gradient(90deg, var(--dsw-alias-label-tertiary) 0%, var(--dsw-alias-label-tertiary) 40%, var(--dsw-alias-label-secondary) 50%, var(--dsw-alias-label-tertiary) 60%, var(--dsw-alias-label-tertiary) 100%);color:#0000;background-position:100%;background-size:200% 100%;background-clip:text;animation:1.6s ease-in-out infinite _1feDfq_retry-shimmer}._1feDfq_retryRow[open] ._1feDfq_retrySummary:after{transform:rotate(45deg)}._1feDfq_retryDetails{overflow-wrap:anywhere;font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(18px + var(--dsh-content-font-delta-secondary,0px));gap:2px;margin-top:3px;padding-left:14px;display:grid}._1feDfq_retryDetailLabel{color:var(--dsw-alias-label-secondary)}._1feDfq_turnErrorRow{font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px));grid-template-columns:10px minmax(0,1fr) auto;align-items:start;gap:8px;padding:2px 0;display:grid}._1feDfq_turnErrorDot{margin-top:5px}._1feDfq_turnErrorCopy{overflow-wrap:anywhere;min-width:0}._1feDfq_turnErrorTitle{color:var(--dsw-alias-state-error-primary);margin-right:6px;font-weight:600}._1feDfq_turnErrorMessage{color:var(--dsw-alias-label-secondary)}._1feDfq_turnErrorCode{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-markdown-code-block-small)}._1feDfq_maxTokensTitle{color:var(--dsw-alias-state-warn-primary);margin-right:6px;font-weight:600}@keyframes _1feDfq_retry-shimmer{0%{background-position:100%}to{background-position:0}}@media (prefers-reduced-motion:reduce){._1feDfq_retryRow[data-active] ._1feDfq_retryText{color:inherit;background:0 0;animation:none}}._1feDfq_attachmentRow{flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:100%;display:flex}._1feDfq_fileCard{border:.5px solid var(--dsw-alias-border-l2,#0000001f);border-radius:var(--dsw-radius-xl);background:var(--dsw-specific-input-major,transparent);box-sizing:border-box;flex:0 0 240px;align-items:center;gap:10px;width:240px;min-height:64px;padding:8px 12px;display:inline-flex}._1feDfq_fileIcon{flex:none;width:28px;height:28px}._1feDfq_fileContent{flex-direction:column;flex:1;min-width:0;display:flex}._1feDfq_fileName{white-space:nowrap;text-overflow:ellipsis;color:var(--dsw-alias-label-primary);font-size:14px;font-weight:500;line-height:22px;overflow:hidden}._1feDfq_fileMeta{white-space:nowrap;text-overflow:ellipsis;color:var(--dsw-alias-label-tertiary,#00000073);font-size:12px;line-height:15px;overflow:hidden}";
1017
1062
  const tagId$15 = "@deepseek-ai/dsh-client-ui-chat/MessageItem.module.css";
1018
1063
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$15) + "]") === null) {
1019
1064
  const tag = document.createElement("style");
@@ -1246,7 +1291,7 @@ window.__ModuleLoader__.load({
1246
1291
  }
1247
1292
  //#endregion
1248
1293
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-chat/src/client/chat/MessageIconActions.module.css.mjs
1249
- const css$14 = ".tQXsnW_actions{height:calc(28px + var(--dsh-content-font-delta,0px));align-items:center;gap:8px;display:flex}.tQXsnW_timeStart{font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-tertiary);white-space:nowrap;padding-right:12px}.tQXsnW_timeEnd{font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);line-height:calc(24px + var(--dsh-content-font-delta,0px));color:inherit;white-space:nowrap}.tQXsnW_endInfo{min-width:0;color:var(--dsw-alias-label-tertiary);align-items:center;gap:8px;margin-left:8px;display:inline-flex}@media (hover:hover){[data-actions-reveal=hover] .tQXsnW_actions,:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering]):has(~:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering])) .tQXsnW_actions{opacity:0;transition:opacity 80ms}[data-actions-reveal=hover]:hover .tQXsnW_actions,[data-actions-reveal=hover]:focus-within .tQXsnW_actions,:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering]):has(~:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering])):hover .tQXsnW_actions,:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering]):has(~:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering])):focus-within .tQXsnW_actions{opacity:1}}.tQXsnW_action{width:calc(28px + var(--dsh-content-font-delta,0px));height:calc(28px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:28px;justify-content:center;align-items:center;padding:6px;display:inline-flex}.tQXsnW_action svg{width:calc(15px + var(--dsh-content-font-delta,0px));height:calc(15px + var(--dsh-content-font-delta,0px))}.tQXsnW_actions[data-clock=end] .tQXsnW_action svg{width:calc(17px + var(--dsh-content-font-delta,0px));height:calc(17px + var(--dsh-content-font-delta,0px))}.tQXsnW_action:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}.tQXsnW_action[data-unavailable]{cursor:default;opacity:.4}.tQXsnW_action[data-unavailable]:hover{color:var(--dsw-alias-label-tertiary);background:0 0}.tQXsnW_visuallyHidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}";
1294
+ const css$14 = ".tQXsnW_actions{height:calc(28px + var(--dsh-content-font-delta,0px));align-items:center;gap:8px;display:flex}.tQXsnW_timeStart{font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-tertiary);white-space:nowrap;padding-right:12px}.tQXsnW_timeEnd{font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);line-height:calc(24px + var(--dsh-content-font-delta,0px));color:inherit;white-space:nowrap}.tQXsnW_endInfo{min-width:0;color:var(--dsw-alias-label-tertiary);align-items:center;gap:8px;margin-left:8px;display:inline-flex}@media (hover:hover){[data-actions-reveal=hover] .tQXsnW_actions,:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering]):has(~:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering])) .tQXsnW_actions{opacity:0;transition:opacity 80ms}[data-actions-reveal=hover]:hover .tQXsnW_actions,[data-actions-reveal=hover]:focus-within .tQXsnW_actions,:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering]):has(~:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering])):hover .tQXsnW_actions,:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering]):has(~:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering])):focus-within .tQXsnW_actions{opacity:1}}.tQXsnW_action{width:calc(28px + var(--dsh-content-font-delta,0px));height:calc(28px + var(--dsh-content-font-delta,0px));border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:6px;display:inline-flex}.tQXsnW_action svg{width:calc(15px + var(--dsh-content-font-delta,0px));height:calc(15px + var(--dsh-content-font-delta,0px))}.tQXsnW_actions[data-clock=end] .tQXsnW_action svg{width:calc(17px + var(--dsh-content-font-delta,0px));height:calc(17px + var(--dsh-content-font-delta,0px))}.tQXsnW_action:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}.tQXsnW_action[data-unavailable]{cursor:default;opacity:.4}.tQXsnW_action[data-unavailable]:hover{color:var(--dsw-alias-label-tertiary);background:0 0}.tQXsnW_visuallyHidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}";
1250
1295
  const tagId$14 = "@deepseek-ai/dsh-client-ui-chat/MessageIconActions.module.css";
1251
1296
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$14) + "]") === null) {
1252
1297
  const tag = document.createElement("style");
@@ -1373,6 +1418,9 @@ window.__ModuleLoader__.load({
1373
1418
  return Math.max(1, Math.ceil(milliseconds / 1e3));
1374
1419
  }
1375
1420
  function failureMessage(message, code, t) {
1421
+ if (code === "ACCOUNT_SIGNED_OUT") return t("message.failure.accountSignedOut");
1422
+ if (code === "ACCOUNT_SIGN_IN_REQUIRED") return t("message.failure.accountSignInRequired");
1423
+ if (code === "QUOTA" || code === "ACCOUNT_QUOTA") return t("message.failure.quota");
1376
1424
  return code === "AUTH" ? t("message.failure.auth") : message;
1377
1425
  }
1378
1426
  function ModelRetryItem({ node, active, t }) {
@@ -1445,7 +1493,7 @@ window.__ModuleLoader__.load({
1445
1493
  className: MessageItem_module_css_default.turnErrorCopy,
1446
1494
  children: [(0, react_jsx_runtime.jsx)("span", {
1447
1495
  className: MessageItem_module_css_default.turnErrorTitle,
1448
- children: t("message.turnError")
1496
+ children: node.code === "ACCOUNT_SIGNED_OUT" ? t("message.accountStopped") : t("message.turnError")
1449
1497
  }), (0, react_jsx_runtime.jsx)("span", {
1450
1498
  className: MessageItem_module_css_default.turnErrorMessage,
1451
1499
  children: failureMessage(node.message, node.code, t)
@@ -1770,7 +1818,7 @@ window.__ModuleLoader__.load({
1770
1818
  }
1771
1819
  //#endregion
1772
1820
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-chat/src/client/chat/ChatView.module.css.mjs
1773
- const css$13 = ".jDZ7uq_root{flex-direction:column;flex:auto;min-height:0;display:flex;position:relative}.jDZ7uq_scroll{min-height:0;padding:16px calc(var(--dsh-composer-side-clearance) + 16px);flex:auto;overflow-y:auto;container-type:inline-size}.jDZ7uq_root[data-chat-following-tail] .jDZ7uq_scroll,[data-conversation-scroll]:has(.jDZ7uq_root[data-chat-following-tail]){overflow-anchor:none}[data-conversation-scroll] .jDZ7uq_root{flex:none;height:auto;min-height:auto}[data-conversation-scroll] .jDZ7uq_scroll{flex:none;min-height:auto;overflow:visible}.jDZ7uq_column{max-width:var(--dsh-chat-content-width);flex-direction:column;width:100%;margin:0 auto;display:flex}.jDZ7uq_column>:not([hidden]):not(.jDZ7uq_flowItem:empty)~:not([hidden]):not(.jDZ7uq_flowItem:empty){margin-top:var(--dsh-chat-flow-gap,16px)}.jDZ7uq_flowItem{min-width:0}.jDZ7uq_flowItem[data-turn-process-answer]{--dsh-chat-flow-gap:8px}.jDZ7uq_flowItem:empty{height:0}.jDZ7uq_callRow{border-radius:6px}.jDZ7uq_hint{color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(18px + var(--dsh-content-font-delta-secondary,0px))}.jDZ7uq_openError{color:var(--dsw-alias-state-error-primary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(18px + var(--dsh-content-font-delta-secondary,0px))}.jDZ7uq_older{justify-content:center;display:flex}.jDZ7uq_older button{color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-interactive-bg-hover-solid);cursor:pointer;border:none;border-radius:14px;padding:4px 12px;font-size:12px}.jDZ7uq_older button:disabled{cursor:default;opacity:.6}.jDZ7uq_toBottomSlot{z-index:8;height:0;padding-right:max(0px, calc((100% - var(--dsh-chat-content-width)) / 2));pointer-events:none;justify-content:flex-end;display:flex;position:sticky;bottom:16px}[data-conversation-scroll] .jDZ7uq_toBottomSlot{bottom:calc(var(--dsh-composer-height,152px) + 16px)}.jDZ7uq_toBottom{--dsw-elevation-stroke-color:var(--dsw-alias-border-l3);corner-shape:round;width:34px;height:34px;color:var(--dsw-alias-label-primary);background:var(--dsw-alias-button-floating-fill);box-shadow:var(--dsw-elevation-panel);cursor:pointer;pointer-events:auto;border:0;border-radius:100px;justify-content:center;align-items:center;margin-top:-34px;padding:0;display:flex}.jDZ7uq_toBottom:hover{background:var(--dsw-alias-button-floating-hover)}.jDZ7uq_modalAction{min-width:72px}";
1821
+ const css$13 = ".jDZ7uq_frame{flex-direction:column;flex:auto;min-height:0;display:flex;position:relative;container-type:inline-size}.jDZ7uq_root{flex-direction:column;flex:auto;min-height:0;display:flex;position:relative;overflow:visible clip}.jDZ7uq_scroll{min-height:0;padding:16px calc(var(--dsh-composer-side-clearance) + 16px);flex:auto;overflow-y:auto;container-type:inline-size}.jDZ7uq_root[data-chat-following-tail] .jDZ7uq_scroll,[data-conversation-scroll]:has(.jDZ7uq_root[data-chat-following-tail]){overflow-anchor:none}[data-conversation-scroll] .jDZ7uq_frame,[data-conversation-scroll] .jDZ7uq_root{flex:none;height:auto;min-height:auto}[data-conversation-scroll] .jDZ7uq_scroll{flex:none;min-height:auto;overflow:visible}.jDZ7uq_column{max-width:var(--dsh-chat-content-width);flex-direction:column;width:100%;margin:0 auto;display:flex}.jDZ7uq_column>:not([hidden]):not(.jDZ7uq_flowItem:empty)~:not([hidden]):not(.jDZ7uq_flowItem:empty){margin-top:var(--dsh-chat-flow-gap,16px)}.jDZ7uq_flowItem{min-width:0}.jDZ7uq_flowItem[data-turn-process-answer]{--dsh-chat-flow-gap:8px}.jDZ7uq_flowItem:empty{height:0}.jDZ7uq_callRow{border-radius:var(--dsw-radius-sm)}.jDZ7uq_hint{color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(18px + var(--dsh-content-font-delta-secondary,0px))}.jDZ7uq_openError{color:var(--dsw-alias-state-error-primary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(18px + var(--dsh-content-font-delta-secondary,0px))}.jDZ7uq_older{justify-content:center;display:flex}.jDZ7uq_older button{border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-interactive-bg-hover-solid);cursor:pointer;border:none;padding:4px 12px;font-size:12px}.jDZ7uq_older button:disabled{cursor:default;opacity:.6}.jDZ7uq_toBottomSlot{z-index:8;height:0;padding-right:max(calc(var(--dsh-composer-side-clearance) + 16px), calc((100% - var(--dsh-chat-content-width)) / 2));pointer-events:none;justify-content:flex-end;display:flex;position:absolute;bottom:16px;left:0;right:0}[data-conversation-scroll] .jDZ7uq_toBottomSlot{bottom:calc(var(--dsh-composer-height,152px) + 16px);position:sticky}.jDZ7uq_toBottom{--dsw-elevation-stroke-color:var(--dsw-alias-border-l3);corner-shape:round;width:34px;height:34px;color:var(--dsw-alias-label-primary);background:var(--dsw-alias-button-floating-fill);box-shadow:var(--dsw-elevation-panel);cursor:pointer;pointer-events:auto;border:0;border-radius:100px;justify-content:center;align-items:center;margin-top:-34px;padding:0;display:flex}.jDZ7uq_toBottom:hover{background:var(--dsw-alias-button-floating-hover)}.jDZ7uq_modalAction{min-width:72px}";
1774
1822
  const tagId$13 = "@deepseek-ai/dsh-client-ui-chat/ChatView.module.css";
1775
1823
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$13) + "]") === null) {
1776
1824
  const tag = document.createElement("style");
@@ -1783,6 +1831,7 @@ window.__ModuleLoader__.load({
1783
1831
  "callRow": "jDZ7uq_callRow",
1784
1832
  "column": "jDZ7uq_column",
1785
1833
  "flowItem": "jDZ7uq_flowItem",
1834
+ "frame": "jDZ7uq_frame",
1786
1835
  "hint": "jDZ7uq_hint",
1787
1836
  "modalAction": "jDZ7uq_modalAction",
1788
1837
  "older": "jDZ7uq_older",
@@ -1846,7 +1895,7 @@ window.__ModuleLoader__.load({
1846
1895
  processPresentation?.hasExternalProcess,
1847
1896
  setOpen
1848
1897
  ]);
1849
- const controllerInactive = routedNode?.kind === "turn-process" && !foldable;
1898
+ const controllerInactive = routedNode?.kind === "turn-process" && foldCompleted && !foldable;
1850
1899
  const compactAnswer = processAnswer && foldable && processPresentation.compactAnswer && !processOpen;
1851
1900
  const processHidden = controllerInactive || foldable && processMember && !processOpen;
1852
1901
  const wrapperRef = useSearchableHidden(processHidden, (0, react.useCallback)(() => {
@@ -2009,6 +2058,295 @@ window.__ModuleLoader__.load({
2009
2058
  };
2010
2059
  }
2011
2060
  //#endregion
2061
+ //#region lib/types/client/chat/use-scroll-follow.js
2062
+ /** Independent bottom-follow intent and native scrolling, without paging or DOM observers. */
2063
+ /**
2064
+ * Read one scrollport without measuring its children.
2065
+ * @param element - scrolling element.
2066
+ * @returns current position and range.
2067
+ */
2068
+ function scrollMetrics(element) {
2069
+ const height = element.clientHeight;
2070
+ return {
2071
+ top: element.scrollTop,
2072
+ height,
2073
+ floor: Math.max(0, element.scrollHeight - height)
2074
+ };
2075
+ }
2076
+ /** One scrollport's follow intent; native animation progress does not count as reader movement. */
2077
+ var ScrollFollow = class ScrollFollow {
2078
+ following;
2079
+ threshold;
2080
+ static owners = /* @__PURE__ */ new WeakMap();
2081
+ target = null;
2082
+ sampledTop;
2083
+ /**
2084
+ * @param following - initial follow intent.
2085
+ * @param threshold - accepted distance from the floor, in pixels.
2086
+ */
2087
+ constructor(following, threshold) {
2088
+ this.following = following;
2089
+ this.threshold = threshold;
2090
+ }
2091
+ /**
2092
+ * Find the mounted controller for reading-position compensation.
2093
+ * @param element - scrollport with an optional follow owner.
2094
+ * @returns its controller, when bound.
2095
+ */
2096
+ static forElement(element) {
2097
+ return this.owners.get(element);
2098
+ }
2099
+ /**
2100
+ * Share this controller with reading-position compensation for the same scrollport.
2101
+ * @param element - owned scrollport.
2102
+ * @returns release the association on unmount or close.
2103
+ */
2104
+ bind(element) {
2105
+ ScrollFollow.owners.set(element, this);
2106
+ return () => {
2107
+ if (ScrollFollow.owners.get(element) === this) ScrollFollow.owners.delete(element);
2108
+ };
2109
+ }
2110
+ /**
2111
+ * Expose follow intent independently of the current offset.
2112
+ * @returns whether content growth should follow the floor.
2113
+ */
2114
+ get active() {
2115
+ return this.following;
2116
+ }
2117
+ /**
2118
+ * Expose outstanding native motion before accepting reader input.
2119
+ * @returns whether a native follow animation has an outstanding target.
2120
+ */
2121
+ get animating() {
2122
+ return this.target !== null;
2123
+ }
2124
+ /**
2125
+ * Classify bottom arrivals using this scrollport's own tolerance.
2126
+ * @param metrics - current scroll geometry.
2127
+ * @returns whether the position is within the follow threshold.
2128
+ */
2129
+ nearBottom(metrics) {
2130
+ return metrics.floor - metrics.top <= this.threshold;
2131
+ }
2132
+ /**
2133
+ * Commit caller-owned follow decisions without moving the scrollport.
2134
+ * @param active - externally committed follow intent.
2135
+ */
2136
+ setFollowing(active) {
2137
+ this.following = active;
2138
+ if (!active) this.target = null;
2139
+ }
2140
+ /** Adopt the next visible layout as a fresh reader position. */
2141
+ reset() {
2142
+ this.setFollowing(false);
2143
+ this.sampledTop = void 0;
2144
+ }
2145
+ /**
2146
+ * Adopt delivered scrolling while retaining intent during native animation.
2147
+ * @param metrics - current geometry.
2148
+ * @param movedByReader - caller attribution; omitted callers compare the last sampled position.
2149
+ * @returns updated follow intent.
2150
+ */
2151
+ sample(metrics, movedByReader = this.sampledTop === void 0 || Math.abs(metrics.top - this.sampledTop) > .5) {
2152
+ this.sampledTop = metrics.top;
2153
+ if (!this.animating && movedByReader) this.following = this.nearBottom(metrics);
2154
+ return this.active;
2155
+ }
2156
+ /**
2157
+ * Settle native scrolling; an off-target stop releases follow intent.
2158
+ * @param metrics - actual geometry delivered at scrollend.
2159
+ * @returns follow intent after completing or interrupting native motion.
2160
+ */
2161
+ settle(metrics) {
2162
+ const target = this.target;
2163
+ this.target = null;
2164
+ return this.sample(metrics, target === null ? void 0 : Math.abs(metrics.top - Math.min(target, metrics.floor)) > this.threshold);
2165
+ }
2166
+ /**
2167
+ * Position immediately and adopt the resulting follow intent.
2168
+ * @param element - scrolling element.
2169
+ * @param metrics - geometry before positioning.
2170
+ * @param top - requested offset, clamped to the measured range.
2171
+ * @returns geometry after positioning.
2172
+ */
2173
+ jump(element, metrics, top) {
2174
+ const animated = this.animating;
2175
+ this.target = null;
2176
+ const target = Math.max(0, Math.min(metrics.floor, top));
2177
+ if (animated) element.scrollTo({
2178
+ top: target,
2179
+ behavior: "instant"
2180
+ });
2181
+ else if (target !== metrics.top) element.scrollTop = target;
2182
+ const landed = {
2183
+ ...metrics,
2184
+ top: element.scrollTop
2185
+ };
2186
+ this.sampledTop = landed.top;
2187
+ this.following = this.nearBottom(landed);
2188
+ return landed;
2189
+ }
2190
+ /**
2191
+ * Follow the measured floor, respecting reduced motion for smooth requests.
2192
+ * An outstanding smooth target finishes before another is issued.
2193
+ * Within-tolerance positioning is immediate while no animation is outstanding.
2194
+ * @param element - scrolling element.
2195
+ * @param metrics - current geometry.
2196
+ * @param behavior - native animation for growth, or immediate positioning.
2197
+ * @returns current geometry; smooth requests retain their starting position until native scroll delivery.
2198
+ */
2199
+ toBottom(element, metrics, behavior) {
2200
+ this.following = true;
2201
+ if (behavior === "instant" || metrics.top >= metrics.floor || !this.animating && this.nearBottom(metrics)) return this.jump(element, metrics, metrics.floor);
2202
+ if (typeof matchMedia === "function" && matchMedia("(prefers-reduced-motion: reduce)").matches) return this.jump(element, metrics, metrics.floor);
2203
+ if (this.target === null) {
2204
+ this.target = metrics.floor;
2205
+ element.scrollTo({
2206
+ top: metrics.floor,
2207
+ behavior: "smooth"
2208
+ });
2209
+ }
2210
+ return metrics;
2211
+ }
2212
+ /**
2213
+ * Cancel native motion before a reader gesture; only subsequent actual movement changes follow intent.
2214
+ * @param element - scrolling element.
2215
+ * @param metrics - position at interruption.
2216
+ */
2217
+ interrupt(element, metrics) {
2218
+ if (!this.animating) return;
2219
+ this.target = null;
2220
+ this.sampledTop = metrics.top;
2221
+ element.scrollTo({
2222
+ top: metrics.top,
2223
+ behavior: "instant"
2224
+ });
2225
+ }
2226
+ };
2227
+ /**
2228
+ * Retain one independent follow controller without React updates for scroll samples.
2229
+ * @param initial - initial follow intent.
2230
+ * @param threshold - accepted distance from the floor, in pixels.
2231
+ * @returns the stable controller shared by the caller's scroll and resize handlers.
2232
+ */
2233
+ function useScrollFollow(initial, threshold) {
2234
+ const [follow] = (0, react.useState)(() => new ScrollFollow(initial, threshold));
2235
+ return follow;
2236
+ }
2237
+ //#endregion
2238
+ //#region lib/types/client/chat/use-process-scroll.js
2239
+ /** Capped process-group scrolling and fades over the shared follow controller. */
2240
+ const AT_REST = {
2241
+ canScrollUp: false,
2242
+ canScrollDown: false
2243
+ };
2244
+ const SCROLL_KEYS$1 = new Set([
2245
+ "ArrowUp",
2246
+ "ArrowDown",
2247
+ "PageUp",
2248
+ "PageDown",
2249
+ "Home",
2250
+ "End",
2251
+ " "
2252
+ ]);
2253
+ /**
2254
+ * Observe one group's body and content without coupling its follow intent to the outer transcript.
2255
+ * Wheel, touchstart, any pointerdown, and unprevented scroll keys interrupt active animations,
2256
+ * including events from editable controls; subsequent position sampling determines follow intent.
2257
+ * @param bodyRef - capped scrolling body.
2258
+ * @param contentRef - uncapped content whose size reports growth.
2259
+ * @param open - local disclosure state.
2260
+ * @param grouped - whether the display mode retains the group's height cap.
2261
+ * @returns edge fades, DOM event bindings, and one-shot positioning for manual opening.
2262
+ */
2263
+ function useProcessScroll(bodyRef, contentRef, open, grouped) {
2264
+ const follow = useScrollFollow(false, 1);
2265
+ const initialPosition = (0, react.useRef)(null);
2266
+ const [edges, setEdges] = (0, react.useState)(AT_REST);
2267
+ const initialize = (0, react.useCallback)((position) => {
2268
+ initialPosition.current = position;
2269
+ }, []);
2270
+ const sync = (0, react.useCallback)((cause) => {
2271
+ const body = bodyRef.current;
2272
+ let next = AT_REST;
2273
+ if (body !== null && body.closest("[hidden], [data-group-expanded-mode]") === null) {
2274
+ let metrics = scrollMetrics(body);
2275
+ const initial = cause === "resize" ? initialPosition.current : null;
2276
+ if (initial !== null) {
2277
+ metrics = follow.jump(body, metrics, initial === "bottom" ? metrics.floor : 0);
2278
+ if (initial === "top") follow.setFollowing(false);
2279
+ initialPosition.current = null;
2280
+ } else {
2281
+ const wasAnimating = follow.animating;
2282
+ if (cause === "scrollend") follow.settle(metrics);
2283
+ else follow.sample(metrics);
2284
+ if (follow.active && (cause === "resize" || cause === "scrollend" && wasAnimating)) metrics = follow.toBottom(body, metrics, "smooth");
2285
+ }
2286
+ next = {
2287
+ canScrollUp: metrics.top > 1,
2288
+ canScrollDown: metrics.top < metrics.floor - 1
2289
+ };
2290
+ } else follow.reset();
2291
+ setEdges((previous) => previous.canScrollUp === next.canScrollUp && previous.canScrollDown === next.canScrollDown ? previous : next);
2292
+ }, [bodyRef, follow]);
2293
+ const interrupt = (0, react.useCallback)(() => {
2294
+ const body = bodyRef.current;
2295
+ if (body !== null && follow.animating) follow.interrupt(body, scrollMetrics(body));
2296
+ }, [bodyRef, follow]);
2297
+ const events = (0, react.useMemo)(() => ({
2298
+ onScroll: () => {
2299
+ sync("scroll");
2300
+ },
2301
+ onWheel: interrupt,
2302
+ onTouchStart: interrupt,
2303
+ onPointerDown: interrupt,
2304
+ onKeyDown: (event) => {
2305
+ if (!event.defaultPrevented && SCROLL_KEYS$1.has(event.key)) interrupt();
2306
+ }
2307
+ }), [interrupt, sync]);
2308
+ (0, react.useLayoutEffect)(() => {
2309
+ interrupt();
2310
+ follow.reset();
2311
+ if (!grouped || !open) initialPosition.current = null;
2312
+ }, [
2313
+ follow,
2314
+ grouped,
2315
+ interrupt,
2316
+ open
2317
+ ]);
2318
+ (0, react.useLayoutEffect)(() => {
2319
+ const body = bodyRef.current;
2320
+ if (body === null || !open || typeof ResizeObserver === "undefined") return;
2321
+ const unbind = follow.bind(body);
2322
+ const observer = new ResizeObserver(() => {
2323
+ sync("resize");
2324
+ });
2325
+ const onScrollEnd = (event) => {
2326
+ if (event.target === body) sync("scrollend");
2327
+ };
2328
+ body.addEventListener("scrollend", onScrollEnd);
2329
+ observer.observe(body);
2330
+ if (contentRef.current !== null) observer.observe(contentRef.current);
2331
+ return () => {
2332
+ unbind();
2333
+ observer.disconnect();
2334
+ body.removeEventListener("scrollend", onScrollEnd);
2335
+ };
2336
+ }, [
2337
+ bodyRef,
2338
+ contentRef,
2339
+ follow,
2340
+ open,
2341
+ sync
2342
+ ]);
2343
+ return {
2344
+ edges,
2345
+ events,
2346
+ initialize
2347
+ };
2348
+ }
2349
+ //#endregion
2012
2350
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-chat/src/client/chat/ChatGroupSeat.module.css.mjs
2013
2351
  const css$12 = ".nyFaVW_root{min-width:0}.nyFaVW_title{max-width:100%;color:var(--dsw-alias-label-secondary);font:inherit;font-size:var(--dsh-content-font-size,14px);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;transition:color .1s;display:flex}.nyFaVW_title:hover{color:var(--dsw-alias-label-primary)}.nyFaVW_leading{width:16px;height:16px;color:var(--dsw-alias-label-tertiary);flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.nyFaVW_activityIcon,.nyFaVW_chevron{justify-content:center;align-items:center;transition:opacity .1s;display:inline-flex;position:absolute;inset:0}.nyFaVW_activityIcon{opacity:1}.nyFaVW_chevron,.nyFaVW_title:is(:hover,:focus-visible) .nyFaVW_activityIcon{opacity:0}.nyFaVW_title:is(:hover,:focus-visible) .nyFaVW_chevron{opacity:1}.nyFaVW_title[aria-expanded=true] .nyFaVW_activityIcon{opacity:0}.nyFaVW_title[aria-expanded=true] .nyFaVW_chevron{opacity:1}.nyFaVW_title[aria-expanded=true]{padding-bottom:16px}.nyFaVW_body{--dsh-chat-flow-gap:8px;overscroll-behavior-y:auto;scrollbar-gutter:stable;max-height:min(400px,50vh);overflow-y:auto}.nyFaVW_label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.nyFaVW_fadeTop{mask-image:linear-gradient(#0000 0,#000 24px 100%)}.nyFaVW_fadeBottom{mask-image:linear-gradient(#000 0 calc(100% - 24px),#0000 100%)}.nyFaVW_fadeTop.nyFaVW_fadeBottom{mask-image:linear-gradient(#0000 0,#000 24px calc(100% - 24px),#0000 100%)}@media (prefers-reduced-motion:reduce){.nyFaVW_title,.nyFaVW_activityIcon,.nyFaVW_chevron{transition:none}}.nyFaVW_content{flex-direction:column;display:flex}.nyFaVW_content>*{flex-shrink:0}.nyFaVW_content>:not([hidden]):not(:empty)~:not([hidden]):not(:empty){margin-top:var(--dsh-chat-flow-gap,8px)}.nyFaVW_expandedBody{--dsh-chat-flow-gap:16px;scrollbar-gutter:auto;max-height:none;overflow:visible}";
2014
2352
  const tagId$12 = "@deepseek-ai/dsh-client-ui-chat/ChatGroupSeat.module.css";
@@ -2035,16 +2373,14 @@ window.__ModuleLoader__.load({
2035
2373
  //#endregion
2036
2374
  //#region lib/types/client/chat/ChatGroupSeat.js
2037
2375
  /** Stable process container; display policy changes visibility, never member parents. */
2038
- const PROCESS_SCROLL_AT_REST = {
2039
- canScrollUp: false,
2040
- canScrollDown: false
2041
- };
2042
2376
  const PROCESS_TITLE_MINIMUM_MS = 150;
2043
2377
  const PROCESS_ICONS = {
2044
2378
  thinking: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconThinkOutlineRegular, {}),
2045
2379
  read: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconBrowseOutlineRegular, { size: 14 }),
2380
+ readImage: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconBrowseOutlineRegular, { size: 14 }),
2046
2381
  search: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconSearchOutlineRegular, { size: 14 }),
2047
2382
  edit: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconEditOutlineRegular, { size: 14 }),
2383
+ write: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconEditOutlineRegular, { size: 14 }),
2048
2384
  commands: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconApiOutlineRegular, {}),
2049
2385
  code: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconCodeOutlineRegular, { size: 14 }),
2050
2386
  webSearch: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconGlobeOutlineRegular, {}),
@@ -2054,17 +2390,8 @@ window.__ModuleLoader__.load({
2054
2390
  questions: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconQuestionOutlineRegular, {}),
2055
2391
  tools: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconSparkleRegular, { size: 14 })
2056
2392
  };
2057
- function processScrollEdges(element) {
2058
- return {
2059
- canScrollUp: element.scrollTop > 1,
2060
- canScrollDown: element.scrollTop < element.scrollHeight - element.clientHeight - 1
2061
- };
2062
- }
2063
- function sameProcessScrollEdges(left, right) {
2064
- return left.canScrollUp === right.canScrollUp && left.canScrollDown === right.canScrollDown;
2065
- }
2066
2393
  function sameLiveProcessTitle(left, right) {
2067
- return left.activity === right.activity && left.detail === right.detail;
2394
+ return left.activity === right.activity && left.detail === right.detail && left.preparing === right.preparing;
2068
2395
  }
2069
2396
  function useStableLiveProcessTitle(desired, active) {
2070
2397
  const [displayed, setDisplayed] = (0, react.useState)(desired);
@@ -2092,7 +2419,8 @@ window.__ModuleLoader__.load({
2092
2419
  }, [
2093
2420
  active,
2094
2421
  desired.activity,
2095
- desired.detail
2422
+ desired.detail,
2423
+ desired.preparing
2096
2424
  ]);
2097
2425
  return active ? displayed : desired;
2098
2426
  }
@@ -2109,10 +2437,11 @@ window.__ModuleLoader__.load({
2109
2437
  const detailed = usePresentation((policy) => data?.closed === false && policy.liveProcessDetail);
2110
2438
  const live = useStableLiveProcessTitle({
2111
2439
  activity: data?.summary.running ?? "thinking",
2112
- detail: data?.summary.runningDetail ?? ""
2440
+ detail: data?.summary.runningDetail ?? "",
2441
+ preparing: data?.summary.preparing === true
2113
2442
  }, data !== void 0 && !data.closed);
2114
2443
  if (data === void 0) return null;
2115
- const label = data.closed ? processTitle(data.summary, t) : t(`message.stepProcess.${live.activity}`);
2444
+ const label = data.closed ? processTitle(data.summary, t) : live.preparing ? t(`message.stepProcess.prepare.${live.activity === "thinking" ? "tools" : live.activity}`) : t(`message.stepProcess.${live.activity}`);
2116
2445
  const detail = detailed && !data.closed ? live.detail : "";
2117
2446
  const title = detail === "" ? label : `${label}${t("message.turnProcess.separator")}${detail}`;
2118
2447
  const activity = data.closed ? data.summary.counts[0]?.kind ?? "thinking" : live.activity;
@@ -2149,15 +2478,16 @@ window.__ModuleLoader__.load({
2149
2478
  const ChatGroupSeat = (0, react.memo)(function ChatGroupSeat({ groupKey, useChatGroup, ...props }) {
2150
2479
  const members = useChatGroup(groupKey, (group) => group?.members);
2151
2480
  const turn = useChatGroup(groupKey, (group) => group?.data.turn);
2481
+ const closed = useChatGroup(groupKey, (group) => group?.data.closed);
2152
2482
  const foldCompleted = props.usePresentation((policy) => policy.foldCompletedTurns);
2153
- const { expanded: open, setExpanded: setOpen, toggle } = useDisclosure();
2483
+ const { expanded: open, setExpanded: setOpen } = useDisclosure();
2154
2484
  const firstKey = members?.[0]?.key ?? "";
2155
2485
  const presentation = props.useChatNodeProcess(firstKey);
2156
2486
  const turnLocation = props.useChatNode(firstKey, (node) => {
2157
2487
  const location = node?.location;
2158
2488
  return location?.kind === "turn" || location?.kind === "step" ? location.turn : void 0;
2159
2489
  });
2160
- const grouped = props.usePresentation((policy) => turnLocation?.status !== "open" || policy.stepGrouping !== "none");
2490
+ const grouped = props.usePresentation((policy) => policy.stepGrouping === "collapsed" || policy.stepGrouping === "history" && turnLocation?.status !== "open");
2161
2491
  const reason = turnLocation?.end?.data.reason.kind;
2162
2492
  const alwaysOpen = presentation?.turnClosed === false || presentation?.hasInterleavedInput === true || reason === "aborted" || reason === "error";
2163
2493
  const spec = presentation?.spec;
@@ -2184,25 +2514,15 @@ window.__ModuleLoader__.load({
2184
2514
  const bodyRef = useSearchableHidden(grouped && !open, reveal);
2185
2515
  const contentRef = (0, react.useRef)(null);
2186
2516
  const bodyId = (0, react.useId)();
2187
- const [edges, setEdges] = (0, react.useState)(PROCESS_SCROLL_AT_REST);
2188
- const sync = (0, react.useCallback)(() => {
2189
- const body = bodyRef.current;
2190
- const next = body === null || body.closest("[hidden], [data-group-expanded-mode]") !== null ? PROCESS_SCROLL_AT_REST : processScrollEdges(body);
2191
- setEdges((previous) => sameProcessScrollEdges(previous, next) ? previous : next);
2192
- }, [bodyRef]);
2193
- (0, react.useLayoutEffect)(() => {
2194
- const body = bodyRef.current;
2195
- if (body === null || !open || typeof ResizeObserver === "undefined") return;
2196
- const observer = new ResizeObserver(sync);
2197
- observer.observe(body);
2198
- if (contentRef.current !== null) observer.observe(contentRef.current);
2199
- return () => {
2200
- observer.disconnect();
2201
- };
2517
+ const { edges, events, initialize } = useProcessScroll(bodyRef, contentRef, open, grouped);
2518
+ const toggle = (0, react.useCallback)(() => {
2519
+ if (!open) initialize(closed === false ? "bottom" : "top");
2520
+ setOpen(!open);
2202
2521
  }, [
2203
- bodyRef,
2522
+ closed,
2523
+ initialize,
2204
2524
  open,
2205
- sync
2525
+ setOpen
2206
2526
  ]);
2207
2527
  if (members === void 0) return null;
2208
2528
  const classes = [
@@ -2239,7 +2559,7 @@ window.__ModuleLoader__.load({
2239
2559
  "data-step-process-body": true,
2240
2560
  "data-scroll-up": edges.canScrollUp || void 0,
2241
2561
  "data-scroll-down": edges.canScrollDown || void 0,
2242
- onScroll: sync,
2562
+ ...events,
2243
2563
  children: (0, react_jsx_runtime.jsx)("div", {
2244
2564
  ref: contentRef,
2245
2565
  className: ChatGroupSeat_module_css_default.content,
@@ -3432,7 +3752,7 @@ window.__ModuleLoader__.load({
3432
3752
  }
3433
3753
  //#endregion
3434
3754
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-chat/src/client/chat/TurnNavigator.module.css.mjs
3435
- const css$11 = ".fjFC3a_slot{z-index:7;pointer-events:none;height:0;position:sticky;top:0}.fjFC3a_frame{--turn-rail-band:calc(var(--dsh-conversation-viewport-height,100dvh) - var(--dsh-composer-height,152px));--turn-preview-height:100px;top:calc(var(--turn-rail-band) / 2);right:calc(12px - (var(--dsh-composer-side-clearance) + 16px));width:28px;max-height:min(max(0px, calc(var(--turn-rail-band) - 64px)), 420px);contain:layout;cursor:pointer;pointer-events:auto;position:absolute;transform:translateY(-50%)}.fjFC3a_scroller{max-height:inherit;overscroll-behavior:contain;scrollbar-width:none;position:relative;overflow-y:auto}.fjFC3a_scroller::-webkit-scrollbar{display:none}.fjFC3a_fadeTop{mask-image:linear-gradient(#0000 0,#000 24px 100%)}.fjFC3a_fadeBottom{mask-image:linear-gradient(#000 0 calc(100% - 24px),#0000 100%)}.fjFC3a_fadeTop.fjFC3a_fadeBottom{mask-image:linear-gradient(#0000 0,#000 24px calc(100% - 24px),#0000 100%)}.fjFC3a_marks{position:relative}.fjFC3a_mark{cursor:pointer;background:0 0;border:0;border-radius:8px;height:10px;padding:0;position:absolute;top:0;left:0;right:0}.fjFC3a_mark:before{background:var(--dsw-alias-border-l4);content:\"\";transform-origin:100%;border-radius:2px;width:20px;height:2px;transition:transform .14s,background-color .14s;position:absolute;top:50%;right:0;transform:translateY(-50%)scaleX(.6)}.fjFC3a_markUnloaded:before{opacity:.6;transform:translateY(-50%)scaleX(.4)}.fjFC3a_markPreview:before{background:var(--dsw-alias-label-tertiary);transform:translateY(-50%)scaleX(.9)}.fjFC3a_markBusy:before{animation:1s ease-in-out infinite fjFC3a_dsh-turn-mark-busy}.fjFC3a_markActive:before{background:var(--dsw-alias-label-primary);transform:translateY(-50%)scaleX(1)}.fjFC3a_mark:focus-visible:before{background:var(--dsw-alias-state-business-primary);transform:translateY(-50%)scaleX(1)}.fjFC3a_mark:focus-visible{outline:none}.fjFC3a_mark:focus-visible:after{border-radius:inherit;outline:1px solid var(--dsw-alias-state-business-primary);outline-offset:2px;content:\"\";width:20px;position:absolute;inset:0 0 0 auto}.fjFC3a_preview{top:clamp(0px, calc(var(--turn-preview-center) - var(--turn-preview-height) / 2), calc(100% - var(--turn-preview-height)));box-sizing:border-box;width:min(300px,100cqw - 120px);max-height:var(--turn-preview-height);color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-layer-1);box-shadow:var(--dsw-elevation-panel);pointer-events:none;border:0;border-radius:10px;padding:10px 12px;transition:top .14s cubic-bezier(.2,.8,.2,1);animation:.12s ease-out fjFC3a_dsh-turn-preview-enter;position:absolute;right:calc(100% + 10px);overflow:hidden}.fjFC3a_previewPrompt,.fjFC3a_previewResponse{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.fjFC3a_previewPrompt{font:var(--dsw-font-xs-strong-13);-webkit-line-clamp:1}.fjFC3a_previewResponse{color:var(--dsw-alias-label-caption);font:var(--dsw-font-xxs-12);-webkit-line-clamp:3;margin-top:4px}@keyframes fjFC3a_dsh-turn-preview-enter{0%{opacity:0;transform:translate(4px)}to{opacity:1;transform:translate(0)}}@keyframes fjFC3a_dsh-turn-mark-busy{0%,to{opacity:1}50%{opacity:.35}}@container (width<=900px){.fjFC3a_slot{display:none}}@media (prefers-reduced-motion:reduce){.fjFC3a_frame,.fjFC3a_scroller,.fjFC3a_mark:before,.fjFC3a_markBusy:before,.fjFC3a_preview{scroll-behavior:auto;transition:none;animation:none}}";
3755
+ const css$11 = ".fjFC3a_slot{z-index:7;height:0;padding-inline:calc(var(--dsh-composer-side-clearance) + 16px);pointer-events:none;position:absolute;top:0;left:0;right:0;container-type:inline-size}[data-conversation-scroll] .fjFC3a_slot{position:sticky}.fjFC3a_frame{--turn-rail-band:calc(var(--dsh-conversation-viewport-height,100dvh) - var(--dsh-composer-height,152px));--turn-preview-height:100px;top:calc(var(--turn-rail-band) / 2);width:28px;max-height:min(max(0px, calc(var(--turn-rail-band) - 64px)), 420px);contain:layout;cursor:pointer;pointer-events:auto;position:absolute;right:12px;transform:translateY(-50%)}.fjFC3a_scroller{max-height:inherit;overscroll-behavior:contain;scrollbar-width:none;position:relative;overflow-y:auto}.fjFC3a_scroller::-webkit-scrollbar{display:none}.fjFC3a_fadeTop{mask-image:linear-gradient(#0000 0,#000 24px 100%)}.fjFC3a_fadeBottom{mask-image:linear-gradient(#000 0 calc(100% - 24px),#0000 100%)}.fjFC3a_fadeTop.fjFC3a_fadeBottom{mask-image:linear-gradient(#0000 0,#000 24px calc(100% - 24px),#0000 100%)}.fjFC3a_marks{position:relative}.fjFC3a_mark{cursor:pointer;background:0 0;border:0;border-radius:8px;height:10px;padding:0;position:absolute;top:0;left:0;right:0}.fjFC3a_mark:before{background:var(--dsw-alias-border-l4);content:\"\";transform-origin:100%;border-radius:2px;width:20px;height:2px;transition:transform .14s,background-color .14s;position:absolute;top:50%;right:0;transform:translateY(-50%)scaleX(.6)}.fjFC3a_markUnloaded:before{opacity:.6;transform:translateY(-50%)scaleX(.4)}.fjFC3a_markPreview:before{background:var(--dsw-alias-label-tertiary);transform:translateY(-50%)scaleX(.9)}.fjFC3a_markBusy:before{animation:1s ease-in-out infinite fjFC3a_dsh-turn-mark-busy}.fjFC3a_markActive:before{background:var(--dsw-alias-label-primary);transform:translateY(-50%)scaleX(1)}.fjFC3a_mark:focus-visible:before{background:var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));transform:translateY(-50%)scaleX(1)}.fjFC3a_mark:focus-visible{outline:none}.fjFC3a_mark:focus-visible:after{border-radius:inherit;outline:1px solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-1px;content:\"\";width:20px;position:absolute;inset:0 0 0 auto}.fjFC3a_preview{top:clamp(0px, calc(var(--turn-preview-center) - var(--turn-preview-height) / 2), calc(100% - var(--turn-preview-height)));box-sizing:border-box;width:min(300px,100cqw - 120px);max-height:var(--turn-preview-height);border-radius:var(--dsw-radius-lg);color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-layer-1);box-shadow:var(--dsw-elevation-panel);pointer-events:none;border:0;padding:10px 12px;transition:top .14s cubic-bezier(.2,.8,.2,1);animation:.12s ease-out fjFC3a_dsh-turn-preview-enter;position:absolute;right:calc(100% + 10px);overflow:hidden}.fjFC3a_previewPrompt,.fjFC3a_previewResponse{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.fjFC3a_previewPrompt{font:var(--dsw-font-xs-strong-13);-webkit-line-clamp:1}.fjFC3a_previewResponse{color:var(--dsw-alias-label-caption);font:var(--dsw-font-xxs-12);-webkit-line-clamp:3;margin-top:4px}@keyframes fjFC3a_dsh-turn-preview-enter{0%{opacity:0;transform:translate(4px)}to{opacity:1;transform:translate(0)}}@keyframes fjFC3a_dsh-turn-mark-busy{0%,to{opacity:1}50%{opacity:.35}}@container (width<=900px){.fjFC3a_frame{display:none}}@media (prefers-reduced-motion:reduce){.fjFC3a_frame,.fjFC3a_scroller,.fjFC3a_mark:before,.fjFC3a_markBusy:before,.fjFC3a_preview{scroll-behavior:auto;transition:none;animation:none}}";
3436
3756
  const tagId$11 = "@deepseek-ai/dsh-client-ui-chat/TurnNavigator.module.css";
3437
3757
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$11) + "]") === null) {
3438
3758
  const tag = document.createElement("style");
@@ -4030,14 +4350,16 @@ window.__ModuleLoader__.load({
4030
4350
  store;
4031
4351
  state;
4032
4352
  onChange;
4353
+ follow;
4033
4354
  sampleTimer = null;
4034
4355
  probeFrame = null;
4035
4356
  sampled = null;
4036
- constructor(viewport, store, state, onChange) {
4357
+ constructor(viewport, store, state, onChange, follow) {
4037
4358
  this.viewport = viewport;
4038
4359
  this.store = store;
4039
4360
  this.state = state;
4040
4361
  this.onChange = onChange;
4362
+ this.follow = follow;
4041
4363
  }
4042
4364
  /**
4043
4365
  * Expose pending reader ownership to navigation and resize handlers.
@@ -4086,7 +4408,7 @@ window.__ModuleLoader__.load({
4086
4408
  }
4087
4409
  /** Land at the current floor and clear saved reader position. */
4088
4410
  followTail() {
4089
- const landing = this.viewport.scrollToBottom();
4411
+ const landing = this.viewport.scrollToBottom(this.follow);
4090
4412
  if (landing === null) return;
4091
4413
  this.cancelPending();
4092
4414
  this.commit(landing, true, this.viewport.latestTurn);
@@ -4101,7 +4423,7 @@ window.__ModuleLoader__.load({
4101
4423
  const landing = this.viewport.restore(saved);
4102
4424
  if (landing === null) return;
4103
4425
  this.cancelPending();
4104
- const following = this.nearBottom(landing.metrics);
4426
+ const following = this.follow.nearBottom(landing.metrics);
4105
4427
  this.commit(landing, following, following ? this.viewport.latestTurn : this.state.activeTurn, following);
4106
4428
  if (!this.state.followingTail && landing.position === null) {
4107
4429
  const position = this.viewport.capturePosition();
@@ -4115,7 +4437,7 @@ window.__ModuleLoader__.load({
4115
4437
  */
4116
4438
  acceptNavigation(landing) {
4117
4439
  this.cancelPending();
4118
- const following = this.nearBottom(landing.metrics);
4440
+ const following = this.follow.nearBottom(landing.metrics);
4119
4441
  this.commit(landing, following, landing.turn ?? (following ? this.viewport.latestTurn : this.state.activeTurn));
4120
4442
  }
4121
4443
  /**
@@ -4167,9 +4489,6 @@ window.__ModuleLoader__.load({
4167
4489
  if (typeof requestAnimationFrame !== "function") this.probe();
4168
4490
  else this.probeFrame = requestAnimationFrame(this.probe);
4169
4491
  }
4170
- nearBottom(metrics) {
4171
- return metrics.floor - metrics.top <= 25;
4172
- }
4173
4492
  commit(landing, followingTail, activeTurn, initialized = true) {
4174
4493
  if (followingTail) this.store.save(null);
4175
4494
  else if (landing.position !== null) this.store.save(landing.position);
@@ -4180,6 +4499,7 @@ window.__ModuleLoader__.load({
4180
4499
  });
4181
4500
  }
4182
4501
  publish(state) {
4502
+ this.follow.setFollowing(state.followingTail);
4183
4503
  if (state.initialized === this.state.initialized && state.followingTail === this.state.followingTail && state.activeTurn === this.state.activeTurn) return;
4184
4504
  this.state = state;
4185
4505
  this.onChange(state);
@@ -4195,7 +4515,7 @@ window.__ModuleLoader__.load({
4195
4515
  if (this.pending) return;
4196
4516
  const scroll = this.viewport.readScroll();
4197
4517
  if (scroll === null) return;
4198
- const activeTurn = this.nearBottom(scroll.metrics) ? this.viewport.latestTurn : this.viewport.readVisibleTurn(scroll.metrics);
4518
+ const activeTurn = this.follow.nearBottom(scroll.metrics) ? this.viewport.latestTurn : this.viewport.readVisibleTurn(scroll.metrics);
4199
4519
  this.publish({
4200
4520
  ...this.state,
4201
4521
  initialized: true,
@@ -4207,14 +4527,14 @@ window.__ModuleLoader__.load({
4207
4527
  this.cancelPending();
4208
4528
  const scroll = this.viewport.readScroll();
4209
4529
  if (scroll === null) return;
4210
- const followingTail = scroll.movedByReader ? this.nearBottom(scroll.metrics) : this.state.followingTail;
4530
+ const followingTail = this.follow.sample(scroll.metrics, scroll.movedByReader);
4211
4531
  let position = null;
4212
4532
  if (!scroll.movedByReader && followingTail) this.followTail();
4213
4533
  else {
4214
4534
  position = followingTail ? null : this.viewport.capturePosition();
4215
4535
  this.viewport.acknowledge(scroll.metrics);
4216
4536
  if (followingTail || position !== null) this.store.save(position);
4217
- const activeTurn = this.nearBottom(scroll.metrics) ? this.viewport.latestTurn : this.viewport.readVisibleTurn(scroll.metrics);
4537
+ const activeTurn = this.follow.nearBottom(scroll.metrics) ? this.viewport.latestTurn : this.viewport.readVisibleTurn(scroll.metrics);
4218
4538
  this.publish({
4219
4539
  initialized: true,
4220
4540
  followingTail,
@@ -4241,7 +4561,8 @@ window.__ModuleLoader__.load({
4241
4561
  followingTail: store.read() === null,
4242
4562
  activeTurn: initialTurn
4243
4563
  }));
4244
- const [reading] = (0, react.useState)(() => new ChatReading(viewport, store, state, setState));
4564
+ const follow = useScrollFollow(state.followingTail, 25);
4565
+ const [reading] = (0, react.useState)(() => new ChatReading(viewport, store, state, setState, follow));
4245
4566
  (0, react.useLayoutEffect)(() => {
4246
4567
  reading.setStore(store);
4247
4568
  }, [reading, store]);
@@ -4389,12 +4710,7 @@ window.__ModuleLoader__.load({
4389
4710
  metrics() {
4390
4711
  const scroller = this.elements?.scroller;
4391
4712
  if (scroller === void 0) return null;
4392
- const height = scroller.clientHeight;
4393
- return {
4394
- top: scroller.scrollTop,
4395
- height,
4396
- floor: Math.max(0, scroller.scrollHeight - height)
4397
- };
4713
+ return scrollMetrics(scroller);
4398
4714
  }
4399
4715
  anchor(key, identity = "position") {
4400
4716
  if (this.elements === null) return null;
@@ -4572,6 +4888,7 @@ window.__ModuleLoader__.load({
4572
4888
  }
4573
4889
  /**
4574
4890
  * Compensate inner scrolling first, then the outer scrollport, within their actual scroll ranges.
4891
+ * An inner write pauses its bound follow controller so the reading anchor takes priority.
4575
4892
  * @returns the actual landing, or null when no visible retained row remains.
4576
4893
  */
4577
4894
  preserve() {
@@ -4594,9 +4911,16 @@ window.__ModuleLoader__.load({
4594
4911
  }
4595
4912
  if (group !== null && group.body.contains(row)) {
4596
4913
  const top = row.getBoundingClientRect().top - group.body.getBoundingClientRect().top;
4597
- const floor = Math.max(0, group.body.scrollHeight - group.body.clientHeight);
4598
- const target = Math.max(0, Math.min(floor, group.body.scrollTop + top - group.top));
4599
- if (group.body.scrollTop !== target) group.body.scrollTop = target;
4914
+ const metrics = scrollMetrics(group.body);
4915
+ const target = Math.max(0, Math.min(metrics.floor, metrics.top + top - group.top));
4916
+ if (metrics.top !== target) {
4917
+ const follow = ScrollFollow.forElement(group.body);
4918
+ if (follow === void 0) group.body.scrollTop = target;
4919
+ else {
4920
+ follow.jump(group.body, metrics, target);
4921
+ follow.setFollowing(false);
4922
+ }
4923
+ }
4600
4924
  }
4601
4925
  const metrics = this.metrics();
4602
4926
  if (metrics === null) return null;
@@ -4609,11 +4933,22 @@ window.__ModuleLoader__.load({
4609
4933
  }
4610
4934
  /**
4611
4935
  * Align the scrollport with its current floor.
4936
+ * @param follow - independent follow intent and scrolling controller.
4612
4937
  * @returns the actual floor landing, or null while detached.
4613
4938
  */
4614
- scrollToBottom() {
4939
+ scrollToBottom(follow) {
4615
4940
  const metrics = this.metrics();
4616
- return metrics === null ? null : this.write(metrics.floor, metrics, this.latestTurn);
4941
+ if (metrics === null || this.elements === null) return null;
4942
+ const landing = {
4943
+ metrics: follow.toBottom(this.elements.scroller, metrics, "instant"),
4944
+ position: null,
4945
+ turn: this.latestTurn
4946
+ };
4947
+ this.observation = {
4948
+ top: landing.metrics.top,
4949
+ landing
4950
+ };
4951
+ return landing;
4617
4952
  }
4618
4953
  align(row, offset, turn) {
4619
4954
  const metrics = this.metrics();
@@ -4837,29 +5172,28 @@ window.__ModuleLoader__.load({
4837
5172
  return message === "" ? fallback : message;
4838
5173
  }
4839
5174
  /**
4840
- * Prompt-RPC identities already rendered by durable material: user/steering
4841
- * node sources plus queue occurrences. A submission echo whose identity
4842
- * appears here is hidden in the same render, so the echo→durable swap is
4843
- * atomic — no duplicate, no gap — regardless of when the echo leaves the
4844
- * session snapshot.
5175
+ * Durable input identities suppress matching echoes in the same render.
5176
+ * The last input's Turn also distinguishes an empty opening control from
5177
+ * one whose human input or trigger notice is already present.
4845
5178
  */
4846
- function observedRpcIds(order, nodes, inbox) {
5179
+ function observedInputs(order, nodes) {
4847
5180
  const observed = /* @__PURE__ */ new Set();
5181
+ let lastInputTurn;
4848
5182
  for (const key of order) {
4849
5183
  const node = nodes.get(key);
4850
- if (node === void 0 || node.kind !== "user" && node.kind !== "steering") continue;
5184
+ if (node === void 0 || node.kind !== "user" && node.kind !== "steering" && node.kind !== "turn-trigger") continue;
5185
+ if (node.location.kind === "turn" || node.location.kind === "step") lastInputTurn = node.location.turn.turn;
5186
+ if (node.kind === "turn-trigger") continue;
4851
5187
  const source = node.data.source;
4852
5188
  if (source?.kind === "user" && typeof source.rpcId === "string") observed.add(source.rpcId);
4853
5189
  }
4854
- const pending = /* @__PURE__ */ new Set();
4855
- for (const { source } of [...inbox?.["next-turn"] ?? [], ...inbox?.["next-step"] ?? []]) if (source.kind === "user" && "rpcId" in source) pending.add(source.rpcId);
4856
5190
  return {
4857
- durable: observed,
4858
- pending
5191
+ rpcIds: observed,
5192
+ lastInputTurn
4859
5193
  };
4860
5194
  }
4861
- const ChatNodeList = (0, react.memo)(function ChatNodeList({ entries, useChatGroup, ...seatProps }) {
4862
- return entries.map((entry) => {
5195
+ const ChatNodeList = (0, react.memo)(function ChatNodeList({ entries, useChatGroup, pendingInputs, lastInputTurn, ...seatProps }) {
5196
+ const rows = entries.map((entry) => {
4863
5197
  switch (entry.kind) {
4864
5198
  case "node": return (0, react.createElement)(ChatNodeSeat, {
4865
5199
  ...seatProps,
@@ -4876,6 +5210,22 @@ window.__ModuleLoader__.load({
4876
5210
  default: return assertNever(entry);
4877
5211
  }
4878
5212
  });
5213
+ const pendingRows = pendingInputs.map((item) => "requestId" in item ? (0, react_jsx_runtime.jsx)(PendingSubmissionBubble, {
5214
+ submission: item,
5215
+ renderMessageImages: seatProps.renderMessageImages,
5216
+ t: seatProps.t
5217
+ }, item.requestId) : (0, react_jsx_runtime.jsx)(PendingSteeringBubble, {
5218
+ content: item.content,
5219
+ renderMessageImages: seatProps.renderMessageImages,
5220
+ t: seatProps.t
5221
+ }, item.id));
5222
+ const tail = entries.at(-1);
5223
+ const node = tail?.kind === "node" ? seatProps.nodeStore.get(tail.key) : void 0;
5224
+ if (node?.kind === "turn-process" && node.location.kind === "turn" && node.location.turn.status === "open" && node.location.turn.turn !== lastInputTurn) {
5225
+ const index = pendingInputs.findIndex((item) => "requestId" in item && item.placement === "transcript");
5226
+ if (index !== -1) rows.splice(rows.length - 1, 0, ...pendingRows.splice(index, 1));
5227
+ }
5228
+ return [...rows, ...pendingRows];
4879
5229
  });
4880
5230
  /**
4881
5231
  * The chat view slot entry: pure component over the composed props; each
@@ -4894,6 +5244,16 @@ window.__ModuleLoader__.load({
4894
5244
  const railItems = (0, react.useMemo)(() => mergeTurnRailItems(turnNavigationItems, turnOutline), [turnNavigationItems, turnOutline]);
4895
5245
  const inbox = useProjection("inbox");
4896
5246
  const cwd = useSessions((s) => s.byId[sessionId]?.cwd);
5247
+ const fileImages = (0, react.useMemo)(() => ({
5248
+ resolve: (path) => fileMediaUrl(document.baseURI, resolveWorkspacePath(cwd, path)),
5249
+ labels: {
5250
+ open: t("image.open"),
5251
+ loading: t("image.loading"),
5252
+ failed: t("image.failed"),
5253
+ dialog: t("image.dialog"),
5254
+ close: t("image.close")
5255
+ }
5256
+ }), [cwd, t]);
4897
5257
  const running = useSession((s) => s.running);
4898
5258
  const openState = useSession((s) => s.openState);
4899
5259
  const openError = useSession((s) => s.openError);
@@ -4926,27 +5286,31 @@ window.__ModuleLoader__.load({
4926
5286
  const inboxSteering = (0, react.useMemo)(() => inbox?.["next-step"].filter((message) => message.source.kind === "user") ?? [], [inbox]);
4927
5287
  const inboxInjections = (0, react.useMemo)(() => inbox?.["next-step"].filter((message) => message.source.kind !== "user") ?? [], [inbox]);
4928
5288
  const pendingSubmissions = useSession((s) => s.pendingSubmissions);
4929
- const visibleSubmissions = (0, react.useMemo)(() => {
4930
- if (pendingSubmissions.length === 0) return pendingSubmissions;
4931
- const observed = observedRpcIds(order, nodeStore, inbox);
4932
- return pendingSubmissions.filter((submission) => submission.placement !== "queued" && !observed.durable.has(submission.requestId) && (submission.placement === "steering" || !observed.pending.has(submission.requestId)));
5289
+ const [visibleSubmissions, lastInputTurn] = (0, react.useMemo)(() => {
5290
+ if (pendingSubmissions.length === 0) return [pendingSubmissions, void 0];
5291
+ const observed = observedInputs(order, nodeStore);
5292
+ return [pendingSubmissions.filter((submission) => submission.placement !== "queued" && !observed.rpcIds.has(submission.requestId)), observed.lastInputTurn];
4933
5293
  }, [
4934
5294
  pendingSubmissions,
4935
5295
  order,
4936
- nodeStore,
4937
- inbox
5296
+ nodeStore
4938
5297
  ]);
4939
5298
  const pendingInputs = (0, react.useMemo)(() => {
4940
5299
  const local = new Map(visibleSubmissions.map((submission) => [submission.requestId, submission]));
4941
- return [...inboxSteering.map((item) => {
5300
+ const localIds = new Set(pendingSubmissions.filter((submission) => submission.placement !== "queued").map((submission) => submission.requestId));
5301
+ return [...inboxSteering.flatMap((item) => {
4942
5302
  const source = item.source;
4943
- if (source.kind !== "user" || !("rpcId" in source)) return item;
5303
+ if (source.kind !== "user" || !("rpcId" in source)) return [item];
4944
5304
  const submission = local.get(source.rpcId);
4945
- if (submission === void 0) return item;
5305
+ if (submission === void 0) return localIds.has(source.rpcId) ? [] : [item];
4946
5306
  local.delete(source.rpcId);
4947
- return submission;
5307
+ return [submission];
4948
5308
  }), ...local.values()];
4949
- }, [inboxSteering, visibleSubmissions]);
5309
+ }, [
5310
+ inboxSteering,
5311
+ pendingSubmissions,
5312
+ visibleSubmissions
5313
+ ]);
4950
5314
  const renderMessageImages = (0, react.useCallback)((owner) => renderSlot("conversation.message.images", {
4951
5315
  ...owner,
4952
5316
  loadImage
@@ -4973,109 +5337,107 @@ window.__ModuleLoader__.load({
4973
5337
  loadedTurns: turnNavigationItems
4974
5338
  });
4975
5339
  return (0, react_jsx_runtime.jsxs)("div", {
4976
- className: ChatView_module_css_default.root,
4977
- "data-chat-following-tail": scroll.followingTail ? "" : void 0,
4978
- children: [(0, react_jsx_runtime.jsxs)("div", {
4979
- ref: scroll.listRef,
4980
- className: ChatView_module_css_default.scroll,
4981
- children: [
4982
- scroll.initialized && (0, react_jsx_runtime.jsx)(TurnNavigator, {
4983
- items: railItems,
4984
- activeTurn: scroll.activeTurn,
4985
- busyTurn: scroll.busyTurn,
4986
- onNavigate: scroll.navigateToTurn,
4987
- t
4988
- }),
4989
- (0, react_jsx_runtime.jsxs)("div", {
4990
- ref: scroll.columnRef,
4991
- className: ChatView_module_css_default.column,
4992
- "data-chat-flow": "",
4993
- children: [
4994
- openState === "loading" && (0, react_jsx_runtime.jsx)("div", {
4995
- className: ChatView_module_css_default.hint,
4996
- children: t("chat.loadingHistory")
4997
- }),
4998
- openState === "error" && openError !== null && (0, react_jsx_runtime.jsx)("div", {
4999
- className: ChatView_module_css_default.openError,
5000
- children: t("chat.loadError", {
5001
- message: openError.message,
5002
- code: openError.code
5003
- })
5004
- }),
5005
- hasMore && (0, react_jsx_runtime.jsx)("div", {
5006
- className: ChatView_module_css_default.older,
5007
- children: (0, react_jsx_runtime.jsx)("button", {
5008
- type: "button",
5009
- disabled: loadingOlder,
5010
- onClick: scroll.loadEarlier,
5011
- children: loadingOlder ? t("loading") : t("chat.loadOlder")
5012
- })
5013
- }),
5014
- (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.MarkdownDelegateProvider, {
5015
- openExternalLink,
5016
- openFile: requestOpenFile,
5017
- children: (0, react_jsx_runtime.jsx)(ChatNodeList, {
5018
- entries,
5019
- nodeStore,
5020
- useChatGroup,
5021
- useChatNode,
5022
- useChatNodeProcess,
5023
- usePresentation,
5024
- useStore,
5025
- actions,
5026
- cwd,
5340
+ className: ChatView_module_css_default.frame,
5341
+ children: [
5342
+ scroll.initialized && (0, react_jsx_runtime.jsx)(TurnNavigator, {
5343
+ items: railItems,
5344
+ activeTurn: scroll.activeTurn,
5345
+ busyTurn: scroll.busyTurn,
5346
+ onNavigate: scroll.navigateToTurn,
5347
+ t
5348
+ }),
5349
+ (0, react_jsx_runtime.jsx)("div", {
5350
+ className: ChatView_module_css_default.root,
5351
+ "data-chat-following-tail": scroll.followingTail ? "" : void 0,
5352
+ children: (0, react_jsx_runtime.jsx)("div", {
5353
+ ref: scroll.listRef,
5354
+ className: ChatView_module_css_default.scroll,
5355
+ children: (0, react_jsx_runtime.jsxs)("div", {
5356
+ ref: scroll.columnRef,
5357
+ className: ChatView_module_css_default.column,
5358
+ "data-chat-flow": "",
5359
+ children: [
5360
+ openState === "loading" && (0, react_jsx_runtime.jsx)("div", {
5361
+ className: ChatView_module_css_default.hint,
5362
+ children: t("chat.loadingHistory")
5363
+ }),
5364
+ openState === "error" && openError !== null && (0, react_jsx_runtime.jsx)("div", {
5365
+ className: ChatView_module_css_default.openError,
5366
+ children: t("chat.loadError", {
5367
+ message: openError.message,
5368
+ code: openError.code
5369
+ })
5370
+ }),
5371
+ hasMore && (0, react_jsx_runtime.jsx)("div", {
5372
+ className: ChatView_module_css_default.older,
5373
+ children: (0, react_jsx_runtime.jsx)("button", {
5374
+ type: "button",
5375
+ disabled: loadingOlder,
5376
+ onClick: scroll.loadEarlier,
5377
+ children: loadingOlder ? t("loading") : t("chat.loadOlder")
5378
+ })
5379
+ }),
5380
+ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.MarkdownDelegateProvider, {
5381
+ openExternalLink,
5027
5382
  openFile: requestOpenFile,
5028
- openSkill,
5029
- inspectCall,
5030
- forkAt,
5031
- loadImage,
5032
- renderMessageImages,
5033
- fileMentions,
5034
- renderSlot,
5035
- t
5036
- })
5037
- }),
5038
- pendingInputs.map((item) => "requestId" in item ? (0, react_jsx_runtime.jsx)(PendingSubmissionBubble, {
5039
- submission: item,
5040
- renderMessageImages,
5041
- t
5042
- }, item.requestId) : (0, react_jsx_runtime.jsx)(PendingSteeringBubble, {
5043
- content: item.content,
5044
- renderMessageImages,
5045
- t
5046
- }, item.id)),
5047
- inboxInjections.map((item) => (0, react_jsx_runtime.jsx)("div", {
5048
- "data-pending-injection": "",
5049
- children: (0, react_jsx_runtime.jsx)(ContextInjectionRow, {
5050
- content: item.content,
5051
- source: item.source,
5052
- producer: contextProducer(item.source),
5053
- form: contextForm(item.source),
5054
- t
5055
- })
5056
- }, item.id))
5057
- ]
5058
- }),
5059
- !scroll.followingTail && (0, react_jsx_runtime.jsx)("div", {
5060
- className: ChatView_module_css_default.toBottomSlot,
5061
- children: (0, react_jsx_runtime.jsx)("button", {
5062
- type: "button",
5063
- className: ChatView_module_css_default.toBottom,
5064
- "aria-label": t("chat.toBottom"),
5065
- onClick: scroll.returnToBottom,
5066
- children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {})
5383
+ fileImages,
5384
+ children: (0, react_jsx_runtime.jsx)(ChatNodeList, {
5385
+ entries,
5386
+ pendingInputs,
5387
+ lastInputTurn,
5388
+ nodeStore,
5389
+ useChatGroup,
5390
+ useChatNode,
5391
+ useChatNodeProcess,
5392
+ usePresentation,
5393
+ useStore,
5394
+ actions,
5395
+ cwd,
5396
+ openFile: requestOpenFile,
5397
+ openSkill,
5398
+ inspectCall,
5399
+ forkAt,
5400
+ loadImage,
5401
+ renderMessageImages,
5402
+ fileMentions,
5403
+ renderSlot,
5404
+ t
5405
+ })
5406
+ }),
5407
+ inboxInjections.map((item) => (0, react_jsx_runtime.jsx)("div", {
5408
+ "data-pending-injection": "",
5409
+ children: (0, react_jsx_runtime.jsx)(ContextInjectionRow, {
5410
+ content: item.content,
5411
+ source: item.source,
5412
+ producer: contextProducer(item.source),
5413
+ form: contextForm(item.source),
5414
+ t
5415
+ })
5416
+ }, item.id))
5417
+ ]
5067
5418
  })
5068
5419
  })
5069
- ]
5070
- }), fileOpenError !== null && (0, react_jsx_runtime.jsx)(FileOpenErrorDialog, {
5071
- message: fileOpenError.message,
5072
- busy: fileOpenBusy,
5073
- onClose: closeFileOpenError,
5074
- onRetry: () => {
5075
- requestOpenFile(fileOpenError.path);
5076
- },
5077
- t
5078
- })]
5420
+ }),
5421
+ !scroll.followingTail && (0, react_jsx_runtime.jsx)("div", {
5422
+ className: ChatView_module_css_default.toBottomSlot,
5423
+ children: (0, react_jsx_runtime.jsx)("button", {
5424
+ type: "button",
5425
+ className: ChatView_module_css_default.toBottom,
5426
+ "aria-label": t("chat.toBottom"),
5427
+ onClick: scroll.returnToBottom,
5428
+ children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {})
5429
+ })
5430
+ }),
5431
+ fileOpenError !== null && (0, react_jsx_runtime.jsx)(FileOpenErrorDialog, {
5432
+ message: fileOpenError.message,
5433
+ busy: fileOpenBusy,
5434
+ onClose: closeFileOpenError,
5435
+ onRetry: () => {
5436
+ requestOpenFile(fileOpenError.path);
5437
+ },
5438
+ t
5439
+ })
5440
+ ]
5079
5441
  });
5080
5442
  }
5081
5443
  /** In-page Host open-path refusal: the wire reason plus a retry of the same path. */
@@ -5109,25 +5471,42 @@ window.__ModuleLoader__.load({
5109
5471
  const zh = {
5110
5472
  "message.stepProcess.thinking": "正在分析请求",
5111
5473
  "message.stepProcess.read": "正在读取文件",
5474
+ "message.stepProcess.readImage": "正在读取图片",
5475
+ "message.stepProcess.write": "正在写入文件",
5112
5476
  "message.stepProcess.search": "正在搜索代码",
5113
5477
  "message.stepProcess.edit": "正在编辑文件",
5114
5478
  "message.stepProcess.commands": "正在运行命令",
5115
5479
  "message.stepProcess.code": "正在运行代码",
5116
5480
  "message.stepProcess.webSearch": "正在搜索网页",
5117
5481
  "message.stepProcess.webFetch": "正在访问网页",
5118
- "message.stepProcess.subagents": "正在协调子任务",
5482
+ "message.stepProcess.subagents": "正在协调子智能体",
5119
5483
  "message.stepProcess.plan": "正在更新计划",
5120
5484
  "message.stepProcess.questions": "等待你的操作",
5121
5485
  "message.stepProcess.tools": "正在调用工具",
5486
+ "message.stepProcess.prepare.read": "准备读取文件",
5487
+ "message.stepProcess.prepare.readImage": "准备读取图片",
5488
+ "message.stepProcess.prepare.write": "准备写入文件",
5489
+ "message.stepProcess.prepare.search": "准备搜索代码",
5490
+ "message.stepProcess.prepare.edit": "准备编辑文件",
5491
+ "message.stepProcess.prepare.commands": "准备运行命令",
5492
+ "message.stepProcess.prepare.code": "准备运行代码",
5493
+ "message.stepProcess.prepare.webSearch": "准备搜索网页",
5494
+ "message.stepProcess.prepare.webFetch": "准备访问网页",
5495
+ "message.stepProcess.prepare.subagents": "准备协调子智能体",
5496
+ "message.stepProcess.prepare.plan": "准备更新计划",
5497
+ "message.stepProcess.prepare.questions": "准备提问",
5498
+ "message.stepProcess.prepare.tools": "准备调用工具",
5122
5499
  "message.stepProcess.done.thinking": "已完成分析",
5123
5500
  "message.stepProcess.done.read": "已读取文件",
5501
+ "message.stepProcess.done.readImage": "已读取图片",
5502
+ "message.stepProcess.done.write": "已写入文件",
5124
5503
  "message.stepProcess.done.search": "已搜索代码",
5125
5504
  "message.stepProcess.done.edit": "修改了文件",
5126
5505
  "message.stepProcess.done.commands": "执行了命令",
5127
5506
  "message.stepProcess.done.code": "运行了代码",
5128
5507
  "message.stepProcess.done.webSearch": "已搜索网页",
5129
5508
  "message.stepProcess.done.webFetch": "已访问网页",
5130
- "message.stepProcess.done.subagents": "已协调子任务",
5509
+ "message.stepProcess.done.subagents": "已协调子智能体",
5131
5510
  "message.stepProcess.done.plan": "更新了计划",
5132
5511
  "message.stepProcess.done.questions": "向用户提出了问题",
5133
5512
  "message.stepProcess.done.tools": "已调用工具",
@@ -5151,6 +5530,11 @@ window.__ModuleLoader__.load({
5151
5530
  "message.turnProcess.took": "用时 {duration}",
5152
5531
  "message.turnProcess.failed": "处理失败",
5153
5532
  "view.chat": "对话",
5533
+ "image.open": "查看大图",
5534
+ "image.loading": "加载图片…",
5535
+ "image.failed": "图片无法预览",
5536
+ "image.dialog": "图片预览",
5537
+ "image.close": "关闭图片预览",
5154
5538
  "number.groupSeparator": ",",
5155
5539
  "duration.compactSeconds": "{seconds}秒",
5156
5540
  "duration.compactMinutes": "{minutes}分{seconds}秒",
@@ -5176,20 +5560,29 @@ window.__ModuleLoader__.load({
5176
5560
  "settings.performance.description": "选择性能与用量信息展示的详细程度",
5177
5561
  "settings.performance.compact": "简洁",
5178
5562
  "settings.performance.detailed": "详细",
5179
- "settings.links.title": "聊天链接打开方式",
5180
- "settings.links.description": "选择聊天中 HTTP(S) 链接的打开位置",
5181
- "settings.links.sidebar": "内置浏览器",
5182
- "settings.links.newTab": "浏览器新标签页",
5183
- "settings.transcript.title": "工作过程展示",
5184
- "settings.transcript.description": "控制轮次和步骤的默认展开方式",
5563
+ "settings.links.title": "网页链接默认打开方式",
5564
+ "settings.links.description": "对话中网页链接的打开位置",
5565
+ "settings.links.sidebar": "应用内侧边栏",
5566
+ "settings.links.newTab": "默认浏览器",
5567
+ "settings.transcript.title": "工作步骤展示",
5568
+ "settings.transcript.description": "选择希望看到多少工具调用细节",
5185
5569
  "settings.transcript.compact": "简洁",
5570
+ "settings.transcript.standard": "标准",
5186
5571
  "settings.transcript.detailed": "详细",
5187
- "settings.transcript.expanded": "完全展开",
5572
+ "settings.transcript.verbose": "完全展开",
5188
5573
  "fileOpen.title": "无法打开文件",
5189
5574
  "fileOpen.unknown": "无法打开此文件",
5190
5575
  "message.extraBlock": "附加内容块",
5191
5576
  "message.systemPrompt": "系统提示词",
5192
5577
  "message.systemPromptUpdate": "系统提示词更新",
5578
+ "message.toolAdded": "已添加工具:{name}",
5579
+ "message.toolRemoved": "已移除工具:{name}",
5580
+ "message.toolsAdded": "新增:{names}",
5581
+ "message.toolsAddedCount": "新增 {count} 个",
5582
+ "message.toolsChanged": "新增 {added} 个,移除 {removed} 个",
5583
+ "message.toolsRemoved": "移除:{names}",
5584
+ "message.toolsRemovedCount": "移除 {count} 个",
5585
+ "message.toolsUpdated": "工具已更新",
5193
5586
  "message.contextInjection": "上下文注入",
5194
5587
  "message.contextRecall": "跨会话召回",
5195
5588
  "message.referenceSummary": "引用会话 · {labels}",
@@ -5232,6 +5625,10 @@ window.__ModuleLoader__.load({
5232
5625
  "message.retry.delay": "重试延迟:",
5233
5626
  "message.retry.failure": "失败原因:",
5234
5627
  "message.failure.auth": "API 密钥无效",
5628
+ "message.accountStopped": "任务已停止",
5629
+ "message.failure.accountSignedOut": "任务已因退出 DeepSeek 登录而停止。",
5630
+ "message.failure.accountSignInRequired": "请先登录 DeepSeek,并确认请求地址支持账号认证。",
5631
+ "message.failure.quota": "当前请求的额度已用尽",
5235
5632
  "message.turnError": "本轮运行失败",
5236
5633
  "message.maxTokens": "已达到输出 token 上限",
5237
5634
  "message.maxTokens.hint": "回答被截断,已有输出保留在对话中。发送“继续”可让模型接着输出。",
@@ -5263,6 +5660,8 @@ window.__ModuleLoader__.load({
5263
5660
  const en = {
5264
5661
  "message.stepProcess.thinking": "Analyzing the request",
5265
5662
  "message.stepProcess.read": "Reading files",
5663
+ "message.stepProcess.readImage": "Reading images",
5664
+ "message.stepProcess.write": "Writing files",
5266
5665
  "message.stepProcess.search": "Searching code",
5267
5666
  "message.stepProcess.edit": "Editing files",
5268
5667
  "message.stepProcess.commands": "Running commands",
@@ -5273,8 +5672,23 @@ window.__ModuleLoader__.load({
5273
5672
  "message.stepProcess.plan": "Updating the plan",
5274
5673
  "message.stepProcess.questions": "Waiting for your action",
5275
5674
  "message.stepProcess.tools": "Calling tools",
5675
+ "message.stepProcess.prepare.read": "Preparing to read files",
5676
+ "message.stepProcess.prepare.readImage": "Preparing to read images",
5677
+ "message.stepProcess.prepare.write": "Preparing to write files",
5678
+ "message.stepProcess.prepare.search": "Preparing to search code",
5679
+ "message.stepProcess.prepare.edit": "Preparing to edit files",
5680
+ "message.stepProcess.prepare.commands": "Preparing to run commands",
5681
+ "message.stepProcess.prepare.code": "Preparing to run code",
5682
+ "message.stepProcess.prepare.webSearch": "Preparing to search the web",
5683
+ "message.stepProcess.prepare.webFetch": "Preparing to visit web pages",
5684
+ "message.stepProcess.prepare.subagents": "Preparing to coordinate subagents",
5685
+ "message.stepProcess.prepare.plan": "Preparing to update the plan",
5686
+ "message.stepProcess.prepare.questions": "Preparing questions",
5687
+ "message.stepProcess.prepare.tools": "Preparing tool calls",
5276
5688
  "message.stepProcess.done.thinking": "Analysis completed",
5277
5689
  "message.stepProcess.done.read": "Read files",
5690
+ "message.stepProcess.done.readImage": "Read images",
5691
+ "message.stepProcess.done.write": "Wrote files",
5278
5692
  "message.stepProcess.done.search": "Searched code",
5279
5693
  "message.stepProcess.done.edit": "Edited files",
5280
5694
  "message.stepProcess.done.commands": "Ran commands",
@@ -5305,6 +5719,11 @@ window.__ModuleLoader__.load({
5305
5719
  "message.turnProcess.took": "Took {duration}",
5306
5720
  "message.turnProcess.failed": "Failed",
5307
5721
  "view.chat": "Chat",
5722
+ "image.open": "View full image",
5723
+ "image.loading": "Loading image…",
5724
+ "image.failed": "Image preview unavailable",
5725
+ "image.dialog": "Image preview",
5726
+ "image.close": "Close image preview",
5308
5727
  "number.groupSeparator": ",",
5309
5728
  "duration.compactSeconds": "{seconds}s",
5310
5729
  "duration.compactMinutes": "{minutes}m{seconds}s",
@@ -5331,19 +5750,28 @@ window.__ModuleLoader__.load({
5331
5750
  "settings.performance.compact": "Compact",
5332
5751
  "settings.performance.detailed": "Detailed",
5333
5752
  "settings.links.title": "Open chat links in",
5334
- "settings.links.description": "Choose where HTTP(S) links in chat open",
5335
- "settings.links.sidebar": "Built-in browser",
5336
- "settings.links.newTab": "New browser tab",
5753
+ "settings.links.description": "Choose where to open web links",
5754
+ "settings.links.sidebar": "In-App Sidebar",
5755
+ "settings.links.newTab": "Default Browser",
5337
5756
  "settings.transcript.title": "Work details",
5338
- "settings.transcript.description": "Controls how turns and steps expand by default",
5757
+ "settings.transcript.description": "Choose how much detail to show for tool calls",
5339
5758
  "settings.transcript.compact": "Compact",
5759
+ "settings.transcript.standard": "Standard",
5340
5760
  "settings.transcript.detailed": "Detailed",
5341
- "settings.transcript.expanded": "Expanded",
5761
+ "settings.transcript.verbose": "Verbose",
5342
5762
  "fileOpen.title": "Couldn’t open file",
5343
5763
  "fileOpen.unknown": "Couldn’t open this file",
5344
5764
  "message.extraBlock": "Extra content block",
5345
5765
  "message.systemPrompt": "System prompt",
5346
5766
  "message.systemPromptUpdate": "System prompt update",
5767
+ "message.toolAdded": "Tool added: {name}",
5768
+ "message.toolRemoved": "Tool removed: {name}",
5769
+ "message.toolsAdded": "Added: {names}",
5770
+ "message.toolsAddedCount": "{count} added",
5771
+ "message.toolsChanged": "{added} added, {removed} removed",
5772
+ "message.toolsRemoved": "Removed: {names}",
5773
+ "message.toolsRemovedCount": "{count} removed",
5774
+ "message.toolsUpdated": "Tools updated",
5347
5775
  "message.contextInjection": "Context injection",
5348
5776
  "message.contextRecall": "Session recall",
5349
5777
  "message.referenceSummary": "Referenced session · {labels}",
@@ -5386,6 +5814,10 @@ window.__ModuleLoader__.load({
5386
5814
  "message.retry.delay": "Retry delay: ",
5387
5815
  "message.retry.failure": "Failure reason: ",
5388
5816
  "message.failure.auth": "API key is invalid",
5817
+ "message.accountStopped": "Task stopped",
5818
+ "message.failure.accountSignedOut": "Stopped because you signed out of DeepSeek.",
5819
+ "message.failure.accountSignInRequired": "Sign in to DeepSeek and ensure the request destination supports account authentication.",
5820
+ "message.failure.quota": "Request quota exhausted.",
5389
5821
  "message.turnError": "This turn failed",
5390
5822
  "message.maxTokens": "Output token limit reached",
5391
5823
  "message.maxTokens.hint": "The reply was cut off; earlier output is preserved in the conversation. Send \"continue\" to let the model resume.",
@@ -5543,7 +5975,7 @@ window.__ModuleLoader__.load({
5543
5975
  });
5544
5976
  //#endregion
5545
5977
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-chat/src/client/chat/AssistantMarkdown.module.css.mjs
5546
- const css$8 = "._80vCEa_root{font-size:var(--dsh-content-font-size,14px);line-height:calc(24px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-primary);flex-direction:column;display:flex}._80vCEa_body{flex-direction:column;gap:16px;display:flex}._80vCEa_body .md-table-wide{--dsh-table-spare:max(0px, calc((100cqw - var(--dsh-chat-content-width)) / 2));--dsh-table-lead:calc(var(--dsh-table-spare) + min(var(--dsh-chat-content-width), 100cqw) - 100%);box-sizing:border-box;width:calc(100% + var(--dsh-table-lead) + var(--dsh-table-spare));max-width:none;margin-left:calc(-1 * var(--dsh-table-lead));padding-left:var(--dsh-table-lead)}._80vCEa_body .md-table-wide>table{z-index:1;position:relative}._80vCEa_body>[data-turn-process-inline][hidden]{margin-bottom:-16px}._80vCEa_stopped{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-tertiary);border-radius:6px;align-self:flex-start;padding:0 6px;font-size:11px;line-height:18px}._80vCEa_actions{margin-top:16px;margin-left:-6px}";
5978
+ const css$8 = "._80vCEa_root{font-size:var(--dsh-content-font-size,14px);line-height:calc(24px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-primary);flex-direction:column;display:flex}._80vCEa_body{flex-direction:column;gap:16px;display:flex}._80vCEa_body .md-table-wide{--dsh-table-spare:max(0px, calc((100cqw - var(--dsh-chat-content-width)) / 2));--dsh-table-lead:calc(var(--dsh-table-spare) + min(var(--dsh-chat-content-width), 100cqw) - 100%);box-sizing:border-box;width:calc(100% + var(--dsh-table-lead) + var(--dsh-table-spare));max-width:none;margin-left:calc(-1 * var(--dsh-table-lead));padding-left:var(--dsh-table-lead)}._80vCEa_body .md-table-wide>table{z-index:1;position:relative}._80vCEa_body>[data-turn-process-inline][hidden]{margin-bottom:-16px}._80vCEa_stopped{border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-tertiary);align-self:flex-start;padding:0 6px;font-size:11px;line-height:18px}._80vCEa_actions{margin-top:16px;margin-left:-6px}";
5547
5979
  const tagId$8 = "@deepseek-ai/dsh-client-ui-chat/AssistantMarkdown.module.css";
5548
5980
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$8) + "]") === null) {
5549
5981
  const tag = document.createElement("style");
@@ -5561,16 +5993,23 @@ window.__ModuleLoader__.load({
5561
5993
  //#endregion
5562
5994
  //#region lib/types/client/chat/AssistantMarkdown.js
5563
5995
  /**
5564
- * Resolve an authored POSIX image path against the document's file API.
5996
+ * Standalone fallback for image destinations (query/fragment suffixes are ignored).
5997
+ * Chat fileImages resolves decoded file references against cwd; pathImages also
5998
+ * serves this component outside that provider and accepts legacy image URL suffixes.
5999
+ * Resolve an authored absolute image path against the document's file API.
5565
6000
  * @param base - canonical `document.baseURI` at render time.
5566
- * @param value - authored markdown destination.
5567
- * @returns an absolute HTTP(S) file-API URL, or undefined for unsupported
6001
+ * @param value - authored Markdown destination; URL escapes are decoded once.
6002
+ * @returns an absolute Web or Desktop file-API URL, or undefined for unsupported
5568
6003
  * protocols and non-local paths.
5569
6004
  */
5570
6005
  function localPathMediaUrl(base, value) {
5571
- if (!value.startsWith("/") || value.startsWith("//")) return void 0;
5572
- if (!base.startsWith("http:") && !base.startsWith("https:")) return void 0;
5573
- return new URL(`api/file?path=${encodeURIComponent(value)}`, base).href;
6006
+ let path;
6007
+ try {
6008
+ path = decodeURIComponent(value.split(/[?#]/u)[0] ?? "");
6009
+ } catch {
6010
+ return;
6011
+ }
6012
+ return fileMediaUrl(base, path);
5574
6013
  }
5575
6014
  /** Reasoning block as the Think variant summary row (figma 39:28304). */
5576
6015
  const AssistantMarkdown = (0, react.memo)(function AssistantMarkdown({ blocks, streaming, interrupted, renderMessageImages, groupPart, useDisclosure, reasoningHidden = false, usePresentation, revealProcess, mentions, t }) {
@@ -5694,7 +6133,7 @@ window.__ModuleLoader__.load({
5694
6133
  });
5695
6134
  //#endregion
5696
6135
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-chat/src/client/chat/GenericCommandCard.module.css.mjs
5697
- const css$7 = ".TlxgcW_root{flex-direction:column;display:flex}.TlxgcW_leading{flex-shrink:0}.TlxgcW_chevron{color:var(--dsw-alias-label-secondary)}.TlxgcW_title{font-weight:400;transition:color .1s}.TlxgcW_separator{background:var(--dsw-alias-label-caption);border-radius:1px;flex:none;width:2px;height:2px;margin:0 8px}.TlxgcW_summary{min-width:0;color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));text-overflow:ellipsis;white-space:nowrap;flex:auto;transition:color .1s;overflow:hidden}.TlxgcW_row:hover .TlxgcW_title,.TlxgcW_row:hover .TlxgcW_summary:not([data-error]){color:var(--dsw-alias-label-primary)}.TlxgcW_summary[data-error],.TlxgcW_body[data-error]{color:var(--dsw-alias-state-error-primary)}.TlxgcW_body{border:.5px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-markdown-code-block);max-height:260px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-markdown-code-block-small);white-space:pre-wrap;border-radius:12px;margin:4px 0 4px 4px;padding:12px 16px;overflow:auto}";
6136
+ const css$7 = ".TlxgcW_root{flex-direction:column;display:flex}.TlxgcW_leading{flex-shrink:0}.TlxgcW_chevron{color:var(--dsw-alias-label-secondary)}.TlxgcW_title{font-weight:400;transition:color .1s}.TlxgcW_separator{background:var(--dsw-alias-label-caption);border-radius:1px;flex:none;width:2px;height:2px;margin:0 8px}.TlxgcW_summary{min-width:0;color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));text-overflow:ellipsis;white-space:nowrap;flex:auto;transition:color .1s;overflow:hidden}.TlxgcW_row:hover .TlxgcW_title,.TlxgcW_row:hover .TlxgcW_summary:not([data-error]){color:var(--dsw-alias-label-primary)}.TlxgcW_summary[data-error],.TlxgcW_body[data-error]{color:var(--dsw-alias-state-error-primary)}.TlxgcW_body{border:.5px solid var(--dsw-alias-border-l1);border-radius:var(--dsw-radius-lg);background:var(--dsw-alias-markdown-code-block);max-height:260px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-markdown-code-block-small);white-space:pre-wrap;margin:4px 0 4px 4px;padding:12px 16px;overflow:auto}";
5698
6137
  const tagId$7 = "@deepseek-ai/dsh-client-ui-chat/GenericCommandCard.module.css";
5699
6138
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$7) + "]") === null) {
5700
6139
  const tag = document.createElement("style");
@@ -5909,10 +6348,10 @@ window.__ModuleLoader__.load({
5909
6348
  /** Turn-level process disclosure controller. */
5910
6349
  const TurnProcessNodeView = (0, react.memo)(function TurnProcessNodeView({ node, turnProcess, t }) {
5911
6350
  if (turnProcess === void 0) throw new Error("turn-process node requires Turn process owner state");
5912
- const open = turnProcess.open;
6351
+ const open = !turnProcess.foldable || turnProcess.open;
5913
6352
  const turn = node.location.kind === "turn" || node.location.kind === "step" ? node.location.turn : void 0;
5914
6353
  const [now, setNow] = (0, react.useState)(Date.now);
5915
- const ticking = turnProcess.foldable && turn?.status === "open";
6354
+ const ticking = turn?.status === "open" && turn.start !== void 0;
5916
6355
  (0, react.useEffect)(() => {
5917
6356
  if (!ticking) return;
5918
6357
  setNow(Date.now());
@@ -5923,11 +6362,11 @@ window.__ModuleLoader__.load({
5923
6362
  clearInterval(timer);
5924
6363
  };
5925
6364
  }, [ticking]);
5926
- if (!turnProcess.foldable) return null;
5927
- const canCollapse = turnProcess.hasContent && !turnProcessAlwaysOpen(node);
5928
- const running = turn?.status === "open";
5929
- const reason = turn?.end?.data.reason.kind;
5930
- const elapsedMs = turn?.start === void 0 ? void 0 : Math.max(1e3, (turn.end?.time ?? now) - turn.start.time);
6365
+ if (turn?.start === void 0 && turn?.status !== "closed") return null;
6366
+ const canCollapse = turnProcess.foldable && turnProcess.hasContent && !turnProcessAlwaysOpen(node);
6367
+ const running = turn.status === "open";
6368
+ const reason = turn.end?.data.reason.kind;
6369
+ const elapsedMs = turn.start === void 0 ? void 0 : Math.max(1e3, (turn.end?.time ?? now) - turn.start.time);
5931
6370
  const duration = elapsedMs === void 0 ? void 0 : running ? formatLiveRunDuration(elapsedMs, t) : formatRunDuration(elapsedMs, t);
5932
6371
  const label = running ? duration === void 0 ? t("chat.deepDiving") : t("message.turnProcess.deepDivingFor", { duration }) : reason === "aborted" ? t("message.stopped") : reason === "error" ? t("message.turnProcess.failed") : duration === void 0 ? t("message.turnProcess.worked") : t("message.turnProcess.took", { duration });
5933
6372
  const announcement = running ? t("chat.deepDiving") : reason === "aborted" ? t("message.stopped") : reason === "error" ? t("message.turnProcess.failed") : t("message.turnProcess.worked");
@@ -6094,7 +6533,7 @@ window.__ModuleLoader__.load({
6094
6533
  }
6095
6534
  //#endregion
6096
6535
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-chat/src/client/chat/TurnUsagePanel.module.css.mjs
6097
- const css$5 = ".eFgR1G_root{min-width:0;display:inline-flex}.eFgR1G_root+.eFgR1G_root{margin-left:-6px}.eFgR1G_trigger{min-width:0;height:calc(28px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-tertiary);font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);font-variant-numeric:tabular-nums;line-height:calc(24px + var(--dsh-content-font-delta,0px));white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:28px;align-items:center;gap:4px;padding:6px 8px;display:inline-flex}.eFgR1G_label{text-overflow:ellipsis;min-width:0;overflow:hidden}.eFgR1G_trigger svg{width:calc(15px + var(--dsh-content-font-delta,0px));height:calc(15px + var(--dsh-content-font-delta,0px));flex:none}.eFgR1G_trigger:hover,.eFgR1G_trigger[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-tertiary)}@media (width<=480px){.eFgR1G_trigger{width:calc(28px + var(--dsh-content-font-delta,0px));justify-content:center;padding:6px}.eFgR1G_trigger .eFgR1G_label{display:none}.eFgR1G_root+.eFgR1G_root{margin-left:0}}";
6536
+ const css$5 = ".eFgR1G_root{min-width:0;display:inline-flex}.eFgR1G_root+.eFgR1G_root{margin-left:-6px}.eFgR1G_trigger{min-width:0;height:calc(28px + var(--dsh-content-font-delta,0px));border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-tertiary);font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);font-variant-numeric:tabular-nums;line-height:calc(24px + var(--dsh-content-font-delta,0px));white-space:nowrap;cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;padding:6px 8px;display:inline-flex}.eFgR1G_label{text-overflow:ellipsis;min-width:0;overflow:hidden}.eFgR1G_trigger svg{width:calc(15px + var(--dsh-content-font-delta,0px));height:calc(15px + var(--dsh-content-font-delta,0px));flex:none}.eFgR1G_trigger:hover,.eFgR1G_trigger[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-tertiary)}@media (width<=480px){.eFgR1G_trigger{width:calc(28px + var(--dsh-content-font-delta,0px));justify-content:center;padding:6px}.eFgR1G_trigger .eFgR1G_label{display:none}.eFgR1G_root+.eFgR1G_root{margin-left:0}}";
6098
6537
  const tagId$5 = "@deepseek-ai/dsh-client-ui-chat/TurnUsagePanel.module.css";
6099
6538
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$5) + "]") === null) {
6100
6539
  const tag = document.createElement("style");
@@ -6110,7 +6549,7 @@ window.__ModuleLoader__.load({
6110
6549
  };
6111
6550
  //#endregion
6112
6551
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-chat/src/client/chat/stat-dialog.module.css.mjs
6113
- const css$4 = ".GoLCnq_panel{z-index:1100;box-sizing:border-box;background:var(--dsw-specific-menu);width:max-content;min-width:min(300px,100vw - 24px);max-width:min(440px,100vw - 24px);backdrop-filter:var(--dsw-menu-backdrop-filter);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);box-shadow:var(--dsw-elevation-prominent);color:var(--dsw-alias-label-secondary);cursor:default;border:0;border-radius:12px;padding:16px;font-size:12px;line-height:18px;position:fixed}.GoLCnq_title{color:var(--dsw-alias-label-primary);justify-content:space-between;gap:16px;margin-bottom:8px;font-weight:500;display:flex}.GoLCnq_titleRule{border-top:.5px solid var(--dsw-alias-border-l2);margin-bottom:10px}.GoLCnq_titleValue{font-variant-numeric:tabular-nums}.GoLCnq_titleLabel{align-items:center;gap:6px;min-width:0;display:inline-flex}.GoLCnq_titleLabel svg{flex:none;width:14px;height:14px}.GoLCnq_details{color:var(--dsw-alias-label-tertiary);grid-template-columns:minmax(76px,auto) minmax(0,1fr);gap:6px 16px;margin:0;display:grid}.GoLCnq_details dt,.GoLCnq_details dd{min-width:0;margin:0}.GoLCnq_details dd{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;text-align:right}.GoLCnq_details .GoLCnq_route{overflow-wrap:anywhere}.GoLCnq_reasoning{color:var(--dsw-alias-label-tertiary);white-space:nowrap}";
6552
+ const css$4 = ".GoLCnq_panel{z-index:1100;box-sizing:border-box;border-radius:var(--dsw-radius-lg);background:var(--dsw-specific-menu);width:max-content;min-width:min(300px,100vw - 24px);max-width:min(440px,100vw - 24px);backdrop-filter:var(--dsw-menu-backdrop-filter);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);box-shadow:var(--dsw-elevation-prominent);color:var(--dsw-alias-label-secondary);cursor:default;border:0;padding:16px;font-size:12px;line-height:18px;position:fixed}.GoLCnq_title{color:var(--dsw-alias-label-primary);justify-content:space-between;gap:16px;margin-bottom:8px;font-weight:500;display:flex}.GoLCnq_titleRule{border-top:.5px solid var(--dsw-alias-border-l2);margin-bottom:10px}.GoLCnq_titleValue{font-variant-numeric:tabular-nums}.GoLCnq_titleLabel{align-items:center;gap:6px;min-width:0;display:inline-flex}.GoLCnq_titleLabel svg{flex:none;width:14px;height:14px}.GoLCnq_details{color:var(--dsw-alias-label-tertiary);grid-template-columns:minmax(76px,auto) minmax(0,1fr);gap:6px 16px;margin:0;display:grid}.GoLCnq_details dt,.GoLCnq_details dd{min-width:0;margin:0}.GoLCnq_details dd{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;text-align:right}.GoLCnq_details .GoLCnq_route{overflow-wrap:anywhere}.GoLCnq_reasoning{color:var(--dsw-alias-label-tertiary);white-space:nowrap}";
6114
6553
  const tagId$4 = "@deepseek-ai/dsh-client-ui-chat/stat-dialog.module.css";
6115
6554
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
6116
6555
  const tag = document.createElement("style");
@@ -6368,7 +6807,7 @@ window.__ModuleLoader__.load({
6368
6807
  }
6369
6808
  //#endregion
6370
6809
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-chat/src/client/chat/TurnTriggerNodeView.module.css.mjs
6371
- const css$2 = ".-X3WVG_root{border:.5px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-markdown-code-block);border-radius:16px;min-width:0;transition:background-color .1s}.-X3WVG_root:hover{background:var(--dsw-alias-interactive-bg-hover)}.-X3WVG_header{width:100%;color:var(--dsw-alias-label-primary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:12px 16px;display:flex}.-X3WVG_icon{color:var(--dsw-alias-label-tertiary);flex:none;display:inline-flex}.-X3WVG_title{font:var(--dsw-font-xs-13);flex:none}.-X3WVG_time{color:var(--dsw-alias-label-caption);font:var(--dsw-font-xxs-12);flex:none;margin-left:auto}.-X3WVG_chevron,.-X3WVG_openChevron{color:var(--dsw-alias-label-tertiary);flex:none}.-X3WVG_openChevron{transform:rotate(180deg)}.-X3WVG_body{padding:0 16px 12px 40px}.-X3WVG_explanation{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);margin:8px 0}.-X3WVG_content{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;font:var(--dsw-font-xxs-12);overflow:auto}@media (prefers-reduced-motion:reduce){.-X3WVG_root{transition:none}}";
6810
+ const css$2 = ".-X3WVG_root{border:.5px solid var(--dsw-alias-border-l1);border-radius:var(--dsw-radius-xl);background:var(--dsw-alias-markdown-code-block);min-width:0;transition:background-color .1s}.-X3WVG_root:hover{background:var(--dsw-alias-interactive-bg-hover)}.-X3WVG_header{width:100%;color:var(--dsw-alias-label-primary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:12px 16px;display:flex}.-X3WVG_icon{color:var(--dsw-alias-label-tertiary);flex:none;display:inline-flex}.-X3WVG_title{font:var(--dsw-font-xs-13);flex:none}.-X3WVG_time{color:var(--dsw-alias-label-caption);font:var(--dsw-font-xxs-12);flex:none;margin-left:auto}.-X3WVG_chevron,.-X3WVG_openChevron{color:var(--dsw-alias-label-tertiary);flex:none}.-X3WVG_openChevron{transform:rotate(180deg)}.-X3WVG_body{padding:0 16px 12px 40px}.-X3WVG_explanation{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);margin:8px 0}.-X3WVG_content{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;font:var(--dsw-font-xxs-12);overflow:auto}@media (prefers-reduced-motion:reduce){.-X3WVG_root{transition:none}}";
6372
6811
  const tagId$2 = "@deepseek-ai/dsh-client-ui-chat/TurnTriggerNodeView.module.css";
6373
6812
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
6374
6813
  const tag = document.createElement("style");
@@ -6585,7 +7024,7 @@ window.__ModuleLoader__.load({
6585
7024
  }
6586
7025
  //#endregion
6587
7026
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-chat/src/client/chat/StatsPills.module.css.mjs
6588
- const css$1 = "._1CpoMG_root{box-sizing:border-box;min-width:0;max-width:100%;font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px));justify-content:center;gap:12px;display:flex}._1CpoMG_anchor{min-width:0;display:inline-flex}._1CpoMG_pill{box-sizing:border-box;max-width:100%;color:var(--dsw-alias-label-tertiary);font:inherit;font-variant-numeric:tabular-nums;line-height:inherit;white-space:nowrap;background:0 0;border:none;border-radius:24px;align-items:center;gap:6px;padding:1px 8px;display:inline-flex}._1CpoMG_pill svg{flex:none;width:14px;height:14px}button._1CpoMG_pill{cursor:pointer}button._1CpoMG_pill:hover,button._1CpoMG_pill[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}._1CpoMG_label{text-overflow:ellipsis;min-width:0;overflow:hidden}._1CpoMG_sep{color:var(--dsw-alias-separator-primary);margin:0 6px}";
7027
+ const css$1 = "._1CpoMG_root{box-sizing:border-box;min-width:0;max-width:100%;font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px));justify-content:center;gap:12px;display:flex}._1CpoMG_anchor{min-width:0;display:inline-flex}._1CpoMG_pill{box-sizing:border-box;corner-shape:round;max-width:100%;color:var(--dsw-alias-label-tertiary);font:inherit;font-variant-numeric:tabular-nums;line-height:inherit;white-space:nowrap;background:0 0;border:none;border-radius:999px;align-items:center;gap:6px;padding:1px 8px;display:inline-flex}._1CpoMG_pill svg{flex:none;width:14px;height:14px}button._1CpoMG_pill{cursor:pointer}button._1CpoMG_pill:hover,button._1CpoMG_pill[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}._1CpoMG_label{text-overflow:ellipsis;min-width:0;overflow:hidden}._1CpoMG_sep{color:var(--dsw-alias-separator-primary);margin:0 6px}";
6589
7028
  const tagId$1 = "@deepseek-ai/dsh-client-ui-chat/StatsPills.module.css";
6590
7029
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
6591
7030
  const tag = document.createElement("style");
@@ -7104,7 +7543,7 @@ window.__ModuleLoader__.load({
7104
7543
  const blocks = settled?.blocks ?? compactBlocks(state.blocks);
7105
7544
  const visible = settled === void 0 ? state.visibleBlocks > 0 : hasVisibleContent(blocks);
7106
7545
  const status = settled?.interrupted === true ? "interrupted" : settled === void 0 ? "running" : "settled";
7107
- const anchorSeq = settled?.seq ?? state.firstVisibleSeq ?? context.matches[0]?.event.seq ?? 0;
7546
+ const anchorSeq = (settled?.interrupted === true ? settled.seq : state.firstVisibleSeq ?? settled?.seq) ?? context.matches[0]?.event.seq ?? 0;
7108
7547
  const time = settled?.time ?? state.firstVisibleTime ?? context.matches[0]?.event.time ?? 0;
7109
7548
  return {
7110
7549
  anchorSeq,
@@ -7183,7 +7622,7 @@ window.__ModuleLoader__.load({
7183
7622
  const settled = data.finalNode;
7184
7623
  const visible = settled === void 0 ? state.visibleBlocks > 0 : hasVisibleContent(data.blocks);
7185
7624
  if (settled === void 0 && !visible && current == null) return null;
7186
- return chatNode(context, "assistant-step", settled?.seq ?? state.firstVisibleSeq ?? context.matches[0]?.event.seq ?? 0, data, { visibility: settled?.interrupted === true || visible ? "visible" : "hidden" });
7625
+ return chatNode(context, "assistant-step", (settled?.interrupted === true ? settled.seq : state.firstVisibleSeq ?? settled?.seq) ?? context.matches[0]?.event.seq ?? 0, data, { visibility: settled?.interrupted === true || visible ? "visible" : "hidden" });
7187
7626
  }
7188
7627
  };
7189
7628
  /**
@@ -7215,11 +7654,12 @@ window.__ModuleLoader__.load({
7215
7654
  //#region lib/types/client/contract/chat-visibility.js
7216
7655
  /**
7217
7656
  * Exclude system prompts, ordinary Context, and permission commands from visible Chat rows.
7657
+ * Context containing tool changes retains its notice row.
7218
7658
  * @param node - projected Chat node.
7219
7659
  * @returns whether the node contributes a visible Chat row.
7220
7660
  */
7221
7661
  function isVisibleChatNode(node) {
7222
- return node.visibility === "visible" && node.kind !== "system-prompt" && node.kind !== "context" && !(node.kind === "command" && node.data.name === "permission");
7662
+ return node.visibility === "visible" && node.kind !== "system-prompt" && (node.kind !== "context" || node.data.content.some((block) => block.type === "tool-addition" || block.type === "tool-removal")) && !(node.kind === "command" && node.data.name === "permission");
7223
7663
  }
7224
7664
  //#endregion
7225
7665
  //#region lib/types/client/conversation-nodes/turn-navigation.js
@@ -8750,6 +9190,18 @@ window.__ModuleLoader__.load({
8750
9190
  if (event.type !== "user/message" || !isReplacementSurfaceEvent(event)) return false;
8751
9191
  return event.data.source.kind === "compact-checkpoint";
8752
9192
  }
9193
+ /** Context presentation shared by user-role injections and developer messages. */
9194
+ function contextMessage(event, message) {
9195
+ return {
9196
+ kind: "context",
9197
+ seq: event.seq,
9198
+ time: event.time,
9199
+ content: message.content,
9200
+ source: message.source,
9201
+ producer: contextProducer(message.source),
9202
+ form: contextForm(message.source)
9203
+ };
9204
+ }
8753
9205
  /** User, steering, and injected-context message classification Definition. */
8754
9206
  const messageDefinition = {
8755
9207
  kind: "input-message",
@@ -8759,12 +9211,11 @@ window.__ModuleLoader__.load({
8759
9211
  id: String(event.data.id),
8760
9212
  role: "start"
8761
9213
  } : null;
8762
- if (event.type === "developer/message") throw new Error("Chat developer messages are not supported yet");
8763
9214
  return null;
8764
9215
  },
8765
9216
  start: (_context, match, reader) => {
8766
- if (match.event.type !== "user/message") throw new Error("input-message start requires user/message");
8767
9217
  const event = match.event;
9218
+ if (event.type !== "user/message") throw new Error("input-message start requires user/message");
8768
9219
  if (event.data.source.kind !== "user") {
8769
9220
  const nextTurn = reader.previous("inbox-next-turn")?.state;
8770
9221
  const nextStep = reader.previous("inbox-next-step")?.state;
@@ -8772,14 +9223,8 @@ window.__ModuleLoader__.load({
8772
9223
  const turnStart = location.kind === "step" ? location.turn.start?.seq : void 0;
8773
9224
  const idleSteer = location.kind === "step" && location.step.step === 1 && turnStart !== void 0 && (nextStep?.claimSeq ?? -1) > turnStart && (nextTurn?.claimSeq ?? -1) < turnStart && nextStep?.claimedHuman === false && nextStep.currentClaimed.has(String(event.data.id));
8774
9225
  return {
8775
- kind: "context",
8776
- waking: nextTurn?.currentClaimed.has(String(event.data.id)) === true || idleSteer,
8777
- seq: event.seq,
8778
- time: event.time,
8779
- content: event.data.content,
8780
- source: event.data.source,
8781
- producer: contextProducer(event.data.source),
8782
- form: contextForm(event.data.source)
9226
+ ...contextMessage(event, event.data),
9227
+ waking: nextTurn?.currentClaimed.has(String(event.data.id)) === true || idleSteer
8783
9228
  };
8784
9229
  }
8785
9230
  return reader.previous("inbox-next-step")?.state.currentClaimed.has(String(event.data.id)) === true ? {
@@ -8803,12 +9248,27 @@ window.__ModuleLoader__.load({
8803
9248
  return chatNode(context, context.state.kind === "context" && context.start?.event.type === "user/message" && context.state.waking === true ? "turn-trigger" : context.state.kind, context.state.seq, context.state);
8804
9249
  }
8805
9250
  };
9251
+ /** Developer history uses the input-message lifecycle and context presentation. */
9252
+ const developerMessageDefinition = {
9253
+ ...messageDefinition,
9254
+ kind: "developer-message",
9255
+ match: (event) => event.type === "developer/message" ? {
9256
+ id: String(event.data.message.id),
9257
+ role: "start"
9258
+ } : null,
9259
+ start: (_context, match) => {
9260
+ const event = match.event;
9261
+ if (event.type !== "developer/message") throw new Error("developer-message start requires developer/message");
9262
+ return contextMessage(event, event.data.message);
9263
+ }
9264
+ };
8806
9265
  /**
8807
- * Register the user, steering, and injected-context message contribution.
9266
+ * Register user, steering, injected-context, and developer message contributions.
8808
9267
  * @param ctx - owning UI Conversation context.
8809
9268
  */
8810
9269
  function registerMessageConversationNode(ctx) {
8811
9270
  ctx.uiConversation.events.register(messageDefinition);
9271
+ ctx.uiConversation.events.register(developerMessageDefinition);
8812
9272
  }
8813
9273
  //#endregion
8814
9274
  //#region lib/types/client/conversation-nodes/request-prompt.js
@@ -8844,6 +9304,7 @@ window.__ModuleLoader__.load({
8844
9304
  role: "start"
8845
9305
  } : null,
8846
9306
  start: (_context, match, reader) => {
9307
+ if (match.event.type === "assistant/live-chunk") throw new Error("system-message requires a durable event");
8847
9308
  return inspect(reader.previous("system-message")?.state, match.event);
8848
9309
  },
8849
9310
  update: (context) => context.state,
@@ -9008,8 +9469,23 @@ window.__ModuleLoader__.load({
9008
9469
  return JSON.stringify(value);
9009
9470
  }
9010
9471
  function rootCall(match) {
9472
+ const event = match.event;
9473
+ if (event.type === "assistant/live-chunk") {
9474
+ const chunk = event.data.chunk;
9475
+ if (chunk.type !== "tool-call-delta" || !chunk.name) throw new Error("tool preparation requires a named call delta");
9476
+ return {
9477
+ phase: "preparing",
9478
+ callId: String(chunk.id),
9479
+ name: chunk.name,
9480
+ turn: event.data.turn,
9481
+ step: event.data.step,
9482
+ time: event.time,
9483
+ subCalls: []
9484
+ };
9485
+ }
9011
9486
  if (match.event.type !== "tool/call") throw new Error("tool-call start requires tool/call");
9012
9487
  return {
9488
+ phase: "start",
9013
9489
  callId: String(match.event.data.callId),
9014
9490
  name: match.event.data.name,
9015
9491
  argsRaw: match.event.data.arguments,
@@ -9041,6 +9517,7 @@ window.__ModuleLoader__.load({
9041
9517
  }
9042
9518
  function childCall(match, data) {
9043
9519
  return {
9520
+ phase: "start",
9044
9521
  callId: data.subCallId,
9045
9522
  parentCallId: data.parentCallId,
9046
9523
  name: data.name,
@@ -9136,6 +9613,7 @@ window.__ModuleLoader__.load({
9136
9613
  };
9137
9614
  }
9138
9615
  function projectBlock(block, state, interruptedAt, visited = /* @__PURE__ */ new Set(), depth = 1) {
9616
+ if (!("kind" in block) && block.phase === "preparing") return block;
9139
9617
  if (visited.has(block.callId) || depth > MAX_DEPTH) return {
9140
9618
  ...block,
9141
9619
  subCalls: []
@@ -9197,11 +9675,18 @@ window.__ModuleLoader__.load({
9197
9675
  for (const candidate of context.matches) state = updateDispatch(state, candidate);
9198
9676
  return state;
9199
9677
  }
9200
- /** Root Tool lifecycle and nested PTC dispatch Definition. */
9678
+ /** Root Tool preparation, dispatch, result, and nested PTC calls. */
9201
9679
  const toolDefinition = {
9202
9680
  kind: "tool-call",
9203
9681
  target: "chat",
9204
9682
  match: (event) => {
9683
+ if (event.type === "assistant/live-chunk") {
9684
+ const chunk = event.data.chunk;
9685
+ return chunk.type === "tool-call-delta" && chunk.name ? {
9686
+ id: String(chunk.id),
9687
+ role: "start"
9688
+ } : null;
9689
+ }
9205
9690
  if (event.type === "tool/call") return {
9206
9691
  id: String(event.data.callId),
9207
9692
  role: "start"
@@ -9225,8 +9710,13 @@ window.__ModuleLoader__.load({
9225
9710
  parents: /* @__PURE__ */ new Map()
9226
9711
  }),
9227
9712
  update: (context, match) => {
9713
+ if (match.event.type === "tool/call") return {
9714
+ ...context.state,
9715
+ root: rootCall(match)
9716
+ };
9228
9717
  if (match.event.type === "tool/result") {
9229
- const result = rootResult(match, "kind" in context.state.root ? void 0 : context.state.root);
9718
+ const root = context.state.root;
9719
+ const result = rootResult(match, !("kind" in root) && root.phase === "start" ? root : void 0);
9230
9720
  return result === void 0 ? context.state : {
9231
9721
  ...context.state,
9232
9722
  root: result
@@ -9234,11 +9724,25 @@ window.__ModuleLoader__.load({
9234
9724
  }
9235
9725
  return updateDispatch(context.state, match);
9236
9726
  },
9727
+ publication: (match) => match.event.type === "assistant/live-chunk" ? "animation-frame" : "immediate",
9237
9728
  buildViewNode: (context) => {
9729
+ const current = context.current.get("chat");
9238
9730
  const state = context.state ?? fallbackState$2(context);
9239
- if (state === void 0) return null;
9240
- const projected = projectBlock(state.root, state, interruption(context));
9241
- return chatNode(context, "tool-call", context.start?.event.seq ?? ("kind" in state.root ? state.root.seq : context.matches[0]?.event.seq ?? 0), { root: projected });
9731
+ if (state === void 0) return current == null ? null : current.visibility === "hidden" ? current : {
9732
+ ...current,
9733
+ visibility: "hidden"
9734
+ };
9735
+ const interruptedAt = interruption(context);
9736
+ const projected = projectBlock(state.root, state, interruptedAt);
9737
+ const anchor = context.start?.event.seq ?? ("kind" in state.root ? state.root.seq : context.matches[0]?.event.seq ?? 0);
9738
+ const visibility = !("kind" in projected) && projected.phase === "preparing" && interruptedAt !== void 0 ? "hidden" : "visible";
9739
+ const location = contextLocation(context);
9740
+ const data = current?.data.root === projected ? current.data : { root: projected };
9741
+ if (current?.data === data && current.anchorSeq === anchor && current.visibility === visibility && current.location === location) return current;
9742
+ return chatNode(context, "tool-call", anchor, data, {
9743
+ visibility,
9744
+ location
9745
+ });
9242
9746
  }
9243
9747
  };
9244
9748
  /**
@@ -9256,8 +9760,13 @@ window.__ModuleLoader__.load({
9256
9760
  return location.turn.steps.at(-1)?.step ?? 0;
9257
9761
  }
9258
9762
  function failureFrom(match) {
9259
- if (match.event.type !== "turn/end" || match.event.data.reason.kind !== "error") return void 0;
9260
- const failure = match.event.data.reason.error;
9763
+ if (match.event.type !== "turn/end") return void 0;
9764
+ const reason = match.event.data.reason;
9765
+ const failure = reason.kind === "error" ? reason.error : reason.kind === "aborted" && reason.reason.kind === "hook" && reason.reason.reason === "deepseek-account/signed-out" ? {
9766
+ message: "Stopped because you signed out of DeepSeek.",
9767
+ code: "ACCOUNT_SIGNED_OUT"
9768
+ } : void 0;
9769
+ if (failure === void 0) return void 0;
9261
9770
  const display = displayFailure(failure);
9262
9771
  return {
9263
9772
  seq: match.event.seq,
@@ -9289,7 +9798,7 @@ window.__ModuleLoader__.load({
9289
9798
  id: String(event.data.turn),
9290
9799
  role: "start"
9291
9800
  };
9292
- if (event.type === "turn/end" && event.data.reason.kind === "error") return {
9801
+ if (event.type === "turn/end" && (event.data.reason.kind === "error" || event.data.reason.kind === "aborted" && event.data.reason.reason.kind === "hook" && event.data.reason.reason.reason === "deepseek-account/signed-out")) return {
9293
9802
  id: String(event.data.turn),
9294
9803
  role: "update"
9295
9804
  };
@@ -9926,19 +10435,11 @@ window.__ModuleLoader__.load({
9926
10435
  //#endregion
9927
10436
  //#region lib/types/client/conversation-nodes/process-activity.js
9928
10437
  function activity(name) {
9929
- if ([
9930
- "read",
9931
- "read_image",
9932
- "list_mcp_resources",
9933
- "list_mcp_resource_templates",
9934
- "read_mcp_resource"
9935
- ].includes(name)) return "read";
10438
+ if (name === "read") return "read";
10439
+ if (name === "read_image") return "readImage";
9936
10440
  if (name === "grep" || name === "glob" || name.endsWith("_inspect")) return "search";
9937
- if ([
9938
- "write",
9939
- "edit",
9940
- "apply_patch"
9941
- ].includes(name)) return "edit";
10441
+ if (name === "write") return "write";
10442
+ if (name === "edit" || name === "apply_patch") return "edit";
9942
10443
  if ([
9943
10444
  "bash",
9944
10445
  "pwsh",
@@ -10040,6 +10541,7 @@ window.__ModuleLoader__.load({
10040
10541
  let running;
10041
10542
  let runningDetail = "";
10042
10543
  let runningTime = -Infinity;
10544
+ let preparing;
10043
10545
  const visit = (tool) => {
10044
10546
  if (seen.has(tool.callId)) return;
10045
10547
  seen.add(tool.callId);
@@ -10048,7 +10550,8 @@ window.__ModuleLoader__.load({
10048
10550
  const kind = activity(call.name);
10049
10551
  if (isRunningTool(tool) && tool.time >= runningTime) {
10050
10552
  running = kind;
10051
- runningDetail = liveToolDetail(tool.name, tool.argsRaw);
10553
+ preparing = tool.phase === "preparing";
10554
+ runningDetail = tool.phase === "preparing" ? kind === "tools" ? tool.name : "" : liveToolDetail(tool.name, tool.argsRaw);
10052
10555
  runningTime = tool.time;
10053
10556
  }
10054
10557
  counts.set(kind, (counts.get(kind) ?? 0) + 1);
@@ -10063,7 +10566,8 @@ window.__ModuleLoader__.load({
10063
10566
  count
10064
10567
  })).sort((a, b) => b.count - a.count),
10065
10568
  running,
10066
- runningDetail
10569
+ runningDetail,
10570
+ ...preparing ? { preparing: true } : {}
10067
10571
  };
10068
10572
  }
10069
10573
  //#endregion
@@ -10089,7 +10593,7 @@ window.__ModuleLoader__.load({
10089
10593
  return node.kind === "assistant-step" && hasAssistantReplyContent(node.data.blocks);
10090
10594
  }
10091
10595
  function sameSummary(left, right) {
10092
- return left.running === right.running && left.runningDetail === right.runningDetail && left.counts.length === right.counts.length && left.counts.every((value, index) => value.kind === right.counts[index]?.kind && value.count === right.counts[index].count);
10596
+ return left.running === right.running && left.runningDetail === right.runningDetail && left.preparing === right.preparing && left.counts.length === right.counts.length && left.counts.every((value, index) => value.kind === right.counts[index]?.kind && value.count === right.counts[index].count);
10093
10597
  }
10094
10598
  function sameMembers(left, right) {
10095
10599
  return left.length === right.length && left.every((value, index) => value.key === right[index]?.key && value.groupPart === right[index].groupPart);
@@ -10134,7 +10638,7 @@ window.__ModuleLoader__.load({
10134
10638
  const previous = this.snapshot.data;
10135
10639
  const activity = unchanged && previous.closed === closed ? previous.summary : processActivity(nodes);
10136
10640
  const summary = closed ? {
10137
- ...activity,
10641
+ counts: activity.counts,
10138
10642
  running: void 0,
10139
10643
  runningDetail: ""
10140
10644
  } : activity;
@@ -10416,6 +10920,32 @@ window.__ModuleLoader__.load({
10416
10920
  ctx.uiConversation.groups.register(processGroupDefinition);
10417
10921
  }
10418
10922
  //#endregion
10923
+ //#region lib/types/client/chat/QuotaNoticeHost.js
10924
+ /**
10925
+ * The frame-wide `shell.overlay` host for quota notices. It holds the one live
10926
+ * notice for the whole app, so leaving the Chat panel does not drop it. A
10927
+ * `shell.quota-notice` entry may replace the generic Toast for codes it claims.
10928
+ */
10929
+ /**
10930
+ * @param props - the live notice, its dismissal, the chain outlet, and the locale seat.
10931
+ * @returns the notice on display, or null while none is live.
10932
+ */
10933
+ function QuotaNoticeHost({ useNotice, dismissNotice, keepNoticeOpen, renderSlotChain, t }) {
10934
+ const notice = useNotice((current) => current);
10935
+ if (notice === null) return null;
10936
+ const owner = {
10937
+ code: notice.code,
10938
+ message: t("message.failure.quota"),
10939
+ dismiss: dismissNotice,
10940
+ keepOpen: keepNoticeOpen
10941
+ };
10942
+ return (0, react_jsx_runtime.jsx)(react.Fragment, { children: renderSlotChain("shell.quota-notice", owner, { fallback: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
10943
+ text: owner.message,
10944
+ icon: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutlineRegular, { size: 18 }),
10945
+ onDone: dismissNotice
10946
+ }) }) }, `quota-notice-${String(notice.seq)}`);
10947
+ }
10948
+ //#endregion
10419
10949
  //#region ../../../vendor/cosmokit/lib/index.js
10420
10950
  /** Return true when a value is `null` or `undefined`. */
10421
10951
  function isNullable(value) {
@@ -11312,18 +11842,25 @@ window.__ModuleLoader__.load({
11312
11842
  /** Work-details presentation modes a user can choose. */
11313
11843
  const TRANSCRIPT_VIEW_MODES = [
11314
11844
  "compact",
11845
+ "standard",
11315
11846
  "detailed",
11316
- "expanded"
11847
+ "verbose"
11317
11848
  ];
11318
11849
  /**
11319
- * Saved value from the two-mode generation of this setting. Read as `detailed`;
11850
+ * Saved value from the two-mode generation of this setting. Read as `standard`;
11320
11851
  * never offered as a choice and never written back.
11321
11852
  */
11322
11853
  const LEGACY_TRANSCRIPT_VIEW_MODE = "normal";
11323
- /** Every value the durable field accepts: current modes plus the legacy saved value. */
11324
- const TRANSCRIPT_VIEW_SETTING_VALUES = [...TRANSCRIPT_VIEW_MODES, LEGACY_TRANSCRIPT_VIEW_MODE];
11325
- /** Default preserves the compact process disclosure introduced by Chat. */
11326
- const DEFAULT_TRANSCRIPT_VIEW_MODE = "compact";
11854
+ /** Saved `expanded` values read as `detailed`, without being offered or written back. */
11855
+ const LEGACY_EXPANDED_TRANSCRIPT_VIEW_MODE = "expanded";
11856
+ /** Every value the durable field accepts: current modes plus legacy saved values. */
11857
+ const TRANSCRIPT_VIEW_SETTING_VALUES = [
11858
+ ...TRANSCRIPT_VIEW_MODES,
11859
+ LEGACY_TRANSCRIPT_VIEW_MODE,
11860
+ LEGACY_EXPANDED_TRANSCRIPT_VIEW_MODE
11861
+ ];
11862
+ /** Standard process summaries for users without an explicit preference. */
11863
+ const DEFAULT_TRANSCRIPT_VIEW_MODE = "standard";
11327
11864
  /** Performance and usage detail levels accepted by user settings. */
11328
11865
  const PERFORMANCE_USAGE_MODES = ["compact", "detailed"];
11329
11866
  /** Preserve detailed accounting for users without an explicit preference. */
@@ -11332,12 +11869,12 @@ window.__ModuleLoader__.load({
11332
11869
  const ChatSettingsFields = {
11333
11870
  linkOpening: Schema.union(["sidebar", "new-tab"]).default("sidebar"),
11334
11871
  performanceUsage: Schema.union([...PERFORMANCE_USAGE_MODES]).default(DEFAULT_PERFORMANCE_USAGE),
11335
- [TRANSCRIPT_VIEW_FIELD]: Schema.union([...TRANSCRIPT_VIEW_SETTING_VALUES]).default(DEFAULT_TRANSCRIPT_VIEW_MODE)
11872
+ [TRANSCRIPT_VIEW_FIELD]: Schema.union([...TRANSCRIPT_VIEW_SETTING_VALUES]).default(DEFAULT_TRANSCRIPT_VIEW_MODE).loose()
11336
11873
  };
11337
11874
  Schema.object(ChatSettingsFields);
11338
11875
  //#endregion
11339
11876
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-chat/src/client/settings/PreferenceRow.module.css.mjs
11340
- const css = ".UFHlhG_row{border-bottom:.5px solid var(--dsw-alias-border-l2);align-items:center;gap:8px;padding:16px 0;display:flex}.UFHlhG_rowText{flex-direction:column;flex:1;gap:4px;min-width:0;padding-right:48px;display:flex}.UFHlhG_title{color:var(--dsw-alias-label-primary);font-size:14px;font-weight:400;line-height:22px}.UFHlhG_desc{color:var(--dsw-alias-label-tertiary);font-size:12px;font-weight:400;line-height:18px}.UFHlhG_selector{background:var(--dsw-alias-bg-module-platform);height:36px;font:inherit;color:var(--dsw-alias-label-primary);cursor:pointer;border:none;border-radius:18px;align-items:center;gap:12px;padding:0 14px;font-size:14px;line-height:22px;display:inline-flex}.UFHlhG_selector:hover{background:var(--dsw-alias-interactive-bg-hover)}.UFHlhG_chevron{flex:none}";
11877
+ const css = ".UFHlhG_row{border-bottom:.5px solid var(--dsw-alias-border-l2);align-items:center;gap:8px;padding:16px 0;display:flex}.UFHlhG_rowText{flex-direction:column;flex:1;gap:4px;min-width:0;padding-right:48px;display:flex}.UFHlhG_title{color:var(--dsw-alias-label-primary);font-size:14px;font-weight:400;line-height:22px}.UFHlhG_desc{color:var(--dsw-alias-label-tertiary);font-size:12px;font-weight:400;line-height:18px}.UFHlhG_selector{border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform);height:36px;font:inherit;color:var(--dsw-alias-label-primary);cursor:pointer;border:none;align-items:center;gap:12px;padding:0 14px;font-size:14px;line-height:22px;display:inline-flex}.UFHlhG_selector:hover{background:var(--dsw-alias-interactive-bg-hover)}.UFHlhG_chevron{flex:none}";
11341
11878
  const tagId = "@deepseek-ai/dsh-client-ui-chat/PreferenceRow.module.css";
11342
11879
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
11343
11880
  const tag = document.createElement("style");
@@ -11411,8 +11948,9 @@ window.__ModuleLoader__.load({
11411
11948
  //#region lib/types/client/settings/TranscriptViewRow.js
11412
11949
  const LABELS = {
11413
11950
  compact: "settings.transcript.compact",
11951
+ standard: "settings.transcript.standard",
11414
11952
  detailed: "settings.transcript.detailed",
11415
- expanded: "settings.transcript.expanded"
11953
+ verbose: "settings.transcript.verbose"
11416
11954
  };
11417
11955
  /**
11418
11956
  * Render the work-details mode selector.
@@ -11442,7 +11980,7 @@ window.__ModuleLoader__.load({
11442
11980
  var TranscriptViewPolicy = class {
11443
11981
  host;
11444
11982
  unsubscribe;
11445
- /** Reactive current mode; defaults to Compact before Host settings arrive. */
11983
+ /** Reactive current mode; defaults to Standard before Host settings arrive. */
11446
11984
  mode = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(DEFAULT_TRANSCRIPT_VIEW_MODE);
11447
11985
  /**
11448
11986
  * @param host - durable Chat settings scope.
@@ -11460,7 +11998,7 @@ window.__ModuleLoader__.load({
11460
11998
  }
11461
11999
  /**
11462
12000
  * Publish and persist one explicit user choice.
11463
- * @param mode - Compact, Detailed, or Expanded work details.
12001
+ * @param mode - Compact, Standard, Detailed, or Verbose work details.
11464
12002
  */
11465
12003
  setMode(mode) {
11466
12004
  if (this.mode.getSnapshot() === mode) return;
@@ -11471,7 +12009,8 @@ window.__ModuleLoader__.load({
11471
12009
  adopt() {
11472
12010
  const section = this.host.getSnapshot().value;
11473
12011
  if (section === void 0) return;
11474
- const mode = section.transcriptView === "normal" ? "detailed" : section.transcriptView;
12012
+ const saved = section.transcriptView;
12013
+ const mode = saved === "normal" ? "standard" : saved === "expanded" ? "detailed" : saved;
11475
12014
  if (this.mode.getSnapshot() !== mode) this.mode.set(mode);
11476
12015
  }
11477
12016
  };
@@ -11490,19 +12029,26 @@ window.__ModuleLoader__.load({
11490
12029
  liveProcessDetail: false,
11491
12030
  settledReasoningPreview: false
11492
12031
  },
11493
- detailed: {
11494
- mode: "detailed",
12032
+ standard: {
12033
+ mode: "standard",
11495
12034
  foldCompletedTurns: true,
11496
12035
  stepGrouping: "collapsed",
11497
12036
  liveProcessDetail: true,
11498
12037
  settledReasoningPreview: true
11499
12038
  },
11500
- expanded: {
11501
- mode: "expanded",
12039
+ detailed: {
12040
+ mode: "detailed",
11502
12041
  foldCompletedTurns: true,
11503
- stepGrouping: "none",
12042
+ stepGrouping: "history",
11504
12043
  liveProcessDetail: true,
11505
12044
  settledReasoningPreview: true
12045
+ },
12046
+ verbose: {
12047
+ mode: "verbose",
12048
+ foldCompletedTurns: false,
12049
+ stepGrouping: "none",
12050
+ liveProcessDetail: false,
12051
+ settledReasoningPreview: true
11506
12052
  }
11507
12053
  };
11508
12054
  /**
@@ -11650,10 +12196,38 @@ window.__ModuleLoader__.load({
11650
12196
  * @param ctx - Client root context.
11651
12197
  */
11652
12198
  function apply(ctx) {
12199
+ const quotaNotice = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(null);
12200
+ let quotaNoticeSeq = 0;
12201
+ const quotaNoticeHolds = /* @__PURE__ */ new Set();
11653
12202
  const chatSources = /* @__PURE__ */ new WeakMap();
12203
+ const quotaSubscriptions = /* @__PURE__ */ new Set();
12204
+ ctx.effect(() => async () => {
12205
+ await Promise.all([...quotaSubscriptions].map((dispose) => dispose()));
12206
+ }, "ui-chat: live quota notices");
11654
12207
  const chatSource = (binding) => {
11655
12208
  let source = chatSources.get(binding);
11656
12209
  if (source === void 0) {
12210
+ const dispose = binding.ctx.effect(() => {
12211
+ const stop = binding.eventSource.subscribe(() => {
12212
+ const { change } = binding.eventSource.getSnapshot();
12213
+ if (change.kind !== "append") return;
12214
+ for (const { event } of change.entries) {
12215
+ if (event.type !== "turn/end" || event.data.reason.kind !== "error") continue;
12216
+ const { code } = event.data.reason.error;
12217
+ if (quotaNoticeHolds.size > 0 || code !== "QUOTA" && code !== "ACCOUNT_QUOTA") continue;
12218
+ quotaNotice.set({
12219
+ code,
12220
+ seq: ++quotaNoticeSeq
12221
+ });
12222
+ }
12223
+ });
12224
+ return () => {
12225
+ stop();
12226
+ chatSources.delete(binding);
12227
+ quotaSubscriptions.delete(dispose);
12228
+ };
12229
+ }, "ui-chat: Provider binding quota notices");
12230
+ quotaSubscriptions.add(dispose);
11657
12231
  const target = ctx.uiConversation.binding(binding).target("chat");
11658
12232
  source = {
11659
12233
  getSnapshot: () => target.getSnapshot() ?? EMPTY_CHAT_SNAPSHOT,
@@ -11811,6 +12385,30 @@ window.__ModuleLoader__.load({
11811
12385
  }
11812
12386
  }, ChatView);
11813
12387
  });
12388
+ ctx.slots.inject("shell.overlay", () => ctx.slots.register({
12389
+ name: "shell.overlay",
12390
+ id: "chat.quota-notice",
12391
+ locale: NS,
12392
+ children: { "shell.quota-notice": {
12393
+ kind: "chain",
12394
+ scope: "root"
12395
+ } },
12396
+ inject: () => ({
12397
+ hooks: { notice: quotaNotice },
12398
+ dismissNotice: () => {
12399
+ quotaNoticeHolds.clear();
12400
+ quotaNotice.set(null);
12401
+ },
12402
+ keepNoticeOpen: () => {
12403
+ if (quotaNotice.getSnapshot() === null) return () => {};
12404
+ const token = Symbol("ui-chat quota notice hold");
12405
+ quotaNoticeHolds.add(token);
12406
+ return () => {
12407
+ quotaNoticeHolds.delete(token);
12408
+ };
12409
+ }
12410
+ })
12411
+ }, QuotaNoticeHost));
11814
12412
  ctx.slots.inject("conversation.composer.dock", () => ctx.slots.register({
11815
12413
  name: "conversation.composer.dock",
11816
12414
  id: "stats",