@songtonyli/dsh-cli 0.1.12 → 0.1.13

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 (1723) hide show
  1. package/README.md +1 -1
  2. package/bin/dsh.mjs +1 -1
  3. package/node_modules/@deepseek-ai/cordis/lib/index.js +3 -2
  4. package/node_modules/@deepseek-ai/cordis/src/logger.ts +3 -2
  5. package/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js +1 -1
  6. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/entry.ts +1 -1
  7. package/node_modules/@deepseek-ai/dsh/README.i18n.yaml +2 -2
  8. package/node_modules/@deepseek-ai/dsh/README.md +6 -4
  9. package/node_modules/@deepseek-ai/dsh/README.zh.md +6 -4
  10. package/node_modules/@deepseek-ai/dsh/lib/bin.js +118 -54
  11. package/node_modules/@deepseek-ai/dsh/lib/{dump-config-CpQgpJa2.js → dump-config-Bb5YvFIX.js} +1 -1
  12. package/node_modules/@deepseek-ai/dsh/lib/plugin-DJ-rVHUS.js +31 -0
  13. package/node_modules/@deepseek-ai/dsh/lib/{profile-boot-CuwbWsnH.js → profile-boot-BNu17Y9U.js} +82 -135
  14. package/node_modules/@deepseek-ai/dsh/lib/profile-boot.js +2 -0
  15. package/node_modules/@deepseek-ai/dsh/package.json +117 -102
  16. package/node_modules/@deepseek-ai/dsh-acp/package.json +22 -22
  17. package/node_modules/@deepseek-ai/dsh-acp-app/README.i18n.yaml +2 -2
  18. package/node_modules/@deepseek-ai/dsh-acp-app/README.md +1 -1
  19. package/node_modules/@deepseek-ai/dsh-acp-app/README.zh.md +1 -1
  20. package/node_modules/@deepseek-ai/dsh-acp-app/cordis.patch.yml +3 -0
  21. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +3 -3
  22. package/node_modules/@deepseek-ai/dsh-agent/package.json +18 -18
  23. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +7 -7
  24. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +21 -21
  25. package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +2 -2
  26. package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +1 -1
  27. package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +1 -1
  28. package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +2 -3
  29. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +25 -25
  30. package/node_modules/@deepseek-ai/dsh-agent-presets/package.json +27 -27
  31. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/agent.cordis.yml +23 -13
  32. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/preset.yml +1 -1
  33. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/skills/cordis-plugin-development/SKILL.md +73 -385
  34. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/skills/editing-cordis-compositions/SKILL.md +9 -72
  35. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/ptc/agent.cordis.yml +4 -0
  36. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/standard/agent.cordis.yml +4 -0
  37. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +8 -8
  38. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +5 -5
  39. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +10 -10
  40. package/node_modules/@deepseek-ai/dsh-api-gateway/README.i18n.yaml +2 -2
  41. package/node_modules/@deepseek-ai/dsh-api-gateway/README.md +9 -5
  42. package/node_modules/@deepseek-ai/dsh-api-gateway/README.zh.md +9 -5
  43. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.js +41 -51
  44. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/index.js +4 -17
  45. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/remote-events.js +33 -38
  46. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/stream-client.js +2 -1
  47. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +9 -9
  48. package/node_modules/@deepseek-ai/dsh-api-remotes/README.i18n.yaml +2 -2
  49. package/node_modules/@deepseek-ai/dsh-api-remotes/README.md +1 -1
  50. package/node_modules/@deepseek-ai/dsh-api-remotes/README.zh.md +1 -1
  51. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +754 -76
  52. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +12 -0
  53. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +5 -4
  54. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +3 -0
  55. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +37 -35
  56. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +2 -2
  57. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +15 -3
  58. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +15 -3
  59. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +428 -471
  60. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +16 -47
  61. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +11 -32
  62. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +0 -21
  63. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.js +8 -1
  64. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/index.js +16 -5
  65. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/scope.js +15 -22
  66. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/lineage.js +1 -3
  67. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/manager.js +75 -174
  68. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/projection-store.js +6 -14
  69. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/service.js +259 -244
  70. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +29 -33
  71. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +10 -4
  72. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/control.js +1 -41
  73. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +1 -1
  74. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +66 -66
  75. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +13 -13
  76. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.i18n.yaml +2 -2
  77. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.md +14 -5
  78. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.zh.md +14 -5
  79. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/client.js +249 -19
  80. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/index.js +258 -50
  81. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +67 -11
  82. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.remote-client.js +54 -9
  83. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/bindings.js +71 -0
  84. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/index.js +83 -8
  85. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/model.js +20 -7
  86. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/retention.js +77 -0
  87. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/index.js +49 -43
  88. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/retention.js +153 -0
  89. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/terminal.js +35 -0
  90. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +16 -16
  91. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +16 -16
  92. package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.i18n.yaml +2 -2
  93. package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.md +2 -0
  94. package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.zh.md +2 -0
  95. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/index.js +6 -11
  96. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.host.js +4 -4
  97. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.remote-client.js +4 -4
  98. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/index.js +6 -7
  99. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +11 -10
  100. package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +2 -2
  101. package/node_modules/@deepseek-ai/dsh-app-boot/README.md +18 -8
  102. package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +17 -7
  103. package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +360 -202
  104. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +9 -17
  105. package/node_modules/@deepseek-ai/dsh-atomic-write/README.i18n.yaml +2 -2
  106. package/node_modules/@deepseek-ai/dsh-atomic-write/README.md +2 -0
  107. package/node_modules/@deepseek-ai/dsh-atomic-write/README.zh.md +2 -0
  108. package/node_modules/@deepseek-ai/dsh-atomic-write/lib/index.js +8 -3
  109. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
  110. package/node_modules/@deepseek-ai/dsh-attachment/package.json +3 -3
  111. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +6 -6
  112. package/node_modules/@deepseek-ai/dsh-authorization/package.json +7 -7
  113. package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +12 -5
  114. package/node_modules/@deepseek-ai/dsh-base/package.json +89 -88
  115. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +10 -10
  116. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +12 -12
  117. package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
  118. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +1 -1
  119. package/node_modules/@deepseek-ai/dsh-client-connection/README.i18n.yaml +2 -2
  120. package/node_modules/@deepseek-ai/dsh-client-connection/README.md +4 -0
  121. package/node_modules/@deepseek-ai/dsh-client-connection/README.zh.md +4 -0
  122. package/node_modules/@deepseek-ai/dsh-client-connection/lib/index.js +1 -1
  123. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +7 -7
  124. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +12 -12
  125. package/node_modules/@deepseek-ai/dsh-client-hmr/README.i18n.yaml +2 -2
  126. package/node_modules/@deepseek-ai/dsh-client-hmr/README.md +11 -11
  127. package/node_modules/@deepseek-ai/dsh-client-hmr/README.zh.md +11 -11
  128. package/node_modules/@deepseek-ai/dsh-client-hmr/lib/client.js +10 -59
  129. package/node_modules/@deepseek-ai/dsh-client-hmr/lib/index.js +15 -7
  130. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +5 -5
  131. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +8 -6
  132. package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +2 -2
  133. package/node_modules/@deepseek-ai/dsh-client-modules/README.md +14 -4
  134. package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +14 -4
  135. package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +407 -26
  136. package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +62 -10
  137. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +4 -4
  138. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +4 -3
  139. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +140 -48
  140. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +15 -12
  141. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +12 -10
  142. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.i18n.yaml +2 -2
  143. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.md +2 -0
  144. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.zh.md +2 -0
  145. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +24 -12
  146. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +9 -7
  147. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +4 -3
  148. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +2 -2
  149. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +4 -2
  150. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +4 -2
  151. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +49 -34
  152. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +33 -29
  153. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +2 -2
  154. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +1 -1
  155. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +1 -1
  156. package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +107 -34
  157. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +14 -11
  158. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +2 -2
  159. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +13 -2
  160. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +13 -2
  161. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +520 -384
  162. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +30 -26
  163. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.i18n.yaml +2 -2
  164. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.md +9 -13
  165. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.zh.md +9 -13
  166. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +3 -35
  167. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +12 -12
  168. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +2 -2
  169. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +25 -15
  170. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +25 -15
  171. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +1364 -160
  172. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/index.js +164 -41
  173. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +27 -22
  174. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +7 -5
  175. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/README.i18n.yaml +2 -2
  176. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/README.md +8 -5
  177. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/README.zh.md +7 -4
  178. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/lib/client.js +3 -1
  179. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +4 -4
  180. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +14 -12
  181. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.i18n.yaml +2 -2
  182. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.md +1 -1
  183. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.zh.md +1 -1
  184. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +112 -11
  185. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +11 -8
  186. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +8 -6
  187. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.i18n.yaml +2 -2
  188. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.md +2 -0
  189. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.zh.md +2 -0
  190. package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +27 -8
  191. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +7 -6
  192. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +15 -13
  193. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +2 -2
  194. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +5 -1
  195. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +5 -1
  196. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +152 -33
  197. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +14 -11
  198. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +10 -8
  199. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +14 -12
  200. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.i18n.yaml +2 -2
  201. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.md +9 -1
  202. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.zh.md +9 -1
  203. package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +564 -4
  204. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +26 -10
  205. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +6 -0
  206. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +129 -0
  207. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +129 -0
  208. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +2550 -0
  209. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/index.js +6 -0
  210. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +65 -0
  211. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/LICENSE +21 -0
  212. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +6 -0
  213. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +172 -0
  214. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +172 -0
  215. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Button.module.css +79 -0
  216. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Checkbox.module.css +28 -0
  217. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ConnectionIndicator.module.css +123 -0
  218. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DiffBlock.module.css +109 -0
  219. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DisclosureRow.module.css +84 -0
  220. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/FileTypeIcon.module.css +50 -0
  221. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/HoverCard.module.css +54 -0
  222. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Input.module.css +38 -0
  223. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/JsonTree.module.css +345 -0
  224. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Menu.module.css +261 -0
  225. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Modal.module.css +103 -0
  226. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/OnboardingSurface.module.css +29 -0
  227. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Pill.module.css +27 -0
  228. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ReadBlock.module.css +111 -0
  229. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RiskConfirmation.module.css +73 -0
  230. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SearchBlock.module.css +112 -0
  231. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/StateDot.module.css +73 -0
  232. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Switch.module.css +50 -0
  233. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tag.module.css +57 -0
  234. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TerminalBlock.module.css +205 -0
  235. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Toast.module.css +72 -0
  236. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tooltip.module.css +42 -0
  237. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/WebBlock.module.css +141 -0
  238. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +8666 -0
  239. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/CodeBlock.module.css +130 -0
  240. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/JsonBlock.module.css +32 -0
  241. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css +462 -0
  242. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/BrandWordmark.d.ts +15 -0
  243. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Button.d.ts +18 -0
  244. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Checkbox.d.ts +20 -0
  245. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CodeFileIcon.d.ts +12 -0
  246. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ConnectionIndicator.d.ts +26 -0
  247. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DiffBlock.d.ts +52 -0
  248. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DisclosureRow.d.ts +29 -0
  249. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FileTypeIcon.d.ts +43 -0
  250. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FishLogo.d.ts +16 -0
  251. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FoldToggle.d.ts +20 -0
  252. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCard.d.ts +24 -0
  253. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Input.d.ts +11 -0
  254. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/JsonTree.d.ts +59 -0
  255. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/LinkIcon.d.ts +49 -0
  256. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Menu.d.ts +90 -0
  257. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Modal.d.ts +36 -0
  258. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/OnboardingSurface.d.ts +11 -0
  259. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Pill.d.ts +13 -0
  260. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReadBlock.d.ts +47 -0
  261. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReferenceIcon.d.ts +16 -0
  262. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/RiskConfirmation.d.ts +20 -0
  263. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SearchBlock.d.ts +72 -0
  264. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SiteGlyph.d.ts +25 -0
  265. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/StateDot.d.ts +18 -0
  266. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Switch.d.ts +20 -0
  267. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tag.d.ts +32 -0
  268. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TerminalBlock.d.ts +66 -0
  269. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Toast.d.ts +32 -0
  270. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tooltip.d.ts +34 -0
  271. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/WebBlock.d.ts +61 -0
  272. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ansi.d.ts +17 -0
  273. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/clipboard.d.ts +9 -0
  274. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-file-icon-artwork.d.ts +54 -0
  275. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-file-types.d.ts +30 -0
  276. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/darwin-desktop.d.ts +9 -0
  277. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/file-size.d.ts +8 -0
  278. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/head-tail-cap.d.ts +23 -0
  279. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/index.d.ts +200 -0
  280. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/props.d.ts +9 -0
  281. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +70 -0
  282. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/CodeBlock.d.ts +30 -0
  283. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/JsonBlock.d.ts +8 -0
  284. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/MarkdownDelegate.d.ts +36 -0
  285. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/MarkdownText.d.ts +49 -0
  286. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/cjkFriendlyStrong.d.ts +9 -0
  287. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/file-link.d.ts +13 -0
  288. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/highlight.d.ts +142 -0
  289. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/incremental.d.ts +80 -0
  290. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/katex.d.ts +27 -0
  291. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/mathCompatibility.d.ts +11 -0
  292. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/parse.d.ts +25 -0
  293. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/plain-text.d.ts +22 -0
  294. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/render.d.ts +138 -0
  295. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/useViewportHighlighting.d.ts +11 -0
  296. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/pointer-grace.d.ts +22 -0
  297. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/rank-by-name.d.ts +22 -0
  298. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/relative-time.d.ts +23 -0
  299. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/use-copy-feedback.d.ts +14 -0
  300. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredMaxHeight.d.ts +11 -0
  301. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredPosition.d.ts +34 -0
  302. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useDismissOnOutsidePointer.d.ts +11 -0
  303. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/user-text.d.ts +37 -0
  304. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/user-text.module.css +43 -0
  305. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +60 -0
  306. package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.i18n.yaml +2 -2
  307. package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.md +1 -1
  308. package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.zh.md +1 -1
  309. package/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/client.js +19 -5
  310. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +13 -11
  311. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.i18n.yaml +2 -2
  312. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.md +4 -3
  313. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.zh.md +4 -3
  314. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/lib/client.js +463 -57
  315. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -2
  316. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +10 -8
  317. package/node_modules/@deepseek-ai/dsh-client-ui-session/README.i18n.yaml +2 -2
  318. package/node_modules/@deepseek-ai/dsh-client-ui-session/README.md +1 -1
  319. package/node_modules/@deepseek-ai/dsh-client-ui-session/README.zh.md +1 -1
  320. package/node_modules/@deepseek-ai/dsh-client-ui-session/lib/client.js +232 -72
  321. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +8 -4
  322. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +5 -4
  323. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +2 -2
  324. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +2 -0
  325. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +2 -0
  326. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +293 -27
  327. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +11 -9
  328. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +2 -2
  329. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +4 -2
  330. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +4 -2
  331. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +244 -227
  332. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +8 -6
  333. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.i18n.yaml +2 -2
  334. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.md +6 -2
  335. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.zh.md +6 -2
  336. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +52 -10
  337. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +12 -8
  338. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.i18n.yaml +2 -2
  339. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.md +24 -19
  340. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.zh.md +23 -18
  341. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +649 -509
  342. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +10 -7
  343. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +7 -5
  344. package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/package.json +11 -9
  345. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +2 -2
  346. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +8 -0
  347. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +8 -0
  348. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +105 -25
  349. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +11 -7
  350. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.i18n.yaml +6 -0
  351. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.md +117 -0
  352. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.zh.md +117 -0
  353. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/client.js +821 -0
  354. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/index.js +6 -0
  355. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +60 -0
  356. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +2 -2
  357. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +39 -6
  358. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +39 -6
  359. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +1821 -25130
  360. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +32609 -0
  361. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/index.js +26 -4
  362. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +25 -15
  363. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +11 -9
  364. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.i18n.yaml +2 -2
  365. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.md +9 -3
  366. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +9 -3
  367. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +4538 -13
  368. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +13 -10
  369. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.i18n.yaml +2 -2
  370. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.md +8 -5
  371. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.zh.md +8 -5
  372. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.js +42 -13423
  373. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.terminal.js +13494 -0
  374. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +14 -11
  375. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +13 -11
  376. package/node_modules/@deepseek-ai/dsh-client-ui-slots/LICENSE +21 -0
  377. package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.i18n.yaml +6 -0
  378. package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.md +111 -0
  379. package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.zh.md +111 -0
  380. package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/index.js +577 -0
  381. package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/index.d.ts +951 -0
  382. package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/renderer.d.ts +263 -0
  383. package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/store.d.ts +3 -0
  384. package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +37 -0
  385. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +2 -2
  386. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +3 -1
  387. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +3 -1
  388. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +212 -16
  389. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +22 -12
  390. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +1 -1
  391. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/index.js +1 -0
  392. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +10 -8
  393. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +1 -0
  394. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +21 -19
  395. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.i18n.yaml +2 -2
  396. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.md +5 -1
  397. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +5 -1
  398. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +132 -66
  399. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +15 -13
  400. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.i18n.yaml +2 -2
  401. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.md +6 -4
  402. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.zh.md +6 -4
  403. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +71 -74
  404. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +18 -15
  405. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +12 -5
  406. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +15 -11
  407. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +2 -2
  408. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +10 -2
  409. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +10 -2
  410. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +403 -217
  411. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +18 -15
  412. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
  413. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +8 -8
  414. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +11 -11
  415. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +11 -11
  416. package/node_modules/@deepseek-ai/dsh-commands/package.json +18 -18
  417. package/node_modules/@deepseek-ai/dsh-compaction/package.json +11 -11
  418. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +22 -22
  419. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +16 -16
  420. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +13 -13
  421. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.i18n.yaml +2 -2
  422. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.md +7 -7
  423. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.zh.md +7 -7
  424. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +736 -219
  425. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +6 -6
  426. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.i18n.yaml +2 -2
  427. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.md +7 -7
  428. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.zh.md +7 -7
  429. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/index.js +5 -5
  430. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/index.js +5 -8
  431. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/lifecycle.js +2 -2
  432. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +16 -16
  433. package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
  434. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +9 -9
  435. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +1 -1
  436. package/node_modules/@deepseek-ai/dsh-deque/package.json +1 -1
  437. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +6 -0
  438. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +220 -0
  439. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +220 -0
  440. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/index.js +1894 -0
  441. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/invariant.js +361 -0
  442. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.host.js +879 -0
  443. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.remote-client.js +218 -0
  444. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/activity.js +85 -0
  445. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/client.js +3 -0
  446. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/error.js +23 -0
  447. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/index.js +313 -0
  448. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/invariant.js +26 -0
  449. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/journal.js +63 -0
  450. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/lifecycle.js +85 -0
  451. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/mailbox.js +293 -0
  452. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/persisted.js +20 -0
  453. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/projection.js +260 -0
  454. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/roster.js +448 -0
  455. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/session-message.js +23 -0
  456. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-board.js +275 -0
  457. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-graph.js +62 -0
  458. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/types.js +26 -0
  459. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/validation.js +33 -0
  460. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +87 -0
  461. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.i18n.yaml +6 -0
  462. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.md +107 -0
  463. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.zh.md +107 -0
  464. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/cordis.patch.yml +30 -0
  465. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/lib/index.js +1 -0
  466. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +48 -0
  467. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/README.i18n.yaml +6 -0
  468. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/README.md +98 -0
  469. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/README.zh.md +98 -0
  470. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/cordis.patch.yml +6 -0
  471. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/lib/index.js +1 -0
  472. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/package.json +47 -0
  473. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.i18n.yaml +6 -0
  474. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.md +98 -0
  475. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.zh.md +98 -0
  476. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +4979 -0
  477. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/index.js +6 -0
  478. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +81 -0
  479. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +6 -0
  480. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +159 -0
  481. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +159 -0
  482. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +550 -0
  483. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +59 -0
  484. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +3 -3
  485. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +9 -9
  486. package/node_modules/@deepseek-ai/dsh-fs/package.json +9 -9
  487. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +4 -4
  488. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +4 -4
  489. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +10 -10
  490. package/node_modules/@deepseek-ai/dsh-goal/package.json +22 -22
  491. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +15 -15
  492. package/node_modules/@deepseek-ai/dsh-headless/cordis.patch.yml +3 -0
  493. package/node_modules/@deepseek-ai/dsh-headless/package.json +17 -17
  494. package/node_modules/@deepseek-ai/dsh-hmr/README.i18n.yaml +6 -0
  495. package/node_modules/@deepseek-ai/dsh-hmr/README.md +95 -0
  496. package/node_modules/@deepseek-ai/dsh-hmr/README.zh.md +95 -0
  497. package/node_modules/@deepseek-ai/dsh-hmr/lib/index.js +672 -0
  498. package/node_modules/@deepseek-ai/{cordis-plugin-hmr → dsh-hmr}/package.json +18 -21
  499. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
  500. package/node_modules/@deepseek-ai/dsh-hook-protocol/package.json +7 -7
  501. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/package.json +20 -20
  502. package/node_modules/@deepseek-ai/dsh-hooks-codex/package.json +18 -18
  503. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +1 -1
  504. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +13 -13
  505. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +2 -2
  506. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +3 -3
  507. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +6 -6
  508. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +5 -5
  509. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/index.js +40 -24
  510. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.host.js +2 -1
  511. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.remote-client.js +2 -1
  512. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/types/index.js +36 -24
  513. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +7 -7
  514. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +1 -1
  515. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +2 -2
  516. package/node_modules/@deepseek-ai/dsh-invariants/package.json +1 -1
  517. package/node_modules/@deepseek-ai/dsh-jobs/package.json +9 -9
  518. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +11 -11
  519. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
  520. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +1 -1
  521. package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +2 -2
  522. package/node_modules/@deepseek-ai/dsh-llm/README.md +1 -1
  523. package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +1 -1
  524. package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +2 -1
  525. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +3 -2
  526. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.remote-client.js +2 -1
  527. package/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +1 -0
  528. package/node_modules/@deepseek-ai/dsh-llm/package.json +8 -8
  529. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +2 -2
  530. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +4 -4
  531. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +4 -4
  532. package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +33 -37
  533. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +37 -37
  534. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +2 -2
  535. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +3 -2
  536. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +3 -2
  537. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +47 -3
  538. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +21 -21
  539. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +20 -20
  540. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +20 -20
  541. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +12 -12
  542. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +14 -14
  543. package/node_modules/@deepseek-ai/dsh-native-command/package.json +2 -2
  544. package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.i18n.yaml +6 -0
  545. package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.md +105 -0
  546. package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.zh.md +105 -0
  547. package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/index.js +659 -0
  548. package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/typert.host.js +193 -0
  549. package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/typert.remote-client.js +94 -0
  550. package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/types/errors.js +15 -0
  551. package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/types/identity.js +23 -0
  552. package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/types/index.js +287 -0
  553. package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/types/output.js +47 -0
  554. package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/types/queue.js +246 -0
  555. package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/types/types.js +2 -0
  556. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +64 -0
  557. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
  558. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +1 -1
  559. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +21 -21
  560. package/node_modules/@deepseek-ai/dsh-persona/package.json +4 -4
  561. package/node_modules/@deepseek-ai/dsh-plan-mode/README.i18n.yaml +2 -2
  562. package/node_modules/@deepseek-ai/dsh-plan-mode/README.md +2 -0
  563. package/node_modules/@deepseek-ai/dsh-plan-mode/README.zh.md +2 -0
  564. package/node_modules/@deepseek-ai/dsh-plan-mode/lib/index.js +2 -1
  565. package/node_modules/@deepseek-ai/dsh-plan-mode/lib/types/index.js +1 -1
  566. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +22 -22
  567. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +6 -0
  568. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +133 -0
  569. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +133 -0
  570. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +1174 -0
  571. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +604 -0
  572. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +393 -0
  573. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/build-approval.js +56 -0
  574. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/failure.js +8 -0
  575. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +623 -0
  576. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/install-failure.js +33 -0
  577. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/install-spec.js +73 -0
  578. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +177 -0
  579. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/patch.js +50 -0
  580. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +74 -0
  581. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/types.js +2 -0
  582. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +102 -0
  583. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +13 -13
  584. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +3 -3
  585. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +2 -2
  586. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.md +1 -1
  587. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.zh.md +1 -1
  588. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/index.js +1 -1
  589. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +20 -20
  590. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +10 -10
  591. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +12 -12
  592. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +2 -1
  593. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +9 -9
  594. package/node_modules/@deepseek-ai/dsh-sandbox/README.i18n.yaml +2 -2
  595. package/node_modules/@deepseek-ai/dsh-sandbox/README.md +2 -2
  596. package/node_modules/@deepseek-ai/dsh-sandbox/README.zh.md +2 -2
  597. package/node_modules/@deepseek-ai/dsh-sandbox/lib/index.js +6 -9
  598. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +6 -6
  599. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +9 -9
  600. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +13 -13
  601. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +8 -8
  602. package/node_modules/@deepseek-ai/dsh-schedule/package.json +20 -20
  603. package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
  604. package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +2 -2
  605. package/node_modules/@deepseek-ai/dsh-sdk-app/README.md +1 -1
  606. package/node_modules/@deepseek-ai/dsh-sdk-app/README.zh.md +1 -1
  607. package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +3 -0
  608. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +3 -3
  609. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +21 -21
  610. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +28 -28
  611. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +7 -7
  612. package/node_modules/@deepseek-ai/dsh-session/lib/index.js +2 -1
  613. package/node_modules/@deepseek-ai/dsh-session/lib/types/known-event-types.js +1 -0
  614. package/node_modules/@deepseek-ai/dsh-session/package.json +9 -9
  615. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +15 -15
  616. package/node_modules/@deepseek-ai/dsh-session-format/package.json +2 -2
  617. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +8 -8
  618. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +4 -4
  619. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +6 -6
  620. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +4 -4
  621. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +14 -14
  622. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +19 -17
  623. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +9 -9
  624. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +7 -4
  625. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +10 -10
  626. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +3 -3
  627. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +10 -10
  628. package/node_modules/@deepseek-ai/dsh-session-query/package.json +18 -18
  629. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +9 -9
  630. package/node_modules/@deepseek-ai/dsh-session-reference/README.i18n.yaml +2 -2
  631. package/node_modules/@deepseek-ai/dsh-session-reference/README.md +1 -1
  632. package/node_modules/@deepseek-ai/dsh-session-reference/README.zh.md +1 -1
  633. package/node_modules/@deepseek-ai/dsh-session-reference/lib/index.js +20 -16
  634. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +4 -3
  635. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.remote-client.js +2 -1
  636. package/node_modules/@deepseek-ai/dsh-session-reference/lib/types/index.js +30 -23
  637. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +34 -32
  638. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +7 -7
  639. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +5 -5
  640. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +19 -19
  641. package/node_modules/@deepseek-ai/dsh-session-title/package.json +16 -16
  642. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +12 -12
  643. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +10 -10
  644. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +7 -7
  645. package/node_modules/@deepseek-ai/dsh-settings/package.json +8 -8
  646. package/node_modules/@deepseek-ai/dsh-settings-file/package.json +8 -8
  647. package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -7
  648. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +9 -9
  649. package/node_modules/@deepseek-ai/dsh-skill/package.json +6 -6
  650. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +3 -3
  651. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +7 -7
  652. package/node_modules/@deepseek-ai/dsh-spill/package.json +7 -7
  653. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +6 -6
  654. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +18 -18
  655. package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
  656. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +5 -5
  657. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +3 -3
  658. package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +2 -2
  659. package/node_modules/@deepseek-ai/dsh-subagent/README.md +12 -0
  660. package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +12 -0
  661. package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +116 -50
  662. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +11 -4
  663. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +3 -3
  664. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation-activation.js +41 -4
  665. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation.js +2 -2
  666. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/control.js +1 -0
  667. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +29 -3
  668. package/node_modules/@deepseek-ai/dsh-subagent/package.json +54 -48
  669. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +20 -20
  670. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +14 -14
  671. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +22 -22
  672. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +16 -16
  673. package/node_modules/@deepseek-ai/dsh-subprocess/README.i18n.yaml +2 -2
  674. package/node_modules/@deepseek-ai/dsh-subprocess/README.md +2 -0
  675. package/node_modules/@deepseek-ai/dsh-subprocess/README.zh.md +2 -0
  676. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +4 -4
  677. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.i18n.yaml +2 -2
  678. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.md +7 -0
  679. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.zh.md +7 -0
  680. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/index.js +267 -20
  681. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-DGV26RBf.js +1525 -0
  682. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner.js +1 -1
  683. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +7 -7
  684. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +7 -7
  685. package/node_modules/@deepseek-ai/dsh-terminal/package.json +6 -6
  686. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +17 -17
  687. package/node_modules/@deepseek-ai/dsh-time-context/package.json +20 -20
  688. package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
  689. package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +2 -1
  690. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +11 -11
  691. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +14 -14
  692. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +9 -9
  693. package/node_modules/@deepseek-ai/dsh-tool-bash/README.i18n.yaml +2 -2
  694. package/node_modules/@deepseek-ai/dsh-tool-bash/README.md +1 -1
  695. package/node_modules/@deepseek-ai/dsh-tool-bash/README.zh.md +1 -1
  696. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +29 -29
  697. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +17 -17
  698. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +7 -7
  699. package/node_modules/@deepseek-ai/dsh-tool-cordis/README.i18n.yaml +2 -2
  700. package/node_modules/@deepseek-ai/dsh-tool-cordis/README.md +11 -131
  701. package/node_modules/@deepseek-ai/dsh-tool-cordis/README.zh.md +15 -135
  702. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/index.js +688 -743
  703. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +10 -16
  704. package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +10 -6
  705. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +27 -27
  706. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +20 -20
  707. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +16 -16
  708. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +15 -15
  709. package/node_modules/@deepseek-ai/dsh-tool-present/README.i18n.yaml +1 -1
  710. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +18 -18
  711. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +28 -28
  712. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +18 -18
  713. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +19 -19
  714. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +12 -12
  715. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +17 -17
  716. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +2 -2
  717. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +2 -2
  718. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +2 -2
  719. package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +3 -3
  720. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +28 -28
  721. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +19 -19
  722. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +15 -15
  723. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +18 -18
  724. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +18 -18
  725. package/node_modules/@deepseek-ai/dsh-tools/package.json +24 -24
  726. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +2 -2
  727. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +5 -4
  728. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +5 -4
  729. package/node_modules/@deepseek-ai/dsh-tui-app/cordis.patch.yml +9 -0
  730. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +298 -13
  731. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +68 -62
  732. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +4 -4
  733. package/node_modules/@deepseek-ai/dsh-typert-protocol/README.i18n.yaml +2 -2
  734. package/node_modules/@deepseek-ai/dsh-typert-protocol/README.md +3 -1
  735. package/node_modules/@deepseek-ai/dsh-typert-protocol/README.zh.md +3 -1
  736. package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/index.js +32 -1
  737. package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/index.js +1 -0
  738. package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/owned-value.js +32 -0
  739. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +1 -1
  740. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +2 -2
  741. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +15 -15
  742. package/node_modules/@deepseek-ai/dsh-user-questions/README.i18n.yaml +2 -2
  743. package/node_modules/@deepseek-ai/dsh-user-questions/README.md +2 -0
  744. package/node_modules/@deepseek-ai/dsh-user-questions/README.zh.md +2 -0
  745. package/node_modules/@deepseek-ai/dsh-user-questions/lib/index.js +2 -1
  746. package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/plan-review.js +5 -1
  747. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +7 -7
  748. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +1 -1
  749. package/node_modules/@deepseek-ai/dsh-util-time/package.json +1 -1
  750. package/node_modules/@deepseek-ai/dsh-util-values/README.i18n.yaml +2 -2
  751. package/node_modules/@deepseek-ai/dsh-util-values/README.md +6 -3
  752. package/node_modules/@deepseek-ai/dsh-util-values/README.zh.md +6 -3
  753. package/node_modules/@deepseek-ai/dsh-util-values/lib/index.js +62 -1
  754. package/node_modules/@deepseek-ai/dsh-util-values/package.json +1 -1
  755. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +1 -1
  756. package/node_modules/@deepseek-ai/dsh-web/package.json +3 -3
  757. package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +2 -2
  758. package/node_modules/@deepseek-ai/dsh-web-app/README.md +1 -1
  759. package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +1 -1
  760. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +35 -12
  761. package/node_modules/@deepseek-ai/dsh-web-app/package.json +98 -86
  762. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +7 -7
  763. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-8VXBH-f-.js +127 -0
  764. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-lP1BfJ4l.css +1 -0
  765. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
  766. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +9 -6
  767. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +15 -15
  768. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +6 -6
  769. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +6 -6
  770. package/node_modules/@deepseek-ai/dsh-webhook/package.json +21 -21
  771. package/node_modules/@deepseek-ai/dsh-webhook-github/package.json +10 -10
  772. package/node_modules/@deepseek-ai/dsh-win32-process/README.i18n.yaml +2 -2
  773. package/node_modules/@deepseek-ai/dsh-win32-process/README.md +2 -0
  774. package/node_modules/@deepseek-ai/dsh-win32-process/README.zh.md +2 -0
  775. package/node_modules/@deepseek-ai/dsh-win32-process/lib/index.js +7 -4
  776. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +2 -2
  777. package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
  778. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +33 -33
  779. package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
  780. package/node_modules/@deepseek-ai/dsh-workspace-changes/README.i18n.yaml +6 -0
  781. package/node_modules/@deepseek-ai/dsh-workspace-changes/README.md +108 -0
  782. package/node_modules/@deepseek-ai/dsh-workspace-changes/README.zh.md +108 -0
  783. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/index.js +1106 -0
  784. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/capture.js +107 -0
  785. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/compare.js +56 -0
  786. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/git.js +224 -0
  787. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/index.js +139 -0
  788. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/numstat.js +45 -0
  789. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/paths.js +106 -0
  790. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/recorder.js +333 -0
  791. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/types.js +2 -0
  792. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +56 -0
  793. package/node_modules/@deepseek-ai/libreoffice-kit/LICENSE +373 -0
  794. package/node_modules/@deepseek-ai/libreoffice-kit/NOTICE +26 -0
  795. package/node_modules/@deepseek-ai/libreoffice-kit/README.md +73 -0
  796. package/node_modules/@deepseek-ai/libreoffice-kit/README.zh.md +73 -0
  797. package/node_modules/@deepseek-ai/libreoffice-kit/lib/index.js +924 -0
  798. package/node_modules/@deepseek-ai/libreoffice-kit/lib/worker.js +800 -0
  799. package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/CHANGELOG.md +115 -0
  800. package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/LICENSE +21 -0
  801. package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/README.md +558 -0
  802. package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/esm/browser.js +2665 -0
  803. package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/esm/index.mjs +2679 -0
  804. package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/lib/browser.cjs +2688 -0
  805. package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/lib/index.cjs +2668 -0
  806. package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/lib/node-worker.cjs +32 -0
  807. package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/lib/node.cjs +2700 -0
  808. package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/lib/worker.cjs +20 -0
  809. package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/package.json +127 -0
  810. package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/umd/index.js +1 -0
  811. package/node_modules/@deepseek-ai/libreoffice-kit/package.json +39 -0
  812. package/node_modules/@sec-ant/readable-stream/LICENSE +21 -0
  813. package/node_modules/@sec-ant/readable-stream/README.md +230 -0
  814. package/node_modules/@sec-ant/readable-stream/dist/index/asyncIterator.js +5 -0
  815. package/node_modules/@sec-ant/readable-stream/dist/index/fromAnyIterable.js +5 -0
  816. package/node_modules/@sec-ant/readable-stream/dist/index/index.js +8 -0
  817. package/node_modules/@sec-ant/readable-stream/dist/polyfill/asyncIterator.js +3 -0
  818. package/node_modules/@sec-ant/readable-stream/dist/polyfill/fromAnyIterable.js +2 -0
  819. package/node_modules/@sec-ant/readable-stream/dist/polyfill/index.js +4 -0
  820. package/node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.js +89 -0
  821. package/node_modules/@sec-ant/readable-stream/dist/ponyfill/fromAnyIterable.js +34 -0
  822. package/node_modules/@sec-ant/readable-stream/dist/ponyfill/index.js +6 -0
  823. package/node_modules/@sec-ant/readable-stream/package.json +73 -0
  824. package/node_modules/@sindresorhus/merge-streams/index.js +265 -0
  825. package/node_modules/@sindresorhus/merge-streams/license +9 -0
  826. package/node_modules/@sindresorhus/merge-streams/package.json +46 -0
  827. package/node_modules/@sindresorhus/merge-streams/readme.md +53 -0
  828. package/node_modules/@swc/helpers/LICENSE +201 -0
  829. package/node_modules/@swc/helpers/_/_apply_decorated_descriptor/package.json +4 -0
  830. package/node_modules/@swc/helpers/_/_apply_decs_2203_r/package.json +4 -0
  831. package/node_modules/@swc/helpers/_/_apply_decs_2311/package.json +4 -0
  832. package/node_modules/@swc/helpers/_/_array_like_to_array/package.json +4 -0
  833. package/node_modules/@swc/helpers/_/_array_with_holes/package.json +4 -0
  834. package/node_modules/@swc/helpers/_/_array_without_holes/package.json +4 -0
  835. package/node_modules/@swc/helpers/_/_assert_this_initialized/package.json +4 -0
  836. package/node_modules/@swc/helpers/_/_async_generator/package.json +4 -0
  837. package/node_modules/@swc/helpers/_/_async_generator_delegate/package.json +4 -0
  838. package/node_modules/@swc/helpers/_/_async_iterator/package.json +4 -0
  839. package/node_modules/@swc/helpers/_/_async_to_generator/package.json +4 -0
  840. package/node_modules/@swc/helpers/_/_await_async_generator/package.json +4 -0
  841. package/node_modules/@swc/helpers/_/_await_value/package.json +4 -0
  842. package/node_modules/@swc/helpers/_/_call_super/package.json +4 -0
  843. package/node_modules/@swc/helpers/_/_check_private_redeclaration/package.json +4 -0
  844. package/node_modules/@swc/helpers/_/_class_apply_descriptor_destructure/package.json +4 -0
  845. package/node_modules/@swc/helpers/_/_class_apply_descriptor_get/package.json +4 -0
  846. package/node_modules/@swc/helpers/_/_class_apply_descriptor_set/package.json +4 -0
  847. package/node_modules/@swc/helpers/_/_class_apply_descriptor_update/package.json +4 -0
  848. package/node_modules/@swc/helpers/_/_class_call_check/package.json +4 -0
  849. package/node_modules/@swc/helpers/_/_class_check_private_static_access/package.json +4 -0
  850. package/node_modules/@swc/helpers/_/_class_check_private_static_field_descriptor/package.json +4 -0
  851. package/node_modules/@swc/helpers/_/_class_extract_field_descriptor/package.json +4 -0
  852. package/node_modules/@swc/helpers/_/_class_name_tdz_error/package.json +4 -0
  853. package/node_modules/@swc/helpers/_/_class_private_field_destructure/package.json +4 -0
  854. package/node_modules/@swc/helpers/_/_class_private_field_get/package.json +4 -0
  855. package/node_modules/@swc/helpers/_/_class_private_field_init/package.json +4 -0
  856. package/node_modules/@swc/helpers/_/_class_private_field_loose_base/package.json +4 -0
  857. package/node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json +4 -0
  858. package/node_modules/@swc/helpers/_/_class_private_field_set/package.json +4 -0
  859. package/node_modules/@swc/helpers/_/_class_private_field_update/package.json +4 -0
  860. package/node_modules/@swc/helpers/_/_class_private_method_get/package.json +4 -0
  861. package/node_modules/@swc/helpers/_/_class_private_method_init/package.json +4 -0
  862. package/node_modules/@swc/helpers/_/_class_private_method_set/package.json +4 -0
  863. package/node_modules/@swc/helpers/_/_class_static_private_field_destructure/package.json +4 -0
  864. package/node_modules/@swc/helpers/_/_class_static_private_field_spec_get/package.json +4 -0
  865. package/node_modules/@swc/helpers/_/_class_static_private_field_spec_set/package.json +4 -0
  866. package/node_modules/@swc/helpers/_/_class_static_private_field_update/package.json +4 -0
  867. package/node_modules/@swc/helpers/_/_class_static_private_method_get/package.json +4 -0
  868. package/node_modules/@swc/helpers/_/_construct/package.json +4 -0
  869. package/node_modules/@swc/helpers/_/_create_class/package.json +4 -0
  870. package/node_modules/@swc/helpers/_/_create_for_of_iterator_helper_loose/package.json +4 -0
  871. package/node_modules/@swc/helpers/_/_create_super/package.json +4 -0
  872. package/node_modules/@swc/helpers/_/_decorate/package.json +4 -0
  873. package/node_modules/@swc/helpers/_/_defaults/package.json +4 -0
  874. package/node_modules/@swc/helpers/_/_define_enumerable_properties/package.json +4 -0
  875. package/node_modules/@swc/helpers/_/_define_property/package.json +4 -0
  876. package/node_modules/@swc/helpers/_/_dispose/package.json +4 -0
  877. package/node_modules/@swc/helpers/_/_export_star/package.json +4 -0
  878. package/node_modules/@swc/helpers/_/_extends/package.json +4 -0
  879. package/node_modules/@swc/helpers/_/_get/package.json +4 -0
  880. package/node_modules/@swc/helpers/_/_get_prototype_of/package.json +4 -0
  881. package/node_modules/@swc/helpers/_/_identity/package.json +4 -0
  882. package/node_modules/@swc/helpers/_/_inherits/package.json +4 -0
  883. package/node_modules/@swc/helpers/_/_inherits_loose/package.json +4 -0
  884. package/node_modules/@swc/helpers/_/_initializer_define_property/package.json +4 -0
  885. package/node_modules/@swc/helpers/_/_initializer_warning_helper/package.json +4 -0
  886. package/node_modules/@swc/helpers/_/_instanceof/package.json +4 -0
  887. package/node_modules/@swc/helpers/_/_interop_require_default/package.json +4 -0
  888. package/node_modules/@swc/helpers/_/_interop_require_wildcard/package.json +4 -0
  889. package/node_modules/@swc/helpers/_/_is_native_function/package.json +4 -0
  890. package/node_modules/@swc/helpers/_/_is_native_reflect_construct/package.json +4 -0
  891. package/node_modules/@swc/helpers/_/_iterable_to_array/package.json +4 -0
  892. package/node_modules/@swc/helpers/_/_iterable_to_array_limit/package.json +4 -0
  893. package/node_modules/@swc/helpers/_/_iterable_to_array_limit_loose/package.json +4 -0
  894. package/node_modules/@swc/helpers/_/_jsx/package.json +4 -0
  895. package/node_modules/@swc/helpers/_/_new_arrow_check/package.json +4 -0
  896. package/node_modules/@swc/helpers/_/_non_iterable_rest/package.json +4 -0
  897. package/node_modules/@swc/helpers/_/_non_iterable_spread/package.json +4 -0
  898. package/node_modules/@swc/helpers/_/_object_destructuring_empty/package.json +4 -0
  899. package/node_modules/@swc/helpers/_/_object_spread/package.json +4 -0
  900. package/node_modules/@swc/helpers/_/_object_spread_props/package.json +4 -0
  901. package/node_modules/@swc/helpers/_/_object_without_properties/package.json +4 -0
  902. package/node_modules/@swc/helpers/_/_object_without_properties_loose/package.json +4 -0
  903. package/node_modules/@swc/helpers/_/_overload_yield/package.json +4 -0
  904. package/node_modules/@swc/helpers/_/_possible_constructor_return/package.json +4 -0
  905. package/node_modules/@swc/helpers/_/_read_only_error/package.json +4 -0
  906. package/node_modules/@swc/helpers/_/_set/package.json +4 -0
  907. package/node_modules/@swc/helpers/_/_set_prototype_of/package.json +4 -0
  908. package/node_modules/@swc/helpers/_/_skip_first_generator_next/package.json +4 -0
  909. package/node_modules/@swc/helpers/_/_sliced_to_array/package.json +4 -0
  910. package/node_modules/@swc/helpers/_/_sliced_to_array_loose/package.json +4 -0
  911. package/node_modules/@swc/helpers/_/_super_prop_base/package.json +4 -0
  912. package/node_modules/@swc/helpers/_/_tagged_template_literal/package.json +4 -0
  913. package/node_modules/@swc/helpers/_/_tagged_template_literal_loose/package.json +4 -0
  914. package/node_modules/@swc/helpers/_/_throw/package.json +4 -0
  915. package/node_modules/@swc/helpers/_/_to_array/package.json +4 -0
  916. package/node_modules/@swc/helpers/_/_to_consumable_array/package.json +4 -0
  917. package/node_modules/@swc/helpers/_/_to_primitive/package.json +4 -0
  918. package/node_modules/@swc/helpers/_/_to_property_key/package.json +4 -0
  919. package/node_modules/@swc/helpers/_/_ts_add_disposable_resource/package.json +4 -0
  920. package/node_modules/@swc/helpers/_/_ts_decorate/package.json +4 -0
  921. package/node_modules/@swc/helpers/_/_ts_dispose_resources/package.json +4 -0
  922. package/node_modules/@swc/helpers/_/_ts_generator/package.json +4 -0
  923. package/node_modules/@swc/helpers/_/_ts_metadata/package.json +4 -0
  924. package/node_modules/@swc/helpers/_/_ts_param/package.json +4 -0
  925. package/node_modules/@swc/helpers/_/_ts_rewrite_relative_import_extension/package.json +4 -0
  926. package/node_modules/@swc/helpers/_/_ts_values/package.json +4 -0
  927. package/node_modules/@swc/helpers/_/_type_of/package.json +4 -0
  928. package/node_modules/@swc/helpers/_/_unsupported_iterable_to_array/package.json +4 -0
  929. package/node_modules/@swc/helpers/_/_update/package.json +4 -0
  930. package/node_modules/@swc/helpers/_/_using/package.json +4 -0
  931. package/node_modules/@swc/helpers/_/_using_ctx/package.json +4 -0
  932. package/node_modules/@swc/helpers/_/_wrap_async_generator/package.json +4 -0
  933. package/node_modules/@swc/helpers/_/_wrap_native_super/package.json +4 -0
  934. package/node_modules/@swc/helpers/_/_wrap_reg_exp/package.json +4 -0
  935. package/node_modules/@swc/helpers/_/_write_only_error/package.json +4 -0
  936. package/node_modules/@swc/helpers/_/index/package.json +4 -0
  937. package/node_modules/@swc/helpers/cjs/_apply_decorated_descriptor.cjs +35 -0
  938. package/node_modules/@swc/helpers/cjs/_apply_decs_2203_r.cjs +574 -0
  939. package/node_modules/@swc/helpers/cjs/_apply_decs_2311.cjs +346 -0
  940. package/node_modules/@swc/helpers/cjs/_array_like_to_array.cjs +10 -0
  941. package/node_modules/@swc/helpers/cjs/_array_with_holes.cjs +6 -0
  942. package/node_modules/@swc/helpers/cjs/_array_without_holes.cjs +8 -0
  943. package/node_modules/@swc/helpers/cjs/_assert_this_initialized.cjs +8 -0
  944. package/node_modules/@swc/helpers/cjs/_async_generator.cjs +76 -0
  945. package/node_modules/@swc/helpers/cjs/_async_generator_delegate.cjs +53 -0
  946. package/node_modules/@swc/helpers/cjs/_async_iterator.cjs +46 -0
  947. package/node_modules/@swc/helpers/cjs/_async_to_generator.cjs +33 -0
  948. package/node_modules/@swc/helpers/cjs/_await_async_generator.cjs +8 -0
  949. package/node_modules/@swc/helpers/cjs/_await_value.cjs +6 -0
  950. package/node_modules/@swc/helpers/cjs/_call_super.cjs +19 -0
  951. package/node_modules/@swc/helpers/cjs/_check_private_redeclaration.cjs +8 -0
  952. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_destructure.cjs +25 -0
  953. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_get.cjs +8 -0
  954. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_set.cjs +15 -0
  955. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_update.cjs +30 -0
  956. package/node_modules/@swc/helpers/cjs/_class_call_check.cjs +6 -0
  957. package/node_modules/@swc/helpers/cjs/_class_check_private_static_access.cjs +6 -0
  958. package/node_modules/@swc/helpers/cjs/_class_check_private_static_field_descriptor.cjs +8 -0
  959. package/node_modules/@swc/helpers/cjs/_class_extract_field_descriptor.cjs +8 -0
  960. package/node_modules/@swc/helpers/cjs/_class_name_tdz_error.cjs +6 -0
  961. package/node_modules/@swc/helpers/cjs/_class_private_field_destructure.cjs +10 -0
  962. package/node_modules/@swc/helpers/cjs/_class_private_field_get.cjs +10 -0
  963. package/node_modules/@swc/helpers/cjs/_class_private_field_init.cjs +9 -0
  964. package/node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs +10 -0
  965. package/node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs +8 -0
  966. package/node_modules/@swc/helpers/cjs/_class_private_field_set.cjs +11 -0
  967. package/node_modules/@swc/helpers/cjs/_class_private_field_update.cjs +10 -0
  968. package/node_modules/@swc/helpers/cjs/_class_private_method_get.cjs +8 -0
  969. package/node_modules/@swc/helpers/cjs/_class_private_method_init.cjs +9 -0
  970. package/node_modules/@swc/helpers/cjs/_class_private_method_set.cjs +6 -0
  971. package/node_modules/@swc/helpers/cjs/_class_static_private_field_destructure.cjs +13 -0
  972. package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_get.cjs +13 -0
  973. package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_set.cjs +14 -0
  974. package/node_modules/@swc/helpers/cjs/_class_static_private_field_update.cjs +13 -0
  975. package/node_modules/@swc/helpers/cjs/_class_static_private_method_get.cjs +10 -0
  976. package/node_modules/@swc/helpers/cjs/_construct.cjs +22 -0
  977. package/node_modules/@swc/helpers/cjs/_create_class.cjs +20 -0
  978. package/node_modules/@swc/helpers/cjs/_create_for_of_iterator_helper_loose.cjs +24 -0
  979. package/node_modules/@swc/helpers/cjs/_create_super.cjs +23 -0
  980. package/node_modules/@swc/helpers/cjs/_decorate.cjs +270 -0
  981. package/node_modules/@swc/helpers/cjs/_defaults.cjs +15 -0
  982. package/node_modules/@swc/helpers/cjs/_define_enumerable_properties.cjs +26 -0
  983. package/node_modules/@swc/helpers/cjs/_define_property.cjs +10 -0
  984. package/node_modules/@swc/helpers/cjs/_dispose.cjs +43 -0
  985. package/node_modules/@swc/helpers/cjs/_export_star.cjs +17 -0
  986. package/node_modules/@swc/helpers/cjs/_extends.cjs +15 -0
  987. package/node_modules/@swc/helpers/cjs/_get.cjs +23 -0
  988. package/node_modules/@swc/helpers/cjs/_get_prototype_of.cjs +10 -0
  989. package/node_modules/@swc/helpers/cjs/_identity.cjs +7 -0
  990. package/node_modules/@swc/helpers/cjs/_inherits.cjs +14 -0
  991. package/node_modules/@swc/helpers/cjs/_inherits_loose.cjs +8 -0
  992. package/node_modules/@swc/helpers/cjs/_initializer_define_property.cjs +13 -0
  993. package/node_modules/@swc/helpers/cjs/_initializer_warning_helper.cjs +11 -0
  994. package/node_modules/@swc/helpers/cjs/_instanceof.cjs +10 -0
  995. package/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +6 -0
  996. package/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +38 -0
  997. package/node_modules/@swc/helpers/cjs/_is_native_function.cjs +6 -0
  998. package/node_modules/@swc/helpers/cjs/_is_native_reflect_construct.cjs +18 -0
  999. package/node_modules/@swc/helpers/cjs/_iterable_to_array.cjs +8 -0
  1000. package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit.cjs +31 -0
  1001. package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit_loose.cjs +17 -0
  1002. package/node_modules/@swc/helpers/cjs/_jsx.cjs +28 -0
  1003. package/node_modules/@swc/helpers/cjs/_new_arrow_check.cjs +6 -0
  1004. package/node_modules/@swc/helpers/cjs/_non_iterable_rest.cjs +6 -0
  1005. package/node_modules/@swc/helpers/cjs/_non_iterable_spread.cjs +6 -0
  1006. package/node_modules/@swc/helpers/cjs/_object_destructuring_empty.cjs +8 -0
  1007. package/node_modules/@swc/helpers/cjs/_object_spread.cjs +25 -0
  1008. package/node_modules/@swc/helpers/cjs/_object_spread_props.cjs +30 -0
  1009. package/node_modules/@swc/helpers/cjs/_object_without_properties.cjs +35 -0
  1010. package/node_modules/@swc/helpers/cjs/_object_without_properties_loose.cjs +16 -0
  1011. package/node_modules/@swc/helpers/cjs/_overload_yield.cjs +8 -0
  1012. package/node_modules/@swc/helpers/cjs/_possible_constructor_return.cjs +11 -0
  1013. package/node_modules/@swc/helpers/cjs/_read_only_error.cjs +6 -0
  1014. package/node_modules/@swc/helpers/cjs/_set.cjs +44 -0
  1015. package/node_modules/@swc/helpers/cjs/_set_prototype_of.cjs +12 -0
  1016. package/node_modules/@swc/helpers/cjs/_skip_first_generator_next.cjs +11 -0
  1017. package/node_modules/@swc/helpers/cjs/_sliced_to_array.cjs +11 -0
  1018. package/node_modules/@swc/helpers/cjs/_sliced_to_array_loose.cjs +11 -0
  1019. package/node_modules/@swc/helpers/cjs/_super_prop_base.cjs +13 -0
  1020. package/node_modules/@swc/helpers/cjs/_tagged_template_literal.cjs +8 -0
  1021. package/node_modules/@swc/helpers/cjs/_tagged_template_literal_loose.cjs +10 -0
  1022. package/node_modules/@swc/helpers/cjs/_throw.cjs +6 -0
  1023. package/node_modules/@swc/helpers/cjs/_to_array.cjs +11 -0
  1024. package/node_modules/@swc/helpers/cjs/_to_consumable_array.cjs +11 -0
  1025. package/node_modules/@swc/helpers/cjs/_to_primitive.cjs +18 -0
  1026. package/node_modules/@swc/helpers/cjs/_to_property_key.cjs +11 -0
  1027. package/node_modules/@swc/helpers/cjs/_ts_add_disposable_resource.cjs +3 -0
  1028. package/node_modules/@swc/helpers/cjs/_ts_decorate.cjs +3 -0
  1029. package/node_modules/@swc/helpers/cjs/_ts_dispose_resources.cjs +3 -0
  1030. package/node_modules/@swc/helpers/cjs/_ts_generator.cjs +31 -0
  1031. package/node_modules/@swc/helpers/cjs/_ts_metadata.cjs +3 -0
  1032. package/node_modules/@swc/helpers/cjs/_ts_param.cjs +3 -0
  1033. package/node_modules/@swc/helpers/cjs/_ts_rewrite_relative_import_extension.cjs +3 -0
  1034. package/node_modules/@swc/helpers/cjs/_ts_values.cjs +3 -0
  1035. package/node_modules/@swc/helpers/cjs/_type_of.cjs +8 -0
  1036. package/node_modules/@swc/helpers/cjs/_unsupported_iterable_to_array.cjs +15 -0
  1037. package/node_modules/@swc/helpers/cjs/_update.cjs +16 -0
  1038. package/node_modules/@swc/helpers/cjs/_using.cjs +24 -0
  1039. package/node_modules/@swc/helpers/cjs/_using_ctx.cjs +75 -0
  1040. package/node_modules/@swc/helpers/cjs/_wrap_async_generator.cjs +10 -0
  1041. package/node_modules/@swc/helpers/cjs/_wrap_native_super.cjs +28 -0
  1042. package/node_modules/@swc/helpers/cjs/_wrap_reg_exp.cjs +84 -0
  1043. package/node_modules/@swc/helpers/cjs/_write_only_error.cjs +6 -0
  1044. package/node_modules/@swc/helpers/cjs/index.cjs +439 -0
  1045. package/node_modules/@swc/helpers/esm/_apply_decorated_descriptor.js +33 -0
  1046. package/node_modules/@swc/helpers/esm/_apply_decs_2203_r.js +572 -0
  1047. package/node_modules/@swc/helpers/esm/_apply_decs_2311.js +344 -0
  1048. package/node_modules/@swc/helpers/esm/_array_like_to_array.js +8 -0
  1049. package/node_modules/@swc/helpers/esm/_array_with_holes.js +4 -0
  1050. package/node_modules/@swc/helpers/esm/_array_without_holes.js +6 -0
  1051. package/node_modules/@swc/helpers/esm/_assert_this_initialized.js +6 -0
  1052. package/node_modules/@swc/helpers/esm/_async_generator.js +74 -0
  1053. package/node_modules/@swc/helpers/esm/_async_generator_delegate.js +51 -0
  1054. package/node_modules/@swc/helpers/esm/_async_iterator.js +44 -0
  1055. package/node_modules/@swc/helpers/esm/_async_to_generator.js +31 -0
  1056. package/node_modules/@swc/helpers/esm/_await_async_generator.js +6 -0
  1057. package/node_modules/@swc/helpers/esm/_await_value.js +4 -0
  1058. package/node_modules/@swc/helpers/esm/_call_super.js +17 -0
  1059. package/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +6 -0
  1060. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_destructure.js +23 -0
  1061. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.js +6 -0
  1062. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.js +13 -0
  1063. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_update.js +28 -0
  1064. package/node_modules/@swc/helpers/esm/_class_call_check.js +4 -0
  1065. package/node_modules/@swc/helpers/esm/_class_check_private_static_access.js +4 -0
  1066. package/node_modules/@swc/helpers/esm/_class_check_private_static_field_descriptor.js +6 -0
  1067. package/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.js +6 -0
  1068. package/node_modules/@swc/helpers/esm/_class_name_tdz_error.js +4 -0
  1069. package/node_modules/@swc/helpers/esm/_class_private_field_destructure.js +8 -0
  1070. package/node_modules/@swc/helpers/esm/_class_private_field_get.js +8 -0
  1071. package/node_modules/@swc/helpers/esm/_class_private_field_init.js +7 -0
  1072. package/node_modules/@swc/helpers/esm/_class_private_field_loose_base.js +8 -0
  1073. package/node_modules/@swc/helpers/esm/_class_private_field_loose_key.js +6 -0
  1074. package/node_modules/@swc/helpers/esm/_class_private_field_set.js +9 -0
  1075. package/node_modules/@swc/helpers/esm/_class_private_field_update.js +8 -0
  1076. package/node_modules/@swc/helpers/esm/_class_private_method_get.js +6 -0
  1077. package/node_modules/@swc/helpers/esm/_class_private_method_init.js +7 -0
  1078. package/node_modules/@swc/helpers/esm/_class_private_method_set.js +4 -0
  1079. package/node_modules/@swc/helpers/esm/_class_static_private_field_destructure.js +11 -0
  1080. package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_get.js +11 -0
  1081. package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_set.js +12 -0
  1082. package/node_modules/@swc/helpers/esm/_class_static_private_field_update.js +11 -0
  1083. package/node_modules/@swc/helpers/esm/_class_static_private_method_get.js +8 -0
  1084. package/node_modules/@swc/helpers/esm/_construct.js +20 -0
  1085. package/node_modules/@swc/helpers/esm/_create_class.js +18 -0
  1086. package/node_modules/@swc/helpers/esm/_create_for_of_iterator_helper_loose.js +22 -0
  1087. package/node_modules/@swc/helpers/esm/_create_super.js +21 -0
  1088. package/node_modules/@swc/helpers/esm/_decorate.js +268 -0
  1089. package/node_modules/@swc/helpers/esm/_defaults.js +13 -0
  1090. package/node_modules/@swc/helpers/esm/_define_enumerable_properties.js +24 -0
  1091. package/node_modules/@swc/helpers/esm/_define_property.js +8 -0
  1092. package/node_modules/@swc/helpers/esm/_dispose.js +41 -0
  1093. package/node_modules/@swc/helpers/esm/_export_star.js +15 -0
  1094. package/node_modules/@swc/helpers/esm/_extends.js +13 -0
  1095. package/node_modules/@swc/helpers/esm/_get.js +21 -0
  1096. package/node_modules/@swc/helpers/esm/_get_prototype_of.js +8 -0
  1097. package/node_modules/@swc/helpers/esm/_identity.js +5 -0
  1098. package/node_modules/@swc/helpers/esm/_inherits.js +12 -0
  1099. package/node_modules/@swc/helpers/esm/_inherits_loose.js +6 -0
  1100. package/node_modules/@swc/helpers/esm/_initializer_define_property.js +11 -0
  1101. package/node_modules/@swc/helpers/esm/_initializer_warning_helper.js +9 -0
  1102. package/node_modules/@swc/helpers/esm/_instanceof.js +8 -0
  1103. package/node_modules/@swc/helpers/esm/_interop_require_default.js +4 -0
  1104. package/node_modules/@swc/helpers/esm/_interop_require_wildcard.js +36 -0
  1105. package/node_modules/@swc/helpers/esm/_is_native_function.js +4 -0
  1106. package/node_modules/@swc/helpers/esm/_is_native_reflect_construct.js +16 -0
  1107. package/node_modules/@swc/helpers/esm/_iterable_to_array.js +6 -0
  1108. package/node_modules/@swc/helpers/esm/_iterable_to_array_limit.js +29 -0
  1109. package/node_modules/@swc/helpers/esm/_iterable_to_array_limit_loose.js +15 -0
  1110. package/node_modules/@swc/helpers/esm/_jsx.js +26 -0
  1111. package/node_modules/@swc/helpers/esm/_new_arrow_check.js +4 -0
  1112. package/node_modules/@swc/helpers/esm/_non_iterable_rest.js +4 -0
  1113. package/node_modules/@swc/helpers/esm/_non_iterable_spread.js +4 -0
  1114. package/node_modules/@swc/helpers/esm/_object_destructuring_empty.js +6 -0
  1115. package/node_modules/@swc/helpers/esm/_object_spread.js +23 -0
  1116. package/node_modules/@swc/helpers/esm/_object_spread_props.js +28 -0
  1117. package/node_modules/@swc/helpers/esm/_object_without_properties.js +33 -0
  1118. package/node_modules/@swc/helpers/esm/_object_without_properties_loose.js +14 -0
  1119. package/node_modules/@swc/helpers/esm/_overload_yield.js +6 -0
  1120. package/node_modules/@swc/helpers/esm/_possible_constructor_return.js +9 -0
  1121. package/node_modules/@swc/helpers/esm/_read_only_error.js +4 -0
  1122. package/node_modules/@swc/helpers/esm/_set.js +42 -0
  1123. package/node_modules/@swc/helpers/esm/_set_prototype_of.js +10 -0
  1124. package/node_modules/@swc/helpers/esm/_skip_first_generator_next.js +9 -0
  1125. package/node_modules/@swc/helpers/esm/_sliced_to_array.js +9 -0
  1126. package/node_modules/@swc/helpers/esm/_sliced_to_array_loose.js +9 -0
  1127. package/node_modules/@swc/helpers/esm/_super_prop_base.js +11 -0
  1128. package/node_modules/@swc/helpers/esm/_tagged_template_literal.js +6 -0
  1129. package/node_modules/@swc/helpers/esm/_tagged_template_literal_loose.js +8 -0
  1130. package/node_modules/@swc/helpers/esm/_throw.js +4 -0
  1131. package/node_modules/@swc/helpers/esm/_to_array.js +9 -0
  1132. package/node_modules/@swc/helpers/esm/_to_consumable_array.js +9 -0
  1133. package/node_modules/@swc/helpers/esm/_to_primitive.js +16 -0
  1134. package/node_modules/@swc/helpers/esm/_to_property_key.js +9 -0
  1135. package/node_modules/@swc/helpers/esm/_ts_add_disposable_resource.js +1 -0
  1136. package/node_modules/@swc/helpers/esm/_ts_decorate.js +1 -0
  1137. package/node_modules/@swc/helpers/esm/_ts_dispose_resources.js +1 -0
  1138. package/node_modules/@swc/helpers/esm/_ts_generator.js +29 -0
  1139. package/node_modules/@swc/helpers/esm/_ts_metadata.js +1 -0
  1140. package/node_modules/@swc/helpers/esm/_ts_param.js +1 -0
  1141. package/node_modules/@swc/helpers/esm/_ts_rewrite_relative_import_extension.js +1 -0
  1142. package/node_modules/@swc/helpers/esm/_ts_values.js +1 -0
  1143. package/node_modules/@swc/helpers/esm/_type_of.js +6 -0
  1144. package/node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js +13 -0
  1145. package/node_modules/@swc/helpers/esm/_update.js +14 -0
  1146. package/node_modules/@swc/helpers/esm/_using.js +22 -0
  1147. package/node_modules/@swc/helpers/esm/_using_ctx.js +73 -0
  1148. package/node_modules/@swc/helpers/esm/_wrap_async_generator.js +8 -0
  1149. package/node_modules/@swc/helpers/esm/_wrap_native_super.js +26 -0
  1150. package/node_modules/@swc/helpers/esm/_wrap_reg_exp.js +82 -0
  1151. package/node_modules/@swc/helpers/esm/_write_only_error.js +4 -0
  1152. package/node_modules/@swc/helpers/esm/index.js +110 -0
  1153. package/node_modules/@swc/helpers/package.json +702 -0
  1154. package/node_modules/@swc/helpers/scripts/ast_grep.js +218 -0
  1155. package/node_modules/@swc/helpers/scripts/build.js +133 -0
  1156. package/node_modules/@swc/helpers/scripts/errors.js +1 -0
  1157. package/node_modules/@swc/helpers/scripts/utils.js +3 -0
  1158. package/node_modules/@swc/helpers/src/_apply_decorated_descriptor.mjs +1 -0
  1159. package/node_modules/@swc/helpers/src/_apply_decs_2203_r.mjs +1 -0
  1160. package/node_modules/@swc/helpers/src/_apply_decs_2311.mjs +1 -0
  1161. package/node_modules/@swc/helpers/src/_array_like_to_array.mjs +1 -0
  1162. package/node_modules/@swc/helpers/src/_array_with_holes.mjs +1 -0
  1163. package/node_modules/@swc/helpers/src/_array_without_holes.mjs +1 -0
  1164. package/node_modules/@swc/helpers/src/_assert_this_initialized.mjs +1 -0
  1165. package/node_modules/@swc/helpers/src/_async_generator.mjs +1 -0
  1166. package/node_modules/@swc/helpers/src/_async_generator_delegate.mjs +1 -0
  1167. package/node_modules/@swc/helpers/src/_async_iterator.mjs +1 -0
  1168. package/node_modules/@swc/helpers/src/_async_to_generator.mjs +1 -0
  1169. package/node_modules/@swc/helpers/src/_await_async_generator.mjs +1 -0
  1170. package/node_modules/@swc/helpers/src/_await_value.mjs +1 -0
  1171. package/node_modules/@swc/helpers/src/_call_super.mjs +1 -0
  1172. package/node_modules/@swc/helpers/src/_check_private_redeclaration.mjs +1 -0
  1173. package/node_modules/@swc/helpers/src/_class_apply_descriptor_destructure.mjs +1 -0
  1174. package/node_modules/@swc/helpers/src/_class_apply_descriptor_get.mjs +1 -0
  1175. package/node_modules/@swc/helpers/src/_class_apply_descriptor_set.mjs +1 -0
  1176. package/node_modules/@swc/helpers/src/_class_apply_descriptor_update.mjs +1 -0
  1177. package/node_modules/@swc/helpers/src/_class_call_check.mjs +1 -0
  1178. package/node_modules/@swc/helpers/src/_class_check_private_static_access.mjs +1 -0
  1179. package/node_modules/@swc/helpers/src/_class_check_private_static_field_descriptor.mjs +1 -0
  1180. package/node_modules/@swc/helpers/src/_class_extract_field_descriptor.mjs +1 -0
  1181. package/node_modules/@swc/helpers/src/_class_name_tdz_error.mjs +1 -0
  1182. package/node_modules/@swc/helpers/src/_class_private_field_destructure.mjs +1 -0
  1183. package/node_modules/@swc/helpers/src/_class_private_field_get.mjs +1 -0
  1184. package/node_modules/@swc/helpers/src/_class_private_field_init.mjs +1 -0
  1185. package/node_modules/@swc/helpers/src/_class_private_field_loose_base.mjs +1 -0
  1186. package/node_modules/@swc/helpers/src/_class_private_field_loose_key.mjs +1 -0
  1187. package/node_modules/@swc/helpers/src/_class_private_field_set.mjs +1 -0
  1188. package/node_modules/@swc/helpers/src/_class_private_field_update.mjs +1 -0
  1189. package/node_modules/@swc/helpers/src/_class_private_method_get.mjs +1 -0
  1190. package/node_modules/@swc/helpers/src/_class_private_method_init.mjs +1 -0
  1191. package/node_modules/@swc/helpers/src/_class_private_method_set.mjs +1 -0
  1192. package/node_modules/@swc/helpers/src/_class_static_private_field_destructure.mjs +1 -0
  1193. package/node_modules/@swc/helpers/src/_class_static_private_field_spec_get.mjs +1 -0
  1194. package/node_modules/@swc/helpers/src/_class_static_private_field_spec_set.mjs +1 -0
  1195. package/node_modules/@swc/helpers/src/_class_static_private_field_update.mjs +1 -0
  1196. package/node_modules/@swc/helpers/src/_class_static_private_method_get.mjs +1 -0
  1197. package/node_modules/@swc/helpers/src/_construct.mjs +1 -0
  1198. package/node_modules/@swc/helpers/src/_create_class.mjs +1 -0
  1199. package/node_modules/@swc/helpers/src/_create_for_of_iterator_helper_loose.mjs +1 -0
  1200. package/node_modules/@swc/helpers/src/_create_super.mjs +1 -0
  1201. package/node_modules/@swc/helpers/src/_decorate.mjs +1 -0
  1202. package/node_modules/@swc/helpers/src/_defaults.mjs +1 -0
  1203. package/node_modules/@swc/helpers/src/_define_enumerable_properties.mjs +1 -0
  1204. package/node_modules/@swc/helpers/src/_define_property.mjs +1 -0
  1205. package/node_modules/@swc/helpers/src/_dispose.mjs +1 -0
  1206. package/node_modules/@swc/helpers/src/_export_star.mjs +1 -0
  1207. package/node_modules/@swc/helpers/src/_extends.mjs +1 -0
  1208. package/node_modules/@swc/helpers/src/_get.mjs +1 -0
  1209. package/node_modules/@swc/helpers/src/_get_prototype_of.mjs +1 -0
  1210. package/node_modules/@swc/helpers/src/_identity.mjs +1 -0
  1211. package/node_modules/@swc/helpers/src/_inherits.mjs +1 -0
  1212. package/node_modules/@swc/helpers/src/_inherits_loose.mjs +1 -0
  1213. package/node_modules/@swc/helpers/src/_initializer_define_property.mjs +1 -0
  1214. package/node_modules/@swc/helpers/src/_initializer_warning_helper.mjs +1 -0
  1215. package/node_modules/@swc/helpers/src/_instanceof.mjs +1 -0
  1216. package/node_modules/@swc/helpers/src/_interop_require_default.mjs +1 -0
  1217. package/node_modules/@swc/helpers/src/_interop_require_wildcard.mjs +1 -0
  1218. package/node_modules/@swc/helpers/src/_is_native_function.mjs +1 -0
  1219. package/node_modules/@swc/helpers/src/_is_native_reflect_construct.mjs +1 -0
  1220. package/node_modules/@swc/helpers/src/_iterable_to_array.mjs +1 -0
  1221. package/node_modules/@swc/helpers/src/_iterable_to_array_limit.mjs +1 -0
  1222. package/node_modules/@swc/helpers/src/_iterable_to_array_limit_loose.mjs +1 -0
  1223. package/node_modules/@swc/helpers/src/_jsx.mjs +1 -0
  1224. package/node_modules/@swc/helpers/src/_new_arrow_check.mjs +1 -0
  1225. package/node_modules/@swc/helpers/src/_non_iterable_rest.mjs +1 -0
  1226. package/node_modules/@swc/helpers/src/_non_iterable_spread.mjs +1 -0
  1227. package/node_modules/@swc/helpers/src/_object_destructuring_empty.mjs +1 -0
  1228. package/node_modules/@swc/helpers/src/_object_spread.mjs +1 -0
  1229. package/node_modules/@swc/helpers/src/_object_spread_props.mjs +1 -0
  1230. package/node_modules/@swc/helpers/src/_object_without_properties.mjs +1 -0
  1231. package/node_modules/@swc/helpers/src/_object_without_properties_loose.mjs +1 -0
  1232. package/node_modules/@swc/helpers/src/_overload_yield.mjs +1 -0
  1233. package/node_modules/@swc/helpers/src/_possible_constructor_return.mjs +1 -0
  1234. package/node_modules/@swc/helpers/src/_read_only_error.mjs +1 -0
  1235. package/node_modules/@swc/helpers/src/_set.mjs +1 -0
  1236. package/node_modules/@swc/helpers/src/_set_prototype_of.mjs +1 -0
  1237. package/node_modules/@swc/helpers/src/_skip_first_generator_next.mjs +1 -0
  1238. package/node_modules/@swc/helpers/src/_sliced_to_array.mjs +1 -0
  1239. package/node_modules/@swc/helpers/src/_sliced_to_array_loose.mjs +1 -0
  1240. package/node_modules/@swc/helpers/src/_super_prop_base.mjs +1 -0
  1241. package/node_modules/@swc/helpers/src/_tagged_template_literal.mjs +1 -0
  1242. package/node_modules/@swc/helpers/src/_tagged_template_literal_loose.mjs +1 -0
  1243. package/node_modules/@swc/helpers/src/_throw.mjs +1 -0
  1244. package/node_modules/@swc/helpers/src/_to_array.mjs +1 -0
  1245. package/node_modules/@swc/helpers/src/_to_consumable_array.mjs +1 -0
  1246. package/node_modules/@swc/helpers/src/_to_primitive.mjs +1 -0
  1247. package/node_modules/@swc/helpers/src/_to_property_key.mjs +1 -0
  1248. package/node_modules/@swc/helpers/src/_ts_add_disposable_resource.mjs +1 -0
  1249. package/node_modules/@swc/helpers/src/_ts_decorate.mjs +1 -0
  1250. package/node_modules/@swc/helpers/src/_ts_dispose_resources.mjs +1 -0
  1251. package/node_modules/@swc/helpers/src/_ts_generator.mjs +1 -0
  1252. package/node_modules/@swc/helpers/src/_ts_metadata.mjs +1 -0
  1253. package/node_modules/@swc/helpers/src/_ts_param.mjs +1 -0
  1254. package/node_modules/@swc/helpers/src/_ts_rewrite_relative_import_extension.mjs +1 -0
  1255. package/node_modules/@swc/helpers/src/_ts_values.mjs +1 -0
  1256. package/node_modules/@swc/helpers/src/_type_of.mjs +1 -0
  1257. package/node_modules/@swc/helpers/src/_unsupported_iterable_to_array.mjs +1 -0
  1258. package/node_modules/@swc/helpers/src/_update.mjs +1 -0
  1259. package/node_modules/@swc/helpers/src/_using.mjs +1 -0
  1260. package/node_modules/@swc/helpers/src/_using_ctx.mjs +1 -0
  1261. package/node_modules/@swc/helpers/src/_wrap_async_generator.mjs +1 -0
  1262. package/node_modules/@swc/helpers/src/_wrap_native_super.mjs +1 -0
  1263. package/node_modules/@swc/helpers/src/_wrap_reg_exp.mjs +1 -0
  1264. package/node_modules/@swc/helpers/src/_write_only_error.mjs +1 -0
  1265. package/node_modules/@swc/helpers/src/index.mjs +1 -0
  1266. package/node_modules/brotli/build/encode.js +57 -0
  1267. package/node_modules/brotli/build/mem.js +1 -0
  1268. package/node_modules/brotli/compress.js +43 -0
  1269. package/node_modules/brotli/dec/bit_reader.js +124 -0
  1270. package/node_modules/brotli/dec/context.js +250 -0
  1271. package/node_modules/brotli/dec/decode.js +938 -0
  1272. package/node_modules/brotli/dec/dictionary-browser.js +14 -0
  1273. package/node_modules/brotli/dec/dictionary-data.js +9469 -0
  1274. package/node_modules/brotli/dec/dictionary.bin.js +1 -0
  1275. package/node_modules/brotli/dec/dictionary.js +36 -0
  1276. package/node_modules/brotli/dec/huffman.js +123 -0
  1277. package/node_modules/brotli/dec/prefix.js +60 -0
  1278. package/node_modules/brotli/dec/streams.js +34 -0
  1279. package/node_modules/brotli/dec/transform.js +247 -0
  1280. package/node_modules/brotli/decompress.js +1 -0
  1281. package/node_modules/brotli/enc/pre.js +7 -0
  1282. package/node_modules/brotli/index.js +2 -0
  1283. package/node_modules/brotli/package.json +31 -0
  1284. package/node_modules/brotli/readme.md +61 -0
  1285. package/node_modules/clone/.npmignore +4 -0
  1286. package/node_modules/clone/LICENSE +18 -0
  1287. package/node_modules/clone/README.md +194 -0
  1288. package/node_modules/clone/clone.iml +10 -0
  1289. package/node_modules/clone/clone.js +257 -0
  1290. package/node_modules/clone/package.json +53 -0
  1291. package/node_modules/dfa/README.md +83 -0
  1292. package/node_modules/dfa/compile.js +1834 -0
  1293. package/node_modules/dfa/index.js +91 -0
  1294. package/node_modules/dfa/package.json +38 -0
  1295. package/node_modules/execa/index.js +25 -0
  1296. package/node_modules/execa/lib/arguments/command-file.js +201 -0
  1297. package/node_modules/execa/lib/arguments/command.js +20 -0
  1298. package/node_modules/execa/lib/arguments/cwd.js +39 -0
  1299. package/node_modules/execa/lib/arguments/encoding-option.js +50 -0
  1300. package/node_modules/execa/lib/arguments/escape.js +88 -0
  1301. package/node_modules/execa/lib/arguments/fd-options.js +109 -0
  1302. package/node_modules/execa/lib/arguments/file-url.js +25 -0
  1303. package/node_modules/execa/lib/arguments/options.js +105 -0
  1304. package/node_modules/execa/lib/arguments/shell.js +11 -0
  1305. package/node_modules/execa/lib/arguments/specific.js +112 -0
  1306. package/node_modules/execa/lib/convert/add.js +19 -0
  1307. package/node_modules/execa/lib/convert/concurrent.js +33 -0
  1308. package/node_modules/execa/lib/convert/duplex.js +69 -0
  1309. package/node_modules/execa/lib/convert/iterable.js +34 -0
  1310. package/node_modules/execa/lib/convert/readable.js +129 -0
  1311. package/node_modules/execa/lib/convert/shared.js +46 -0
  1312. package/node_modules/execa/lib/convert/web.js +7 -0
  1313. package/node_modules/execa/lib/convert/writable.js +111 -0
  1314. package/node_modules/execa/lib/io/contents.js +116 -0
  1315. package/node_modules/execa/lib/io/input-sync.js +44 -0
  1316. package/node_modules/execa/lib/io/iterate.js +110 -0
  1317. package/node_modules/execa/lib/io/max-buffer.js +89 -0
  1318. package/node_modules/execa/lib/io/output-async.js +82 -0
  1319. package/node_modules/execa/lib/io/output-sync.js +136 -0
  1320. package/node_modules/execa/lib/io/pipeline.js +48 -0
  1321. package/node_modules/execa/lib/io/strip-newline.js +12 -0
  1322. package/node_modules/execa/lib/ipc/array.js +4 -0
  1323. package/node_modules/execa/lib/ipc/buffer-messages.js +47 -0
  1324. package/node_modules/execa/lib/ipc/forward.js +56 -0
  1325. package/node_modules/execa/lib/ipc/get-each.js +113 -0
  1326. package/node_modules/execa/lib/ipc/get-one.js +92 -0
  1327. package/node_modules/execa/lib/ipc/graceful.js +72 -0
  1328. package/node_modules/execa/lib/ipc/incoming.js +79 -0
  1329. package/node_modules/execa/lib/ipc/ipc-input.js +50 -0
  1330. package/node_modules/execa/lib/ipc/methods.js +50 -0
  1331. package/node_modules/execa/lib/ipc/outgoing.js +53 -0
  1332. package/node_modules/execa/lib/ipc/reference.js +48 -0
  1333. package/node_modules/execa/lib/ipc/send.js +91 -0
  1334. package/node_modules/execa/lib/ipc/strict.js +113 -0
  1335. package/node_modules/execa/lib/ipc/validation.js +111 -0
  1336. package/node_modules/execa/lib/methods/bind.js +23 -0
  1337. package/node_modules/execa/lib/methods/command.js +27 -0
  1338. package/node_modules/execa/lib/methods/create.js +63 -0
  1339. package/node_modules/execa/lib/methods/main-async.js +235 -0
  1340. package/node_modules/execa/lib/methods/main-sync.js +167 -0
  1341. package/node_modules/execa/lib/methods/node.js +63 -0
  1342. package/node_modules/execa/lib/methods/parameters.js +32 -0
  1343. package/node_modules/execa/lib/methods/promise.js +2 -0
  1344. package/node_modules/execa/lib/methods/script.js +22 -0
  1345. package/node_modules/execa/lib/methods/template.js +153 -0
  1346. package/node_modules/execa/lib/pipe/abort.js +20 -0
  1347. package/node_modules/execa/lib/pipe/pipe-arguments.js +91 -0
  1348. package/node_modules/execa/lib/pipe/sequence.js +24 -0
  1349. package/node_modules/execa/lib/pipe/setup.js +230 -0
  1350. package/node_modules/execa/lib/pipe/streaming.js +51 -0
  1351. package/node_modules/execa/lib/pipe/throw.js +58 -0
  1352. package/node_modules/execa/lib/resolve/all-async.js +46 -0
  1353. package/node_modules/execa/lib/resolve/all-sync.js +33 -0
  1354. package/node_modules/execa/lib/resolve/exit-async.js +54 -0
  1355. package/node_modules/execa/lib/resolve/exit-sync.js +25 -0
  1356. package/node_modules/execa/lib/resolve/stdio.js +47 -0
  1357. package/node_modules/execa/lib/resolve/wait-stream.js +97 -0
  1358. package/node_modules/execa/lib/resolve/wait-subprocess.js +150 -0
  1359. package/node_modules/execa/lib/return/duration.js +8 -0
  1360. package/node_modules/execa/lib/return/early-error.js +77 -0
  1361. package/node_modules/execa/lib/return/final-error.js +44 -0
  1362. package/node_modules/execa/lib/return/message.js +157 -0
  1363. package/node_modules/execa/lib/return/reject.js +13 -0
  1364. package/node_modules/execa/lib/return/result.js +186 -0
  1365. package/node_modules/execa/lib/stdio/direction.js +89 -0
  1366. package/node_modules/execa/lib/stdio/duplicate.js +119 -0
  1367. package/node_modules/execa/lib/stdio/handle-async.js +52 -0
  1368. package/node_modules/execa/lib/stdio/handle-sync.js +68 -0
  1369. package/node_modules/execa/lib/stdio/handle.js +243 -0
  1370. package/node_modules/execa/lib/stdio/input-option.js +54 -0
  1371. package/node_modules/execa/lib/stdio/native.js +106 -0
  1372. package/node_modules/execa/lib/stdio/stdio-option.js +95 -0
  1373. package/node_modules/execa/lib/stdio/type.js +181 -0
  1374. package/node_modules/execa/lib/terminate/cancel.js +20 -0
  1375. package/node_modules/execa/lib/terminate/cleanup.js +16 -0
  1376. package/node_modules/execa/lib/terminate/graceful.js +73 -0
  1377. package/node_modules/execa/lib/terminate/kill-descendants.js +79 -0
  1378. package/node_modules/execa/lib/terminate/kill.js +93 -0
  1379. package/node_modules/execa/lib/terminate/signal.js +70 -0
  1380. package/node_modules/execa/lib/terminate/timeout.js +21 -0
  1381. package/node_modules/execa/lib/transform/encoding-transform.js +51 -0
  1382. package/node_modules/execa/lib/transform/generator.js +107 -0
  1383. package/node_modules/execa/lib/transform/normalize.js +106 -0
  1384. package/node_modules/execa/lib/transform/object-mode.js +41 -0
  1385. package/node_modules/execa/lib/transform/run-async.js +60 -0
  1386. package/node_modules/execa/lib/transform/run-sync.js +50 -0
  1387. package/node_modules/execa/lib/transform/split.js +112 -0
  1388. package/node_modules/execa/lib/transform/validate.js +43 -0
  1389. package/node_modules/execa/lib/utils/abort-signal.js +8 -0
  1390. package/node_modules/execa/lib/utils/deferred.js +7 -0
  1391. package/node_modules/execa/lib/utils/max-listeners.js +14 -0
  1392. package/node_modules/execa/lib/utils/standard-stream.js +6 -0
  1393. package/node_modules/execa/lib/utils/uint-array.js +69 -0
  1394. package/node_modules/execa/lib/verbose/complete.js +24 -0
  1395. package/node_modules/execa/lib/verbose/custom.js +26 -0
  1396. package/node_modules/execa/lib/verbose/default.js +54 -0
  1397. package/node_modules/execa/lib/verbose/error.js +13 -0
  1398. package/node_modules/execa/lib/verbose/info.js +39 -0
  1399. package/node_modules/execa/lib/verbose/ipc.js +15 -0
  1400. package/node_modules/execa/lib/verbose/log.js +54 -0
  1401. package/node_modules/execa/lib/verbose/output.js +60 -0
  1402. package/node_modules/execa/lib/verbose/start.js +15 -0
  1403. package/node_modules/execa/lib/verbose/values.js +33 -0
  1404. package/node_modules/execa/license +9 -0
  1405. package/node_modules/execa/package.json +124 -0
  1406. package/node_modules/execa/readme.md +461 -0
  1407. package/node_modules/fast-deep-equal/LICENSE +21 -0
  1408. package/node_modules/fast-deep-equal/README.md +96 -0
  1409. package/node_modules/fast-deep-equal/es6/index.js +72 -0
  1410. package/node_modules/fast-deep-equal/es6/react.js +79 -0
  1411. package/node_modules/fast-deep-equal/index.js +46 -0
  1412. package/node_modules/fast-deep-equal/package.json +51 -0
  1413. package/node_modules/fast-deep-equal/react.js +53 -0
  1414. package/node_modules/figures/index.js +292 -0
  1415. package/node_modules/figures/license +9 -0
  1416. package/node_modules/figures/package.json +46 -0
  1417. package/node_modules/figures/readme.md +337 -0
  1418. package/node_modules/fontkit/README.md +266 -0
  1419. package/node_modules/fontkit/dist/browser-module.mjs +13316 -0
  1420. package/node_modules/fontkit/dist/browser.cjs +13333 -0
  1421. package/node_modules/fontkit/dist/main.cjs +13355 -0
  1422. package/node_modules/fontkit/dist/module.mjs +13337 -0
  1423. package/node_modules/fontkit/package.json +87 -0
  1424. package/node_modules/fontkit/src/CmapProcessor.js +286 -0
  1425. package/node_modules/fontkit/src/DFont.js +117 -0
  1426. package/node_modules/fontkit/src/TTFFont.js +554 -0
  1427. package/node_modules/fontkit/src/TrueTypeCollection.js +67 -0
  1428. package/node_modules/fontkit/src/WOFF2Font.js +216 -0
  1429. package/node_modules/fontkit/src/WOFFFont.js +36 -0
  1430. package/node_modules/fontkit/src/aat/AATFeatureMap.js +543 -0
  1431. package/node_modules/fontkit/src/aat/AATLayoutEngine.js +49 -0
  1432. package/node_modules/fontkit/src/aat/AATLookupTable.js +125 -0
  1433. package/node_modules/fontkit/src/aat/AATMorxProcessor.js +430 -0
  1434. package/node_modules/fontkit/src/aat/AATStateMachine.js +96 -0
  1435. package/node_modules/fontkit/src/base.js +29 -0
  1436. package/node_modules/fontkit/src/cff/CFFCharsets.js +99 -0
  1437. package/node_modules/fontkit/src/cff/CFFDict.js +167 -0
  1438. package/node_modules/fontkit/src/cff/CFFEncodings.js +48 -0
  1439. package/node_modules/fontkit/src/cff/CFFFont.js +159 -0
  1440. package/node_modules/fontkit/src/cff/CFFIndex.js +150 -0
  1441. package/node_modules/fontkit/src/cff/CFFOperand.js +134 -0
  1442. package/node_modules/fontkit/src/cff/CFFPointer.js +50 -0
  1443. package/node_modules/fontkit/src/cff/CFFPrivateDict.js +39 -0
  1444. package/node_modules/fontkit/src/cff/CFFStandardStrings.js +71 -0
  1445. package/node_modules/fontkit/src/cff/CFFTop.js +237 -0
  1446. package/node_modules/fontkit/src/decorators.js +36 -0
  1447. package/node_modules/fontkit/src/encodings.js +219 -0
  1448. package/node_modules/fontkit/src/fs.js +17 -0
  1449. package/node_modules/fontkit/src/glyph/BBox.js +72 -0
  1450. package/node_modules/fontkit/src/glyph/CFFGlyph.js +604 -0
  1451. package/node_modules/fontkit/src/glyph/COLRGlyph.js +90 -0
  1452. package/node_modules/fontkit/src/glyph/Glyph.js +212 -0
  1453. package/node_modules/fontkit/src/glyph/GlyphVariationProcessor.js +486 -0
  1454. package/node_modules/fontkit/src/glyph/Path.js +244 -0
  1455. package/node_modules/fontkit/src/glyph/SBIXGlyph.js +54 -0
  1456. package/node_modules/fontkit/src/glyph/StandardNames.js +27 -0
  1457. package/node_modules/fontkit/src/glyph/TTFGlyph.js +393 -0
  1458. package/node_modules/fontkit/src/glyph/TTFGlyphEncoder.js +158 -0
  1459. package/node_modules/fontkit/src/glyph/WOFF2Glyph.js +17 -0
  1460. package/node_modules/fontkit/src/index.js +15 -0
  1461. package/node_modules/fontkit/src/layout/GlyphPosition.js +30 -0
  1462. package/node_modules/fontkit/src/layout/GlyphRun.js +108 -0
  1463. package/node_modules/fontkit/src/layout/KernProcessor.js +94 -0
  1464. package/node_modules/fontkit/src/layout/LayoutEngine.js +189 -0
  1465. package/node_modules/fontkit/src/layout/Script.js +231 -0
  1466. package/node_modules/fontkit/src/layout/UnicodeLayoutEngine.js +250 -0
  1467. package/node_modules/fontkit/src/node.js +17 -0
  1468. package/node_modules/fontkit/src/opentype/GPOSProcessor.js +353 -0
  1469. package/node_modules/fontkit/src/opentype/GSUBProcessor.js +192 -0
  1470. package/node_modules/fontkit/src/opentype/GlyphInfo.js +57 -0
  1471. package/node_modules/fontkit/src/opentype/GlyphIterator.js +70 -0
  1472. package/node_modules/fontkit/src/opentype/OTLayoutEngine.js +113 -0
  1473. package/node_modules/fontkit/src/opentype/OTProcessor.js +438 -0
  1474. package/node_modules/fontkit/src/opentype/ShapingPlan.js +118 -0
  1475. package/node_modules/fontkit/src/opentype/shapers/ArabicShaper.js +123 -0
  1476. package/node_modules/fontkit/src/opentype/shapers/DefaultShaper.js +72 -0
  1477. package/node_modules/fontkit/src/opentype/shapers/HangulShaper.js +285 -0
  1478. package/node_modules/fontkit/src/opentype/shapers/IndicShaper.js +911 -0
  1479. package/node_modules/fontkit/src/opentype/shapers/UniversalShaper.js +185 -0
  1480. package/node_modules/fontkit/src/opentype/shapers/data.trie +0 -0
  1481. package/node_modules/fontkit/src/opentype/shapers/gen-indic.js +208 -0
  1482. package/node_modules/fontkit/src/opentype/shapers/gen-use.js +287 -0
  1483. package/node_modules/fontkit/src/opentype/shapers/generate-data.js +33 -0
  1484. package/node_modules/fontkit/src/opentype/shapers/index.js +102 -0
  1485. package/node_modules/fontkit/src/opentype/shapers/indic-data.js +175 -0
  1486. package/node_modules/fontkit/src/opentype/shapers/indic.json +1 -0
  1487. package/node_modules/fontkit/src/opentype/shapers/indic.machine +31 -0
  1488. package/node_modules/fontkit/src/opentype/shapers/indic.trie +0 -0
  1489. package/node_modules/fontkit/src/opentype/shapers/use.json +1 -0
  1490. package/node_modules/fontkit/src/opentype/shapers/use.machine +44 -0
  1491. package/node_modules/fontkit/src/opentype/shapers/use.trie +0 -0
  1492. package/node_modules/fontkit/src/subset/CFFSubset.js +171 -0
  1493. package/node_modules/fontkit/src/subset/Subset.js +27 -0
  1494. package/node_modules/fontkit/src/subset/TTFSubset.js +131 -0
  1495. package/node_modules/fontkit/src/tables/BASE.js +78 -0
  1496. package/node_modules/fontkit/src/tables/COLR.js +25 -0
  1497. package/node_modules/fontkit/src/tables/CPAL.js +24 -0
  1498. package/node_modules/fontkit/src/tables/DSIG.js +21 -0
  1499. package/node_modules/fontkit/src/tables/EBDT.js +91 -0
  1500. package/node_modules/fontkit/src/tables/EBLC.js +80 -0
  1501. package/node_modules/fontkit/src/tables/GDEF.js +57 -0
  1502. package/node_modules/fontkit/src/tables/GPOS.js +209 -0
  1503. package/node_modules/fontkit/src/tables/GSUB.js +84 -0
  1504. package/node_modules/fontkit/src/tables/HVAR.js +44 -0
  1505. package/node_modules/fontkit/src/tables/JSTF.js +43 -0
  1506. package/node_modules/fontkit/src/tables/LTSH.js +10 -0
  1507. package/node_modules/fontkit/src/tables/OS2.js +84 -0
  1508. package/node_modules/fontkit/src/tables/PCLT.js +21 -0
  1509. package/node_modules/fontkit/src/tables/VDMX.js +33 -0
  1510. package/node_modules/fontkit/src/tables/VORG.js +14 -0
  1511. package/node_modules/fontkit/src/tables/WOFF2Directory.js +74 -0
  1512. package/node_modules/fontkit/src/tables/WOFFDirectory.js +38 -0
  1513. package/node_modules/fontkit/src/tables/aat.js +157 -0
  1514. package/node_modules/fontkit/src/tables/avar.js +19 -0
  1515. package/node_modules/fontkit/src/tables/bsln.js +31 -0
  1516. package/node_modules/fontkit/src/tables/cmap.js +127 -0
  1517. package/node_modules/fontkit/src/tables/cvt.js +6 -0
  1518. package/node_modules/fontkit/src/tables/directory.js +58 -0
  1519. package/node_modules/fontkit/src/tables/feat.js +28 -0
  1520. package/node_modules/fontkit/src/tables/fpgm.js +8 -0
  1521. package/node_modules/fontkit/src/tables/fvar.js +31 -0
  1522. package/node_modules/fontkit/src/tables/gasp.js +15 -0
  1523. package/node_modules/fontkit/src/tables/glyf.js +4 -0
  1524. package/node_modules/fontkit/src/tables/gvar.js +27 -0
  1525. package/node_modules/fontkit/src/tables/hdmx.js +15 -0
  1526. package/node_modules/fontkit/src/tables/head.js +25 -0
  1527. package/node_modules/fontkit/src/tables/hhea.js +19 -0
  1528. package/node_modules/fontkit/src/tables/hmtx.js +11 -0
  1529. package/node_modules/fontkit/src/tables/index.js +117 -0
  1530. package/node_modules/fontkit/src/tables/just.js +81 -0
  1531. package/node_modules/fontkit/src/tables/kern.js +91 -0
  1532. package/node_modules/fontkit/src/tables/loca.js +30 -0
  1533. package/node_modules/fontkit/src/tables/maxp.js +20 -0
  1534. package/node_modules/fontkit/src/tables/morx.js +79 -0
  1535. package/node_modules/fontkit/src/tables/name.js +130 -0
  1536. package/node_modules/fontkit/src/tables/opbd.js +15 -0
  1537. package/node_modules/fontkit/src/tables/opentype.js +217 -0
  1538. package/node_modules/fontkit/src/tables/post.js +34 -0
  1539. package/node_modules/fontkit/src/tables/prep.js +6 -0
  1540. package/node_modules/fontkit/src/tables/sbix.js +17 -0
  1541. package/node_modules/fontkit/src/tables/variations.js +81 -0
  1542. package/node_modules/fontkit/src/tables/vhea.js +19 -0
  1543. package/node_modules/fontkit/src/tables/vmtx.js +12 -0
  1544. package/node_modules/fontkit/src/utils.js +62 -0
  1545. package/node_modules/get-stream/license +9 -0
  1546. package/node_modules/get-stream/package.json +56 -0
  1547. package/node_modules/get-stream/readme.md +303 -0
  1548. package/node_modules/get-stream/source/array-buffer.js +84 -0
  1549. package/node_modules/get-stream/source/array.js +32 -0
  1550. package/node_modules/get-stream/source/buffer.js +19 -0
  1551. package/node_modules/get-stream/source/contents.js +121 -0
  1552. package/node_modules/get-stream/source/exports.js +5 -0
  1553. package/node_modules/get-stream/source/index.js +13 -0
  1554. package/node_modules/get-stream/source/stream.js +65 -0
  1555. package/node_modules/get-stream/source/string.js +41 -0
  1556. package/node_modules/get-stream/source/utils.js +11 -0
  1557. package/node_modules/human-signals/LICENSE +201 -0
  1558. package/node_modules/human-signals/README.md +171 -0
  1559. package/node_modules/human-signals/build/src/core.js +273 -0
  1560. package/node_modules/human-signals/build/src/main.js +70 -0
  1561. package/node_modules/human-signals/build/src/realtime.js +16 -0
  1562. package/node_modules/human-signals/build/src/signals.js +34 -0
  1563. package/node_modules/human-signals/package.json +63 -0
  1564. package/node_modules/is-plain-obj/index.js +8 -0
  1565. package/node_modules/is-plain-obj/license +9 -0
  1566. package/node_modules/is-plain-obj/package.json +38 -0
  1567. package/node_modules/is-plain-obj/readme.md +58 -0
  1568. package/node_modules/is-stream/index.js +37 -0
  1569. package/node_modules/is-stream/license +9 -0
  1570. package/node_modules/is-stream/package.json +45 -0
  1571. package/node_modules/is-stream/readme.md +57 -0
  1572. package/node_modules/is-unicode-supported/index.js +21 -0
  1573. package/node_modules/is-unicode-supported/license +9 -0
  1574. package/node_modules/is-unicode-supported/package.json +44 -0
  1575. package/node_modules/is-unicode-supported/readme.md +35 -0
  1576. package/node_modules/npm-run-path/index.js +55 -0
  1577. package/node_modules/npm-run-path/license +9 -0
  1578. package/node_modules/npm-run-path/node_modules/path-key/index.js +12 -0
  1579. package/node_modules/npm-run-path/node_modules/path-key/license +9 -0
  1580. package/node_modules/npm-run-path/node_modules/path-key/package.json +41 -0
  1581. package/node_modules/npm-run-path/node_modules/path-key/readme.md +57 -0
  1582. package/node_modules/npm-run-path/package.json +49 -0
  1583. package/node_modules/npm-run-path/readme.md +104 -0
  1584. package/node_modules/pako/LICENSE +21 -0
  1585. package/node_modules/pako/README.md +176 -0
  1586. package/node_modules/pako/dist/pako.js +6606 -0
  1587. package/node_modules/pako/dist/pako.min.js +3 -0
  1588. package/node_modules/pako/dist/pako_deflate.js +3879 -0
  1589. package/node_modules/pako/dist/pako_deflate.min.js +2 -0
  1590. package/node_modules/pako/dist/pako_inflate.js +3127 -0
  1591. package/node_modules/pako/dist/pako_inflate.min.js +2 -0
  1592. package/node_modules/pako/index.js +14 -0
  1593. package/node_modules/pako/lib/deflate.js +400 -0
  1594. package/node_modules/pako/lib/inflate.js +418 -0
  1595. package/node_modules/pako/lib/utils/common.js +102 -0
  1596. package/node_modules/pako/lib/utils/strings.js +185 -0
  1597. package/node_modules/pako/lib/zlib/adler32.js +32 -0
  1598. package/node_modules/pako/lib/zlib/constants.js +50 -0
  1599. package/node_modules/pako/lib/zlib/crc32.js +41 -0
  1600. package/node_modules/pako/lib/zlib/deflate.js +1855 -0
  1601. package/node_modules/pako/lib/zlib/gzheader.js +40 -0
  1602. package/node_modules/pako/lib/zlib/inffast.js +326 -0
  1603. package/node_modules/pako/lib/zlib/inflate.js +1538 -0
  1604. package/node_modules/pako/lib/zlib/inftrees.js +327 -0
  1605. package/node_modules/pako/lib/zlib/messages.js +13 -0
  1606. package/node_modules/pako/lib/zlib/trees.js +1202 -0
  1607. package/node_modules/pako/lib/zlib/zstream.js +29 -0
  1608. package/node_modules/pako/package.json +40 -0
  1609. package/node_modules/parse-ms/index.js +45 -0
  1610. package/node_modules/parse-ms/license +9 -0
  1611. package/node_modules/parse-ms/package.json +44 -0
  1612. package/node_modules/parse-ms/readme.md +46 -0
  1613. package/node_modules/pretty-ms/index.js +150 -0
  1614. package/node_modules/pretty-ms/license +9 -0
  1615. package/node_modules/pretty-ms/package.json +52 -0
  1616. package/node_modules/pretty-ms/readme.md +198 -0
  1617. package/node_modules/restructure/LICENSE +21 -0
  1618. package/node_modules/restructure/README.md +300 -0
  1619. package/node_modules/restructure/dist/main.cjs +1019 -0
  1620. package/node_modules/restructure/index.js +17 -0
  1621. package/node_modules/restructure/package.json +36 -0
  1622. package/node_modules/restructure/src/Array.js +106 -0
  1623. package/node_modules/restructure/src/Base.js +17 -0
  1624. package/node_modules/restructure/src/Bitfield.js +39 -0
  1625. package/node_modules/restructure/src/Boolean.js +22 -0
  1626. package/node_modules/restructure/src/Buffer.js +38 -0
  1627. package/node_modules/restructure/src/DecodeStream.js +85 -0
  1628. package/node_modules/restructure/src/EncodeStream.js +129 -0
  1629. package/node_modules/restructure/src/Enum.js +27 -0
  1630. package/node_modules/restructure/src/LazyArray.js +74 -0
  1631. package/node_modules/restructure/src/Number.js +77 -0
  1632. package/node_modules/restructure/src/Optional.js +44 -0
  1633. package/node_modules/restructure/src/Pointer.js +167 -0
  1634. package/node_modules/restructure/src/Reserved.js +23 -0
  1635. package/node_modules/restructure/src/String.js +155 -0
  1636. package/node_modules/restructure/src/Struct.js +113 -0
  1637. package/node_modules/restructure/src/VersionedStruct.js +139 -0
  1638. package/node_modules/restructure/src/utils.js +35 -0
  1639. package/node_modules/restructure/test/Array.js +103 -0
  1640. package/node_modules/restructure/test/Bitfield.js +29 -0
  1641. package/node_modules/restructure/test/Boolean.js +39 -0
  1642. package/node_modules/restructure/test/Buffer.js +45 -0
  1643. package/node_modules/restructure/test/DecodeStream.js +101 -0
  1644. package/node_modules/restructure/test/EncodeStream.js +104 -0
  1645. package/node_modules/restructure/test/Enum.js +24 -0
  1646. package/node_modules/restructure/test/LazyArray.js +59 -0
  1647. package/node_modules/restructure/test/Number.js +356 -0
  1648. package/node_modules/restructure/test/Optional.js +100 -0
  1649. package/node_modules/restructure/test/Pointer.js +289 -0
  1650. package/node_modules/restructure/test/Reserved.js +26 -0
  1651. package/node_modules/restructure/test/String.js +151 -0
  1652. package/node_modules/restructure/test/Struct.js +146 -0
  1653. package/node_modules/restructure/test/VersionedStruct.js +495 -0
  1654. package/node_modules/saxes/README.md +323 -0
  1655. package/node_modules/saxes/package.json +55 -0
  1656. package/node_modules/saxes/saxes.js +2053 -0
  1657. package/node_modules/signal-exit/LICENSE.txt +16 -0
  1658. package/node_modules/signal-exit/README.md +74 -0
  1659. package/node_modules/signal-exit/dist/cjs/browser.js +10 -0
  1660. package/node_modules/signal-exit/dist/cjs/index.js +279 -0
  1661. package/node_modules/signal-exit/dist/cjs/package.json +3 -0
  1662. package/node_modules/signal-exit/dist/cjs/signals.js +42 -0
  1663. package/node_modules/signal-exit/dist/mjs/browser.js +4 -0
  1664. package/node_modules/signal-exit/dist/mjs/index.js +275 -0
  1665. package/node_modules/signal-exit/dist/mjs/package.json +3 -0
  1666. package/node_modules/signal-exit/dist/mjs/signals.js +39 -0
  1667. package/node_modules/signal-exit/package.json +93 -0
  1668. package/node_modules/strip-final-newline/index.js +26 -0
  1669. package/node_modules/strip-final-newline/license +9 -0
  1670. package/node_modules/strip-final-newline/package.json +46 -0
  1671. package/node_modules/strip-final-newline/readme.md +34 -0
  1672. package/node_modules/tiny-inflate/LICENSE +21 -0
  1673. package/node_modules/tiny-inflate/index.js +375 -0
  1674. package/node_modules/tiny-inflate/package.json +25 -0
  1675. package/node_modules/tiny-inflate/readme.md +31 -0
  1676. package/node_modules/tiny-inflate/test/index.js +75 -0
  1677. package/node_modules/tiny-inflate/test/lorem.txt +199 -0
  1678. package/node_modules/unicode-properties/LICENSE +8 -0
  1679. package/node_modules/unicode-properties/dist/main.cjs +150 -0
  1680. package/node_modules/unicode-properties/dist/module.mjs +127 -0
  1681. package/node_modules/unicode-properties/package.json +44 -0
  1682. package/node_modules/unicode-properties/readme.md +78 -0
  1683. package/node_modules/unicode-trie/LICENSE +8 -0
  1684. package/node_modules/unicode-trie/README.md +77 -0
  1685. package/node_modules/unicode-trie/builder.js +966 -0
  1686. package/node_modules/unicode-trie/index.js +136 -0
  1687. package/node_modules/unicode-trie/package.json +23 -0
  1688. package/node_modules/unicode-trie/swap.js +25 -0
  1689. package/node_modules/unicode-trie/test/mocha.opts +1 -0
  1690. package/node_modules/unicode-trie/test/test.js +243 -0
  1691. package/node_modules/unicorn-magic/default.js +14 -0
  1692. package/node_modules/unicorn-magic/license +9 -0
  1693. package/node_modules/unicorn-magic/node.js +49 -0
  1694. package/node_modules/unicorn-magic/package.json +59 -0
  1695. package/node_modules/unicorn-magic/readme.md +25 -0
  1696. package/node_modules/which-command/cli.js +74 -0
  1697. package/node_modules/which-command/index.js +170 -0
  1698. package/node_modules/which-command/license +9 -0
  1699. package/node_modules/which-command/package.json +46 -0
  1700. package/node_modules/which-command/readme.md +121 -0
  1701. package/node_modules/xmlchars/LICENSE +18 -0
  1702. package/node_modules/xmlchars/README.md +33 -0
  1703. package/node_modules/xmlchars/package.json +34 -0
  1704. package/node_modules/xmlchars/xml/1.0/ed4.js +44 -0
  1705. package/node_modules/xmlchars/xml/1.0/ed5.js +105 -0
  1706. package/node_modules/xmlchars/xml/1.1/ed2.js +145 -0
  1707. package/node_modules/xmlchars/xmlchars.js +191 -0
  1708. package/node_modules/xmlchars/xmlns/1.0/ed3.js +65 -0
  1709. package/node_modules/yoctocolors/base.js +118 -0
  1710. package/node_modules/yoctocolors/index.js +2 -0
  1711. package/node_modules/yoctocolors/license +9 -0
  1712. package/node_modules/yoctocolors/package.json +66 -0
  1713. package/node_modules/yoctocolors/readme.md +163 -0
  1714. package/package.json +337 -246
  1715. package/node_modules/@deepseek-ai/cordis-plugin-hmr/README.md +0 -51
  1716. package/node_modules/@deepseek-ai/cordis-plugin-hmr/lib/index.js +0 -401
  1717. package/node_modules/@deepseek-ai/cordis-plugin-hmr/src/error.ts +0 -36
  1718. package/node_modules/@deepseek-ai/cordis-plugin-hmr/src/index.ts +0 -427
  1719. package/node_modules/@deepseek-ai/dsh/lib/plugin-Bk_PbPwP.js +0 -130
  1720. package/node_modules/@deepseek-ai/dsh/lib/profile-boot-DB8eVKBx.js +0 -2
  1721. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BRtJ62WN.css +0 -1
  1722. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Ly7KS3xS.js +0 -127
  1723. /package/node_modules/@deepseek-ai/{cordis-plugin-hmr → dsh-hmr}/LICENSE +0 -0
@@ -826,6 +826,69 @@ window.__ModuleLoader__.load({
826
826
  "preserve"
827
827
  ], ({ inner }, isInner) => inner.toString(isInner));
828
828
  //#endregion
829
+ //#region ../../util/values/src/index.ts
830
+ /**
831
+ * Weak-key lookup with a strongly retained iterable set of associated values.
832
+ *
833
+ * Each value must belong to only one key. The container performs no automatic
834
+ * cleanup; owners delete associations or clear the container at lifecycle end.
835
+ */
836
+ var WeakMapWithValues = class {
837
+ keys = /* @__PURE__ */ new WeakMap();
838
+ valueSet = /* @__PURE__ */ new Set();
839
+ /** Live strongly retained values in insertion order. */
840
+ values = this.valueSet;
841
+ /**
842
+ * Read the value associated with a key.
843
+ * @param key - weakly held lookup key.
844
+ * @returns the associated value, or absence.
845
+ */
846
+ get(key) {
847
+ return this.keys.get(key);
848
+ }
849
+ /**
850
+ * Test whether a key has an association.
851
+ * @param key - weakly held lookup key.
852
+ * @returns whether the key is present.
853
+ */
854
+ has(key) {
855
+ return this.keys.has(key);
856
+ }
857
+ /**
858
+ * Associate one key with one caller-unique value.
859
+ * @param key - weakly held lookup key.
860
+ * @param value - strongly retained value that belongs to no other key.
861
+ * @returns this container.
862
+ */
863
+ set(key, value) {
864
+ if (this.keys.has(key)) {
865
+ const previous = this.keys.get(key);
866
+ if (previous === value) return this;
867
+ this.valueSet.delete(previous);
868
+ }
869
+ this.keys.set(key, value);
870
+ this.valueSet.add(value);
871
+ return this;
872
+ }
873
+ /**
874
+ * Remove one association and its strongly retained value.
875
+ * @param key - weakly held lookup key.
876
+ * @returns whether an association was removed.
877
+ */
878
+ delete(key) {
879
+ if (!this.keys.has(key)) return false;
880
+ const value = this.keys.get(key);
881
+ const deleted = this.keys.delete(key);
882
+ this.valueSet.delete(value);
883
+ return deleted;
884
+ }
885
+ /** Remove every association and strongly retained value. */
886
+ clear() {
887
+ this.keys = /* @__PURE__ */ new WeakMap();
888
+ this.valueSet.clear();
889
+ }
890
+ };
891
+ //#endregion
829
892
  //#region lib/types/client/contract/request-inspection.js
830
893
  /**
831
894
  * Canonicalize one request header against the system node in force and
@@ -2302,9 +2365,8 @@ window.__ModuleLoader__.load({
2302
2365
  /** Resolve durable Conversation images and release their browser URLs with Session scope. */
2303
2366
  var HistoricalImageCache = class {
2304
2367
  sessions;
2305
- entries = /* @__PURE__ */ new Map();
2306
- generations = /* @__PURE__ */ new Map();
2307
- scopeDisposers = /* @__PURE__ */ new Map();
2368
+ entries = new WeakMapWithValues();
2369
+ scopeDisposers = new WeakMapWithValues();
2308
2370
  urls = /* @__PURE__ */ new Set();
2309
2371
  disposed = false;
2310
2372
  /**
@@ -2325,18 +2387,17 @@ window.__ModuleLoader__.load({
2325
2387
  */
2326
2388
  resolve(sessionId, attachment) {
2327
2389
  if (this.disposed) return Promise.reject(/* @__PURE__ */ new Error("ui-conversation image cache is disposed"));
2328
- const key = this.key(sessionId, attachment);
2329
- const cached = this.entries.get(key);
2330
- if (cached !== void 0) return cached.pending;
2331
2390
  const binding = this.sessions.binding(sessionId);
2332
2391
  if (binding === void 0) return Promise.reject(/* @__PURE__ */ new Error(`ui-conversation: unknown session "${sessionId}"`));
2333
- this.bindScope(sessionId, binding.ctx);
2392
+ const entries = this.bindScope(binding);
2393
+ const key = attachment.attachmentId;
2394
+ const cached = entries.get(key);
2395
+ if (cached !== void 0) return cached.pending;
2334
2396
  const entry = {
2335
- sessionId,
2336
- generation: this.generations.get(sessionId) ?? 0,
2397
+ binding,
2337
2398
  pending: Promise.resolve("")
2338
2399
  };
2339
- this.entries.set(key, entry);
2400
+ entries.set(key, entry);
2340
2401
  entry.pending = this.loadCanonical(key, entry, attachment);
2341
2402
  return entry.pending;
2342
2403
  }
@@ -2347,7 +2408,8 @@ window.__ModuleLoader__.load({
2347
2408
  * @returns current preview or canonical URL when cached.
2348
2409
  */
2349
2410
  peek(sessionId, attachment) {
2350
- return this.entries.get(this.key(sessionId, attachment))?.current;
2411
+ const binding = this.sessions.binding(sessionId);
2412
+ return binding === void 0 ? void 0 : this.entries.get(binding)?.get(attachment.attachmentId)?.current;
2351
2413
  }
2352
2414
  /**
2353
2415
  * Adopt a submission preview while fetching the durable admitted bytes.
@@ -2360,22 +2422,21 @@ window.__ModuleLoader__.load({
2360
2422
  */
2361
2423
  seed(sessionId, attachment, url) {
2362
2424
  if (this.disposed) return false;
2363
- const key = this.key(sessionId, attachment);
2364
- if (this.entries.has(key)) return false;
2365
2425
  const binding = this.sessions.binding(sessionId);
2366
2426
  if (binding === void 0) return false;
2367
- this.bindScope(sessionId, binding.ctx);
2427
+ const entries = this.bindScope(binding);
2428
+ const key = attachment.attachmentId;
2429
+ if (entries.has(key)) return false;
2368
2430
  const entry = {
2369
- sessionId,
2370
- generation: this.generations.get(sessionId) ?? 0,
2431
+ binding,
2371
2432
  current: url,
2372
2433
  pending: Promise.resolve(url)
2373
2434
  };
2374
2435
  this.urls.add(url);
2375
- this.entries.set(key, entry);
2436
+ entries.set(key, entry);
2376
2437
  entry.pending = this.loadCanonical(key, entry, attachment).catch((error) => {
2377
- if (this.entries.get(key) === entry && entry.current === url) {
2378
- this.entries.delete(key);
2438
+ if (entries.get(key) === entry && entry.current === url) {
2439
+ entries.delete(key);
2379
2440
  this.releaseUrl(url);
2380
2441
  }
2381
2442
  throw error;
@@ -2383,13 +2444,8 @@ window.__ModuleLoader__.load({
2383
2444
  entry.pending.catch(() => {});
2384
2445
  return true;
2385
2446
  }
2386
- key(sessionId, attachment) {
2387
- return `${sessionId}:${attachment.attachmentId}`;
2388
- }
2389
2447
  loadCanonical(key, entry, attachment) {
2390
- const binding = this.sessions.binding(entry.sessionId);
2391
- if (binding === void 0) return Promise.reject(/* @__PURE__ */ new Error(`ui-conversation: unknown session "${entry.sessionId}"`));
2392
- return binding.session.readAttachment(attachment.attachmentId).then((result) => {
2448
+ return entry.binding.session.readAttachment(attachment.attachmentId).then((result) => {
2393
2449
  if (!result.ok) throw new Error(`${result.error.code}: ${result.error.message}`);
2394
2450
  this.assertLive(key, entry);
2395
2451
  let url;
@@ -2405,31 +2461,34 @@ window.__ModuleLoader__.load({
2405
2461
  if (previous !== void 0 && previous !== url) this.releaseUrl(previous);
2406
2462
  return url;
2407
2463
  }).catch((error) => {
2408
- if (this.entries.get(key) === entry && entry.current === void 0) this.entries.delete(key);
2464
+ const entries = this.entries.get(entry.binding);
2465
+ if (entries?.get(key) === entry && entry.current === void 0) entries.delete(key);
2409
2466
  throw error;
2410
2467
  });
2411
2468
  }
2412
2469
  assertLive(key, entry) {
2413
2470
  if (this.disposed) throw new Error("ui-conversation image cache was disposed before loading completed");
2414
- if (this.entries.get(key) !== entry || (this.generations.get(entry.sessionId) ?? 0) !== entry.generation) throw new Error("ui-conversation image scope was released before loading completed");
2471
+ if (this.entries.get(entry.binding)?.get(key) !== entry) throw new Error("ui-conversation image scope was released before loading completed");
2415
2472
  }
2416
- bindScope(sessionId, scope) {
2417
- if (this.scopeDisposers.has(sessionId)) return;
2418
- const dispose = scope.effect(() => () => {
2419
- this.scopeDisposers.delete(sessionId);
2420
- this.release(sessionId);
2473
+ bindScope(binding) {
2474
+ const existing = this.entries.get(binding);
2475
+ if (existing !== void 0) return existing;
2476
+ const entries = /* @__PURE__ */ new Map();
2477
+ this.entries.set(binding, entries);
2478
+ const dispose = binding.ctx.effect(() => () => {
2479
+ this.scopeDisposers.delete(binding);
2480
+ this.release(binding, entries);
2421
2481
  }, "ui-conversation historical image scope");
2422
- this.scopeDisposers.set(sessionId, () => {
2482
+ const release = () => {
2423
2483
  dispose();
2424
- });
2484
+ };
2485
+ this.scopeDisposers.set(binding, release);
2486
+ return entries;
2425
2487
  }
2426
- release(sessionId) {
2427
- this.generations.set(sessionId, (this.generations.get(sessionId) ?? 0) + 1);
2428
- for (const [key, entry] of this.entries) {
2429
- if (entry.sessionId !== sessionId) continue;
2430
- this.entries.delete(key);
2431
- if (entry.current !== void 0) this.releaseUrl(entry.current);
2432
- }
2488
+ release(binding, entries) {
2489
+ if (this.entries.get(binding) === entries) this.entries.delete(binding);
2490
+ for (const entry of entries.values()) if (entry.current !== void 0) this.releaseUrl(entry.current);
2491
+ entries.clear();
2433
2492
  }
2434
2493
  releaseUrl(url) {
2435
2494
  if (!this.urls.delete(url)) return;
@@ -2438,10 +2497,11 @@ window.__ModuleLoader__.load({
2438
2497
  dispose() {
2439
2498
  if (this.disposed) return;
2440
2499
  this.disposed = true;
2441
- for (const dispose of [...this.scopeDisposers.values()]) dispose();
2500
+ for (const dispose of [...this.scopeDisposers.values]) dispose();
2442
2501
  this.scopeDisposers.clear();
2443
2502
  for (const url of this.urls) revokeUrl(url);
2444
2503
  this.urls.clear();
2504
+ for (const entries of this.entries.values) entries.clear();
2445
2505
  this.entries.clear();
2446
2506
  }
2447
2507
  };
@@ -2574,7 +2634,7 @@ window.__ModuleLoader__.load({
2574
2634
  events;
2575
2635
  /** Registry of target View definitions. */
2576
2636
  views;
2577
- bindings = /* @__PURE__ */ new Map();
2637
+ bindings = new WeakMapWithValues();
2578
2638
  images;
2579
2639
  /**
2580
2640
  * @param ctx - owning Client context.
@@ -2587,7 +2647,7 @@ window.__ModuleLoader__.load({
2587
2647
  this.views = new ConversationViewRegistry(ctx);
2588
2648
  this.images = new HistoricalImageCache(ctx, sessions);
2589
2649
  const rebuild = () => {
2590
- for (const record of this.bindings.values()) record.binding.rebuild();
2650
+ for (const record of this.bindings.values) record.binding.rebuild();
2591
2651
  };
2592
2652
  let rebuildQueued = false;
2593
2653
  const scheduleRebuild = () => {
@@ -2604,7 +2664,7 @@ window.__ModuleLoader__.load({
2604
2664
  return () => {
2605
2665
  disposeViews();
2606
2666
  disposeEvents();
2607
- for (const record of [...this.bindings.values()]) this.drop(record, true);
2667
+ for (const record of [...this.bindings.values]) this.drop(record, true);
2608
2668
  };
2609
2669
  }, "ui-conversation assembly");
2610
2670
  }
@@ -2617,16 +2677,16 @@ window.__ModuleLoader__.load({
2617
2677
  const sessionId = typeof source === "string" ? source : source.sessionId;
2618
2678
  const owner = typeof source === "string" ? this.sessions.binding(source) : source;
2619
2679
  if (owner === void 0) throw new Error(`uiConversation.binding: unknown session "${sessionId}"`);
2620
- const current = this.bindings.get(owner.sessionId);
2621
- if (current?.source === owner) return current.binding;
2622
- if (current !== void 0) this.drop(current, true);
2680
+ if (this.sessions.binding(sessionId) !== owner) throw new Error(`uiConversation.binding: inactive session "${sessionId}"`);
2681
+ const current = this.bindings.get(owner);
2682
+ if (current !== void 0) return current.binding;
2623
2683
  const binding = new BoundConversation(owner.eventSource, new ConversationNodeAssembler(this.events, this.views));
2624
2684
  const record = {
2625
2685
  source: owner,
2626
2686
  binding,
2627
2687
  disposeScope: () => {}
2628
2688
  };
2629
- this.bindings.set(owner.sessionId, record);
2689
+ this.bindings.set(owner, record);
2630
2690
  const disposeScope = owner.ctx.effect(() => () => {
2631
2691
  this.drop(record, false);
2632
2692
  }, "ui-conversation binding");
@@ -2691,8 +2751,8 @@ window.__ModuleLoader__.load({
2691
2751
  return inspectRequestPrompt(previous, event, system);
2692
2752
  }
2693
2753
  drop(record, releaseScope) {
2694
- if (this.bindings.get(record.source.sessionId) !== record) return;
2695
- this.bindings.delete(record.source.sessionId);
2754
+ if (this.bindings.get(record.source) !== record) return;
2755
+ this.bindings.delete(record.source);
2696
2756
  record.binding.dispose();
2697
2757
  if (releaseScope) record.disposeScope();
2698
2758
  }
@@ -3272,22 +3332,6 @@ window.__ModuleLoader__.load({
3272
3332
  }
3273
3333
  };
3274
3334
  //#endregion
3275
- //#region lib/types/client/input/queue-store.js
3276
- /**
3277
- * Project a session's transient inbox rows as a bare observable (subscribe/getSnapshot).
3278
- * The wiring layer overlays this onto InputState.queue; the runtime
3279
- * QueuedMessage and the input-contract QueuedMessage are structurally
3280
- * identical.
3281
- * @param session - the resident session face.
3282
- * @returns the queue read face (snapshot reference stable while the queue is unchanged).
3283
- */
3284
- function queueReadFaceOf(session) {
3285
- return {
3286
- getSnapshot: () => session.getSnapshot().queue,
3287
- subscribe: (fn) => session.subscribe(fn)
3288
- };
3289
- }
3290
- //#endregion
3291
3335
  //#region lib/types/client/input/machine.js
3292
3336
  /** Exhaustiveness backstop for the closed InputEvent union. */
3293
3337
  function unreachable(value) {
@@ -12903,7 +12947,7 @@ window.__ModuleLoader__.load({
12903
12947
  return old === void 0 || old.occurrenceId !== occ.occurrenceId || old.invalid !== occ.invalid;
12904
12948
  });
12905
12949
  }
12906
- const EMPTY_QUEUE = [];
12950
+ const EMPTY_QUEUE$1 = [];
12907
12951
  /** No-pipeline lexicon: zero text-ref decorations. */
12908
12952
  const EMPTY_LEXICON$1 = /* @__PURE__ */ new Map();
12909
12953
  /**
@@ -12962,6 +13006,7 @@ window.__ModuleLoader__.load({
12962
13006
  attachmentFlightSeq = 0;
12963
13007
  /** Attachment-only sends retained until admission settles or scope disposal releases their attachments. */
12964
13008
  attachmentFlights = /* @__PURE__ */ new Map();
13009
+ unsubscribeInbox;
12965
13010
  constructor(deps) {
12966
13011
  this.deps = deps;
12967
13012
  this.draftEditor = new DraftEditorRuntime({
@@ -12975,7 +13020,7 @@ window.__ModuleLoader__.load({
12975
13020
  });
12976
13021
  this.unregister = this.draftEditor.register();
12977
13022
  this.state = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(this.compose());
12978
- deps.queue?.subscribe(() => {
13023
+ this.unsubscribeInbox = deps.inbox?.subscribe(() => {
12979
13024
  this.publish();
12980
13025
  });
12981
13026
  }
@@ -13239,6 +13284,15 @@ window.__ModuleLoader__.load({
13239
13284
  });
13240
13285
  }
13241
13286
  /**
13287
+ * Return the keyboard to the composer with the caret it last held. Lexical's
13288
+ * own focus restores its stored selection; a bare DOM focus on the
13289
+ * contenteditable would land the caret at the start instead.
13290
+ */
13291
+ focus() {
13292
+ this.editor.getRootElement()?.focus({ preventScroll: true });
13293
+ this.editor.focus();
13294
+ }
13295
+ /**
13242
13296
  * Teardown the shell and return every browser-owned attachment still retained by
13243
13297
  * the draft or an unsettled default send.
13244
13298
  * @returns attachment ids the scope disposer must release.
@@ -13253,6 +13307,7 @@ window.__ModuleLoader__.load({
13253
13307
  }
13254
13308
  this.disposed = true;
13255
13309
  this.dispatchRun({ type: "release" });
13310
+ this.unsubscribeInbox?.();
13256
13311
  this.unregister();
13257
13312
  this.detachedDrafts.clear();
13258
13313
  this.failedDetached.clear();
@@ -13553,7 +13608,7 @@ window.__ModuleLoader__.load({
13553
13608
  phase: core.phase,
13554
13609
  ...core.claim !== void 0 ? { claim: core.claim } : {},
13555
13610
  occurrences: this.projection.occurrences,
13556
- queue: this.deps.queue?.getSnapshot() ?? EMPTY_QUEUE
13611
+ queue: this.deps.inbox?.getSnapshot()?.["next-turn"] ?? EMPTY_QUEUE$1
13557
13612
  };
13558
13613
  }
13559
13614
  publish() {
@@ -13571,7 +13626,7 @@ window.__ModuleLoader__.load({
13571
13626
  var InputHub = class {
13572
13627
  rootCtx;
13573
13628
  t;
13574
- shells = /* @__PURE__ */ new Map();
13629
+ shells = /* @__PURE__ */ new WeakMap();
13575
13630
  /**
13576
13631
  * @param ctx - client root context (services resolved lazily per call — boot order stays free).
13577
13632
  * @param t - conversation-namespace translate thunk (reads the active locale at call time).
@@ -13586,9 +13641,11 @@ window.__ModuleLoader__.load({
13586
13641
  * @returns the resident per-session facade.
13587
13642
  */
13588
13643
  for(actx) {
13589
- const id = this.sessions().scopeOf(actx);
13590
- if (id === void 0) throw new Error("conversation.input.for requires a session scope");
13591
- return this.shell(id);
13644
+ const sessions = this.sessions();
13645
+ const session = sessions.sessionOf(actx);
13646
+ const binding = session === void 0 ? void 0 : sessions.binding(session.sessionId);
13647
+ if (binding === void 0 || binding.session !== session) throw new Error("conversation.input.for requires a retained Session scope");
13648
+ return this.shellFor(binding);
13592
13649
  }
13593
13650
  /**
13594
13651
  * Resident shell for one session binding — the provide-channel entry
@@ -13599,14 +13656,14 @@ window.__ModuleLoader__.load({
13599
13656
  * @returns the shell.
13600
13657
  */
13601
13658
  shellFor(binding) {
13602
- const existing = this.shells.get(binding.sessionId);
13659
+ const existing = this.shells.get(binding);
13603
13660
  if (existing !== void 0) return existing;
13604
- const { sessionId: id, session, ctx: actx } = binding;
13661
+ const { session, ctx: actx } = binding;
13605
13662
  const shell = new SessionInputShell({
13606
13663
  actx,
13607
13664
  inputTriggers: () => this.controller(actx),
13608
13665
  popup: () => this.popup(actx),
13609
- queue: queueReadFaceOf(session),
13666
+ inbox: session.projections.faceOf("inbox"),
13610
13667
  defaultSink: (text, attachmentIds, mode, signal) => this.sink(session, text, attachmentIds, mode, signal),
13611
13668
  steerQueue: () => {
13612
13669
  this.steerQueue(session, shell);
@@ -13622,7 +13679,7 @@ window.__ModuleLoader__.load({
13622
13679
  unsupportedNotice: (token) => this.t("command.attachmentsUnsupported", { command: token.trim().replace(/^\//u, "") })
13623
13680
  }
13624
13681
  });
13625
- this.shells.set(id, shell);
13682
+ this.shells.set(binding, shell);
13626
13683
  actx.effect(() => {
13627
13684
  const offs = [
13628
13685
  actx.on("slash/input-begin-command", (req) => shell.beginCommand(req.claim, req.span) ? true : void 0),
@@ -13633,7 +13690,7 @@ window.__ModuleLoader__.load({
13633
13690
  return () => {
13634
13691
  for (const off of offs) off();
13635
13692
  const drafts = shell.dispose();
13636
- this.shells.delete(id);
13693
+ this.shells.delete(binding);
13637
13694
  const conversation = this.rootCtx.get("conversation");
13638
13695
  for (const attachmentId of drafts) conversation?.releaseDraftAttachment(attachmentId);
13639
13696
  };
@@ -13647,8 +13704,6 @@ window.__ModuleLoader__.load({
13647
13704
  * @returns the shell.
13648
13705
  */
13649
13706
  shell(id) {
13650
- const existing = this.shells.get(id);
13651
- if (existing !== void 0) return existing;
13652
13707
  const binding = this.sessions().binding(id);
13653
13708
  if (binding === void 0) throw new Error(`conversation.input: session "${id}" resolved no binding`);
13654
13709
  return this.shellFor(binding);
@@ -13669,14 +13724,16 @@ window.__ModuleLoader__.load({
13669
13724
  * @returns whether its mounted composer currently accepts files.
13670
13725
  */
13671
13726
  canPickFiles(id) {
13672
- return this.shells.get(id)?.canPickFiles() === true;
13727
+ const binding = this.sessions().binding(id);
13728
+ return binding !== void 0 && this.shells.get(binding)?.canPickFiles() === true;
13673
13729
  }
13674
13730
  /**
13675
13731
  * Open the target composer's file dialog under its live intake policy.
13676
13732
  * @param id - target Session.
13677
13733
  */
13678
13734
  pickFiles(id) {
13679
- this.shells.get(id)?.pickFiles();
13735
+ const binding = this.sessions().binding(id);
13736
+ if (binding !== void 0) this.shells.get(binding)?.pickFiles();
13680
13737
  }
13681
13738
  /**
13682
13739
  * Resolve the optional slash controller for composer chrome that launches
@@ -13685,8 +13742,8 @@ window.__ModuleLoader__.load({
13685
13742
  * @returns the resident controller, or undefined when no trigger provider is installed.
13686
13743
  */
13687
13744
  inputTriggers(id) {
13688
- const actx = this.sessions().scope(id);
13689
- return actx === void 0 ? void 0 : this.controller(actx);
13745
+ const binding = this.sessions().binding(id);
13746
+ return binding === void 0 ? void 0 : this.controller(binding.ctx);
13690
13747
  }
13691
13748
  /**
13692
13749
  * Default sink: optimistic clear + prompt. The session is always a real
@@ -13711,7 +13768,7 @@ window.__ModuleLoader__.load({
13711
13768
  * @param shell - the resident shell (notice outlet).
13712
13769
  */
13713
13770
  async steerQueue(session, shell) {
13714
- const queued = session.getSnapshot().queue.filter((item) => item.placement === "queued");
13771
+ const queued = session.projections.faceOf("inbox").getSnapshot()?.["next-turn"] ?? [];
13715
13772
  if (queued.length === 0) return;
13716
13773
  for (const item of queued) {
13717
13774
  const result = await session.updateQueue(item.id, { kind: "steer" });
@@ -13722,9 +13779,11 @@ window.__ModuleLoader__.load({
13722
13779
  }
13723
13780
  }
13724
13781
  controller(actx) {
13782
+ if (this.sessions().sessionOf(actx) === void 0) return void 0;
13725
13783
  return this.rootCtx.get("inputTriggers")?.sessionOf(actx);
13726
13784
  }
13727
13785
  popup(actx) {
13786
+ if (this.sessions().sessionOf(actx) === void 0) return void 0;
13728
13787
  return this.rootCtx.get("commandUi")?.popupFor(actx);
13729
13788
  }
13730
13789
  sessions() {
@@ -13966,11 +14025,13 @@ window.__ModuleLoader__.load({
13966
14025
  "queue.remove": "删除排队消息",
13967
14026
  "queue.steer": "插话发送",
13968
14027
  "queue.steer.unavailable": "仅运行中可插话发送",
14028
+ "error.sessionInUse": "当前会话已被占用,可能是其他正在运行的 DSH 导致的(如其他 dsh web、桌面端),请退出其他正在运行的 DSH 后重试。",
13969
14029
  "queue.editFailed": "编辑失败:这条消息可能已经开始发送。",
13970
14030
  "queue.removeFailed": "删除失败:这条消息可能已经开始发送。",
13971
14031
  "queue.steerFailed": "插话发送失败,请重试。",
13972
14032
  "terminal.signal": "信号 {signal}",
13973
14033
  "terminal.exitCode": "退出码 {code}",
14034
+ "terminal.noExitCode": "未正常退出",
13974
14035
  "terminal.running": "运行中",
13975
14036
  "terminal.failed": "失败",
13976
14037
  "terminal.done": "已完成",
@@ -14122,11 +14183,13 @@ window.__ModuleLoader__.load({
14122
14183
  "queue.remove": "Remove queued message",
14123
14184
  "queue.steer": "Steer queued message",
14124
14185
  "queue.steer.unavailable": "Steering is available only while the agent is running",
14186
+ "error.sessionInUse": "This session is already in use, possibly by another running DSH instance (such as dsh web or the desktop app). Quit other running DSH instances and try again.",
14125
14187
  "queue.editFailed": "Edit failed: this message may have already started sending.",
14126
14188
  "queue.removeFailed": "Removal failed: this message may have already started sending.",
14127
14189
  "queue.steerFailed": "Steering failed. Try again.",
14128
14190
  "terminal.signal": "signal {signal}",
14129
14191
  "terminal.exitCode": "exit code {code}",
14192
+ "terminal.noExitCode": "no exit code",
14130
14193
  "terminal.running": "Running",
14131
14194
  "terminal.failed": "Failed",
14132
14195
  "terminal.done": "Done",
@@ -14172,8 +14235,19 @@ window.__ModuleLoader__.load({
14172
14235
  };
14173
14236
  //#endregion
14174
14237
  //#region lib/types/client/queue/QueueDock.js
14238
+ const EMPTY_QUEUE = [];
14239
+ const QUEUE_PREVIEW_CHARS = 200;
14240
+ function previewOf(content) {
14241
+ const flat = content.filter((block) => block.type !== "image" && block.type !== "file").map((block) => block.type === "text" ? block.text : `[${block.type}]`).join(" ").replace(/\s+/g, " ").trim();
14242
+ const chars = Array.from(flat);
14243
+ return chars.length > QUEUE_PREVIEW_CHARS ? `${chars.slice(0, QUEUE_PREVIEW_CHARS).join("")}…` : flat;
14244
+ }
14245
+ function textOf(content) {
14246
+ if (!content.every((block) => block.type === "text")) return null;
14247
+ return content.map((block) => block.text).join("");
14248
+ }
14175
14249
  /**
14176
- * Durable references carried by one queued row. Queue frames are wire data
14250
+ * Durable references carried by one queued row. Inbox projections are wire data
14177
14251
  * despite their typed face, so an image block without a reference is skipped
14178
14252
  * rather than trusted.
14179
14253
  * @param content - the row's wire content blocks.
@@ -14251,12 +14325,11 @@ window.__ModuleLoader__.load({
14251
14325
  * collapsible count header; an empty queue renders nothing. Local submissions
14252
14326
  * show sending status and disabled actions until their Host queue rows arrive.
14253
14327
  */
14254
- function QueueDock({ useSession, updateQueue, notify, loadImage, t }) {
14255
- const inbox = useSession((s) => s.queue);
14256
- const queue = (0, react.useMemo)(() => inbox.filter((row) => row.placement === "queued"), [inbox]);
14328
+ function QueueDock({ useSession, useProjection, updateQueue, notify, loadImage, t }) {
14329
+ const queue = useProjection("inbox")?.["next-turn"] ?? EMPTY_QUEUE;
14257
14330
  const pendingSubmissions = useSession((s) => s.pendingSubmissions);
14258
14331
  const pendingQueue = (0, react.useMemo)(() => {
14259
- const admitted = new Set(queue.flatMap((row) => row.rpcId === void 0 ? [] : [row.rpcId]));
14332
+ const admitted = new Set(queue.flatMap(({ source }) => source.kind === "user" && "rpcId" in source ? [source.rpcId] : []));
14260
14333
  return pendingSubmissions.filter((submission) => submission.placement === "queued" && !admitted.has(submission.requestId));
14261
14334
  }, [pendingSubmissions, queue]);
14262
14335
  const rowCount = queue.length + pendingQueue.length;
@@ -14343,6 +14416,7 @@ window.__ModuleLoader__.load({
14343
14416
  hidden: !listVisible,
14344
14417
  children: [listVisible && queue.map((row) => {
14345
14418
  const attachments = queueAttachments(row.content);
14419
+ const text = textOf(row.content);
14346
14420
  return (0, react_jsx_runtime.jsxs)("li", {
14347
14421
  className: QueueDock_module_css_default.row,
14348
14422
  children: [
@@ -14384,7 +14458,7 @@ window.__ModuleLoader__.load({
14384
14458
  }, `${item.attachment.attachmentId}:${item.attachment.name}:${index}`))
14385
14459
  }), (0, react_jsx_runtime.jsx)("span", {
14386
14460
  className: QueueDock_module_css_default.preview,
14387
- children: (0, _deepseek_ai_dsh_client_ui_primitives.projectUserText)(row.preview, [])
14461
+ children: (0, _deepseek_ai_dsh_client_ui_primitives.projectUserText)(previewOf(row.content), [])
14388
14462
  })] }),
14389
14463
  queueMutable && (0, react_jsx_runtime.jsx)("div", {
14390
14464
  className: QueueDock_module_css_default.actions,
@@ -14421,17 +14495,17 @@ window.__ModuleLoader__.load({
14421
14495
  label: t("queue.edit"),
14422
14496
  side: "bottom",
14423
14497
  delayMs: 500,
14424
- disabled: row.text === null,
14498
+ disabled: text === null,
14425
14499
  children: (0, react_jsx_runtime.jsx)("button", {
14426
14500
  type: "button",
14427
14501
  className: QueueDock_module_css_default.action,
14428
14502
  "aria-label": t("queue.edit"),
14429
- title: row.text === null ? t("queue.edit.unsupported") : void 0,
14430
- disabled: busy !== null || row.text === null,
14503
+ title: text === null ? t("queue.edit.unsupported") : void 0,
14504
+ disabled: busy !== null || text === null,
14431
14505
  onClick: () => {
14432
- if (row.text !== null) setEditing({
14506
+ if (text !== null) setEditing({
14433
14507
  id: row.id,
14434
- text: row.text
14508
+ text
14435
14509
  });
14436
14510
  },
14437
14511
  children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconEditOutline16, { size: 14 })
@@ -14665,6 +14739,237 @@ window.__ModuleLoader__.load({
14665
14739
  return conversation.activeTargets.size > 0 || !session.blank && !session.awaitingFirstTurn || session.running ? "active" : session.promptAttempted ? "engaging" : "blank";
14666
14740
  }
14667
14741
  //#endregion
14742
+ //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-conversation/src/client/skeleton/ConversationRoot.module.css.mjs
14743
+ const css$4 = ".zLYQ6W_root{background:var(--dsw-alias-bg-base);flex-direction:column;min-width:0;height:100%;display:flex;position:relative}.zLYQ6W_header{box-sizing:border-box;border-bottom:.5px solid var(--dsw-alias-border-l3);flex:none;min-height:76px;padding:10px 28px 0 20px}.zLYQ6W_headerBlank{border-bottom:none;min-height:0}.zLYQ6W_headerBlank .zLYQ6W_headerCorner{margin-left:auto}[data-platform=darwin] .zLYQ6W_titleRow{-webkit-app-region:drag}[data-platform=darwin] .zLYQ6W_titleRow button,[data-platform=darwin] .zLYQ6W_titleRow a,[data-platform=darwin] .zLYQ6W_headerLeading,[data-platform=darwin] .zLYQ6W_headerActions,[data-platform=darwin] .zLYQ6W_headerUtilities,[data-platform=darwin] .zLYQ6W_headerCorner{-webkit-app-region:no-drag}.zLYQ6W_titleRow{align-items:center;gap:0;min-height:30px;display:flex}.zLYQ6W_titleCluster{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.zLYQ6W_headerLeading{flex:none;align-items:center;gap:8px;display:flex}.zLYQ6W_headerLeading:empty{display:none}.zLYQ6W_crumbs{white-space:nowrap;align-items:center;gap:4px;min-width:0;display:flex;overflow:hidden}.zLYQ6W_crumbSeg{align-items:center;gap:4px;min-width:0;display:inline-flex}.zLYQ6W_crumbSep{color:var(--dsw-alias-label-caption);font-size:14px;line-height:20px}.zLYQ6W_crumb{max-width:220px;color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:12px;padding:4px 8px;font-size:14px;line-height:20px;overflow:hidden}.zLYQ6W_crumbSubagent{font-size:12px;line-height:18px}.zLYQ6W_crumb:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.zLYQ6W_crumbCurrent{color:var(--dsw-alias-label-primary);cursor:default;font-weight:500}.zLYQ6W_headerActions{flex:none;align-items:center;gap:8px;display:flex}.zLYQ6W_headerUtilities{flex:none;align-items:center;gap:8px;margin-left:20px;display:flex}.zLYQ6W_headerUtilities:empty{display:none}.zLYQ6W_headerCorner{flex:none;align-items:center;margin-left:8px;margin-right:-16px;display:flex}.zLYQ6W_headerCorner:empty{display:none}.zLYQ6W_tabs{z-index:1;gap:36px;margin-top:10px;padding-left:8px;display:flex;position:relative}.zLYQ6W_tab{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;padding:0 0 9px;font-size:13px;font-weight:500;line-height:16px;position:relative}.zLYQ6W_tab:after{content:\"\";background:0 0;border-radius:2px;height:2px;position:absolute;bottom:-1px;left:0;right:0}.zLYQ6W_tabActive{color:var(--dsw-alias-state-business-primary)}.zLYQ6W_tabActive:after{background:var(--dsw-alias-state-business-primary)}.zLYQ6W_viewArea{flex-direction:column;flex:1;min-height:0;display:flex}.zLYQ6W_widthHandle{z-index:0;width:min(10px, calc((100% - var(--dsh-chat-content-width)) / 2 - 24px - 24px));cursor:col-resize;position:absolute;top:0;bottom:0}.zLYQ6W_widthHandle[data-side=left]{right:calc(50% + var(--dsh-chat-content-width) / 2 + 24px)}.zLYQ6W_widthHandle[data-side=right]{left:calc(50% + var(--dsh-chat-content-width) / 2 + 24px)}.zLYQ6W_widthHandle:after{content:\"\";background:linear-gradient(to bottom, transparent calc(var(--dsh-width-handle-pointer-y,50%) - 36px), var(--dsw-alias-scrollbar-bg-l1) calc(var(--dsh-width-handle-pointer-y,50%) - 8px), var(--dsw-alias-scrollbar-bg-l1) calc(var(--dsh-width-handle-pointer-y,50%) + 8px), transparent calc(var(--dsh-width-handle-pointer-y,50%) + 36px));opacity:0;pointer-events:none;border-radius:2px;width:2px;position:absolute;top:0;bottom:0}.zLYQ6W_widthHandle[data-side=left]:after{right:4px}.zLYQ6W_widthHandle[data-side=right]:after{left:4px}.zLYQ6W_widthHandle:hover:after,.zLYQ6W_widthHandle[data-dragging]:after{opacity:1}.zLYQ6W_widthHandle[data-dragging]{z-index:8}.zLYQ6W_root:has([data-conversation-composer-overlay]) .zLYQ6W_widthHandle{display:none}.zLYQ6W_composerStack{--dsh-composer-stack-gap:6px;gap:var(--dsh-composer-stack-gap);flex-direction:column;display:flex}.zLYQ6W_composerSeat{--dsh-composer-text-max-height:336px;flex-direction:column;flex:none;display:flex}.zLYQ6W_root[data-phase=active]{overflow:hidden}.zLYQ6W_root[data-phase=active] .zLYQ6W_header{flex:none}.zLYQ6W_body{--dsh-chat-content-width:var(--dsh-chat-user-width,clamp(680px, calc(var(--dsh-conversation-column-width,0px) * .64), 920px));--dsh-composer-card-max-width:calc(var(--dsh-chat-content-width) + 32px);--dsh-composer-side-clearance:16px;--dsh-composer-dock-inset:8px;flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.zLYQ6W_embeddedBody{--dsh-chat-content-width:min(calc(100% - 32px), 920px);--dsh-composer-card-max-width:min(calc(100% - 16px), 952px);--dsh-composer-side-clearance:8px;--dsh-composer-dock-inset:8px;overflow:hidden}.zLYQ6W_scrollBody{scrollbar-gutter:stable;flex-direction:column;flex:1;min-height:0;margin-right:2px;display:flex;overflow-y:auto}.zLYQ6W_scrollBody::-webkit-scrollbar-track{margin:2px}.zLYQ6W_root[data-phase=active] .zLYQ6W_viewArea,.zLYQ6W_embeddedBody[data-content-phase=active] .zLYQ6W_viewArea{flex:1 0 auto;min-height:auto}.zLYQ6W_root[data-phase=active] .zLYQ6W_composerSeat,.zLYQ6W_embeddedBody[data-content-phase=active] .zLYQ6W_composerSeat{z-index:7;background:linear-gradient(180deg, color-mix(in srgb, var(--dsw-alias-bg-base) 0%, transparent) 0px, var(--dsw-alias-bg-base) 36px);position:sticky;bottom:0}.zLYQ6W_root[data-phase=active] .zLYQ6W_composerSeat:has([data-trigger-menu]){z-index:9}.zLYQ6W_scrollBody:has([data-conversation-composer-overlay]){scrollbar-gutter:auto;position:relative;overflow:hidden auto}.zLYQ6W_scrollBody:has([data-conversation-composer-overlay])>[data-slot=conversation\\.session]>.zLYQ6W_viewArea{flex:1 1 0;min-height:0;overflow:hidden}.zLYQ6W_scrollBody:has([data-conversation-composer-overlay])>.zLYQ6W_composerSeat{right:var(--dsh-scrollbar-width);position:absolute;bottom:0;left:0}.zLYQ6W_composerHero{width:min(calc(var(--dsh-composer-card-max-width) + 2 * var(--dsh-composer-side-clearance)), 100%);z-index:1;align-self:center;gap:8px;padding-bottom:32px}.zLYQ6W_heroWorkspaceRow{align-items:center;gap:2px;min-width:0;margin-top:4px;padding:0 16px 0 20px;display:flex}.zLYQ6W_root[data-phase=hero] .zLYQ6W_scrollBody,.zLYQ6W_embeddedBody[data-content-phase=hero] .zLYQ6W_scrollBody{justify-content:center;overflow-y:auto}.zLYQ6W_root[data-phase=settling] .zLYQ6W_composerSeat,.zLYQ6W_embeddedBody[data-content-phase=settling] .zLYQ6W_composerSeat{visibility:hidden}";
14744
+ const tagId$4 = "@deepseek-ai/dsh-client-ui-conversation/ConversationRoot.module.css";
14745
+ if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
14746
+ const tag = document.createElement("style");
14747
+ tag.dataset.plugin = "@deepseek-ai/dsh-client-ui-conversation";
14748
+ tag.dataset.pluginCss = tagId$4;
14749
+ tag.textContent = css$4;
14750
+ document.head.appendChild(tag);
14751
+ }
14752
+ var ConversationRoot_module_css_default = {
14753
+ "body": "zLYQ6W_body",
14754
+ "composerHero": "zLYQ6W_composerHero",
14755
+ "composerSeat": "zLYQ6W_composerSeat",
14756
+ "composerStack": "zLYQ6W_composerStack",
14757
+ "crumb": "zLYQ6W_crumb",
14758
+ "crumbCurrent": "zLYQ6W_crumbCurrent",
14759
+ "crumbSeg": "zLYQ6W_crumbSeg",
14760
+ "crumbSep": "zLYQ6W_crumbSep",
14761
+ "crumbSubagent": "zLYQ6W_crumbSubagent",
14762
+ "crumbs": "zLYQ6W_crumbs",
14763
+ "embeddedBody": "zLYQ6W_embeddedBody",
14764
+ "header": "zLYQ6W_header",
14765
+ "headerActions": "zLYQ6W_headerActions",
14766
+ "headerBlank": "zLYQ6W_headerBlank",
14767
+ "headerCorner": "zLYQ6W_headerCorner",
14768
+ "headerLeading": "zLYQ6W_headerLeading",
14769
+ "headerUtilities": "zLYQ6W_headerUtilities",
14770
+ "heroWorkspaceRow": "zLYQ6W_heroWorkspaceRow",
14771
+ "root": "zLYQ6W_root",
14772
+ "scrollBody": "zLYQ6W_scrollBody",
14773
+ "tab": "zLYQ6W_tab",
14774
+ "tabActive": "zLYQ6W_tabActive",
14775
+ "tabs": "zLYQ6W_tabs",
14776
+ "titleCluster": "zLYQ6W_titleCluster",
14777
+ "titleRow": "zLYQ6W_titleRow",
14778
+ "viewArea": "zLYQ6W_viewArea",
14779
+ "widthHandle": "zLYQ6W_widthHandle"
14780
+ };
14781
+ //#endregion
14782
+ //#region lib/types/client/skeleton/ConversationWidthControls.js
14783
+ /** localStorage key for the dragged transcript width preference (px). */
14784
+ const WIDTH_PREF_KEY = "dsh.conversation.contentWidth";
14785
+ /** Floor for a dragged content width; matches the layout center-column minimum. */
14786
+ const CONTENT_MIN = 640;
14787
+ /** Horizontal room reserved for both handles and their safe edge zones. */
14788
+ const CONTENT_EDGE_BUDGET = 176;
14789
+ const WHEEL_DELTA_LINE = 1;
14790
+ const WHEEL_DELTA_PAGE = 2;
14791
+ const FALLBACK_WHEEL_LINE_PX = 16;
14792
+ /** Read a valid persisted width preference, or null when absent or corrupt. */
14793
+ function readWidthPreference() {
14794
+ const raw = localStorage.getItem(WIDTH_PREF_KEY);
14795
+ if (raw === null) return null;
14796
+ const value = Number(raw);
14797
+ return Number.isFinite(value) && value > 0 ? value : null;
14798
+ }
14799
+ /** Resolve the width displayed for one measured Conversation column. */
14800
+ function resolveContentWidth(columnWidth, preference) {
14801
+ const max = Math.max(CONTENT_MIN, columnWidth - CONTENT_EDGE_BUDGET);
14802
+ if (preference !== null) return Math.min(Math.max(preference, CONTENT_MIN), max);
14803
+ return Math.max(680, Math.min(columnWidth * .64, 920));
14804
+ }
14805
+ /** Convert a wheel event's vertical delta to scrollport pixels. */
14806
+ function wheelDeltaY(event, scrollport) {
14807
+ if (event.deltaMode === WHEEL_DELTA_LINE) {
14808
+ const lineHeight = Number.parseFloat(getComputedStyle(scrollport).lineHeight);
14809
+ return event.deltaY * (Number.isFinite(lineHeight) ? lineHeight : FALLBACK_WHEEL_LINE_PX);
14810
+ }
14811
+ if (event.deltaMode === WHEEL_DELTA_PAGE) return event.deltaY * scrollport.clientHeight;
14812
+ return event.deltaY;
14813
+ }
14814
+ /** One pointer-captured transcript width handle. */
14815
+ function WidthHandle(props) {
14816
+ const [dragging, setDragging] = (0, react.useState)(false);
14817
+ const base = (0, react.useRef)(0);
14818
+ const origin = (0, react.useRef)(0);
14819
+ const latest = (0, react.useRef)(0);
14820
+ const frame = (0, react.useRef)(null);
14821
+ const callbacks = (0, react.useRef)(props);
14822
+ callbacks.current = props;
14823
+ const outwardWidth = () => {
14824
+ const dx = latest.current - origin.current;
14825
+ const outward = callbacks.current.side === "right" ? dx : -dx;
14826
+ return base.current + outward * 2;
14827
+ };
14828
+ const cancelFrame = () => {
14829
+ if (frame.current !== null) {
14830
+ cancelAnimationFrame(frame.current);
14831
+ frame.current = null;
14832
+ }
14833
+ };
14834
+ const onPointerDown = (0, react.useCallback)((event) => {
14835
+ if (event.button !== 0) return;
14836
+ event.preventDefault();
14837
+ event.currentTarget.setPointerCapture(event.pointerId);
14838
+ origin.current = event.clientX;
14839
+ latest.current = event.clientX;
14840
+ base.current = callbacks.current.onStart();
14841
+ setDragging(true);
14842
+ }, []);
14843
+ const onPointerMove = (0, react.useCallback)((event) => {
14844
+ const box = event.currentTarget.getBoundingClientRect();
14845
+ event.currentTarget.style.setProperty("--dsh-width-handle-pointer-y", `${event.clientY - box.top}px`);
14846
+ if (!event.currentTarget.hasPointerCapture(event.pointerId)) return;
14847
+ latest.current = event.clientX;
14848
+ frame.current ??= requestAnimationFrame(() => {
14849
+ frame.current = null;
14850
+ callbacks.current.onDrag(outwardWidth());
14851
+ });
14852
+ }, []);
14853
+ const onPointerUp = (0, react.useCallback)((event) => {
14854
+ if (!event.currentTarget.hasPointerCapture(event.pointerId)) return;
14855
+ event.currentTarget.releasePointerCapture(event.pointerId);
14856
+ cancelFrame();
14857
+ latest.current = event.clientX;
14858
+ if (latest.current !== origin.current) callbacks.current.onCommit(outwardWidth());
14859
+ setDragging(false);
14860
+ callbacks.current.onEnd();
14861
+ }, []);
14862
+ const onPointerCancel = (0, react.useCallback)(() => {
14863
+ cancelFrame();
14864
+ setDragging(false);
14865
+ callbacks.current.onEnd();
14866
+ }, []);
14867
+ const onWheel = (0, react.useCallback)((event) => {
14868
+ const body = event.currentTarget.parentElement;
14869
+ /* v8 ignore next -- a width handle renders only inside the Conversation body. */
14870
+ if (body === null) return;
14871
+ const scrollport = body.querySelector(":scope > [data-conversation-scroll]");
14872
+ /* v8 ignore next -- the Conversation body always contains its direct scroll element. */
14873
+ if (scrollport === null) return;
14874
+ if (event.ctrlKey || event.deltaY === 0) return;
14875
+ scrollport.scrollBy({ top: wheelDeltaY(event, scrollport) });
14876
+ }, []);
14877
+ return (0, react_jsx_runtime.jsx)("div", {
14878
+ className: ConversationRoot_module_css_default.widthHandle,
14879
+ "data-side": props.side,
14880
+ "data-width-handle": props.side,
14881
+ "data-dragging": dragging || void 0,
14882
+ onPointerDown,
14883
+ onPointerMove,
14884
+ onPointerUp,
14885
+ onPointerCancel,
14886
+ onLostPointerCapture: onPointerCancel,
14887
+ onWheel
14888
+ });
14889
+ }
14890
+ /**
14891
+ * Install the main Conversation width axis and render its drag handles.
14892
+ * @param props - Mounted Conversation body and current presentation phase.
14893
+ * @returns two active-phase width handles, or no controls outside the active phase.
14894
+ */
14895
+ function ConversationWidthControls({ container, phase }) {
14896
+ const publishWidths = (0, react.useCallback)((container) => {
14897
+ const target = container.parentElement ?? container;
14898
+ const column = container.offsetWidth;
14899
+ target.style.setProperty("--dsh-conversation-column-width", `${column}px`);
14900
+ const preference = readWidthPreference();
14901
+ if (preference === null) target.style.removeProperty("--dsh-chat-user-width");
14902
+ else target.style.setProperty("--dsh-chat-user-width", `${resolveContentWidth(column, preference)}px`);
14903
+ }, []);
14904
+ (0, react.useLayoutEffect)(() => {
14905
+ if (container === null) return;
14906
+ const observer = new ResizeObserver(() => {
14907
+ publishWidths(container);
14908
+ });
14909
+ observer.observe(container);
14910
+ publishWidths(container);
14911
+ return () => {
14912
+ observer.disconnect();
14913
+ };
14914
+ }, [container, publishWidths]);
14915
+ const onStart = (0, react.useCallback)(() => {
14916
+ if (container === null) return 680;
14917
+ return resolveContentWidth(container.offsetWidth, readWidthPreference());
14918
+ }, [container]);
14919
+ const onDrag = (0, react.useCallback)((width) => {
14920
+ if (container === null) return;
14921
+ (container.parentElement ?? container).style.setProperty("--dsh-chat-user-width", `${resolveContentWidth(container.offsetWidth, width)}px`);
14922
+ }, [container]);
14923
+ const onCommit = (0, react.useCallback)((width) => {
14924
+ if (container === null) return;
14925
+ localStorage.setItem(WIDTH_PREF_KEY, `${resolveContentWidth(container.offsetWidth, width)}`);
14926
+ }, [container]);
14927
+ const onEnd = (0, react.useCallback)(() => {
14928
+ if (container !== null) publishWidths(container);
14929
+ }, [container, publishWidths]);
14930
+ if (container === null || phase !== "active") return null;
14931
+ return ["left", "right"].map((side) => (0, react_jsx_runtime.jsx)(WidthHandle, {
14932
+ side,
14933
+ onStart,
14934
+ onDrag,
14935
+ onCommit,
14936
+ onEnd
14937
+ }, side));
14938
+ }
14939
+ //#endregion
14940
+ //#region lib/types/client/skeleton/ConversationMainPanel.js
14941
+ /**
14942
+ * Render the existing main Conversation frame around the extracted content.
14943
+ * @param props - the original `main.conversation` Slot props.
14944
+ * @returns the unchanged root, Header, content, and width-control subtree.
14945
+ */
14946
+ function ConversationMainPanel(props) {
14947
+ const { sessionId, useSession, useSessions, useConversation, renderSlot, renderFactorySlot } = props;
14948
+ const session = useSession((s) => s);
14949
+ const conversation = useConversation((s) => s);
14950
+ const shellPhase = session === void 0 || conversation === void 0 ? "blank" : conversationPhase(session, conversation);
14951
+ const openState = session?.openState;
14952
+ const summaryBlank = useSessions((s) => sessionId === void 0 ? void 0 : s.byId[sessionId]?.blank);
14953
+ const parentAvailabilityPending = session?.subagent?.address.mode === "continuable" && session.subagent.parentAvailable === void 0;
14954
+ const settling = sessionId !== void 0 && (shellPhase === "blank" && openState === "loading" && summaryBlank !== true || parentAvailabilityPending);
14955
+ const hero = sessionId === void 0 || shellPhase === "blank" && (openState === "open" || summaryBlank === true);
14956
+ const phase = settling ? "settling" : hero ? "hero" : "active";
14957
+ return (0, react_jsx_runtime.jsxs)("div", {
14958
+ className: ConversationRoot_module_css_default.root,
14959
+ "data-phase": phase,
14960
+ children: [sessionId === void 0 ? null : renderSlot("conversation.session.header", {}), renderFactorySlot("conversation.content", {
14961
+ variant: "main",
14962
+ phase,
14963
+ hero
14964
+ }, { slots: { widthControls: ConversationWidthControls } })]
14965
+ });
14966
+ }
14967
+ //#endregion
14968
+ //#region lib/types/client/skeleton/ConversationRoot.js
14969
+ function ConversationRoot(props) {
14970
+ return (0, react_jsx_runtime.jsx)(ConversationMainPanel, { ...props });
14971
+ }
14972
+ //#endregion
14668
14973
  //#region ../../util/workspace-path/src/index.ts
14669
14974
  /**
14670
14975
  * Read the final non-empty segment of a Workspace path for display.
@@ -14679,13 +14984,13 @@ window.__ModuleLoader__.load({
14679
14984
  }
14680
14985
  //#endregion
14681
14986
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-conversation/src/client/skeleton/HeroShell.module.css.mjs
14682
- const css$4 = ".WtYF4q_root{justify-content:center;align-items:center;min-width:0;height:100%;padding:0 24px;display:flex}.WtYF4q_stack{width:100%;max-width:var(--dsh-composer-card-max-width);flex-direction:column;align-items:stretch;gap:12px;display:flex;overflow:visible}.WtYF4q_headline{color:var(--dsw-alias-label-primary);flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 10px;font-size:26px;font-weight:500;line-height:32px;display:flex}.WtYF4q_titleGroup{flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 7px;min-width:0;display:flex}.WtYF4q_previewBadge{border:.5px solid var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-state-business-tertiary);color:var(--dsw-alias-label-primary-bluish);font-family:var(--ds-font-family-code);white-space:nowrap;border-radius:24px;align-self:flex-start;margin-top:2px;padding:1px 7px 0;font-size:12px;font-weight:500;line-height:18px}.WtYF4q_fishHitbox{flex:none;justify-content:center;align-items:center;display:inline-flex}.WtYF4q_fish{transform-origin:50% 60%;color:var(--dsw-alias-label-primary);display:block;overflow:visible}@keyframes WtYF4q_hero-fish-swim{0%,to{transform:none}35%{transform:rotate(-4deg)translate(-.4px,-.9px)}70%{transform:rotate(1.6deg)translate(.3px,.2px)}}@media (hover:hover) and (prefers-reduced-motion:no-preference){.WtYF4q_fishHitbox:hover .WtYF4q_fish{animation:1.6s ease-in-out infinite WtYF4q_hero-fish-swim}}.WtYF4q_body{flex-direction:column;gap:12px;min-width:0;display:flex;position:relative;overflow:visible}.WtYF4q_body>*{z-index:1;position:relative}.WtYF4q_body>.WtYF4q_workspaceRow{z-index:10;align-items:center;min-width:0;padding-left:8px;display:flex}.WtYF4q_workspace{max-width:min(100%,360px);min-height:28px;color:var(--dsw-alias-label-primary);cursor:pointer;background:0 0;border:none;border-radius:16px;align-items:center;gap:4px;padding:0 8px;font-size:13px;font-weight:500;line-height:20px;display:inline-flex}.WtYF4q_workspace:not(:disabled):hover,.WtYF4q_workspace[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover)}.WtYF4q_workspace:disabled{cursor:default}.WtYF4q_folder{color:var(--dsw-alias-label-primary);flex:none}.WtYF4q_workspaceLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.WtYF4q_chevron{color:var(--dsw-alias-label-caption);flex:none}.WtYF4q_modalInput{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);width:100%;height:44px;color:var(--dsw-alias-label-primary);background:0 0;border-radius:22px;outline:none;padding:7px 14px;font-size:14px;font-weight:400;line-height:22px}.WtYF4q_modalInput::placeholder{color:var(--dsw-alias-label-caption)}.WtYF4q_modalInput:disabled{color:var(--dsw-alias-label-dimmed)}.WtYF4q_modalAction{min-width:72px}.WtYF4q_modalError{color:var(--dsw-alias-state-error-primary);margin-top:8px;font-size:12px;line-height:18px}";
14683
- const tagId$4 = "@deepseek-ai/dsh-client-ui-conversation/HeroShell.module.css";
14684
- if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
14987
+ const css$3 = ".WtYF4q_root{justify-content:center;align-items:center;min-width:0;height:100%;padding:0 24px;display:flex}.WtYF4q_stack{width:100%;max-width:var(--dsh-composer-card-max-width);flex-direction:column;align-items:stretch;gap:12px;display:flex;overflow:visible}.WtYF4q_headline{color:var(--dsw-alias-label-primary);flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 10px;font-size:26px;font-weight:500;line-height:32px;display:flex}.WtYF4q_titleGroup{flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 7px;min-width:0;display:flex}.WtYF4q_previewBadge{border:.5px solid var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-state-business-tertiary);color:var(--dsw-alias-label-primary-bluish);font-family:var(--ds-font-family-code);white-space:nowrap;border-radius:24px;align-self:flex-start;margin-top:2px;padding:1px 7px 0;font-size:12px;font-weight:500;line-height:18px}.WtYF4q_fishHitbox{flex:none;justify-content:center;align-items:center;display:inline-flex}.WtYF4q_fish{transform-origin:50% 60%;color:var(--dsw-alias-label-primary);display:block;overflow:visible}@keyframes WtYF4q_hero-fish-swim{0%,to{transform:none}35%{transform:rotate(-4deg)translate(-.4px,-.9px)}70%{transform:rotate(1.6deg)translate(.3px,.2px)}}@media (hover:hover) and (prefers-reduced-motion:no-preference){.WtYF4q_fishHitbox:hover .WtYF4q_fish{animation:1.6s ease-in-out infinite WtYF4q_hero-fish-swim}}.WtYF4q_body{flex-direction:column;gap:12px;min-width:0;display:flex;position:relative;overflow:visible}.WtYF4q_body>*{z-index:1;position:relative}.WtYF4q_body>.WtYF4q_workspaceRow{z-index:10;align-items:center;min-width:0;padding-left:8px;display:flex}.WtYF4q_workspace{max-width:min(100%,360px);min-height:28px;color:var(--dsw-alias-label-primary);cursor:pointer;background:0 0;border:none;border-radius:16px;align-items:center;gap:4px;padding:0 8px;font-size:13px;font-weight:500;line-height:20px;display:inline-flex}.WtYF4q_workspace:not(:disabled):hover,.WtYF4q_workspace[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover)}.WtYF4q_workspace:disabled{cursor:default}.WtYF4q_folder{color:var(--dsw-alias-label-primary);flex:none}.WtYF4q_workspaceLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.WtYF4q_chevron{color:var(--dsw-alias-label-caption);flex:none}.WtYF4q_modalInput{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);width:100%;height:44px;color:var(--dsw-alias-label-primary);background:0 0;border-radius:22px;outline:none;padding:7px 14px;font-size:14px;font-weight:400;line-height:22px}.WtYF4q_modalInput::placeholder{color:var(--dsw-alias-label-caption)}.WtYF4q_modalInput:disabled{color:var(--dsw-alias-label-dimmed)}.WtYF4q_modalAction{min-width:72px}.WtYF4q_modalError{color:var(--dsw-alias-state-error-primary);margin-top:8px;font-size:12px;line-height:18px}";
14988
+ const tagId$3 = "@deepseek-ai/dsh-client-ui-conversation/HeroShell.module.css";
14989
+ if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$3) + "]") === null) {
14685
14990
  const tag = document.createElement("style");
14686
14991
  tag.dataset.plugin = "@deepseek-ai/dsh-client-ui-conversation";
14687
- tag.dataset.pluginCss = tagId$4;
14688
- tag.textContent = css$4;
14992
+ tag.dataset.pluginCss = tagId$3;
14993
+ tag.textContent = css$3;
14689
14994
  document.head.appendChild(tag);
14690
14995
  }
14691
14996
  var HeroShell_module_css_default = {
@@ -14831,120 +15136,25 @@ window.__ModuleLoader__.load({
14831
15136
  });
14832
15137
  }
14833
15138
  //#endregion
14834
- //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-conversation/src/client/skeleton/ConversationRoot.module.css.mjs
14835
- const css$3 = ".zLYQ6W_root{background:var(--dsw-alias-bg-base);--dsh-chat-content-width:var(--dsh-chat-user-width,clamp(680px, calc(var(--dsh-conversation-column-width,0px) * .64), 920px));--dsh-composer-card-max-width:calc(var(--dsh-chat-content-width) + 32px);--dsh-composer-side-clearance:16px;--dsh-composer-dock-inset:8px;flex-direction:column;min-width:0;height:100%;display:flex;position:relative}.zLYQ6W_header{box-sizing:border-box;border-bottom:.5px solid var(--dsw-alias-border-l3);flex:none;min-height:76px;padding:10px 28px 0 20px}.zLYQ6W_headerHidden{display:none}.zLYQ6W_titleRow{align-items:center;gap:0;min-height:30px;display:flex}.zLYQ6W_titleCluster{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.zLYQ6W_crumbs{white-space:nowrap;align-items:center;gap:4px;min-width:0;display:flex;overflow:hidden}.zLYQ6W_crumbSeg{align-items:center;gap:4px;min-width:0;display:inline-flex}.zLYQ6W_crumbSep{color:var(--dsw-alias-label-caption);font-size:14px;line-height:20px}.zLYQ6W_crumb{max-width:220px;color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:12px;padding:4px 8px;font-size:14px;line-height:20px;overflow:hidden}.zLYQ6W_crumbSubagent{font-size:12px;line-height:18px}.zLYQ6W_crumb:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.zLYQ6W_crumbCurrent{color:var(--dsw-alias-label-primary);cursor:default;font-weight:500}.zLYQ6W_headerActions{flex:none;align-items:center;gap:8px;display:flex}.zLYQ6W_headerUtilities{flex:none;align-items:center;gap:8px;margin-left:20px;display:flex}.zLYQ6W_headerUtilities:empty{display:none}.zLYQ6W_headerCorner{flex:none;align-items:center;margin-left:8px;margin-right:-16px;display:flex}.zLYQ6W_headerCorner:empty{display:none}.zLYQ6W_tabs{z-index:1;gap:36px;margin-top:10px;padding-left:8px;display:flex;position:relative}.zLYQ6W_tab{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;padding:0 0 9px;font-size:13px;font-weight:500;line-height:16px;position:relative}.zLYQ6W_tab:after{content:\"\";background:0 0;border-radius:2px;height:2px;position:absolute;bottom:-1px;left:0;right:0}.zLYQ6W_tabActive{color:var(--dsw-alias-state-business-primary)}.zLYQ6W_tabActive:after{background:var(--dsw-alias-state-business-primary)}.zLYQ6W_viewArea{flex-direction:column;flex:1;min-height:0;display:flex}.zLYQ6W_widthHandle{z-index:8;width:min(40px, calc((100% - var(--dsh-chat-content-width)) / 2 - 24px - 24px));cursor:col-resize;position:absolute;top:0;bottom:0}.zLYQ6W_widthHandle[data-side=left]{right:calc(50% + var(--dsh-chat-content-width) / 2 + 24px)}.zLYQ6W_widthHandle[data-side=right]{left:calc(50% + var(--dsh-chat-content-width) / 2 + 24px)}.zLYQ6W_widthHandle:after{content:\"\";background:linear-gradient(to bottom, transparent calc(var(--dsh-width-handle-pointer-y,50%) - 52px), var(--dsw-alias-scrollbar-hover-l1) calc(var(--dsh-width-handle-pointer-y,50%) - 12px), var(--dsw-alias-scrollbar-hover-l1) calc(var(--dsh-width-handle-pointer-y,50%) + 12px), transparent calc(var(--dsh-width-handle-pointer-y,50%) + 52px));opacity:0;pointer-events:none;border-radius:3px;width:3px;position:absolute;top:0;bottom:0}.zLYQ6W_widthHandle[data-side=left]:after{right:16px}.zLYQ6W_widthHandle[data-side=right]:after{left:16px}.zLYQ6W_widthHandle:hover:after,.zLYQ6W_widthHandle[data-dragging]:after{opacity:1}.zLYQ6W_root:has([data-conversation-composer-overlay]) .zLYQ6W_widthHandle{display:none}.zLYQ6W_composerStack{--dsh-composer-stack-gap:6px;gap:var(--dsh-composer-stack-gap);flex-direction:column;display:flex}.zLYQ6W_composerSeat{--dsh-composer-text-max-height:336px;flex-direction:column;flex:none;display:flex}.zLYQ6W_root[data-phase=active]{overflow:hidden}.zLYQ6W_root[data-phase=active] .zLYQ6W_header{flex:none}.zLYQ6W_body{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.zLYQ6W_scrollBody{scrollbar-gutter:stable;flex-direction:column;flex:1;min-height:0;margin-right:2px;display:flex;overflow-y:auto}.zLYQ6W_scrollBody::-webkit-scrollbar-track{margin:2px}.zLYQ6W_root[data-phase=active] .zLYQ6W_viewArea{flex:1 0 auto;min-height:auto}.zLYQ6W_root[data-phase=active] .zLYQ6W_composerSeat{z-index:7;background:linear-gradient(180deg, color-mix(in srgb, var(--dsw-alias-bg-base) 0%, transparent) 0px, var(--dsw-alias-bg-base) 36px);position:sticky;bottom:0}.zLYQ6W_root[data-phase=active] .zLYQ6W_composerSeat:has([data-trigger-menu]){z-index:9}.zLYQ6W_scrollBody:has([data-conversation-composer-overlay]){scrollbar-gutter:auto;position:relative;overflow:hidden auto}.zLYQ6W_scrollBody:has([data-conversation-composer-overlay])>[data-slot=conversation\\.session]>.zLYQ6W_viewArea{flex:1 1 0;min-height:0;overflow:hidden}.zLYQ6W_scrollBody:has([data-conversation-composer-overlay])>.zLYQ6W_composerSeat{right:var(--dsh-scrollbar-width);position:absolute;bottom:0;left:0}.zLYQ6W_composerHero{width:min(calc(var(--dsh-composer-card-max-width) + 2 * var(--dsh-composer-side-clearance)), 100%);z-index:1;align-self:center;gap:8px;padding-bottom:32px}.zLYQ6W_heroWorkspaceRow{align-items:center;gap:2px;min-width:0;margin-top:4px;padding:0 16px 0 20px;display:flex}.zLYQ6W_root[data-phase=hero] .zLYQ6W_scrollBody{justify-content:center;overflow-y:auto}.zLYQ6W_root[data-phase=settling] .zLYQ6W_composerSeat{visibility:hidden}";
14836
- const tagId$3 = "@deepseek-ai/dsh-client-ui-conversation/ConversationRoot.module.css";
14837
- if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$3) + "]") === null) {
14838
- const tag = document.createElement("style");
14839
- tag.dataset.plugin = "@deepseek-ai/dsh-client-ui-conversation";
14840
- tag.dataset.pluginCss = tagId$3;
14841
- tag.textContent = css$3;
14842
- document.head.appendChild(tag);
14843
- }
14844
- var ConversationRoot_module_css_default = {
14845
- "body": "zLYQ6W_body",
14846
- "composerHero": "zLYQ6W_composerHero",
14847
- "composerSeat": "zLYQ6W_composerSeat",
14848
- "composerStack": "zLYQ6W_composerStack",
14849
- "crumb": "zLYQ6W_crumb",
14850
- "crumbCurrent": "zLYQ6W_crumbCurrent",
14851
- "crumbSeg": "zLYQ6W_crumbSeg",
14852
- "crumbSep": "zLYQ6W_crumbSep",
14853
- "crumbSubagent": "zLYQ6W_crumbSubagent",
14854
- "crumbs": "zLYQ6W_crumbs",
14855
- "header": "zLYQ6W_header",
14856
- "headerActions": "zLYQ6W_headerActions",
14857
- "headerCorner": "zLYQ6W_headerCorner",
14858
- "headerHidden": "zLYQ6W_headerHidden",
14859
- "headerUtilities": "zLYQ6W_headerUtilities",
14860
- "heroWorkspaceRow": "zLYQ6W_heroWorkspaceRow",
14861
- "root": "zLYQ6W_root",
14862
- "scrollBody": "zLYQ6W_scrollBody",
14863
- "tab": "zLYQ6W_tab",
14864
- "tabActive": "zLYQ6W_tabActive",
14865
- "tabs": "zLYQ6W_tabs",
14866
- "titleCluster": "zLYQ6W_titleCluster",
14867
- "titleRow": "zLYQ6W_titleRow",
14868
- "viewArea": "zLYQ6W_viewArea",
14869
- "widthHandle": "zLYQ6W_widthHandle"
14870
- };
14871
- //#endregion
14872
15139
  //#region lib/types/client/skeleton/ConversationContent.js
14873
- /** One transcript width handle: pointer capture + rAF-throttled symmetric
14874
- * resize (both sides write the one centered width, so outward travel widens
14875
- * by 2× the pointer distance). pointermove publishes the pointer's Y as a CSS
14876
- * variable so the glow indicator rides it. Mirrors ui-layout AppFrame's
14877
- * DragHandle capture model. */
14878
- function WidthHandle(props) {
14879
- const [dragging, setDragging] = (0, react.useState)(false);
14880
- const base = (0, react.useRef)(0);
14881
- const origin = (0, react.useRef)(0);
14882
- const latest = (0, react.useRef)(0);
14883
- const frame = (0, react.useRef)(null);
14884
- const callbacks = (0, react.useRef)(props);
14885
- callbacks.current = props;
14886
- const outwardWidth = () => {
14887
- const dx = latest.current - origin.current;
14888
- const outward = callbacks.current.side === "right" ? dx : -dx;
14889
- return base.current + outward * 2;
14890
- };
14891
- const cancelFrame = () => {
14892
- if (frame.current !== null) {
14893
- cancelAnimationFrame(frame.current);
14894
- frame.current = null;
14895
- }
14896
- };
14897
- const onPointerDown = (0, react.useCallback)((e) => {
14898
- e.preventDefault();
14899
- e.currentTarget.setPointerCapture(e.pointerId);
14900
- origin.current = e.clientX;
14901
- latest.current = e.clientX;
14902
- base.current = callbacks.current.onStart();
14903
- setDragging(true);
14904
- }, []);
14905
- const onPointerMove = (0, react.useCallback)((e) => {
14906
- const box = e.currentTarget.getBoundingClientRect();
14907
- e.currentTarget.style.setProperty("--dsh-width-handle-pointer-y", `${e.clientY - box.top}px`);
14908
- if (!e.currentTarget.hasPointerCapture(e.pointerId)) return;
14909
- latest.current = e.clientX;
14910
- frame.current ??= requestAnimationFrame(() => {
14911
- frame.current = null;
14912
- callbacks.current.onDrag(outwardWidth());
14913
- });
14914
- }, []);
14915
- const onPointerUp = (0, react.useCallback)((e) => {
14916
- if (!e.currentTarget.hasPointerCapture(e.pointerId)) return;
14917
- e.currentTarget.releasePointerCapture(e.pointerId);
14918
- cancelFrame();
14919
- latest.current = e.clientX;
14920
- if (latest.current !== origin.current) callbacks.current.onCommit(outwardWidth());
14921
- setDragging(false);
14922
- callbacks.current.onEnd();
14923
- }, []);
14924
- const onPointerCancel = (0, react.useCallback)(() => {
14925
- cancelFrame();
14926
- setDragging(false);
14927
- callbacks.current.onEnd();
14928
- }, []);
14929
- return (0, react_jsx_runtime.jsx)("div", {
14930
- className: ConversationRoot_module_css_default.widthHandle,
14931
- "data-side": props.side,
14932
- "data-width-handle": props.side,
14933
- "data-dragging": dragging || void 0,
14934
- onPointerDown,
14935
- onPointerMove,
14936
- onPointerUp,
14937
- onPointerCancel,
14938
- onLostPointerCapture: onPointerCancel
14939
- });
15140
+ function ConversationSessionView({ renderSlot }) {
15141
+ return renderSlot("conversation.session", {});
15142
+ }
15143
+ function NoConversationWidthControls() {
15144
+ return null;
14940
15145
  }
14941
15146
  /**
14942
- * Render the existing Conversation body, Composer, and width handles.
14943
- * @param props - original Conversation seats plus MainPanel-derived phase and width callbacks.
14944
- * @returns the unchanged Conversation body subtree.
15147
+ * Render the shared Conversation body and its occurrence-selected local Components.
15148
+ * @param props - Factory input, standard Session sources, and Conversation seats.
15149
+ * @returns the Conversation view, Composer, and optional width controls.
14945
15150
  */
14946
- function ConversationContent({ sessionId, session, phase, hero, useSessions, useSessionPendingInteraction, useWorkspaces, useInput, useComposerBlock, renderSlot, renderSlotChain, selectWorkspace, t, onHandleStart, onHandleDrag, onHandleCommit, onHandleEnd }) {
14947
- const pendingInteraction = useSessionPendingInteraction((snapshot) => sessionId === void 0 ? void 0 : snapshot.get(sessionId));
15151
+ function ConversationContent(props) {
15152
+ const { sessionId, phase, hero, useSession, useSessions, useSessionStatus, useWorkspaces, useInput, useComposerBlock, renderSlot, renderSlotChain, selectWorkspace, t, useFactorySlot } = props;
15153
+ const session = useSession((snapshot) => snapshot);
15154
+ const Views = useFactorySlot("views", ConversationSessionView);
15155
+ const WidthControls = useFactorySlot("widthControls", NoConversationWidthControls);
15156
+ const [body, setBody] = (0, react.useState)(null);
15157
+ const pendingInteraction = useSessionStatus((snapshot) => sessionId === void 0 ? void 0 : snapshot.get(sessionId)?.pendingInteraction);
14948
15158
  const inputState = useInput((s) => s);
14949
15159
  const cwd = useSessions((s) => sessionId === void 0 ? void 0 : s.byId[sessionId]?.cwd);
14950
15160
  const workspaces = useWorkspaces((s) => s);
@@ -15054,130 +15264,21 @@ window.__ModuleLoader__.load({
15054
15264
  children: composer
15055
15265
  });
15056
15266
  return (0, react_jsx_runtime.jsxs)("div", {
15057
- className: ConversationRoot_module_css_default.body,
15267
+ ref: setBody,
15268
+ className: clsx(ConversationRoot_module_css_default.body, props.variant === "embedded" && ConversationRoot_module_css_default.embeddedBody),
15269
+ "data-conversation-content": "",
15270
+ "data-content-phase": phase,
15058
15271
  children: [(0, react_jsx_runtime.jsxs)("div", {
15059
15272
  className: ConversationRoot_module_css_default.scrollBody,
15060
15273
  "data-conversation-scroll": "",
15061
- children: [sessionId === void 0 ? null : renderSlot("conversation.session", {}), composerSeat]
15062
- }), phase === "active" && ["left", "right"].map((side) => (0, react_jsx_runtime.jsx)(WidthHandle, {
15063
- side,
15064
- onStart: onHandleStart,
15065
- onDrag: onHandleDrag,
15066
- onCommit: onHandleCommit,
15067
- onEnd: onHandleEnd
15068
- }, side))]
15069
- });
15070
- }
15071
- //#endregion
15072
- //#region lib/types/client/skeleton/ConversationMainPanel.js
15073
- /** localStorage key for the dragged transcript width preference (px). */
15074
- const WIDTH_PREF_KEY = "dsh.conversation.contentWidth";
15075
- /** Floor for a dragged content width; matches the layout center-column minimum. */
15076
- const CONTENT_MIN = 640;
15077
- /** Column budget the content must leave free: 88px per side keeps the width
15078
- * handles fully placeable (24px inset + 40px strip + 24px safe zone) — a
15079
- * larger dragged width would push its own handles off the column and leave no
15080
- * way to drag back. */
15081
- const CONTENT_EDGE_BUDGET = 176;
15082
- /** Reads the persisted width preference; durable-storage boundary, so a
15083
- * missing or corrupt value resolves to "no preference".
15084
- * @returns the stored width in px, or null when unset or invalid. */
15085
- function readWidthPreference() {
15086
- const raw = localStorage.getItem(WIDTH_PREF_KEY);
15087
- if (raw === null) return null;
15088
- const value = Number(raw);
15089
- return Number.isFinite(value) && value > 0 ? value : null;
15090
- }
15091
- /** Resolves the content width the CSS axis would show for a column width.
15092
- * @param columnWidth - the conversation column's rendered width in px.
15093
- * @param preference - the dragged preference, or null for the adaptive clamp.
15094
- * @returns the resolved content width in px (mirrors the CSS clamp). */
15095
- function resolveContentWidth(columnWidth, preference) {
15096
- const max = Math.max(CONTENT_MIN, columnWidth - CONTENT_EDGE_BUDGET);
15097
- if (preference !== null) return Math.min(Math.max(preference, CONTENT_MIN), max);
15098
- return Math.max(680, Math.min(columnWidth * .64, 920));
15099
- }
15100
- /**
15101
- * Render the existing main Conversation frame around the extracted content.
15102
- * @param props - the original `main.conversation` Slot props.
15103
- * @returns the unchanged root, Header, content, and width-control subtree.
15104
- */
15105
- function ConversationMainPanel(props) {
15106
- const { sessionId, useSession, useSessions, useConversation, renderSlot } = props;
15107
- const session = useSession((s) => s);
15108
- const conversation = useConversation((s) => s);
15109
- const shellPhase = session === void 0 || conversation === void 0 ? "blank" : conversationPhase(session, conversation);
15110
- const openState = session?.openState;
15111
- const summaryBlank = useSessions((s) => sessionId === void 0 ? void 0 : s.byId[sessionId]?.blank);
15112
- const rootEl = (0, react.useRef)(null);
15113
- const rootObserver = (0, react.useRef)(null);
15114
- const publishWidths = (0, react.useCallback)((root) => {
15115
- const column = root.offsetWidth;
15116
- root.style.setProperty("--dsh-conversation-column-width", `${column}px`);
15117
- const preference = readWidthPreference();
15118
- if (preference === null) root.style.removeProperty("--dsh-chat-user-width");
15119
- else root.style.setProperty("--dsh-chat-user-width", `${resolveContentWidth(column, preference)}px`);
15120
- }, []);
15121
- const rootResizeRef = (0, react.useCallback)((root) => {
15122
- rootObserver.current?.disconnect();
15123
- rootObserver.current = null;
15124
- rootEl.current = root;
15125
- if (root === null) return;
15126
- rootObserver.current = new ResizeObserver(() => {
15127
- publishWidths(root);
15128
- });
15129
- rootObserver.current.observe(root);
15130
- publishWidths(root);
15131
- }, [publishWidths]);
15132
- const onHandleStart = (0, react.useCallback)(() => {
15133
- const root = rootEl.current;
15134
- /* v8 ignore next -- handles render inside the root, so the ref is always attached. */
15135
- if (root === null) return 680;
15136
- return resolveContentWidth(root.offsetWidth, readWidthPreference());
15137
- }, []);
15138
- const onHandleDrag = (0, react.useCallback)((width) => {
15139
- const root = rootEl.current;
15140
- /* v8 ignore next -- handles render inside the root, so the ref is always attached. */
15141
- if (root === null) return;
15142
- const clamped = resolveContentWidth(root.offsetWidth, width);
15143
- root.style.setProperty("--dsh-chat-user-width", `${clamped}px`);
15144
- }, []);
15145
- const onHandleCommit = (0, react.useCallback)((width) => {
15146
- const root = rootEl.current;
15147
- /* v8 ignore next -- handles render inside the root, so the ref is always attached. */
15148
- if (root === null) return;
15149
- localStorage.setItem(WIDTH_PREF_KEY, `${resolveContentWidth(root.offsetWidth, width)}`);
15150
- }, []);
15151
- const onHandleEnd = (0, react.useCallback)(() => {
15152
- const root = rootEl.current;
15153
- if (root !== null) publishWidths(root);
15154
- }, [publishWidths]);
15155
- const parentAvailabilityPending = session?.subagent?.address.mode === "continuable" && session.subagent.parentAvailable === void 0;
15156
- const settling = sessionId !== void 0 && (shellPhase === "blank" && openState === "loading" && summaryBlank !== true || parentAvailabilityPending);
15157
- const hero = sessionId === void 0 || shellPhase === "blank" && (openState === "open" || summaryBlank === true);
15158
- const phase = settling ? "settling" : hero ? "hero" : "active";
15159
- return (0, react_jsx_runtime.jsxs)("div", {
15160
- ref: rootResizeRef,
15161
- className: ConversationRoot_module_css_default.root,
15162
- "data-phase": phase,
15163
- children: [sessionId === void 0 ? null : renderSlot("conversation.session.header", {}), (0, react_jsx_runtime.jsx)(ConversationContent, {
15164
- ...props,
15165
- session,
15166
- phase,
15167
- hero,
15168
- onHandleStart,
15169
- onHandleDrag,
15170
- onHandleCommit,
15171
- onHandleEnd
15274
+ children: [sessionId === void 0 ? null : (0, react_jsx_runtime.jsx)(Views, {}), composerSeat]
15275
+ }), (0, react_jsx_runtime.jsx)(WidthControls, {
15276
+ container: body,
15277
+ phase
15172
15278
  })]
15173
15279
  });
15174
15280
  }
15175
15281
  //#endregion
15176
- //#region lib/types/client/skeleton/ConversationRoot.js
15177
- function ConversationRoot(props) {
15178
- return (0, react_jsx_runtime.jsx)(ConversationMainPanel, { ...props });
15179
- }
15180
- //#endregion
15181
15282
  //#region lib/types/client/skeleton/ConversationPanel.js
15182
15283
  /**
15183
15284
  * Render the Conversation with optional current-Session binding.
@@ -15207,7 +15308,7 @@ window.__ModuleLoader__.load({
15207
15308
  * @param props - Strict Session input/store, view ledger, and render shares.
15208
15309
  * @returns the active view area, or null while the Session remains blank.
15209
15310
  */
15210
- function DefaultConversationViews({ useSession, useConversation, useConversationViews, useInput, inputActions, useStore, actions, renderSlot, bindDraftMirror, openView }) {
15311
+ function DefaultConversationViews({ view, useSession, useConversation, useConversationViews, useInput, inputActions, useStore, actions, renderSlot, bindDraftMirror, openView }) {
15211
15312
  const active = resolveActiveView(useConversationViews((value) => value), useStore((s) => s.view));
15212
15313
  const session = useSession((s) => s);
15213
15314
  const conversation = useConversation((s) => s);
@@ -15222,13 +15323,14 @@ window.__ModuleLoader__.load({
15222
15323
  };
15223
15324
  }, [inputActions]);
15224
15325
  if (session.blank && conversationPhase(session, conversation) === "blank") return null;
15326
+ const viewId = view ?? active?.id;
15225
15327
  return (0, react_jsx_runtime.jsx)("div", {
15226
15328
  className: ConversationRoot_module_css_default.viewArea,
15227
- children: active !== void 0 && renderSlot("conversation.view", {
15329
+ children: viewId !== void 0 && renderSlot("conversation.view", {
15228
15330
  viewRequest,
15229
15331
  openView,
15230
15332
  completeViewRequest: actions.completeViewRequest
15231
- }, { only: active.id })
15333
+ }, { only: viewId })
15232
15334
  });
15233
15335
  }
15234
15336
  //#endregion
@@ -15262,7 +15364,7 @@ window.__ModuleLoader__.load({
15262
15364
  /**
15263
15365
  * Renders Session header chrome above the resident conversation scrollport.
15264
15366
  * @param props - Strict Session store, view ledger, navigation, render, and locale shares.
15265
- * @returns the hidden blank-session header or visible title and tabs.
15367
+ * @returns Session navigation controls, with title and tabs after conversation starts.
15266
15368
  */
15267
15369
  function ConversationSessionHeader({ sessionId, useSession, useSessions, useConversation, useConversationViews, useStore, renderSlot, open, selectView, t }) {
15268
15370
  const tabs = useConversationViews((value) => value);
@@ -15271,13 +15373,17 @@ window.__ModuleLoader__.load({
15271
15373
  const session = useSession((s) => s);
15272
15374
  const conversation = useConversation((s) => s);
15273
15375
  const hideChrome = session.blank && conversationPhase(session, conversation) === "blank";
15274
- return (0, react_jsx_runtime.jsx)("header", {
15275
- className: clsx(ConversationRoot_module_css_default.header, hideChrome && ConversationRoot_module_css_default.headerHidden),
15276
- "aria-hidden": hideChrome || void 0,
15277
- children: !hideChrome && (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [(0, react_jsx_runtime.jsxs)("div", {
15376
+ return (0, react_jsx_runtime.jsxs)("header", {
15377
+ className: clsx(ConversationRoot_module_css_default.header, hideChrome && ConversationRoot_module_css_default.headerBlank),
15378
+ children: [(0, react_jsx_runtime.jsxs)("div", {
15278
15379
  className: ConversationRoot_module_css_default.titleRow,
15279
15380
  children: [
15280
- (0, react_jsx_runtime.jsxs)("div", {
15381
+ (0, react_jsx_runtime.jsx)("div", {
15382
+ className: ConversationRoot_module_css_default.headerLeading,
15383
+ "data-conversation-header-leading": "",
15384
+ children: renderSlot("conversation.session.header.leading", {})
15385
+ }),
15386
+ !hideChrome && (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [(0, react_jsx_runtime.jsxs)("div", {
15281
15387
  className: ConversationRoot_module_css_default.titleCluster,
15282
15388
  children: [(0, react_jsx_runtime.jsxs)("nav", {
15283
15389
  className: ConversationRoot_module_css_default.crumbs,
@@ -15316,18 +15422,17 @@ window.__ModuleLoader__.load({
15316
15422
  className: ConversationRoot_module_css_default.headerActions,
15317
15423
  children: renderSlot("conversation.session.header.actions", {})
15318
15424
  })]
15319
- }),
15320
- (0, react_jsx_runtime.jsx)("div", {
15425
+ }), (0, react_jsx_runtime.jsx)("div", {
15321
15426
  className: ConversationRoot_module_css_default.headerUtilities,
15322
15427
  children: renderSlot("conversation.session.header.utilities", {})
15323
- }),
15428
+ })] }),
15324
15429
  (0, react_jsx_runtime.jsx)("div", {
15325
15430
  className: ConversationRoot_module_css_default.headerCorner,
15326
15431
  "data-conversation-header-corner": "",
15327
15432
  children: renderSlot("conversation.session.header.corner", {})
15328
15433
  })
15329
15434
  ]
15330
- }), tabs.length > 1 && (0, react_jsx_runtime.jsx)("div", {
15435
+ }), !hideChrome && tabs.length > 1 && (0, react_jsx_runtime.jsx)("div", {
15331
15436
  className: ConversationRoot_module_css_default.tabs,
15332
15437
  role: "tablist",
15333
15438
  children: tabs.map((viewTab) => (0, react_jsx_runtime.jsx)("button", {
@@ -15340,7 +15445,7 @@ window.__ModuleLoader__.load({
15340
15445
  },
15341
15446
  children: viewTab.label
15342
15447
  }, viewTab.id))
15343
- })] })
15448
+ })]
15344
15449
  });
15345
15450
  }
15346
15451
  /**
@@ -15505,7 +15610,7 @@ window.__ModuleLoader__.load({
15505
15610
  root?.addEventListener("compositionstart", onCompositionStart);
15506
15611
  root?.addEventListener("compositionend", onCompositionEnd);
15507
15612
  syncComposition();
15508
- }), editor.registerUpdateListener(syncComposition), editor.registerCommand(sn$2, arrow("up"), 4), editor.registerCommand(ln$2, arrow("down"), 4), editor.registerCommand(hn$2, arrow("tab"), 4), editor.registerCommand(fn$1, (event) => {
15613
+ }), editor.registerUpdateListener(syncComposition), editor.registerCommand(sn$2, arrow("up"), 4), editor.registerCommand(ln$2, arrow("down"), 4), editor.registerCommand(hn$2, (event) => arrow(event.shiftKey ? "tabBack" : "tab")(event), 4), editor.registerCommand(fn$1, (event) => {
15509
15614
  handlers.dismissPopup();
15510
15615
  if (handlers.arbitrate("escape", isComposingEvent(event, recentlyComposing)) === "consumed") {
15511
15616
  event.preventDefault();
@@ -15729,7 +15834,7 @@ window.__ModuleLoader__.load({
15729
15834
  }
15730
15835
  //#endregion
15731
15836
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-conversation/src/client/skeleton/ContextMeter.module.css.mjs
15732
- const css$2 = ".H4l7vW_root{display:inline-flex;position:relative}.H4l7vW_trigger{corner-shape:round;width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:999px;flex:none;place-items:center;display:grid}.H4l7vW_trigger:hover{background:var(--dsw-alias-interactive-bg-hover)}.H4l7vW_track{fill:none;stroke:var(--dsw-alias-border-l3);stroke-width:2px}.H4l7vW_fill{fill:none;stroke:var(--dsw-alias-label-tertiary);stroke-width:2px;stroke-linecap:round}.H4l7vW_panel{z-index:100;box-sizing:border-box;background:var(--dsw-specific-menu);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);width:264px;box-shadow:var(--dsw-elevation-prominent);color:var(--dsw-alias-label-secondary);cursor:default;border:0;border-radius:12px;padding:12px;font-size:12px;line-height:20px;position:absolute;bottom:calc(100% + 8px);right:0}.H4l7vW_header{align-items:center;gap:6px;display:flex}.H4l7vW_figures{font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-primary);margin-left:auto;font-weight:500}.H4l7vW_percent{color:var(--dsw-alias-label-primary);font-weight:500}.H4l7vW_headline{color:var(--dsw-alias-label-tertiary)}.H4l7vW_headline:empty{display:none}.H4l7vW_bar{corner-shape:round;background:var(--dsw-alias-interactive-bg-hover);border-radius:999px;gap:1px;height:4px;margin:10px 0 12px;display:flex;overflow:hidden}.H4l7vW_segment{background:var(--meter-tint,var(--dsw-alias-label-tertiary));border-radius:1px;flex:none;min-width:2px;height:100%}.H4l7vW_swatch{background:var(--meter-tint);vertical-align:baseline;border-radius:2px;width:8px;height:8px;margin-right:6px;display:inline-block}.H4l7vW_colorSystem{--meter-tint:var(--dsw-static-neutral-bluish-400)}.H4l7vW_colorTools{--meter-tint:#a78bfa}.H4l7vW_colorMessages{--meter-tint:var(--dsw-static-blue-450)}.H4l7vW_rows{margin:6px 0 0}.H4l7vW_row{justify-content:space-between;align-items:center;gap:12px;padding:2px 0;display:flex}.H4l7vW_row dt{color:var(--dsw-alias-label-secondary)}.H4l7vW_row dd{font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-primary);margin:0}";
15837
+ const css$2 = ".H4l7vW_root{flex:none;display:inline-flex}.H4l7vW_trigger{color:var(--dsw-alias-label-tertiary);font-family:inherit;font-size:var(--dsh-content-font-size-secondary,13px);font-variant-numeric:tabular-nums;line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px));white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:24px;flex:none;align-items:center;gap:6px;padding:1px 8px;display:inline-flex}.H4l7vW_trigger:hover,.H4l7vW_trigger[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}.H4l7vW_track{fill:none;stroke:var(--dsw-alias-border-l3);stroke-width:2px}.H4l7vW_fill{fill:none;stroke:var(--dsw-alias-label-tertiary);stroke-width:2px;stroke-linecap:round}.H4l7vW_panel{z-index:1100;box-sizing:border-box;background:var(--dsw-specific-menu);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);width:min(264px,100vw - 24px);box-shadow:var(--dsw-elevation-prominent);color:var(--dsw-alias-label-secondary);cursor:default;border:0;border-radius:12px;padding:12px;font-size:12px;line-height:20px;position:fixed}.H4l7vW_header{align-items:center;gap:6px;display:flex}.H4l7vW_figures{font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-primary);margin-left:auto;font-weight:500}.H4l7vW_percent{color:var(--dsw-alias-label-primary);font-weight:500}.H4l7vW_headline{color:var(--dsw-alias-label-tertiary)}.H4l7vW_headline:empty{display:none}.H4l7vW_bar{corner-shape:round;background:var(--dsw-alias-interactive-bg-hover);border-radius:999px;gap:1px;height:4px;margin:10px 0 12px;display:flex;overflow:hidden}.H4l7vW_segment{background:var(--meter-tint,var(--dsw-alias-label-tertiary));border-radius:1px;flex:none;min-width:2px;height:100%}.H4l7vW_swatch{background:var(--meter-tint);vertical-align:baseline;border-radius:2px;width:8px;height:8px;margin-right:6px;display:inline-block}.H4l7vW_colorSystem{--meter-tint:var(--dsw-static-neutral-bluish-400)}.H4l7vW_colorTools{--meter-tint:#a78bfa}.H4l7vW_colorMessages{--meter-tint:var(--dsw-static-blue-450)}.H4l7vW_rows{margin:6px 0 0}.H4l7vW_row{justify-content:space-between;align-items:center;gap:12px;padding:2px 0;display:flex}.H4l7vW_row dt{color:var(--dsw-alias-label-secondary)}.H4l7vW_row dd{font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-primary);margin:0}";
15733
15838
  const tagId$2 = "@deepseek-ai/dsh-client-ui-conversation/ContextMeter.module.css";
15734
15839
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
15735
15840
  const tag = document.createElement("style");
@@ -15759,7 +15864,7 @@ window.__ModuleLoader__.load({
15759
15864
  };
15760
15865
  //#endregion
15761
15866
  //#region lib/types/client/skeleton/ContextMeter.js
15762
- /** Composer context-occupancy meter: a ring beside the send button fed by the
15867
+ /** Composer context-occupancy meter: a ring and percentage below the card fed by the
15763
15868
  * `contextPressure` projection, with a click-open panel of the heuristic
15764
15869
  * `contextBreakdown` composition (system prompt, tools, conversation).
15765
15870
  * Renders nothing until a provider reports both pressure and a route
@@ -15808,24 +15913,28 @@ window.__ModuleLoader__.load({
15808
15913
  const breakdown = useProjection("contextBreakdown");
15809
15914
  const [open, setOpen] = (0, react.useState)(false);
15810
15915
  const rootRef = (0, react.useRef)(null);
15916
+ const panelRef = (0, react.useRef)(null);
15811
15917
  const context = contextOccupancy(pressure);
15812
15918
  const available = context !== null;
15919
+ const position = (0, _deepseek_ai_dsh_client_ui_primitives.useAnchoredPosition)({
15920
+ open: open && available,
15921
+ anchorRef: rootRef,
15922
+ panelRef,
15923
+ side: "top",
15924
+ gap: 8,
15925
+ margin: 12
15926
+ });
15927
+ (0, _deepseek_ai_dsh_client_ui_primitives.useDismissOnOutsidePointer)(rootRef, open && available, setOpen, panelRef);
15813
15928
  (0, react.useEffect)(() => {
15814
15929
  if (!available && open) setOpen(false);
15815
15930
  }, [available, open]);
15816
15931
  (0, react.useEffect)(() => {
15817
15932
  if (!open || !available) return;
15818
- const onPointerDown = (e) => {
15819
- if (e.target instanceof Node && rootRef.current?.contains(e.target) === true) return;
15820
- setOpen(false);
15821
- };
15822
15933
  const onKeyDown = (e) => {
15823
15934
  if (e.key === "Escape") setOpen(false);
15824
15935
  };
15825
- document.addEventListener("pointerdown", onPointerDown);
15826
15936
  document.addEventListener("keydown", onKeyDown);
15827
15937
  return () => {
15828
- document.removeEventListener("pointerdown", onPointerDown);
15829
15938
  document.removeEventListener("keydown", onKeyDown);
15830
15939
  };
15831
15940
  }, [available, open]);
@@ -15851,7 +15960,7 @@ window.__ModuleLoader__.load({
15851
15960
  side: "top",
15852
15961
  delayMs: 200,
15853
15962
  disabled: open,
15854
- children: (0, react_jsx_runtime.jsx)("button", {
15963
+ children: (0, react_jsx_runtime.jsxs)("button", {
15855
15964
  type: "button",
15856
15965
  className: ContextMeter_module_css_default.trigger,
15857
15966
  "aria-label": t("context.aria", { percent: reading }),
@@ -15860,7 +15969,7 @@ window.__ModuleLoader__.load({
15860
15969
  onClick: () => {
15861
15970
  setOpen(!open);
15862
15971
  },
15863
- children: (0, react_jsx_runtime.jsxs)("svg", {
15972
+ children: [(0, react_jsx_runtime.jsxs)("svg", {
15864
15973
  viewBox: "0 0 14 14",
15865
15974
  width: "14",
15866
15975
  height: "14",
@@ -15878,10 +15987,16 @@ window.__ModuleLoader__.load({
15878
15987
  strokeDasharray: `${CIRCUMFERENCE * percent / 100} ${CIRCUMFERENCE}`,
15879
15988
  transform: "rotate(-90 7 7)"
15880
15989
  })]
15881
- })
15990
+ }), (0, react_jsx_runtime.jsx)("span", { children: reading })]
15882
15991
  })
15883
- }), open && (0, react_jsx_runtime.jsxs)("div", {
15992
+ }), open && (0, react_dom.createPortal)((0, react_jsx_runtime.jsxs)("div", {
15993
+ ref: panelRef,
15884
15994
  className: ContextMeter_module_css_default.panel,
15995
+ style: position ?? {
15996
+ visibility: "hidden",
15997
+ left: 0,
15998
+ top: 0
15999
+ },
15885
16000
  role: "dialog",
15886
16001
  "aria-label": t("context.used"),
15887
16002
  children: [
@@ -15924,12 +16039,12 @@ window.__ModuleLoader__.load({
15924
16039
  }, row.key))
15925
16040
  })
15926
16041
  ]
15927
- })]
16042
+ }), document.body)]
15928
16043
  });
15929
16044
  }
15930
16045
  //#endregion
15931
16046
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-conversation/src/client/skeleton/InputBar.module.css.mjs
15932
- const css$1 = ".Uzaq8q_root{padding:0 var(--dsh-composer-side-clearance) 8px;flex-direction:column;align-items:center;display:flex}.Uzaq8q_root:has([data-composer-stats]){padding-bottom:4px}.Uzaq8q_hero{padding:0 var(--dsh-composer-side-clearance)}.Uzaq8q_notice{width:100%;max-width:var(--dsh-composer-card-max-width);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary);border-radius:8px;margin-bottom:6px;padding:4px 8px;font-size:12px;line-height:18px}.Uzaq8q_card{box-sizing:border-box;width:100%;max-width:var(--dsh-composer-card-max-width);--dsw-elevation-stroke-color:var(--dsw-alias-border-l2);background:var(--dsw-specific-input-major);box-shadow:var(--dsw-elevation-soft);font-size:var(--dsh-content-font-size,14px);line-height:calc(24px + var(--dsh-content-font-delta,0px));--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);border:0;border-radius:22px;flex-direction:column;gap:12px;padding-top:8px;display:flex;position:relative}.Uzaq8q_cardWorkspaceTrigger{--dsw-elevation-stroke-color:transparent;cursor:pointer}.Uzaq8q_cardWorkspaceTrigger:after{content:\"\";background:var(--dsw-alias-border-l4);pointer-events:none;border-radius:22px;transition:background-color .1s;position:absolute;inset:-1px;-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='none' rx='22' ry='22' stroke='black' stroke-width='2' stroke-dasharray='4 4'/%3E%3C/svg%3E\");mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='none' rx='22' ry='22' stroke='black' stroke-width='2' stroke-dasharray='4 4'/%3E%3C/svg%3E\")}.Uzaq8q_cardWorkspaceTrigger :disabled{pointer-events:none}.Uzaq8q_cardWorkspaceTrigger:hover:after{background:var(--dsw-alias-state-business-primary)}.Uzaq8q_accessory{align-items:center;gap:8px;padding:10px 12px 0;display:flex}.Uzaq8q_overlayAnchor{height:0;position:absolute;inset:0 0 auto}.Uzaq8q_scroll{max-height:var(--dsh-composer-text-max-height);margin-right:4px;overflow-y:auto}.Uzaq8q_scroll::-webkit-scrollbar-track{margin-top:8px}.Uzaq8q_grow{position:relative}.Uzaq8q_pending{corner-shape:round;background:var(--dsw-alias-state-business-primary);border-radius:50%;width:8px;height:8px;animation:1s ease-in-out infinite alternate Uzaq8q_input-pending}@keyframes Uzaq8q_input-pending{0%{opacity:.35}to{opacity:1}}.Uzaq8q_input{box-sizing:border-box;min-height:36px;font-family:var(--dsw-font-family);font-size:inherit;line-height:inherit;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;color:var(--dsw-alias-label-primary);caret-color:var(--dsw-alias-state-business-primary);outline:none;padding:4px 8px 0 14px}.Uzaq8q_input p{margin:0}.Uzaq8q_input p:last-child:after{content:var(--dsh-composer-hint);color:var(--dsw-alias-label-caption)}.Uzaq8q_input[data-composer-composing] p:last-child:after{content:none}.Uzaq8q_input[data-composer-composing]+.Uzaq8q_placeholder{visibility:hidden}.Uzaq8q_placeholder{color:var(--dsw-alias-label-caption);white-space:nowrap;text-overflow:ellipsis;pointer-events:none;user-select:none;position:absolute;inset:4px 8px auto 14px;overflow:hidden}.Uzaq8q_inputDisabled{color:var(--dsw-alias-label-tertiary);cursor:not-allowed}.Uzaq8q_input[aria-haspopup=menu]{cursor:pointer}.Uzaq8q_hero .Uzaq8q_input{min-height:52px}.Uzaq8q_hero .Uzaq8q_placeholder{white-space:normal;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.Uzaq8q_row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:2px 8px 6px;display:flex;container-type:inline-size}.Uzaq8q_tools,.Uzaq8q_modes,.Uzaq8q_trailing{align-items:center;min-width:0;display:flex}.Uzaq8q_tools,.Uzaq8q_modes{gap:12px}.Uzaq8q_trailing{flex:none;gap:12px;margin-left:auto}.Uzaq8q_add{corner-shape:round;background:var(--dsw-specific-selector);width:28px;height:28px;color:var(--dsw-alias-label-primary);cursor:pointer;border:none;border-radius:999px;flex:none;place-items:center;display:grid}.Uzaq8q_add:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover-solid)}.Uzaq8q_add:disabled{opacity:.5;cursor:default}.Uzaq8q_select{max-width:220px;height:28px;color:var(--dsw-alias-label-secondary);white-space:nowrap;cursor:pointer;appearance:none;background-color:#0000;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2381858C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");background-position:right 4px center;background-repeat:no-repeat;background-size:12px 12px;border:none;border-radius:8px;outline:none;padding:0 20px 0 8px;font-size:13px;font-weight:500;line-height:20px}.Uzaq8q_select:hover:not(:disabled){background-color:var(--dsw-alias-interactive-bg-hover)}.Uzaq8q_select:disabled{opacity:.5;cursor:default}.Uzaq8q_primary{corner-shape:round;background:var(--dsw-alias-button-info-fill);color:#fff;cursor:pointer;border:none;border-radius:999px;flex:none;place-items:center;width:34px;height:34px;transition:background-color .1s;display:grid;transform:translateY(-2px)}.Uzaq8q_primary:hover:not(:disabled){background:var(--dsw-alias-button-info-hover)}.Uzaq8q_primary:disabled{opacity:.4;cursor:default}.Uzaq8q_retry{color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:4px;margin-left:8px;padding:1px 8px;font-size:12px}";
16047
+ const css$1 = ".Uzaq8q_root{padding:0 var(--dsh-composer-side-clearance) 4px;flex-direction:column;align-items:center;display:flex}.Uzaq8q_dock{justify-content:center;align-items:center;gap:12px;max-width:100%;padding-top:4px;display:flex}.Uzaq8q_hero .Uzaq8q_dock:empty{display:none}.Uzaq8q_hero{padding:0 var(--dsh-composer-side-clearance)}.Uzaq8q_notice{width:100%;max-width:var(--dsh-composer-card-max-width);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary);border-radius:8px;margin-bottom:6px;padding:4px 8px;font-size:12px;line-height:18px}.Uzaq8q_card{box-sizing:border-box;width:100%;max-width:var(--dsh-composer-card-max-width);--dsw-elevation-stroke-color:var(--dsw-alias-border-l2);background:var(--dsw-specific-input-major);box-shadow:var(--dsw-elevation-soft);font-size:var(--dsh-content-font-size,14px);line-height:calc(24px + var(--dsh-content-font-delta,0px));--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);border:0;border-radius:22px;flex-direction:column;gap:12px;padding-top:8px;display:flex;position:relative}.Uzaq8q_cardWorkspaceTrigger{--dsw-elevation-stroke-color:transparent;cursor:pointer}.Uzaq8q_cardWorkspaceTrigger:after{content:\"\";background:var(--dsw-alias-border-l4);pointer-events:none;border-radius:22px;transition:background-color .1s;position:absolute;inset:-1px;-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='none' rx='22' ry='22' stroke='black' stroke-width='2' stroke-dasharray='4 4'/%3E%3C/svg%3E\");mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='none' rx='22' ry='22' stroke='black' stroke-width='2' stroke-dasharray='4 4'/%3E%3C/svg%3E\")}.Uzaq8q_cardWorkspaceTrigger :disabled{pointer-events:none}.Uzaq8q_cardWorkspaceTrigger:hover:after{background:var(--dsw-alias-state-business-primary)}.Uzaq8q_accessory{align-items:center;gap:8px;padding:10px 12px 0;display:flex}.Uzaq8q_overlayAnchor{height:0;position:absolute;inset:0 0 auto}.Uzaq8q_scroll{max-height:var(--dsh-composer-text-max-height);margin-right:4px;overflow-y:auto}.Uzaq8q_scroll::-webkit-scrollbar-track{margin-top:8px}.Uzaq8q_grow{position:relative}.Uzaq8q_pending{corner-shape:round;background:var(--dsw-alias-state-business-primary);border-radius:50%;width:8px;height:8px;animation:1s ease-in-out infinite alternate Uzaq8q_input-pending}@keyframes Uzaq8q_input-pending{0%{opacity:.35}to{opacity:1}}.Uzaq8q_input{box-sizing:border-box;min-height:36px;font-family:var(--dsw-font-family);font-size:inherit;line-height:inherit;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;color:var(--dsw-alias-label-primary);caret-color:var(--dsw-alias-state-business-primary);outline:none;padding:4px 8px 0 14px}.Uzaq8q_input p{margin:0}.Uzaq8q_input p:last-child:after{content:var(--dsh-composer-hint);color:var(--dsw-alias-label-caption)}.Uzaq8q_input[data-composer-composing] p:last-child:after{content:none}.Uzaq8q_input[data-composer-composing]+.Uzaq8q_placeholder{visibility:hidden}.Uzaq8q_placeholder{color:var(--dsw-alias-label-caption);white-space:nowrap;text-overflow:ellipsis;pointer-events:none;user-select:none;position:absolute;inset:4px 8px auto 14px;overflow:hidden}.Uzaq8q_inputDisabled{color:var(--dsw-alias-label-tertiary);cursor:not-allowed}.Uzaq8q_input[aria-haspopup=menu]{cursor:pointer}.Uzaq8q_hero .Uzaq8q_input{min-height:52px}.Uzaq8q_hero .Uzaq8q_placeholder{white-space:normal;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.Uzaq8q_row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:2px 8px 6px;display:flex;container-type:inline-size}.Uzaq8q_tools,.Uzaq8q_modes,.Uzaq8q_trailing{align-items:center;min-width:0;display:flex}.Uzaq8q_tools,.Uzaq8q_modes{gap:12px}.Uzaq8q_trailing{flex:none;gap:12px;margin-left:auto}.Uzaq8q_add{corner-shape:round;background:var(--dsw-specific-selector);width:28px;height:28px;color:var(--dsw-alias-label-primary);cursor:pointer;border:none;border-radius:999px;flex:none;place-items:center;display:grid}.Uzaq8q_add:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover-solid)}.Uzaq8q_add:disabled{opacity:.5;cursor:default}.Uzaq8q_select{max-width:220px;height:28px;color:var(--dsw-alias-label-secondary);white-space:nowrap;cursor:pointer;appearance:none;background-color:#0000;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2381858C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");background-position:right 4px center;background-repeat:no-repeat;background-size:12px 12px;border:none;border-radius:8px;outline:none;padding:0 20px 0 8px;font-size:13px;font-weight:500;line-height:20px}.Uzaq8q_select:hover:not(:disabled){background-color:var(--dsw-alias-interactive-bg-hover)}.Uzaq8q_select:disabled{opacity:.5;cursor:default}.Uzaq8q_primary{corner-shape:round;background:var(--dsw-alias-button-info-fill);color:#fff;cursor:pointer;border:none;border-radius:999px;flex:none;place-items:center;width:34px;height:34px;transition:background-color .1s;display:grid;transform:translateY(-2px)}.Uzaq8q_primary:hover:not(:disabled){background:var(--dsw-alias-button-info-hover)}.Uzaq8q_primary:disabled{opacity:.4;cursor:default}.Uzaq8q_retry{color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:4px;margin-left:8px;padding:1px 8px;font-size:12px}";
15933
16048
  const tagId$1 = "@deepseek-ai/dsh-client-ui-conversation/InputBar.module.css";
15934
16049
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
15935
16050
  const tag = document.createElement("style");
@@ -15943,6 +16058,7 @@ window.__ModuleLoader__.load({
15943
16058
  "add": "Uzaq8q_add",
15944
16059
  "card": "Uzaq8q_card",
15945
16060
  "cardWorkspaceTrigger": "Uzaq8q_cardWorkspaceTrigger",
16061
+ "dock": "Uzaq8q_dock",
15946
16062
  "grow": "Uzaq8q_grow",
15947
16063
  "hero": "Uzaq8q_hero",
15948
16064
  "input": "Uzaq8q_input",
@@ -16012,6 +16128,10 @@ window.__ModuleLoader__.load({
16012
16128
  (0, react.useEffect)(() => {
16013
16129
  if (promptError === null) return;
16014
16130
  const { error } = promptError;
16131
+ if (error.code === "session/writer-held") {
16132
+ showToast(t("error.sessionInUse"));
16133
+ return;
16134
+ }
16015
16135
  showToast(error.code === "session/attachment-invalid" || error.code === "subagent/attachment-invalid" ? attachmentErrorText(t, error.details.reason, imageLimits) : `${error.message} (${error.code})`);
16016
16136
  }, [
16017
16137
  promptError,
@@ -16034,7 +16154,7 @@ window.__ModuleLoader__.load({
16034
16154
  const editorDisabled = removed || locked && !workspaceTrigger;
16035
16155
  const editable = live && !locked && !machineBusy;
16036
16156
  const steeringAvailable = subagent === null || subagent.address.mode === "continuable";
16037
- const canSteerQueue = !locked && !machineBusy && !commandMenuOpen && empty && running && steeringAvailable && input.queue.some((row) => row.placement === "queued");
16157
+ const canSteerQueue = !locked && !machineBusy && !commandMenuOpen && empty && running && steeringAvailable && input.queue.length > 0;
16038
16158
  (0, react.useEffect)(() => {
16039
16159
  if (input === void 0 || inputActions === void 0) return;
16040
16160
  if (attachments.length !== input.attachmentIds.length) inputActions.pruneAttachments(attachments.map((attachment) => attachment.id));
@@ -16128,7 +16248,9 @@ window.__ModuleLoader__.load({
16128
16248
  keepDraftFocus(e, editor);
16129
16249
  };
16130
16250
  const onToggleCommandMenu = () => {
16131
- if (keyboard !== void 0) toggleCommandMenu?.(keyboard.caretSpan());
16251
+ if (keyboard === void 0) return;
16252
+ if (editor !== null) focusDraftEditor(editor, revealSelection);
16253
+ toggleCommandMenu?.(keyboard.caretSpan());
16132
16254
  };
16133
16255
  const onWorkspaceKeyDown = (e) => {
16134
16256
  if (!workspaceTrigger) return;
@@ -16264,10 +16386,6 @@ window.__ModuleLoader__.load({
16264
16386
  children: [
16265
16387
  input === void 0 || sessionId === void 0 ? null : renderSlot("conversation.input.right", {}),
16266
16388
  sessionId === void 0 ? null : renderSlot("conversation.input.model", { locked: modelSeatLocked }),
16267
- (0, react_jsx_runtime.jsx)(ContextMeter, {
16268
- useProjection,
16269
- t
16270
- }),
16271
16389
  interruptible && (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
16272
16390
  label: t("input.stop"),
16273
16391
  side: "top",
@@ -16338,7 +16456,13 @@ window.__ModuleLoader__.load({
16338
16456
  })
16339
16457
  ]
16340
16458
  }),
16341
- variant === "composer" && input !== void 0 && sessionId !== void 0 ? renderSlot("conversation.composer.dock", {}) : null
16459
+ (0, react_jsx_runtime.jsxs)("div", {
16460
+ className: InputBar_module_css_default.dock,
16461
+ children: [variant === "composer" && input !== void 0 && sessionId !== void 0 ? renderSlot("conversation.composer.dock", {}) : null, (0, react_jsx_runtime.jsx)(ContextMeter, {
16462
+ useProjection,
16463
+ t
16464
+ })]
16465
+ })
16342
16466
  ]
16343
16467
  });
16344
16468
  });
@@ -16640,11 +16764,17 @@ window.__ModuleLoader__.load({
16640
16764
  const restoreView = (sessionId) => {
16641
16765
  activateView(sessionId, readConversationViewPreference(sessionId));
16642
16766
  };
16643
- const restoreCurrentView = () => {
16644
- const sessionId = sessions.list.getSnapshot().current;
16645
- if (sessionId !== void 0 && sessions.binding(sessionId) !== void 0) restoreView(sessionId);
16646
- };
16647
16767
  const conversationViews = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(viewTabs());
16768
+ const bindings = /* @__PURE__ */ new Set();
16769
+ const trackedBindings = /* @__PURE__ */ new WeakSet();
16770
+ const trackBinding = (binding) => {
16771
+ if (trackedBindings.has(binding)) return;
16772
+ trackedBindings.add(binding);
16773
+ bindings.add(binding);
16774
+ binding.ctx.effect(() => () => {
16775
+ bindings.delete(binding);
16776
+ }, "ui-conversation: active Provider binding");
16777
+ };
16648
16778
  const refreshViews = () => {
16649
16779
  const current = conversationViews.getSnapshot();
16650
16780
  const next = viewTabs();
@@ -16652,20 +16782,12 @@ window.__ModuleLoader__.load({
16652
16782
  const candidate = next.at(index);
16653
16783
  return candidate !== void 0 && tab.id === candidate.id && tab.label === candidate.label;
16654
16784
  }))) conversationViews.set(next);
16655
- restoreCurrentView();
16785
+ for (const binding of bindings) restoreView(binding.sessionId);
16656
16786
  };
16657
16787
  ctx.effect(() => {
16658
- let currentSessionId = sessions.list.getSnapshot().current;
16659
16788
  const disposeViews = slots.subscribe("conversation.view", refreshViews);
16660
16789
  const disposeLocale = ctx.locale.subscribe(refreshViews);
16661
- const disposeCurrent = sessions.list.subscribe(() => {
16662
- const nextSessionId = sessions.list.getSnapshot().current;
16663
- if (nextSessionId === currentSessionId) return;
16664
- currentSessionId = nextSessionId;
16665
- restoreCurrentView();
16666
- });
16667
16790
  return () => {
16668
- disposeCurrent();
16669
16791
  disposeLocale();
16670
16792
  disposeViews();
16671
16793
  };
@@ -16691,6 +16813,7 @@ window.__ModuleLoader__.load({
16691
16813
  hooks: ["conversation", "input"],
16692
16814
  props: ["inputActions"],
16693
16815
  resolve: (binding) => {
16816
+ trackBinding(binding);
16694
16817
  const shell = inputHub.shellFor(binding);
16695
16818
  const conversation = uiConversation.binding(binding);
16696
16819
  restoreView(binding.sessionId);
@@ -16705,16 +16828,20 @@ window.__ModuleLoader__.load({
16705
16828
  });
16706
16829
  const registerConversationRoot = () => slots.register({
16707
16830
  name: "main.conversation",
16831
+ children: { "conversation.session.header": {
16832
+ kind: "single",
16833
+ scope: "session"
16834
+ } }
16835
+ }, ConversationRoot);
16836
+ const registerConversationContent = () => slots.registerFactory({
16837
+ name: "conversation.content",
16838
+ scope: "session-maybe",
16708
16839
  locale: NS,
16709
16840
  children: {
16710
16841
  "conversation.session": {
16711
16842
  kind: "single",
16712
16843
  scope: "session"
16713
16844
  },
16714
- "conversation.session.header": {
16715
- kind: "single",
16716
- scope: "session"
16717
- },
16718
16845
  "conversation.composer": {
16719
16846
  kind: "chain",
16720
16847
  scope: "session"
@@ -16737,9 +16864,13 @@ window.__ModuleLoader__.load({
16737
16864
  },
16738
16865
  "conversation.hero.agentPreset": {
16739
16866
  kind: "single",
16740
- scope: "root"
16867
+ scope: "session-maybe"
16741
16868
  }
16742
16869
  },
16870
+ slots: {
16871
+ views: { scope: "session" },
16872
+ widthControls: { scope: "root" }
16873
+ },
16743
16874
  inject: (sessionId) => ({
16744
16875
  hooks: { composerBlock: sessionId === void 0 ? ABSENT_BLOCK : composerBlocks.storeFor(sessionId) },
16745
16876
  selectWorkspace: (workspaceId) => workspaceNavigation.openWorkspace(workspaceId, (nextId) => {
@@ -16760,7 +16891,7 @@ window.__ModuleLoader__.load({
16760
16891
  }
16761
16892
  })
16762
16893
  })
16763
- }, ConversationRoot);
16894
+ }, ConversationContent);
16764
16895
  const registerConversationSession = () => slots.register({
16765
16896
  name: "conversation.session",
16766
16897
  children: { "conversation.view": {
@@ -16785,6 +16916,10 @@ window.__ModuleLoader__.load({
16785
16916
  kind: "single",
16786
16917
  scope: "session"
16787
16918
  },
16919
+ "conversation.session.header.leading": {
16920
+ kind: "single",
16921
+ scope: "session"
16922
+ },
16788
16923
  "conversation.session.header.actions": {
16789
16924
  kind: "list",
16790
16925
  scope: "session"
@@ -16924,6 +17059,7 @@ window.__ModuleLoader__.load({
16924
17059
  } }
16925
17060
  }, ConversationPanel);
16926
17061
  yield registerConversationRoot();
17062
+ yield registerConversationContent();
16927
17063
  yield registerConversationSession();
16928
17064
  yield registerConversationHeader();
16929
17065
  yield registerComposerBar();