@songtonyli/dsh-cli 0.1.75 → 0.1.77

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 (681) hide show
  1. package/README.md +1 -1
  2. package/bin/dsh.mjs +1 -1
  3. package/node_modules/@deepseek-ai/dsh/README.i18n.yaml +2 -2
  4. package/node_modules/@deepseek-ai/dsh/README.md +1 -1
  5. package/node_modules/@deepseek-ai/dsh/README.zh.md +1 -1
  6. package/node_modules/@deepseek-ai/dsh/package.json +117 -116
  7. package/node_modules/@deepseek-ai/dsh-acp/package.json +23 -23
  8. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +3 -3
  9. package/node_modules/@deepseek-ai/dsh-agent/package.json +18 -18
  10. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +7 -7
  11. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +24 -24
  12. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +22 -22
  13. package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +6 -6
  14. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +3 -1
  15. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +26 -26
  16. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +8 -8
  17. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +5 -5
  18. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.host.js +7 -6
  19. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.remote-client.js +7 -6
  20. package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +7 -7
  21. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +9 -9
  22. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +11 -11
  23. package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +9 -10
  24. package/node_modules/@deepseek-ai/dsh-api-remote-access/package.json +7 -8
  25. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +490 -62
  26. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +4 -0
  27. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +3 -1
  28. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +1 -0
  29. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +42 -41
  30. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +1 -1
  31. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +72 -73
  32. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +13 -13
  33. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.i18n.yaml +2 -2
  34. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.md +2 -0
  35. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.zh.md +2 -0
  36. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/client.js +166 -21
  37. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/index.js +36 -9
  38. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/inventory.js +101 -0
  39. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/model.js +23 -7
  40. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +19 -19
  41. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +18 -19
  42. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +12 -13
  43. package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +2 -2
  44. package/node_modules/@deepseek-ai/dsh-app-boot/README.md +2 -2
  45. package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +2 -2
  46. package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +40 -26
  47. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +8 -8
  48. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
  49. package/node_modules/@deepseek-ai/dsh-attachment/package.json +3 -3
  50. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +6 -6
  51. package/node_modules/@deepseek-ai/dsh-authorization/package.json +5 -5
  52. package/node_modules/@deepseek-ai/dsh-base/package.json +94 -94
  53. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +8 -8
  54. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +12 -12
  55. package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
  56. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +1 -1
  57. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +10 -10
  58. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +10 -10
  59. package/node_modules/@deepseek-ai/dsh-client-hmr/README.i18n.yaml +2 -2
  60. package/node_modules/@deepseek-ai/dsh-client-hmr/README.md +1 -1
  61. package/node_modules/@deepseek-ai/dsh-client-hmr/README.zh.md +1 -1
  62. package/node_modules/@deepseek-ai/dsh-client-hmr/lib/client.js +237 -11
  63. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +5 -4
  64. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +7 -10
  65. package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +10 -7
  66. package/node_modules/@deepseek-ai/dsh-client-modules/README.md +8 -2
  67. package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +9 -2
  68. package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +136 -6
  69. package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +25 -6
  70. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +3 -4
  71. package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.i18n.yaml +6 -6
  72. package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.md +22 -4
  73. package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.zh.md +22 -4
  74. package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/index.js +238 -6
  75. package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/typert.host.js +6 -6
  76. package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/typert.remote-client.js +4 -4
  77. package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +12 -11
  78. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +3 -5
  79. package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +6 -8
  80. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +14 -17
  81. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +11 -13
  82. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +8 -10
  83. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +3 -4
  84. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +34 -37
  85. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +2 -2
  86. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +1 -1
  87. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +1 -1
  88. package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +16 -1
  89. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +12 -15
  90. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +2 -2
  91. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +2 -2
  92. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +2 -2
  93. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +356 -124
  94. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +30 -33
  95. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +11 -13
  96. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +25 -28
  97. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +5 -7
  98. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +3 -3
  99. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +12 -14
  100. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.i18n.yaml +2 -2
  101. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.md +1 -1
  102. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.zh.md +1 -1
  103. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +18 -0
  104. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +9 -12
  105. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +8 -10
  106. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +7 -9
  107. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +13 -16
  108. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +3 -0
  109. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +8 -0
  110. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +8 -0
  111. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +34 -8
  112. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +13 -16
  113. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +16 -19
  114. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +12 -15
  115. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +17 -20
  116. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +5 -2
  117. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +4 -0
  118. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +4 -0
  119. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +314 -85
  120. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +13 -16
  121. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.i18n.yaml +34 -0
  122. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.md +72 -0
  123. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.zh.md +72 -0
  124. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/lib/client.js +1637 -0
  125. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/lib/index.js +6 -0
  126. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/package.json +62 -0
  127. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +13 -15
  128. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +1 -2
  129. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +17 -19
  130. package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/package.json +4 -5
  131. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +7 -9
  132. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +4 -6
  133. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +2 -2
  134. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +1 -1
  135. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +1 -1
  136. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +117 -66
  137. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +13 -16
  138. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +6 -9
  139. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +5 -2
  140. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +6 -0
  141. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +6 -0
  142. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +176 -39
  143. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +15 -14
  144. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +2 -2
  145. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +3 -1
  146. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +3 -1
  147. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +324 -36
  148. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +8 -11
  149. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +9 -12
  150. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +5 -6
  151. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +6 -9
  152. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +6 -9
  153. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +4 -7
  154. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +6 -9
  155. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +6 -9
  156. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +7 -10
  157. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
  158. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +9 -12
  159. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +8 -11
  160. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +15 -18
  161. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +11 -14
  162. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +1 -1
  163. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +12 -15
  164. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +12 -15
  165. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.i18n.yaml +6 -6
  166. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.md +5 -3
  167. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.zh.md +5 -3
  168. package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +1 -0
  169. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +14 -15
  170. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +15 -17
  171. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +9 -12
  172. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +2 -2
  173. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +1 -1
  174. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +1 -1
  175. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +75 -25
  176. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +25 -27
  177. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +14 -17
  178. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +18 -21
  179. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +11 -14
  180. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +23 -26
  181. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
  182. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +8 -8
  183. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +11 -11
  184. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +11 -11
  185. package/node_modules/@deepseek-ai/dsh-commands/package.json +16 -16
  186. package/node_modules/@deepseek-ai/dsh-compaction/package.json +9 -9
  187. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +21 -21
  188. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +16 -16
  189. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +12 -12
  190. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +6 -6
  191. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +95 -8
  192. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +6 -6
  193. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +18 -18
  194. package/node_modules/@deepseek-ai/dsh-credentials/package.json +2 -2
  195. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +9 -9
  196. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +9 -7
  197. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.i18n.yaml +2 -2
  198. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.md +1 -1
  199. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.zh.md +1 -1
  200. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/index.js +15 -13
  201. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/details.js +10 -4
  202. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +9 -9
  203. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +1 -1
  204. package/node_modules/@deepseek-ai/dsh-deque/package.json +1 -1
  205. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +19 -19
  206. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +4 -4
  207. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +5 -5
  208. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +38 -38
  209. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/package.json +2 -2
  210. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +9 -22
  211. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +18 -26
  212. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +14 -32
  213. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +3 -3
  214. package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.i18n.yaml +2 -2
  215. package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.md +1 -1
  216. package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.zh.md +1 -1
  217. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/index.js +70 -17
  218. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/worker.js +16 -12
  219. package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +14 -20
  220. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +3 -3
  221. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/README.i18n.yaml +34 -0
  222. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/README.md +68 -0
  223. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/README.zh.md +68 -0
  224. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/cordis.patch.yml +10 -0
  225. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/icon.svg +9 -0
  226. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/lib/index.js +1 -0
  227. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/en.json +6 -0
  228. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/zh.json +6 -0
  229. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/package.json +50 -0
  230. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +3 -3
  231. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +10 -13
  232. package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +3 -3
  233. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +2 -2
  234. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +6 -6
  235. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/worker.js +26 -12
  236. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +7 -7
  237. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +4 -4
  238. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +22 -22
  239. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +18 -18
  240. package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +24 -24
  241. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +5 -5
  242. package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +21 -21
  243. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +3 -3
  244. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +13 -13
  245. package/node_modules/@deepseek-ai/dsh-fs/package.json +7 -7
  246. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +4 -4
  247. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +4 -4
  248. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +10 -10
  249. package/node_modules/@deepseek-ai/dsh-goal/package.json +20 -20
  250. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +15 -15
  251. package/node_modules/@deepseek-ai/dsh-harness-dev-context/package.json +11 -11
  252. package/node_modules/@deepseek-ai/dsh-headless/package.json +19 -19
  253. package/node_modules/@deepseek-ai/dsh-hmr/package.json +6 -6
  254. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
  255. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +1 -1
  256. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +15 -15
  257. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +2 -2
  258. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +3 -3
  259. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +6 -6
  260. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +5 -5
  261. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +9 -9
  262. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +4 -4
  263. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +1 -1
  264. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +1 -1
  265. package/node_modules/@deepseek-ai/dsh-jobs/package.json +9 -9
  266. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +11 -11
  267. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
  268. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +1 -1
  269. package/node_modules/@deepseek-ai/dsh-llm/package.json +7 -7
  270. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +20 -20
  271. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +37 -37
  272. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +13 -13
  273. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +9 -9
  274. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +21 -21
  275. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +19 -19
  276. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +20 -20
  277. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +12 -12
  278. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +14 -14
  279. package/node_modules/@deepseek-ai/dsh-native-command/package.json +2 -2
  280. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +10 -10
  281. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +6 -6
  282. package/node_modules/@deepseek-ai/dsh-otel/package.json +3 -3
  283. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
  284. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +1 -1
  285. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +18 -18
  286. package/node_modules/@deepseek-ai/dsh-persona/package.json +4 -4
  287. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +20 -20
  288. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +2 -2
  289. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +2 -2
  290. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +2 -2
  291. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +4 -3
  292. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +14 -14
  293. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +13 -13
  294. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/failure.js +2 -2
  295. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +3 -3
  296. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +1 -1
  297. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +27 -27
  298. package/node_modules/@deepseek-ai/dsh-plugin-market/README.i18n.yaml +43 -0
  299. package/node_modules/@deepseek-ai/dsh-plugin-market/README.md +117 -0
  300. package/node_modules/@deepseek-ai/dsh-plugin-market/README.zh.md +117 -0
  301. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/index.js +661 -0
  302. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/typert.host.js +407 -0
  303. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/typert.remote-client.js +259 -0
  304. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/index-url.js +27 -0
  305. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/index.js +351 -0
  306. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/parse-thread.js +61 -0
  307. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/parse.js +36 -0
  308. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/search.js +135 -0
  309. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/tools.js +128 -0
  310. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/types.js +2 -0
  311. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/worker.js +8 -0
  312. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/worker.cjs +1759 -0
  313. package/node_modules/@deepseek-ai/dsh-plugin-market/package.json +89 -0
  314. package/node_modules/@deepseek-ai/dsh-plugin-market-index/README.i18n.yaml +34 -0
  315. package/node_modules/@deepseek-ai/dsh-plugin-market-index/README.md +74 -0
  316. package/node_modules/@deepseek-ai/dsh-plugin-market-index/README.zh.md +74 -0
  317. package/node_modules/@deepseek-ai/dsh-plugin-market-index/lib/index.js +320 -0
  318. package/node_modules/@deepseek-ai/{dsh-client-ui-slots → dsh-plugin-market-index}/package.json +15 -12
  319. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +13 -13
  320. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +3 -3
  321. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +20 -20
  322. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +8 -8
  323. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +12 -12
  324. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +9 -9
  325. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +6 -6
  326. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +22 -22
  327. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +9 -9
  328. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +11 -11
  329. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
  330. package/node_modules/@deepseek-ai/dsh-schedule/package.json +30 -30
  331. package/node_modules/@deepseek-ai/dsh-scope/package.json +1 -1
  332. package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +4 -4
  333. package/node_modules/@deepseek-ai/dsh-sdk-app/README.md +2 -2
  334. package/node_modules/@deepseek-ai/dsh-sdk-app/README.zh.md +2 -2
  335. package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +5 -0
  336. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +5 -5
  337. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +23 -23
  338. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +34 -34
  339. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +7 -7
  340. package/node_modules/@deepseek-ai/dsh-session/package.json +8 -8
  341. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +15 -15
  342. package/node_modules/@deepseek-ai/dsh-session-format/package.json +2 -2
  343. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +9 -9
  344. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +4 -4
  345. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +6 -6
  346. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +4 -4
  347. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +3 -3
  348. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +13 -13
  349. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +18 -21
  350. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +9 -9
  351. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +10 -10
  352. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +3 -3
  353. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +10 -10
  354. package/node_modules/@deepseek-ai/dsh-session-query/package.json +18 -18
  355. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +9 -9
  356. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +35 -35
  357. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +7 -7
  358. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +5 -5
  359. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +21 -21
  360. package/node_modules/@deepseek-ai/dsh-session-title/package.json +14 -14
  361. package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +12 -12
  362. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +15 -15
  363. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +10 -10
  364. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +7 -7
  365. package/node_modules/@deepseek-ai/dsh-settings/package.json +10 -10
  366. package/node_modules/@deepseek-ai/dsh-shell/package.json +5 -5
  367. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +11 -11
  368. package/node_modules/@deepseek-ai/dsh-skill/package.json +6 -6
  369. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +3 -3
  370. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +7 -7
  371. package/node_modules/@deepseek-ai/dsh-skill-office/README.i18n.yaml +2 -2
  372. package/node_modules/@deepseek-ai/dsh-skill-office/README.md +1 -1
  373. package/node_modules/@deepseek-ai/dsh-skill-office/README.zh.md +1 -1
  374. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-export-pdf/SKILL.md +1 -1
  375. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-render/SKILL.md +1 -1
  376. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +4 -4
  377. package/node_modules/@deepseek-ai/dsh-spill/package.json +7 -7
  378. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +6 -6
  379. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +30 -30
  380. package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
  381. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +3 -3
  382. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +3 -3
  383. package/node_modules/@deepseek-ai/dsh-subagent/package.json +46 -46
  384. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +20 -20
  385. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +11 -11
  386. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +15 -15
  387. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +4 -4
  388. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.i18n.yaml +4 -4
  389. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.md +3 -3
  390. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.zh.md +3 -3
  391. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/index.js +252 -47
  392. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +7 -7
  393. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +5 -5
  394. package/node_modules/@deepseek-ai/dsh-terminal/package.json +6 -6
  395. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +19 -19
  396. package/node_modules/@deepseek-ai/dsh-time-context/package.json +18 -18
  397. package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
  398. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +11 -11
  399. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +14 -14
  400. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +9 -9
  401. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +32 -32
  402. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +21 -21
  403. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +7 -7
  404. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +125 -4
  405. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +10 -10
  406. package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +1 -1
  407. package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +1 -1
  408. package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +1 -1
  409. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +31 -31
  410. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +27 -27
  411. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +16 -16
  412. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +15 -15
  413. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +19 -19
  414. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +31 -31
  415. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +22 -22
  416. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +19 -19
  417. package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +12 -12
  418. package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +24 -24
  419. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +14 -14
  420. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +19 -19
  421. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +1 -1
  422. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +1 -1
  423. package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +1 -1
  424. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +22 -22
  425. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +19 -19
  426. package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +25 -25
  427. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +13 -13
  428. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +19 -19
  429. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +20 -20
  430. package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +11 -11
  431. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +6 -6
  432. package/node_modules/@deepseek-ai/dsh-tools/README.i18n.yaml +2 -2
  433. package/node_modules/@deepseek-ai/dsh-tools/README.md +3 -3
  434. package/node_modules/@deepseek-ai/dsh-tools/README.zh.md +3 -3
  435. package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +45 -26
  436. package/node_modules/@deepseek-ai/dsh-tools/lib/types/index.js +1 -1
  437. package/node_modules/@deepseek-ai/dsh-tools/lib/types/ptc.js +20 -10
  438. package/node_modules/@deepseek-ai/dsh-tools/lib/types/py-types.js +1 -1
  439. package/node_modules/@deepseek-ai/dsh-tools/lib/types/ts-types.js +26 -9
  440. package/node_modules/@deepseek-ai/dsh-tools/package.json +24 -24
  441. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +6 -6
  442. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +10 -10
  443. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +10 -10
  444. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +347 -136
  445. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +78 -78
  446. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +5 -5
  447. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +2 -2
  448. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +2 -2
  449. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +13 -13
  450. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +15 -15
  451. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +1 -1
  452. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +1 -1
  453. package/node_modules/@deepseek-ai/dsh-util-time/package.json +1 -1
  454. package/node_modules/@deepseek-ai/dsh-util-values/package.json +1 -1
  455. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +1 -1
  456. package/node_modules/@deepseek-ai/dsh-web/package.json +3 -3
  457. package/node_modules/@deepseek-ai/dsh-web-app/package.json +140 -139
  458. package/node_modules/@deepseek-ai/dsh-web-app/presets/cordis.patch.yml +3 -0
  459. package/node_modules/@deepseek-ai/dsh-web-app/presets/ptc.patch.yml +3 -0
  460. package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +3 -0
  461. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +7 -7
  462. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +18 -20
  463. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +15 -15
  464. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +6 -6
  465. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +6 -6
  466. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +2 -2
  467. package/node_modules/@deepseek-ai/dsh-workflow/package.json +9 -9
  468. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +36 -36
  469. package/node_modules/@deepseek-ai/dsh-working-directory/package.json +18 -18
  470. package/node_modules/@deepseek-ai/dsh-workspace/package.json +12 -12
  471. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +18 -18
  472. package/node_modules/@earendil-works/pi-ai/README.md +5 -34
  473. package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +59 -54
  474. package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +16 -18
  475. package/node_modules/@earendil-works/pi-ai/dist/api/google-shared.js +2 -0
  476. package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +2 -2
  477. package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +29 -27
  478. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +15 -2
  479. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +21 -4
  480. package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.js +28 -15
  481. package/node_modules/@earendil-works/pi-ai/dist/index.js +0 -1
  482. package/node_modules/@earendil-works/pi-ai/dist/providers/compat-schema.js +8 -0
  483. package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  484. package/node_modules/@earendil-works/pi-ai/dist/providers/data/anthropic.json +1 -1
  485. package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
  486. package/node_modules/@earendil-works/pi-ai/dist/providers/data/google-vertex.json +1 -1
  487. package/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
  488. package/node_modules/@earendil-works/pi-ai/dist/providers/data/kimi-coding.json +1 -1
  489. package/node_modules/@earendil-works/pi-ai/dist/providers/data/meta.json +1 -1
  490. package/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
  491. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai-codex.json +1 -1
  492. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
  493. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
  494. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
  495. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  496. package/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -1
  497. package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
  498. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-ams.json +1 -1
  499. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-cn.json +1 -1
  500. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-sgp.json +1 -1
  501. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi.json +1 -1
  502. package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.js +3 -3
  503. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.js +2 -0
  504. package/node_modules/@earendil-works/pi-ai/dist/utils/json-parse.js +26 -1
  505. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +5 -1
  506. package/node_modules/@earendil-works/pi-ai/dist/utils/validation.js +3 -0
  507. package/node_modules/@earendil-works/pi-ai/package.json +2 -2
  508. package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
  509. package/node_modules/minisearch/LICENSE.txt +7 -0
  510. package/node_modules/minisearch/README.md +347 -0
  511. package/node_modules/minisearch/dist/cjs/SearchableMap.cjs +549 -0
  512. package/node_modules/minisearch/dist/cjs/index.cjs +2007 -0
  513. package/node_modules/minisearch/dist/es/SearchableMap.js +547 -0
  514. package/node_modules/minisearch/dist/es/index.js +2005 -0
  515. package/node_modules/minisearch/dist/umd/SearchableMap.js +555 -0
  516. package/node_modules/minisearch/dist/umd/index.js +2013 -0
  517. package/node_modules/minisearch/package.json +90 -0
  518. package/node_modules/minisearch/src/MiniSearch.test.js +1997 -0
  519. package/node_modules/minisearch/src/MiniSearch.ts +2261 -0
  520. package/node_modules/minisearch/src/SearchableMap/SearchableMap.test.js +314 -0
  521. package/node_modules/minisearch/src/SearchableMap/SearchableMap.ts +424 -0
  522. package/node_modules/minisearch/src/SearchableMap/TreeIterator.ts +103 -0
  523. package/node_modules/minisearch/src/SearchableMap/fuzzySearch.ts +130 -0
  524. package/node_modules/minisearch/src/SearchableMap/types.ts +18 -0
  525. package/node_modules/minisearch/src/index.ts +4 -0
  526. package/node_modules/minisearch/src/testSetup/jest.js +1 -0
  527. package/package.json +305 -301
  528. package/node_modules/@deepseek-ai/dsh-client-store/LICENSE +0 -21
  529. package/node_modules/@deepseek-ai/dsh-client-store/README.i18n.yaml +0 -28
  530. package/node_modules/@deepseek-ai/dsh-client-store/README.md +0 -46
  531. package/node_modules/@deepseek-ai/dsh-client-store/README.zh.md +0 -46
  532. package/node_modules/@deepseek-ai/dsh-client-store/lib/index.js +0 -180
  533. package/node_modules/@deepseek-ai/dsh-client-store/lib/types/contract.d.ts +0 -121
  534. package/node_modules/@deepseek-ai/dsh-client-store/lib/types/index.d.ts +0 -92
  535. package/node_modules/@deepseek-ai/dsh-client-store/package.json +0 -37
  536. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/LICENSE +0 -21
  537. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +0 -61
  538. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +0 -221
  539. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +0 -221
  540. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Button.module.css +0 -77
  541. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Checkbox.module.css +0 -28
  542. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CodeCard.module.css +0 -83
  543. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CommandText.module.css +0 -12
  544. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ConnectionIndicator.module.css +0 -118
  545. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DiffBlock.module.css +0 -80
  546. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DisclosureRow.module.css +0 -111
  547. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/FileTypeIcon.module.css +0 -50
  548. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/HoverCard.module.css +0 -90
  549. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImageLightbox.module.css +0 -54
  550. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImagePreview.module.css +0 -24
  551. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/InlineEditor.module.css +0 -23
  552. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Input.module.css +0 -38
  553. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/JsonTree.module.css +0 -345
  554. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Menu.module.css +0 -285
  555. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuGroup.module.css +0 -37
  556. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuSurface.module.css +0 -49
  557. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Modal.module.css +0 -129
  558. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/OnboardingSurface.module.css +0 -28
  559. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/PathLabel.module.css +0 -28
  560. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Pill.module.css +0 -28
  561. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ReadBlock.module.css +0 -43
  562. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RiskConfirmation.module.css +0 -73
  563. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SearchBlock.module.css +0 -112
  564. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedControl.module.css +0 -76
  565. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedTabs.module.css +0 -55
  566. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ShortcutKeys.module.css +0 -33
  567. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/StateDot.module.css +0 -100
  568. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Switch.module.css +0 -49
  569. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tag.module.css +0 -57
  570. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TerminalBlock.module.css +0 -205
  571. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TextShimmer.module.css +0 -88
  572. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Toast.module.css +0 -101
  573. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tooltip.module.css +0 -63
  574. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/WebBlock.module.css +0 -141
  575. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +0 -12583
  576. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/CodeBlock.module.css +0 -145
  577. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/JsonBlock.module.css +0 -32
  578. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css +0 -467
  579. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/SettingsForm.module.css +0 -53
  580. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/fields.module.css +0 -145
  581. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/BrandWordmark.d.ts +0 -15
  582. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Button.d.ts +0 -19
  583. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Checkbox.d.ts +0 -20
  584. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CodeFileIcon.d.ts +0 -12
  585. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CodeToolbar.d.ts +0 -30
  586. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CommandText.d.ts +0 -16
  587. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ConfigField.d.ts +0 -33
  588. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ConnectionIndicator.d.ts +0 -26
  589. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DiffBlock.d.ts +0 -52
  590. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DisclosureRow.d.ts +0 -38
  591. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FileTypeIcon.d.ts +0 -43
  592. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FishLogo.d.ts +0 -16
  593. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FoldToggle.d.ts +0 -20
  594. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCard.d.ts +0 -40
  595. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCardGroup.d.ts +0 -23
  596. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ImageLightbox.d.ts +0 -27
  597. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ImagePreview.d.ts +0 -12
  598. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/InlineEditor.d.ts +0 -23
  599. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Input.d.ts +0 -12
  600. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/JsonTree.d.ts +0 -59
  601. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/LinkIcon.d.ts +0 -34
  602. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Menu.d.ts +0 -143
  603. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuGroup.d.ts +0 -22
  604. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuSurface.d.ts +0 -16
  605. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Modal.d.ts +0 -44
  606. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/OnboardingSurface.d.ts +0 -11
  607. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PathLabel.d.ts +0 -13
  608. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PermissionIcon.d.ts +0 -51
  609. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Pill.d.ts +0 -13
  610. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReadBlock.d.ts +0 -48
  611. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReferenceIcon.d.ts +0 -21
  612. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/RiskConfirmation.d.ts +0 -20
  613. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SearchBlock.d.ts +0 -72
  614. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SegmentedControl.d.ts +0 -35
  615. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SegmentedTabs.d.ts +0 -26
  616. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ShortcutKeys.d.ts +0 -11
  617. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SiteGlyph.d.ts +0 -25
  618. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/StateDot.d.ts +0 -20
  619. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Switch.d.ts +0 -20
  620. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tag.d.ts +0 -32
  621. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TerminalBlock.d.ts +0 -86
  622. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TextShimmer.d.ts +0 -22
  623. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Toast.d.ts +0 -49
  624. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tooltip.d.ts +0 -63
  625. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/WebBlock.d.ts +0 -61
  626. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ansi.d.ts +0 -17
  627. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/clipboard.d.ts +0 -9
  628. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-file-icon-artwork.d.ts +0 -54
  629. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-file-types.d.ts +0 -30
  630. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-highlighting.d.ts +0 -12
  631. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/darwin-desktop.d.ts +0 -9
  632. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/file-size.d.ts +0 -8
  633. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/focus.d.ts +0 -9
  634. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/guide-artwork.d.ts +0 -15
  635. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/head-tail-cap.d.ts +0 -23
  636. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/index.d.ts +0 -385
  637. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/props.d.ts +0 -9
  638. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/shared-artwork.d.ts +0 -43
  639. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +0 -102
  640. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/input-modality.d.ts +0 -19
  641. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/keyboard-composition.d.ts +0 -11
  642. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/CodeBlock.d.ts +0 -35
  643. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/JsonBlock.d.ts +0 -8
  644. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/MarkdownDelegate.d.ts +0 -46
  645. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/MarkdownText.d.ts +0 -49
  646. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/cjkFriendlyStrong.d.ts +0 -9
  647. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/file-link.d.ts +0 -13
  648. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/highlight.d.ts +0 -148
  649. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/incremental.d.ts +0 -80
  650. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/katex.d.ts +0 -27
  651. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/local-image-syntax.d.ts +0 -10
  652. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/mathCompatibility.d.ts +0 -11
  653. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/parse.d.ts +0 -25
  654. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/plain-text.d.ts +0 -22
  655. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/render.d.ts +0 -141
  656. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/useViewportHighlighting.d.ts +0 -11
  657. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/overlay-top-margin.d.ts +0 -8
  658. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/plugin-artwork.d.ts +0 -17
  659. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/pointer-grace.d.ts +0 -22
  660. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/rank-by-name.d.ts +0 -22
  661. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/relative-time.d.ts +0 -23
  662. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/SettingsForm.d.ts +0 -46
  663. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/fields.d.ts +0 -70
  664. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/form-model.d.ts +0 -214
  665. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/use-copy-feedback.d.ts +0 -14
  666. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredMaxHeight.d.ts +0 -14
  667. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredPosition.d.ts +0 -36
  668. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useDismissOnOutsidePointer.d.ts +0 -11
  669. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useModalLayer.d.ts +0 -27
  670. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/user-text.d.ts +0 -29
  671. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/user-text.module.css +0 -46
  672. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +0 -61
  673. package/node_modules/@deepseek-ai/dsh-client-ui-slots/LICENSE +0 -21
  674. package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.i18n.yaml +0 -55
  675. package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.md +0 -111
  676. package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.zh.md +0 -111
  677. package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/index.js +0 -577
  678. package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/index.d.ts +0 -955
  679. package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/renderer.d.ts +0 -271
  680. package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/store.d.ts +0 -3
  681. package/node_modules/@earendil-works/pi-ai/dist/utils/assistant-message-frame.js +0 -425
@@ -4343,18 +4343,22 @@ window.__ModuleLoader__.load({
4343
4343
  clipboardText: zod.z.string(),
4344
4344
  invalid: zod.z.boolean().optional()
4345
4345
  });
4346
+ const commandSchema = zod.z.object({ token: zod.z.string() });
4346
4347
  const snapshotSchema = zod.z.object({
4347
4348
  text: zod.z.string(),
4348
- references: zod.z.array(referenceSchema)
4349
+ references: zod.z.array(referenceSchema),
4350
+ command: commandSchema.optional()
4349
4351
  }).refine((draft) => {
4350
- let end = 0;
4352
+ const spelling = draft.command?.token.trimEnd();
4353
+ if (spelling !== void 0 && (!/^\/\S/u.test(spelling) || !draft.text.startsWith(spelling))) return false;
4354
+ let end = spelling?.length ?? 0;
4351
4355
  for (const reference of draft.references) {
4352
4356
  if (reference.offset < end || reference.length !== reference.clipboardText.length) return false;
4353
4357
  end = reference.offset + reference.length;
4354
4358
  if (end > draft.text.length || draft.text.slice(reference.offset, end) !== reference.clipboardText) return false;
4355
4359
  }
4356
4360
  return true;
4357
- }, "Draft references must identify ordered, non-overlapping text spans");
4361
+ }, "Draft references must identify ordered, non-overlapping text spans after the leading command token");
4358
4362
  /**
4359
4363
  * Copy input into the semantic draft representation without editor runtime identities.
4360
4364
  * @param input - plain text or caller-owned structured content.
@@ -4367,7 +4371,8 @@ window.__ModuleLoader__.load({
4367
4371
  };
4368
4372
  return {
4369
4373
  text: input.text,
4370
- references: input.references.map(copyReference)
4374
+ references: input.references.map(copyReference),
4375
+ ...input.command === void 0 ? {} : { command: { token: input.command.token } }
4371
4376
  };
4372
4377
  }
4373
4378
  /**
@@ -4385,19 +4390,22 @@ window.__ModuleLoader__.load({
4385
4390
  ...reference,
4386
4391
  ...appearance === void 0 ? {} : { appearance },
4387
4392
  ...invalid === void 0 ? {} : { invalid }
4388
- }))
4393
+ })),
4394
+ ...parsed.data.command === void 0 ? {} : { command: { token: parsed.data.command.token } }
4389
4395
  };
4390
4396
  }
4391
4397
  /**
4392
4398
  * Export reference identities without their editor-local occurrence ids.
4393
4399
  * @param text - current clipboard projection.
4394
4400
  * @param occurrences - matching reference projections from the same document revision.
4401
+ * @param commandToken - claim token of the command chip opening the document, if any.
4395
4402
  * @returns an editor-independent snapshot.
4396
4403
  */
4397
- function snapshotDraft(text, occurrences) {
4404
+ function snapshotDraft(text, occurrences, commandToken) {
4398
4405
  return {
4399
4406
  text,
4400
- references: occurrences.map(copyReference)
4407
+ references: occurrences.map(copyReference),
4408
+ ...commandToken === void 0 ? {} : { command: { token: commandToken } }
4401
4409
  };
4402
4410
  }
4403
4411
  function copyReference(reference) {
@@ -5063,10 +5071,6 @@ window.__ModuleLoader__.load({
5063
5071
  }
5064
5072
  return "";
5065
5073
  }
5066
- /** A claimed name may stand alone; arguments require the token's separator. */
5067
- function retainsClaim(draft, token) {
5068
- return draft.startsWith(token) || draft === token.trimEnd();
5069
- }
5070
5074
  /** Pure phase, claim, and attempt owner for one Session input. */
5071
5075
  var SubmitMachine = class {
5072
5076
  phase = "plain";
@@ -5095,8 +5099,8 @@ window.__ModuleLoader__.load({
5095
5099
  */
5096
5100
  dispatch(ev) {
5097
5101
  switch (ev.type) {
5098
- case "draft-changed": return this.onDraftChanged(ev.draft);
5099
- case "claim": return this.onClaim(ev.claim);
5102
+ case "draft-changed": return this.followCommand(ev.command);
5103
+ case "claim": return this.followCommand(ev.claim);
5100
5104
  case "enter": return this.onEnter(ev.mode, ev.draft, ev.submission);
5101
5105
  case "adjudicated": return this.onAdjudicated(ev.attempt, ev.outcome);
5102
5106
  case "adjudication-failed": return this.onAdjudicationFailed(ev.attempt, ev.message);
@@ -5107,19 +5111,17 @@ window.__ModuleLoader__.load({
5107
5111
  default: return unreachable(ev);
5108
5112
  }
5109
5113
  }
5110
- /** The complete command name retains its claim with or without the argument separator. */
5111
- onDraftChanged(draft) {
5112
- if (this.phase === "claimed" && this.claim !== void 0 && !retainsClaim(draft, this.claim.token)) {
5113
- this.phase = "plain";
5114
- this.claim = void 0;
5115
- }
5116
- return [];
5117
- }
5118
- /** The editor applied a claim-token replacement; busy phases refuse another claim. */
5119
- onClaim(claim) {
5114
+ /**
5115
+ * Outside a transaction the claim follows the document's leading command
5116
+ * chip: deleting or displacing the chip releases it, and a history restore
5117
+ * of the chip re-enters claimed. The claim event applies the same rule to a
5118
+ * chip the editor just inserted, before its update commits; busy phases
5119
+ * refuse both.
5120
+ */
5121
+ followCommand(command) {
5120
5122
  if (this.phase !== "plain" && this.phase !== "claimed") return [];
5121
- this.claim = claim;
5122
- this.phase = "claimed";
5123
+ this.claim = command;
5124
+ this.phase = command === void 0 ? "plain" : "claimed";
5123
5125
  return [];
5124
5126
  }
5125
5127
  /** Mint an attempt and controller without assigning its lifecycle owner. */
@@ -5217,7 +5219,7 @@ window.__ModuleLoader__.load({
5217
5219
  text: message
5218
5220
  }];
5219
5221
  }
5220
- /** Claimed command settlement retains the frozen transaction semantics. */
5222
+ /** Claimed command settlement; after a failure the claim follows the leading command chip again. */
5221
5223
  onSubmitSettled(ev) {
5222
5224
  const flight = this.inflight;
5223
5225
  if (this.phase !== "submitting" || flight === void 0 || flight.attempt.seq !== ev.attempt.seq) return [];
@@ -5237,16 +5239,8 @@ window.__ModuleLoader__.load({
5237
5239
  return effects;
5238
5240
  }
5239
5241
  const text = ev.message ?? ev.outcome?.text;
5240
- if (ev.draft === flight.attempt.draftSnapshot && this.claim !== void 0 && retainsClaim(ev.draft, this.claim.token)) {
5241
- this.phase = "claimed";
5242
- return text === void 0 ? [] : [{
5243
- type: "notice",
5244
- level: "error",
5245
- text
5246
- }];
5247
- }
5248
- this.phase = "plain";
5249
- this.claim = void 0;
5242
+ this.claim = ev.command;
5243
+ this.phase = ev.command === void 0 ? "plain" : "claimed";
5250
5244
  return text === void 0 ? [] : [{
5251
5245
  type: "notice",
5252
5246
  level: "error",
@@ -13606,7 +13600,7 @@ window.__ModuleLoader__.load({
13606
13600
  };
13607
13601
  //#endregion
13608
13602
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-conversation/src/client/input/editor/composer-editor.module.css.mjs
13609
- const css$7 = ".FPsYDa_reference{border-radius:var(--dsw-radius-sm);line-height:inherit;vertical-align:baseline;color:var(--dsw-alias-state-business-primary);-webkit-box-decoration-break:clone;box-decoration-break:clone;background:0 0;padding:0 4px}.FPsYDa_reference:hover{background:var(--dsw-alias-state-business-tertiary)}.FPsYDa_openable{cursor:pointer}.FPsYDa_textRef{max-width:100%;display:inline-block}";
13603
+ const css$7 = ".FPsYDa_reference{border-radius:var(--dsw-radius-sm);line-height:inherit;vertical-align:baseline;color:var(--dsw-alias-state-business-primary);-webkit-box-decoration-break:clone;box-decoration-break:clone;background:0 0;padding:0 4px}.FPsYDa_reference:hover{background:var(--dsw-alias-state-business-tertiary)}.FPsYDa_openable{cursor:pointer}[data-composer-command][data-selected]>.FPsYDa_reference{background:var(--dsw-alias-state-business-tertiary)}.FPsYDa_textRef{max-width:100%;display:inline-block}";
13610
13604
  const tagId$7 = "@deepseek-ai/dsh-client-ui-conversation/composer-editor.module.css";
13611
13605
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$7) + "]") === null) {
13612
13606
  const tag = document.createElement("style");
@@ -14001,27 +13995,18 @@ window.__ModuleLoader__.load({
14001
13995
  }
14002
13996
  };
14003
13997
  /**
14004
- * Register the plain-text reference entity transform. The claim decoration
14005
- * has precedence on the leading-token seat: while a command claim holds, the
14006
- * claimed token must stay a plain TextNode (transforms register per concrete
14007
- * node class, so a TextRefNode would never receive the TextNode claim
14008
- * transform and the warn color would be lost).
13998
+ * Register the plain-text reference entity transform.
14009
13999
  * @param editor - the shell-owned editor.
14010
14000
  * @param lexiconOf - live per-trigger name-roll accessor (the controller's aggregated store).
14011
- * @param activeToken - live claim token accessor; null while unclaimed.
14012
14001
  * @returns the unregister disposer.
14013
14002
  */
14014
- function registerTextRefDecoration(editor, lexiconOf, activeToken) {
14003
+ function registerTextRefDecoration(editor, lexiconOf) {
14015
14004
  const getMatch = (text) => {
14016
- const claim = activeToken();
14017
- for (const range of scanTextRefs(text, lexiconOf())) {
14018
- if (claim !== null && range.start === 0 && text.slice(range.start, range.end) === claim.trimEnd()) continue;
14019
- return {
14020
- start: range.start,
14021
- end: range.end
14022
- };
14023
- }
14024
- return null;
14005
+ const range = scanTextRefs(text, lexiconOf())[0];
14006
+ return range === void 0 ? null : {
14007
+ start: range.start,
14008
+ end: range.end
14009
+ };
14025
14010
  };
14026
14011
  return Eu(...x(editor, getMatch, TextRefNode, (node) => new TextRefNode(node.getTextContent())));
14027
14012
  }
@@ -14063,54 +14048,230 @@ window.__ModuleLoader__.load({
14063
14048
  }, 1);
14064
14049
  }
14065
14050
  //#endregion
14066
- //#region lib/types/client/input/editor/claim-decor.js
14067
- /** Inline style carried by the claim-token node. */
14068
- const TOKEN_STYLE = "color: var(--dsw-alias-state-business-primary)";
14069
- /** The document's first text leaf, or null (empty document / leading chip). */
14070
- function firstTextLeaf() {
14071
- const block = nl().getFirstChild();
14072
- if (!Pi(block)) return null;
14073
- const leaf = block.getFirstChild();
14074
- return Xo(leaf) ? leaf : null;
14051
+ //#region lib/types/client/input/editor/CommandChip.js
14052
+ /**
14053
+ * Visual body of the claimed command chip: the CommandChipNode's React face.
14054
+ * Pure display with the reference chip's treatment; the claim and its
14055
+ * lifecycle live on the node and the shell.
14056
+ */
14057
+ /**
14058
+ * Render the claimed command chip.
14059
+ * @param props - the token to display.
14060
+ * @returns the chip body.
14061
+ */
14062
+ function CommandChip({ token }) {
14063
+ return (0, react_jsx_runtime.jsx)("span", {
14064
+ className: clsx(composer_editor_module_css_default.reference, ReferenceChip_module_css_default.chip),
14065
+ children: (0, react_jsx_runtime.jsx)("span", {
14066
+ className: ReferenceChip_module_css_default.label,
14067
+ children: token
14068
+ })
14069
+ });
14070
+ }
14071
+ //#endregion
14072
+ //#region lib/types/client/input/editor/command-chip-node.js
14073
+ /** One claimed command as an atomic decorator node. */
14074
+ var CommandChipNode = class CommandChipNode extends Li {
14075
+ /** The claim this chip anchors; its submit closure has no JSON form. */
14076
+ __claim;
14077
+ /** Lexical node registry type tag. */
14078
+ static getType() {
14079
+ return "command-chip";
14080
+ }
14081
+ /**
14082
+ * Clone with identity (Lexical writable-copy contract).
14083
+ * @param node - node to clone.
14084
+ * @returns a copy carrying the same NodeKey and claim.
14085
+ */
14086
+ static clone(node) {
14087
+ return new CommandChipNode(node.__claim, node.__key);
14088
+ }
14089
+ /**
14090
+ * Rebuild one chip from its JSON form. JSON cannot carry the claim's
14091
+ * submit closure, so an imported command is its literal token text.
14092
+ * @param json - serialized chip.
14093
+ * @returns a plain text node holding the token.
14094
+ */
14095
+ static importJSON(json) {
14096
+ return Go(json.text);
14097
+ }
14098
+ /**
14099
+ * @param claim - the command claim the chip anchors.
14100
+ * @param key - Lexical clone-path key; absent for fresh nodes.
14101
+ */
14102
+ constructor(claim, key) {
14103
+ super(key);
14104
+ this.__claim = claim;
14105
+ }
14106
+ /** Serialize to the JSON node form (the token text alone). */
14107
+ exportJSON() {
14108
+ return {
14109
+ ...super.exportJSON(),
14110
+ type: "command-chip",
14111
+ version: 1,
14112
+ text: this.getTextContent()
14113
+ };
14114
+ }
14115
+ /**
14116
+ * Mount the chip's host element; the decorator portal renders into it.
14117
+ * @returns an inline, non-editable span carrying the test/e2e anchor.
14118
+ */
14119
+ createDOM() {
14120
+ const el = document.createElement("span");
14121
+ el.setAttribute("data-composer-command", this.__claim.name);
14122
+ el.setAttribute("contenteditable", "false");
14123
+ return el;
14124
+ }
14125
+ /** Host element never changes shape. */
14126
+ updateDOM() {
14127
+ return false;
14128
+ }
14129
+ /** The chip sits in the text line. */
14130
+ isInline() {
14131
+ return true;
14132
+ }
14133
+ /**
14134
+ * Arrows step across the chip and the default character deletion removes
14135
+ * it whole, for the reason documented on ReferenceChipNode.isKeyboardSelectable;
14136
+ * registerCommandChipSelection inserts the selecting step before that deletion.
14137
+ */
14138
+ isKeyboardSelectable() {
14139
+ return false;
14140
+ }
14141
+ /** Clipboard / persistence projection: the token without its separator. */
14142
+ getTextContent() {
14143
+ return this.__claim.token.trimEnd();
14144
+ }
14145
+ /** The claim this chip anchors. */
14146
+ getClaim() {
14147
+ return this.getLatest().__claim;
14148
+ }
14149
+ /** React face rendered into the host element by the decorator portal. */
14150
+ decorate() {
14151
+ return (0, react_jsx_runtime.jsx)(CommandChip, { token: this.getTextContent() });
14152
+ }
14153
+ };
14154
+ /**
14155
+ * Mint one chip node for a claim.
14156
+ * @param claim - the command claim.
14157
+ * @returns the fresh node.
14158
+ */
14159
+ function $createCommandChipNode(claim) {
14160
+ return new CommandChipNode(claim);
14075
14161
  }
14076
14162
  /**
14077
- * Register the claim-token styling transform.
14163
+ * Command chip type guard.
14164
+ * @param node - any node or nullish.
14165
+ * @returns whether the node is a CommandChipNode.
14166
+ */
14167
+ function $isCommandChipNode(node) {
14168
+ return node instanceof CommandChipNode;
14169
+ }
14170
+ /** Replace a displaced chip with its literal token. */
14171
+ function $releaseChip(chip) {
14172
+ chip.replace(Go(chip.getTextContent()));
14173
+ }
14174
+ /**
14175
+ * Keep command chips on the leading seat. A chip anywhere but the first
14176
+ * child of the first block (text, a line break, or a block inserted before
14177
+ * it) becomes its literal token, which releases the claim. Inserting a
14178
+ * sibling before the chip or moving it to another block marks the chip dirty;
14179
+ * a block inserted before the chip's block marks only that block dirty.
14078
14180
  * @param editor - the shell-owned editor.
14079
- * @param activeToken - live claim token accessor; null while unclaimed.
14080
14181
  * @returns the unregister disposer.
14081
14182
  */
14082
- function registerClaimDecoration(editor, activeToken) {
14083
- return editor.registerNodeTransform(Wo, (node) => {
14084
- const first = firstTextLeaf();
14085
- if (first === null || node.getKey() !== first.getKey()) {
14086
- if (node.getStyle() === TOKEN_STYLE) node.setStyle("");
14087
- return;
14088
- }
14089
- const text = node.getTextContent();
14090
- const active = activeToken();
14091
- const token = text === active?.trimEnd() ? text : active;
14092
- if (token === null || !text.startsWith(token)) {
14093
- if (node.getStyle() === TOKEN_STYLE) node.setStyle("");
14094
- return;
14095
- }
14096
- if (text.length > token.length) {
14097
- const [tokenNode, overflow] = node.splitText(token.length);
14098
- if (tokenNode !== void 0 && tokenNode.getStyle() !== TOKEN_STYLE) tokenNode.setStyle(TOKEN_STYLE);
14099
- overflow?.setStyle("");
14100
- return;
14101
- }
14102
- if (node.getStyle() !== TOKEN_STYLE) node.setStyle(TOKEN_STYLE);
14103
- });
14183
+ function registerCommandChipSeat(editor) {
14184
+ return Eu(editor.registerNodeTransform(CommandChipNode, (chip) => {
14185
+ if (chip.getPreviousSibling() !== null || chip.getParentOrThrow().getPreviousSibling() !== null) $releaseChip(chip);
14186
+ }), editor.registerNodeTransform(Zi, (block) => {
14187
+ const first = block.getFirstChild();
14188
+ if ($isCommandChipNode(first) && block.getPreviousSibling() !== null) $releaseChip(first);
14189
+ }));
14190
+ }
14191
+ //#endregion
14192
+ //#region lib/types/client/input/editor/command-chip-selection.js
14193
+ /**
14194
+ * Keys that never clear a selected chip by themselves: bare modifiers, and
14195
+ * IME or virtual-keyboard keys whose deletion arrives later as an input event.
14196
+ */
14197
+ const PASSIVE_KEYS = new Set([
14198
+ "Shift",
14199
+ "Control",
14200
+ "Alt",
14201
+ "Meta",
14202
+ "Unidentified",
14203
+ "Process"
14204
+ ]);
14205
+ /** The chip a collapsed caret deletes next in one direction, or null. */
14206
+ function $commandChipBesideCaret(isBackward) {
14207
+ const selection = Kr();
14208
+ if (!ur(selection) || !selection.isCollapsed()) return null;
14209
+ const node = kl(selection.focus, isBackward);
14210
+ return $isCommandChipNode(node) ? node : null;
14211
+ }
14212
+ /** Deletion direction of an input event type; null for other input. */
14213
+ function deletionDirection(inputType) {
14214
+ if (inputType === "deleteContentBackward") return true;
14215
+ if (inputType === "deleteContentForward") return false;
14216
+ return null;
14104
14217
  }
14105
14218
  /**
14106
- * Nudge the token seat dirty so the transform restyles after a claim flip
14107
- * (claims change phase without a text edit; transforms only run on dirty
14108
- * nodes).
14219
+ * Register two-step deletion for the command chip.
14109
14220
  * @param editor - the shell-owned editor.
14221
+ * @returns the unregister disposer, which also clears a selected chip.
14110
14222
  */
14111
- function refreshClaimDecoration(editor) {
14112
- editor.update(() => {
14113
- firstTextLeaf()?.markDirty();
14223
+ function registerCommandChipSelection(editor) {
14224
+ let selected = null;
14225
+ /** A keydown with a selected chip whose dispatch has produced no character deletion yet. */
14226
+ let keyWithoutDeletion = false;
14227
+ const paint = (next) => {
14228
+ if (selected !== null && selected.key !== next?.key) editor.getElementByKey(selected.key)?.removeAttribute("data-selected");
14229
+ selected = next;
14230
+ if (next !== null) editor.getElementByKey(next.key)?.setAttribute("data-selected", "");
14231
+ editor.getRootElement()?.toggleAttribute("data-composer-chip-selected", next !== null);
14232
+ };
14233
+ const clear = () => {
14234
+ if (selected !== null) paint(null);
14235
+ return false;
14236
+ };
14237
+ /**
14238
+ * Decide one character deletion.
14239
+ * @param isBackward - deletion direction.
14240
+ * @param clearOnPass - whether letting the deletion run clears the selection here;
14241
+ * an input event leaves it for the deletion that follows.
14242
+ * @returns true when the deletion only selected the chip and must be consumed.
14243
+ */
14244
+ const $decide = (isBackward, clearOnPass) => {
14245
+ keyWithoutDeletion = false;
14246
+ const chip = $commandChipBesideCaret(isBackward);
14247
+ if (chip === null) return clear();
14248
+ if (selected?.key === chip.getKey() && selected.isBackward === isBackward) return clearOnPass ? clear() : false;
14249
+ paint({
14250
+ key: chip.getKey(),
14251
+ isBackward
14252
+ });
14253
+ return true;
14254
+ };
14255
+ return Eu(editor.registerCommand(ze$2, (event) => {
14256
+ const isBackward = deletionDirection(event.inputType);
14257
+ if (isBackward === null || !$decide(isBackward, false)) return false;
14258
+ event.preventDefault();
14259
+ return true;
14260
+ }, 3), editor.registerCommand($e$2, (isBackward) => $decide(isBackward, true), 3), editor.registerCommand(tn$2, (event) => {
14261
+ if (selected === null || PASSIVE_KEYS.has(event.key)) return false;
14262
+ keyWithoutDeletion = true;
14263
+ queueMicrotask(() => {
14264
+ if (!keyWithoutDeletion) return;
14265
+ keyWithoutDeletion = false;
14266
+ clear();
14267
+ });
14268
+ return false;
14269
+ }, 4), editor.registerCommand(Ke$2, clear, 4), editor.registerCommand(Mn$1, clear, 4), editor.registerUpdateListener(({ editorState }) => {
14270
+ const current = selected;
14271
+ if (current === null) return;
14272
+ paint(editorState.read(() => $commandChipBesideCaret(current.isBackward)?.getKey() === current.key) ? current : null);
14273
+ }), () => {
14274
+ paint(null);
14114
14275
  });
14115
14276
  }
14116
14277
  /**
@@ -14144,7 +14305,7 @@ window.__ModuleLoader__.load({
14144
14305
  const start = detect.length;
14145
14306
  const kids = element.getChildren();
14146
14307
  children.set(element.getKey(), kids.map((kid) => kid.getKey()));
14147
- for (const kid of kids) if ($isReferenceChipNode(kid)) pushLeaf("chip", kid, "", kid.getTextContent());
14308
+ for (const kid of kids) if ($isReferenceChipNode(kid) || $isCommandChipNode(kid)) pushLeaf("chip", kid, "", kid.getTextContent());
14148
14309
  else if (Xo(kid)) {
14149
14310
  const text = kid.getTextContent();
14150
14311
  pushLeaf("text", kid, text, text);
@@ -14260,6 +14421,7 @@ window.__ModuleLoader__.load({
14260
14421
  ...chip.isInvalid() ? { invalid: true } : {}
14261
14422
  });
14262
14423
  }
14424
+ const lead = layout.segments[0]?.node;
14263
14425
  const selection = Kr();
14264
14426
  let range = null;
14265
14427
  if (ur(selection)) {
@@ -14275,7 +14437,8 @@ window.__ModuleLoader__.load({
14275
14437
  clipboardText: layout.clipboardText,
14276
14438
  occurrences,
14277
14439
  selection: range,
14278
- caret: range !== null && range.start === range.end ? range.start : null
14440
+ caret: range !== null && range.start === range.end ? range.start : null,
14441
+ command: $isCommandChipNode(lead) ? lead.getClaim() : void 0
14279
14442
  };
14280
14443
  }
14281
14444
  //#endregion
@@ -14397,7 +14560,8 @@ window.__ModuleLoader__.load({
14397
14560
  clipboardText: "",
14398
14561
  occurrences: [],
14399
14562
  selection: null,
14400
- caret: null
14563
+ caret: null,
14564
+ command: void 0
14401
14565
  };
14402
14566
  /** Stable occurrence ids per chip NodeKey (undo restores keys, so ids survive it too). */
14403
14567
  occurrenceIds = /* @__PURE__ */ new Map();
@@ -14410,7 +14574,11 @@ window.__ModuleLoader__.load({
14410
14574
  this.deps = deps;
14411
14575
  this.editor = ys({
14412
14576
  namespace: "dsh-composer",
14413
- nodes: [ReferenceChipNode, TextRefNode],
14577
+ nodes: [
14578
+ ReferenceChipNode,
14579
+ CommandChipNode,
14580
+ TextRefNode
14581
+ ],
14414
14582
  onError: (error) => {
14415
14583
  throw error;
14416
14584
  }
@@ -14431,7 +14599,7 @@ window.__ModuleLoader__.load({
14431
14599
  return false;
14432
14600
  }, 4), this.editor.registerCommand(Ie$2, preserveExternalSelection, 4), this.editor.registerNodeTransform(zi, preserveExternalSelection), registerReferenceActivation(this.editor, (source, reference) => this.deps.openReference(source, reference)), O(this.editor, z(), HISTORY_MERGE_DELAY_MS), this.editor.registerUpdateListener(() => {
14433
14601
  this.deps.onUpdate();
14434
- }), registerClaimDecoration(this.editor, () => this.deps.activeClaimToken()), registerTextRefDecoration(this.editor, () => this.deps.lexicon(), () => this.deps.activeClaimToken()), () => {
14602
+ }), registerCommandChipSeat(this.editor), registerCommandChipSelection(this.editor), registerTextRefDecoration(this.editor, () => this.deps.lexicon()), () => {
14435
14603
  this.lexiconOff?.();
14436
14604
  this.lexiconOff = void 0;
14437
14605
  this.lexiconSource = void 0;
@@ -14595,6 +14763,24 @@ window.__ModuleLoader__.load({
14595
14763
  return applied;
14596
14764
  }
14597
14765
  /**
14766
+ * Replace a span with a command chip followed by the claim token's
14767
+ * argument separator, unless the separator already follows.
14768
+ * @param span - detect-coordinate range.
14769
+ * @param claim - the command claim the chip anchors.
14770
+ * @param tail - the character following the range before editing.
14771
+ * @param mergeHistory - merge into the previous history entry (a restored
14772
+ * draft's chip is part of its seed, not an undoable step).
14773
+ * @returns whether the range mapped and the edit applied.
14774
+ */
14775
+ insertCommand(span, claim, tail, mergeHistory = false) {
14776
+ const separator = claim.token.slice(claim.token.trimEnd().length);
14777
+ let applied = false;
14778
+ this.applyEdit(() => {
14779
+ applied = $replaceDetectSpanWithNodes(span, separator === "" || tail === separator.charAt(0) ? [$createCommandChipNode(claim)] : [$createCommandChipNode(claim), Go(separator)]);
14780
+ }, mergeHistory ? xo : void 0);
14781
+ return applied;
14782
+ }
14783
+ /**
14598
14784
  * Insert an ordered file-reference batch after the live selection without deleting it.
14599
14785
  * @param references - validated references in source order.
14600
14786
  * @returns whether the live insertion position accepted the batch.
@@ -14615,10 +14801,6 @@ window.__ModuleLoader__.load({
14615
14801
  }, Co);
14616
14802
  return applied;
14617
14803
  }
14618
- /** Refresh claim-token decoration after the model's claim changes. */
14619
- refreshClaimDecoration() {
14620
- refreshClaimDecoration(this.editor);
14621
- }
14622
14804
  /**
14623
14805
  * Clear committed content using the model's suffix decision inside the editor update.
14624
14806
  * @param prefixLength - returns the clipboard-prefix length to remove, or null to clear the root.
@@ -14701,6 +14883,7 @@ window.__ModuleLoader__.load({
14701
14883
  /** Whether two projections differ in content (selection and caret excluded). */
14702
14884
  function projectionContentChanged(prev, next) {
14703
14885
  if (prev.clipboardText !== next.clipboardText || prev.detectText !== next.detectText) return true;
14886
+ if (prev.command !== next.command) return true;
14704
14887
  if (prev.occurrences.length !== next.occurrences.length) return true;
14705
14888
  return next.occurrences.some((occ, i) => {
14706
14889
  const old = prev.occurrences[i];
@@ -14767,6 +14950,10 @@ window.__ModuleLoader__.load({
14767
14950
  disposed = false;
14768
14951
  /** Conversation store writer for the current semantic document. */
14769
14952
  persistDraft;
14953
+ /** A restored draft's command token waiting for the trigger pipeline, with the revision its restore produced. */
14954
+ pendingCommand;
14955
+ /** The in-flight claim resolution for a restored command chip. */
14956
+ commandRestore;
14770
14957
  /** The mounted composer's file-picker opener (scoped pick-files event target). */
14771
14958
  filePicker;
14772
14959
  /** Default sends retained until admission settles or scope disposal releases their attachments. */
@@ -14787,7 +14974,6 @@ window.__ModuleLoader__.load({
14787
14974
  this.onEditorUpdate();
14788
14975
  },
14789
14976
  openReference: (source, reference) => this.deps.inputTriggers?.()?.openReference(source, reference) ?? false,
14790
- activeClaimToken: () => this.activeClaimToken(),
14791
14977
  lexicon: () => this.lexicon.getSnapshot(),
14792
14978
  resolveLexicon: () => this.deps.inputTriggers?.()?.lexicon
14793
14979
  });
@@ -14797,7 +14983,7 @@ window.__ModuleLoader__.load({
14797
14983
  this.publish();
14798
14984
  });
14799
14985
  }
14800
- /** Re-project, run the claim watch, publish, and feed trigger tracking after every editor commit. */
14986
+ /** Re-project, sync the claim with the leading command chip, publish, and feed trigger tracking after every editor commit. */
14801
14987
  onEditorUpdate() {
14802
14988
  if (projectionContentChanged(this.draftEditor.refreshProjection(), this.projection)) {
14803
14989
  this.rev += 1;
@@ -14807,7 +14993,7 @@ window.__ModuleLoader__.load({
14807
14993
  }
14808
14994
  this.dispatchRun({
14809
14995
  type: "draft-changed",
14810
- draft: this.projection.clipboardText
14996
+ command: this.projection.command
14811
14997
  });
14812
14998
  }
14813
14999
  const caret = this.projection.caret;
@@ -14821,17 +15007,61 @@ window.__ModuleLoader__.load({
14821
15007
  */
14822
15008
  setDraft(text) {
14823
15009
  const draft = resolveDraftInput(text);
15010
+ this.cancelCommandRestore();
14824
15011
  if (draft.references.length === 0) this.draftEditor.setDraft(draft.text);
14825
15012
  else this.draftEditor.restoreDraft(draft.text, draft.references);
15013
+ if (draft.command === void 0) return;
15014
+ this.pendingCommand = {
15015
+ token: draft.command.token,
15016
+ rev: this.rev
15017
+ };
15018
+ this.restoreCommand();
14826
15019
  }
14827
- /** Reconnect optional catalog notifications without waiting for another edit. */
15020
+ /**
15021
+ * Reconnect optional catalog notifications and resume a pending command
15022
+ * chip restore without waiting for another edit.
15023
+ */
14828
15024
  refreshLexiconSubscription() {
14829
- if (!this.disposed) this.draftEditor.refreshLexiconSubscription();
15025
+ if (this.disposed) return;
15026
+ this.draftEditor.refreshLexiconSubscription();
15027
+ this.restoreCommand();
15028
+ }
15029
+ /**
15030
+ * Rebuild the command chip a restored draft carried once the trigger
15031
+ * pipeline can resolve its claim. The rebuild applies only at the revision
15032
+ * the restore produced: an edit made while the claim resolves keeps the
15033
+ * literal token, which Enter still adjudicates as the command.
15034
+ */
15035
+ restoreCommand() {
15036
+ const pending = this.pendingCommand;
15037
+ const inputTriggers = this.deps.inputTriggers?.();
15038
+ if (pending === void 0 || inputTriggers === void 0 || this.disposed) return;
15039
+ this.pendingCommand = void 0;
15040
+ const restore = new AbortController();
15041
+ this.commandRestore = restore;
15042
+ const spelling = pending.token.trimEnd();
15043
+ inputTriggers.resolveClaim(spelling, restore.signal).then((claim) => {
15044
+ if (restore.signal.aborted) return;
15045
+ this.commandRestore = void 0;
15046
+ if (claim !== void 0) this.applyClaim(claim, {
15047
+ start: 0,
15048
+ end: spelling.length,
15049
+ draftRev: pending.rev
15050
+ }, true);
15051
+ }, (_error) => {
15052
+ if (this.commandRestore === restore) this.commandRestore = void 0;
15053
+ });
15054
+ }
15055
+ /** Drop a pending or in-flight command chip restore. */
15056
+ cancelCommandRestore() {
15057
+ this.pendingCommand = void 0;
15058
+ this.commandRestore?.abort();
15059
+ this.commandRestore = void 0;
14830
15060
  }
14831
15061
  /** Current semantic document, stable until its content revision changes. */
14832
15062
  get draftSnapshot() {
14833
15063
  if (this.draftSnapshotCache?.revision === this.rev) return this.draftSnapshotCache.value;
14834
- const value = snapshotDraft(this.projection.clipboardText, this.projection.occurrences);
15064
+ const value = snapshotDraft(this.projection.clipboardText, this.projection.occurrences, this.projection.command?.token);
14835
15065
  this.draftSnapshotCache = {
14836
15066
  revision: this.rev,
14837
15067
  value
@@ -15038,21 +15268,30 @@ window.__ModuleLoader__.load({
15038
15268
  };
15039
15269
  /**
15040
15270
  * Apply one command claim (scoped begin-command event listener body): the
15041
- * editor replaces [0, span.end) with the claim token, then the machine
15042
- * enters claimed.
15271
+ * editor replaces [0, span.end) with the command chip and its separator,
15272
+ * then the machine enters claimed.
15043
15273
  * @param claim - the command claim from the pick path.
15044
15274
  * @param span - pick-time span snapshot (detect coordinates).
15045
15275
  * @returns whether the edit applied (phase, span CAS, and leading guard passed).
15046
15276
  */
15047
15277
  beginCommand(claim, span) {
15278
+ return this.applyClaim(claim, span, false);
15279
+ }
15280
+ /**
15281
+ * Replace [0, span.end) with the command chip and enter claimed.
15282
+ * @param mergeHistory - merge the edit into the previous history entry.
15283
+ * @returns whether the edit applied.
15284
+ */
15285
+ applyClaim(claim, span, mergeHistory) {
15048
15286
  const phase = this.core.state.phase;
15049
15287
  if (phase !== "plain" && phase !== "claimed") return false;
15050
15288
  if (span.draftRev !== this.rev) return false;
15051
15289
  if (this.projection.detectText.slice(0, span.start).trim() !== "") return false;
15052
- if (!this.draftEditor.replaceText({
15290
+ const tail = this.projection.detectText.slice(span.end, span.end + 1);
15291
+ if (!this.draftEditor.insertCommand({
15053
15292
  start: 0,
15054
15293
  end: span.end
15055
- }, claim.token)) return false;
15294
+ }, claim, tail, mergeHistory)) return false;
15056
15295
  this.dispatchRun({
15057
15296
  type: "claim",
15058
15297
  claim
@@ -15143,6 +15382,7 @@ window.__ModuleLoader__.load({
15143
15382
  flight.controller.abort();
15144
15383
  }
15145
15384
  this.disposed = true;
15385
+ this.cancelCommandRestore();
15146
15386
  this.dispatchRun({ type: "release" });
15147
15387
  this.unsubscribeInbox?.();
15148
15388
  this.unregister();
@@ -15193,17 +15433,9 @@ window.__ModuleLoader__.load({
15193
15433
  this.filePicker.open();
15194
15434
  return true;
15195
15435
  }
15196
- /** The claim token the decoration transform styles; null while unclaimed. */
15197
- activeClaimToken() {
15198
- const core = this.core.state;
15199
- return (core.phase === "claimed" || core.phase === "submitting") && core.claim !== void 0 ? core.claim.token : null;
15200
- }
15201
- /** Dispatch + execute, refreshing the claim decoration when the styled token flips. */
15436
+ /** Dispatch one machine event and execute its effects. */
15202
15437
  dispatchRun(ev) {
15203
- const beforeToken = this.activeClaimToken();
15204
- const effects = this.core.dispatch(ev);
15205
- this.run(effects);
15206
- if (this.activeClaimToken() !== beforeToken) this.draftEditor.refreshClaimDecoration();
15438
+ this.run(this.core.dispatch(ev));
15207
15439
  }
15208
15440
  run(effects) {
15209
15441
  for (const fx of effects) this.execute(fx);
@@ -15421,7 +15653,7 @@ window.__ModuleLoader__.load({
15421
15653
  type: "submit-settled",
15422
15654
  attempt,
15423
15655
  ok: outcome.kind === "success",
15424
- draft: this.projection.clipboardText,
15656
+ command: this.projection.command,
15425
15657
  outcome,
15426
15658
  ...outcome.kind === "error" && outcome.text === void 0 ? { message: "command failed" } : {}
15427
15659
  });
@@ -15432,7 +15664,7 @@ window.__ModuleLoader__.load({
15432
15664
  type: "submit-settled",
15433
15665
  attempt,
15434
15666
  ok: false,
15435
- draft: this.projection.clipboardText,
15667
+ command: this.projection.command,
15436
15668
  message
15437
15669
  });
15438
15670
  });
@@ -18490,7 +18722,7 @@ window.__ModuleLoader__.load({
18490
18722
  }
18491
18723
  //#endregion
18492
18724
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-conversation/src/client/skeleton/InputBar.module.css.mjs
18493
- 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);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary);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);border-radius:var(--dsw-radius-panel);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;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:\"\";box-sizing:border-box;border-radius:var(--dsw-radius-panel);color:var(--dsw-alias-border-l4);pointer-events:none;border:1px dashed;transition:color .1s;position:absolute;inset:0}.Uzaq8q_cardWorkspaceTrigger :disabled{pointer-events:none}.Uzaq8q_cardWorkspaceTrigger:hover:after{color: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_row[data-model-compact]{--dsh-composer-model-text-display:none;--dsh-composer-model-icon-display:block}.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}@container (width<=560px){.Uzaq8q_tools,.Uzaq8q_modes,.Uzaq8q_trailing{gap:8px}}.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{border-radius:var(--dsw-radius-sm);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;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{border-radius:var(--dsw-radius-sm);color:inherit;cursor:pointer;background:0 0;border:1px solid;margin-left:8px;padding:1px 8px;font-size:12px}.Uzaq8q_standardControls{align-items:center;gap:12px;min-width:0;display:flex}.Uzaq8q_tools[hidden],.Uzaq8q_standardControls[hidden]{display:none}.Uzaq8q_trailingActive{flex:1;margin-left:0}.Uzaq8q_activity{flex:none;align-items:center;display:flex}.Uzaq8q_activity:empty{display:none}.Uzaq8q_activityExpanded{flex:1;min-width:0}";
18725
+ 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);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary);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);border-radius:var(--dsw-radius-panel);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;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:\"\";box-sizing:border-box;border-radius:var(--dsw-radius-panel);color:var(--dsw-alias-border-l4);pointer-events:none;border:1px dashed;transition:color .1s;position:absolute;inset:0}.Uzaq8q_cardWorkspaceTrigger :disabled{pointer-events:none}.Uzaq8q_cardWorkspaceTrigger:hover:after{color: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-chip-selected]{caret-color:#0000}.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_row[data-model-compact]{--dsh-composer-model-text-display:none;--dsh-composer-model-icon-display:block}.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}@container (width<=560px){.Uzaq8q_tools,.Uzaq8q_modes,.Uzaq8q_trailing{gap:8px}}.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{border-radius:var(--dsw-radius-sm);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;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{border-radius:var(--dsw-radius-sm);color:inherit;cursor:pointer;background:0 0;border:1px solid;margin-left:8px;padding:1px 8px;font-size:12px}.Uzaq8q_standardControls{align-items:center;gap:12px;min-width:0;display:flex}.Uzaq8q_tools[hidden],.Uzaq8q_standardControls[hidden]{display:none}.Uzaq8q_trailingActive{flex:1;margin-left:0}.Uzaq8q_activity{flex:none;align-items:center;display:flex}.Uzaq8q_activity:empty{display:none}.Uzaq8q_activityExpanded{flex:1;min-width:0}";
18494
18726
  const tagId$1 = "@deepseek-ai/dsh-client-ui-conversation/InputBar.module.css";
18495
18727
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
18496
18728
  const tag = document.createElement("style");