@songtonyli/dsh-cli 0.1.30 → 0.1.32

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 (1814) hide show
  1. package/README.md +1 -1
  2. package/bin/dsh.mjs +1 -1
  3. package/node_modules/@deepseek-ai/cordis/README.md +4 -0
  4. package/node_modules/@deepseek-ai/cordis/package.json +4 -4
  5. package/node_modules/@deepseek-ai/cordis/src/index.ts +2 -0
  6. package/node_modules/@deepseek-ai/cordis-plugin-group/package.json +3 -3
  7. package/node_modules/@deepseek-ai/cordis-plugin-include/package.json +4 -4
  8. package/node_modules/@deepseek-ai/cordis-plugin-loader/README.md +4 -0
  9. package/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js +87 -7
  10. package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +4 -3
  11. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/diff.ts +45 -0
  12. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/entry.ts +53 -7
  13. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/index.ts +13 -1
  14. package/node_modules/@deepseek-ai/cordis-plugin-timer/package.json +3 -3
  15. package/node_modules/@deepseek-ai/cosmokit/README.md +6 -0
  16. package/node_modules/@deepseek-ai/cosmokit/lib/index.js +112 -19
  17. package/node_modules/@deepseek-ai/cosmokit/package.json +1 -1
  18. package/node_modules/@deepseek-ai/cosmokit/src/index.ts +2 -0
  19. package/node_modules/@deepseek-ai/cosmokit/src/types.ts +49 -23
  20. package/node_modules/@deepseek-ai/cosmokit/src/volatile.ts +86 -0
  21. package/node_modules/@deepseek-ai/dsh/README.i18n.yaml +2 -2
  22. package/node_modules/@deepseek-ai/dsh/README.md +1 -1
  23. package/node_modules/@deepseek-ai/dsh/README.zh.md +1 -1
  24. package/node_modules/@deepseek-ai/dsh/lib/bin.js +21 -5
  25. package/node_modules/@deepseek-ai/dsh/lib/{dump-config-Bb5YvFIX.js → dump-config-C-0P1h0W.js} +14 -3
  26. package/node_modules/@deepseek-ai/dsh/lib/dump-config-DaAE0NHG.js +2 -0
  27. package/node_modules/@deepseek-ai/dsh/lib/dump-config-schema-BgEU7VYz.js +41 -0
  28. package/node_modules/@deepseek-ai/dsh/lib/{plugin-DJ-rVHUS.js → plugin-CnNK4cws.js} +1 -1
  29. package/node_modules/@deepseek-ai/dsh/lib/{profile-boot-BNu17Y9U.js → profile-boot-DIiro1p-.js} +8 -15
  30. package/node_modules/@deepseek-ai/dsh/lib/profile-boot.js +1 -1
  31. package/node_modules/@deepseek-ai/dsh/package.json +113 -119
  32. package/node_modules/@deepseek-ai/dsh-acp/lib/index.js +7 -6
  33. package/node_modules/@deepseek-ai/dsh-acp/package.json +25 -25
  34. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
  35. package/node_modules/@deepseek-ai/dsh-agent/README.i18n.yaml +2 -2
  36. package/node_modules/@deepseek-ai/dsh-agent/README.md +3 -0
  37. package/node_modules/@deepseek-ai/dsh-agent/README.zh.md +3 -0
  38. package/node_modules/@deepseek-ai/dsh-agent/lib/index.js +40 -6
  39. package/node_modules/@deepseek-ai/dsh-agent/lib/types/archive-admission.js +35 -0
  40. package/node_modules/@deepseek-ai/dsh-agent/lib/types/consumed-work.js +5 -4
  41. package/node_modules/@deepseek-ai/dsh-agent/lib/types/index.js +4 -0
  42. package/node_modules/@deepseek-ai/dsh-agent/lib/types/model-selection.js +1 -2
  43. package/node_modules/@deepseek-ai/dsh-agent/package.json +27 -20
  44. package/node_modules/@deepseek-ai/dsh-agent-default-model/README.i18n.yaml +2 -2
  45. package/node_modules/@deepseek-ai/dsh-agent-default-model/README.md +9 -9
  46. package/node_modules/@deepseek-ai/dsh-agent-default-model/README.zh.md +9 -9
  47. package/node_modules/@deepseek-ai/dsh-agent-default-model/lib/index.js +26 -39
  48. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +10 -10
  49. package/node_modules/@deepseek-ai/dsh-agent-instructions/lib/index.js +3 -2
  50. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +25 -25
  51. package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +2 -2
  52. package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +3 -1
  53. package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +3 -1
  54. package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +39 -49
  55. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +26 -28
  56. package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset}/README.i18n.yaml +3 -3
  57. package/node_modules/@deepseek-ai/dsh-agent-preset/README.md +94 -0
  58. package/node_modules/@deepseek-ai/dsh-agent-preset/README.zh.md +94 -0
  59. package/node_modules/@deepseek-ai/dsh-agent-preset/lib/index.js +29 -0
  60. package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +49 -0
  61. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/SKILL.md +29 -0
  62. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +506 -0
  63. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/SKILL.md +38 -0
  64. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/host-plugin.md +60 -0
  65. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/mcp-bundle.md +5 -0
  66. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/ui-plugin.md +13 -0
  67. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/verification.md +5 -0
  68. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/client.js +22 -0
  69. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/cordis.patch.yml +3 -0
  70. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/index.js +2 -0
  71. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/package.json +15 -0
  72. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/mcp/cordis.patch.yml +8 -0
  73. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/mcp/package.json +7 -0
  74. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/editing-cordis-compositions/SKILL.md +84 -0
  75. package/node_modules/@deepseek-ai/{dsh-api-authorization-controller → dsh-agent-preset-registry}/README.i18n.yaml +3 -3
  76. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.md +107 -0
  77. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.zh.md +107 -0
  78. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/index.js +781 -0
  79. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/invariant.js +806 -0
  80. package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/typert.host.js +118 -270
  81. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.remote-client.js +84 -0
  82. package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/types/composition-inventory.js +9 -36
  83. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/definition.js +29 -0
  84. package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/types/display.js +12 -3
  85. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/index.js +371 -0
  86. package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/types/invariant.js +7 -19
  87. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/mount.js +243 -0
  88. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/preset.js +2 -0
  89. package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/types/session.js +1 -1
  90. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +96 -0
  91. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.i18n.yaml +2 -2
  92. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.md +3 -3
  93. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.zh.md +3 -3
  94. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +11 -11
  95. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
  96. package/node_modules/@deepseek-ai/{dsh-settings-file → dsh-api-account-controller}/README.i18n.yaml +3 -3
  97. package/node_modules/@deepseek-ai/dsh-api-account-controller/README.md +53 -0
  98. package/node_modules/@deepseek-ai/dsh-api-account-controller/README.zh.md +53 -0
  99. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/index.js +209 -0
  100. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.host.js +273 -0
  101. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.remote-client.js +267 -0
  102. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/types/index.js +116 -0
  103. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/types/types.js +2 -0
  104. package/node_modules/@deepseek-ai/{dsh-api-authorization-controller → dsh-api-account-controller}/package.json +13 -20
  105. package/node_modules/@deepseek-ai/dsh-api-gateway/README.i18n.yaml +2 -2
  106. package/node_modules/@deepseek-ai/dsh-api-gateway/README.md +9 -4
  107. package/node_modules/@deepseek-ai/dsh-api-gateway/README.zh.md +9 -4
  108. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.js +294 -51
  109. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/index.js +516 -92
  110. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/index.js +104 -14
  111. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/remote-events.js +2 -2
  112. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/stream-client.js +164 -11
  113. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/index.js +322 -33
  114. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/stream-protocol.js +10 -46
  115. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/stream-server.js +210 -23
  116. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +18 -13
  117. package/node_modules/@deepseek-ai/{dsh-llm-cursor → dsh-api-job-controller}/README.i18n.yaml +3 -3
  118. package/node_modules/@deepseek-ai/dsh-api-job-controller/README.md +69 -0
  119. package/node_modules/@deepseek-ai/dsh-api-job-controller/README.zh.md +69 -0
  120. package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/client.js +367 -0
  121. package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/index.js +377 -0
  122. package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/typert.host.js +273 -0
  123. package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/typert.remote-client.js +181 -0
  124. package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/client/index.js +23 -0
  125. package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/client/model.js +164 -0
  126. package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/client/service.js +182 -0
  127. package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/index.js +150 -0
  128. package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/observe.js +107 -0
  129. package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/rows.js +43 -0
  130. package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/types.js +8 -0
  131. package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/wake.js +59 -0
  132. package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +82 -0
  133. package/node_modules/@deepseek-ai/dsh-api-remotes/README.i18n.yaml +2 -2
  134. package/node_modules/@deepseek-ai/dsh-api-remotes/README.md +2 -0
  135. package/node_modules/@deepseek-ai/dsh-api-remotes/README.zh.md +2 -0
  136. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +1751 -1017
  137. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +7 -3
  138. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +40 -39
  139. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +2 -2
  140. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +31 -8
  141. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +31 -8
  142. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +603 -515
  143. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +299 -137
  144. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +373 -183
  145. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +216 -124
  146. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/archived-session-gate.js +52 -0
  147. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/lineage.js +2 -1
  148. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/manager.js +249 -277
  149. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/projection-store.js +45 -13
  150. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/service.js +35 -47
  151. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +112 -50
  152. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +72 -36
  153. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/control.js +2 -44
  154. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history.js +1 -1
  155. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +117 -13
  156. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/list.js +24 -15
  157. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/skill-catalog.js +60 -50
  158. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/types.js +0 -1
  159. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +68 -72
  160. package/node_modules/@deepseek-ai/dsh-api-settings-controller/README.i18n.yaml +2 -2
  161. package/node_modules/@deepseek-ai/dsh-api-settings-controller/README.md +1 -2
  162. package/node_modules/@deepseek-ai/dsh-api-settings-controller/README.zh.md +1 -2
  163. package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/index.js +6 -78
  164. package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.host.js +33 -99
  165. package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.remote-client.js +32 -80
  166. package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/types/index.js +6 -61
  167. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +16 -16
  168. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +50 -22
  169. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.remote-client.js +4 -4
  170. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +20 -19
  171. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.i18n.yaml +2 -2
  172. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.md +16 -2
  173. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.zh.md +16 -2
  174. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/client.js +98 -6
  175. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/index.js +202 -15
  176. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.host.js +161 -11
  177. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.remote-client.js +121 -8
  178. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/index.js +4 -1
  179. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/model.js +70 -2
  180. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/service.js +33 -3
  181. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/commands.js +45 -7
  182. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/default-directory.js +65 -0
  183. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/feed.js +9 -1
  184. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/index.js +62 -5
  185. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +21 -18
  186. package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.i18n.yaml +2 -2
  187. package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.md +26 -25
  188. package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.zh.md +26 -25
  189. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/client.js +41 -35
  190. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/index.js +129 -121
  191. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.host.js +72 -141
  192. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.remote-client.js +61 -120
  193. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/changes.js +106 -46
  194. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/client/change-feed.js +34 -27
  195. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/client/provider.js +13 -6
  196. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/index.js +32 -53
  197. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +15 -14
  198. package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +2 -2
  199. package/node_modules/@deepseek-ai/dsh-app-boot/README.md +33 -15
  200. package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +33 -15
  201. package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +1647 -681
  202. package/node_modules/@deepseek-ai/dsh-app-boot/lib/worker/profile-resolution-bootstrap.js +255 -357
  203. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +20 -18
  204. package/node_modules/@deepseek-ai/dsh-atomic-write/README.i18n.yaml +2 -2
  205. package/node_modules/@deepseek-ai/dsh-atomic-write/README.md +4 -4
  206. package/node_modules/@deepseek-ai/dsh-atomic-write/README.zh.md +4 -4
  207. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
  208. package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
  209. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +9 -9
  210. package/node_modules/@deepseek-ai/dsh-authorization/README.i18n.yaml +2 -2
  211. package/node_modules/@deepseek-ai/dsh-authorization/README.md +2 -0
  212. package/node_modules/@deepseek-ai/dsh-authorization/README.zh.md +2 -0
  213. package/node_modules/@deepseek-ai/dsh-authorization/lib/index.js +16 -4
  214. package/node_modules/@deepseek-ai/dsh-authorization/lib/types/index.js +19 -4
  215. package/node_modules/@deepseek-ai/dsh-authorization/package.json +9 -9
  216. package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +2 -2
  217. package/node_modules/@deepseek-ai/dsh-base/README.md +2 -0
  218. package/node_modules/@deepseek-ai/dsh-base/README.zh.md +2 -0
  219. package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +20 -26
  220. package/node_modules/@deepseek-ai/dsh-base/package.json +94 -94
  221. package/node_modules/@deepseek-ai/dsh-bash-local/README.i18n.yaml +2 -2
  222. package/node_modules/@deepseek-ai/dsh-bash-local/README.md +7 -6
  223. package/node_modules/@deepseek-ai/dsh-bash-local/README.zh.md +7 -6
  224. package/node_modules/@deepseek-ai/dsh-bash-local/lib/index.js +153 -202
  225. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -13
  226. package/node_modules/@deepseek-ai/dsh-bash-sandbox/README.i18n.yaml +2 -2
  227. package/node_modules/@deepseek-ai/dsh-bash-sandbox/README.md +3 -3
  228. package/node_modules/@deepseek-ai/dsh-bash-sandbox/README.zh.md +3 -3
  229. package/node_modules/@deepseek-ai/dsh-bash-sandbox/lib/index.js +58 -63
  230. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +14 -14
  231. package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
  232. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +3 -3
  233. package/node_modules/@deepseek-ai/dsh-client-connection/README.i18n.yaml +2 -2
  234. package/node_modules/@deepseek-ai/dsh-client-connection/README.md +7 -3
  235. package/node_modules/@deepseek-ai/dsh-client-connection/README.zh.md +7 -3
  236. package/node_modules/@deepseek-ai/dsh-client-connection/lib/client.js +169 -28
  237. package/node_modules/@deepseek-ai/dsh-client-connection/lib/index.js +98 -36
  238. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +13 -10
  239. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/client.js +8 -12
  240. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/index.js +1 -0
  241. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +46 -18
  242. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/types/client/runtime.js +5 -12
  243. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/types/protocol.js +5 -0
  244. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +14 -14
  245. package/node_modules/@deepseek-ai/dsh-client-hmr/README.i18n.yaml +2 -2
  246. package/node_modules/@deepseek-ai/dsh-client-hmr/README.md +2 -2
  247. package/node_modules/@deepseek-ai/dsh-client-hmr/README.zh.md +2 -2
  248. package/node_modules/@deepseek-ai/dsh-client-hmr/lib/client.js +6 -4
  249. package/node_modules/@deepseek-ai/dsh-client-hmr/lib/index.js +8 -5
  250. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +8 -8
  251. package/node_modules/@deepseek-ai/dsh-client-locale/README.i18n.yaml +2 -2
  252. package/node_modules/@deepseek-ai/dsh-client-locale/README.md +9 -1
  253. package/node_modules/@deepseek-ai/dsh-client-locale/README.zh.md +9 -1
  254. package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +225 -75
  255. package/node_modules/@deepseek-ai/dsh-client-locale/lib/index.js +9 -8
  256. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +13 -11
  257. package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +2 -2
  258. package/node_modules/@deepseek-ai/dsh-client-modules/README.md +2 -1
  259. package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +2 -1
  260. package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +57 -36
  261. package/node_modules/@deepseek-ai/dsh-client-modules/lib/invariant.js +2 -2
  262. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +8 -7
  263. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +7 -6
  264. package/node_modules/@deepseek-ai/dsh-client-store/LICENSE +21 -0
  265. package/node_modules/@deepseek-ai/{dsh-client-ui-settings-unarchive-sessions → dsh-client-store}/README.i18n.yaml +3 -3
  266. package/node_modules/@deepseek-ai/dsh-client-store/README.md +48 -0
  267. package/node_modules/@deepseek-ai/dsh-client-store/README.zh.md +48 -0
  268. package/node_modules/@deepseek-ai/dsh-client-store/lib/index.js +180 -0
  269. package/node_modules/@deepseek-ai/dsh-client-store/lib/types/contract.d.ts +121 -0
  270. package/node_modules/@deepseek-ai/dsh-client-store/lib/types/index.d.ts +92 -0
  271. package/node_modules/@deepseek-ai/dsh-client-store/package.json +37 -0
  272. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.i18n.yaml +2 -2
  273. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.md +13 -31
  274. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.zh.md +22 -40
  275. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +865 -1033
  276. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +21 -19
  277. package/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/client.js +3 -3
  278. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +14 -14
  279. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.i18n.yaml +2 -2
  280. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.md +1 -1
  281. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.zh.md +1 -1
  282. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +28 -8
  283. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +11 -11
  284. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +6 -6
  285. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +2 -2
  286. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +62 -10
  287. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +60 -10
  288. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +4808 -1393
  289. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/index.js +37 -10
  290. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +41 -37
  291. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +2 -2
  292. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +2 -0
  293. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +2 -0
  294. package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +20 -12
  295. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +17 -16
  296. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +2 -2
  297. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +19 -5
  298. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +19 -5
  299. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +1321 -349
  300. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/index.js +9 -8
  301. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +34 -32
  302. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.i18n.yaml +2 -2
  303. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.md +2 -2
  304. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.zh.md +2 -2
  305. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +28 -25
  306. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +14 -14
  307. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +2 -2
  308. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +14 -7
  309. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +14 -7
  310. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +628 -497
  311. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/index.js +17 -8
  312. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +31 -28
  313. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +7 -7
  314. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +9 -9
  315. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +5 -5
  316. package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.i18n.yaml +2 -2
  317. package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.md +3 -1
  318. package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.zh.md +3 -1
  319. package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +18 -9
  320. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +16 -16
  321. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +13 -7
  322. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +14 -13
  323. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +2 -2
  324. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +25 -18
  325. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +29 -22
  326. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +413 -63
  327. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/index.js +5 -5
  328. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +26 -23
  329. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.i18n.yaml +2 -2
  330. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.md +6 -2
  331. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.zh.md +6 -2
  332. package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +75 -4
  333. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +10 -9
  334. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/README.i18n.yaml +2 -2
  335. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/README.md +3 -3
  336. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/README.zh.md +3 -3
  337. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +15 -13
  338. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +18 -17
  339. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +2 -2
  340. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +4 -0
  341. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +4 -0
  342. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +12 -9
  343. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +17 -16
  344. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.i18n.yaml +2 -2
  345. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +20 -8
  346. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +20 -8
  347. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +530 -195
  348. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +25 -15
  349. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.i18n.yaml +2 -2
  350. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.md +1 -1
  351. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.zh.md +1 -1
  352. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +39 -100
  353. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +17 -16
  354. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.i18n.yaml +2 -2
  355. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.md +7 -5
  356. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.zh.md +8 -6
  357. package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +73 -60
  358. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +22 -21
  359. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +2 -2
  360. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +29 -8
  361. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +29 -8
  362. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +1095 -381
  363. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +16 -12
  364. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +2 -2
  365. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +25 -11
  366. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +25 -11
  367. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ConnectionIndicator.module.css +1 -10
  368. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/HoverCard.module.css +27 -0
  369. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Menu.module.css +68 -48
  370. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Modal.module.css +6 -2
  371. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/OnboardingSurface.module.css +1 -2
  372. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/PathLabel.module.css +28 -0
  373. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RiskConfirmation.module.css +1 -1
  374. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedControl.module.css +76 -0
  375. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedTabs.module.css +55 -0
  376. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/StateDot.module.css +64 -37
  377. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TerminalBlock.module.css +13 -6
  378. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TextShimmer.module.css +27 -0
  379. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Toast.module.css +31 -2
  380. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tooltip.module.css +12 -0
  381. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +5418 -2739
  382. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css +1 -1
  383. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/SettingsForm.module.css +53 -0
  384. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/fields.module.css +145 -0
  385. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ConfigField.d.ts +33 -0
  386. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DisclosureRow.d.ts +4 -1
  387. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCard.d.ts +14 -4
  388. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/LinkIcon.d.ts +15 -30
  389. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Menu.d.ts +50 -5
  390. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PathLabel.d.ts +13 -0
  391. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PermissionIcon.d.ts +39 -0
  392. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReferenceIcon.d.ts +12 -7
  393. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SegmentedControl.d.ts +35 -0
  394. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SegmentedTabs.d.ts +26 -0
  395. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SiteGlyph.d.ts +1 -1
  396. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/StateDot.d.ts +6 -4
  397. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TerminalBlock.d.ts +15 -3
  398. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TextShimmer.d.ts +13 -0
  399. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Toast.d.ts +19 -2
  400. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tooltip.d.ts +12 -2
  401. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-file-types.d.ts +1 -1
  402. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-highlighting.d.ts +19 -0
  403. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/index.d.ts +376 -195
  404. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/props.d.ts +1 -1
  405. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/shared-artwork.d.ts +36 -0
  406. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +21 -4
  407. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/overlay-top-margin.d.ts +14 -0
  408. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/plugin-artwork.d.ts +17 -0
  409. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/SettingsForm.d.ts +46 -0
  410. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/fields.d.ts +69 -0
  411. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/form-model.d.ts +214 -0
  412. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredMaxHeight.d.ts +4 -1
  413. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredPosition.d.ts +3 -1
  414. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +5 -3
  415. package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.i18n.yaml +2 -2
  416. package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.md +2 -0
  417. package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.zh.md +2 -0
  418. package/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/client.js +12 -3
  419. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +15 -15
  420. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/lib/client.js +7 -5
  421. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +5 -5
  422. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +2 -2
  423. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +1 -1
  424. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +1 -1
  425. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +7 -8
  426. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +12 -12
  427. package/node_modules/@deepseek-ai/dsh-client-ui-session/README.i18n.yaml +2 -2
  428. package/node_modules/@deepseek-ai/dsh-client-ui-session/README.md +2 -0
  429. package/node_modules/@deepseek-ai/dsh-client-ui-session/README.zh.md +2 -0
  430. package/node_modules/@deepseek-ai/dsh-client-ui-session/lib/client.js +2 -3
  431. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +10 -9
  432. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.i18n.yaml +2 -2
  433. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.md +20 -11
  434. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.zh.md +20 -11
  435. package/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/client.js +281 -117
  436. package/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/index.js +18 -4
  437. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +13 -10
  438. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +6 -0
  439. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +75 -0
  440. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +75 -0
  441. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2383 -0
  442. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/index.js +28 -0
  443. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +69 -0
  444. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/README.i18n.yaml +6 -0
  445. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/README.md +78 -0
  446. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/README.zh.md +78 -0
  447. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/lib/client.js +175 -0
  448. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/lib/index.js +12 -0
  449. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +60 -0
  450. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +2 -2
  451. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +17 -6
  452. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +17 -6
  453. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +166 -36
  454. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/index.js +8 -8
  455. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +19 -15
  456. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +2 -2
  457. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +14 -11
  458. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +25 -22
  459. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +1246 -180
  460. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/index.js +24 -4
  461. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +15 -10
  462. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.i18n.yaml +2 -2
  463. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.md +5 -3
  464. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.zh.md +5 -3
  465. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +116 -61
  466. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +14 -12
  467. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.i18n.yaml +2 -2
  468. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.md +11 -46
  469. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.zh.md +15 -50
  470. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +15 -1753
  471. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +10 -14
  472. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/README.i18n.yaml +6 -0
  473. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/README.md +78 -0
  474. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/README.zh.md +78 -0
  475. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/lib/client.js +199 -0
  476. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/lib/index.js +12 -0
  477. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +60 -0
  478. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +9 -8
  479. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/README.i18n.yaml +6 -0
  480. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/README.md +82 -0
  481. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/README.zh.md +82 -0
  482. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/lib/client.js +857 -0
  483. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/lib/index.js +13 -0
  484. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +61 -0
  485. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.i18n.yaml +6 -0
  486. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.md +79 -0
  487. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.zh.md +79 -0
  488. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/client.js +324 -0
  489. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/index.js +13 -0
  490. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +61 -0
  491. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +2 -2
  492. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +2 -2
  493. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +2 -2
  494. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +35 -28
  495. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +12 -13
  496. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.i18n.yaml +2 -2
  497. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.md +13 -12
  498. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.zh.md +13 -12
  499. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/client.js +1191 -429
  500. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +16 -9
  501. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +2 -2
  502. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +46 -20
  503. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +46 -20
  504. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.excel.js +133782 -0
  505. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +3766 -789
  506. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +37 -15
  507. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/index.js +13 -6
  508. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +34 -21
  509. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.i18n.yaml +2 -2
  510. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.md +11 -9
  511. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.zh.md +11 -9
  512. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/client.js +316 -106
  513. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +15 -13
  514. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.i18n.yaml +2 -2
  515. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.md +10 -7
  516. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +10 -7
  517. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +323 -111
  518. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +15 -14
  519. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.i18n.yaml +2 -2
  520. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.md +3 -3
  521. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.zh.md +3 -3
  522. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.js +24 -141
  523. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.terminal.js +1 -1
  524. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +16 -15
  525. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.i18n.yaml +2 -2
  526. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.md +3 -1
  527. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.zh.md +3 -1
  528. package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +25 -24
  529. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +15 -15
  530. package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +4 -4
  531. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +2 -2
  532. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +13 -7
  533. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +13 -7
  534. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +168 -260
  535. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +19 -19
  536. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +2 -2
  537. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +6 -4
  538. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +6 -4
  539. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +172 -70
  540. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/index.js +14 -27
  541. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/styles/Montserrat-OFL.txt +93 -0
  542. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/styles/brand-font.css +24 -0
  543. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/styles/montserrat-light.woff2 +0 -0
  544. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/styles/montserrat-medium.woff2 +0 -0
  545. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/styles/montserrat-regular.woff2 +0 -0
  546. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +17 -15
  547. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +2 -2
  548. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +10 -2
  549. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +10 -2
  550. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +1887 -204
  551. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +24 -23
  552. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.i18n.yaml +2 -2
  553. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.md +3 -1
  554. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +3 -1
  555. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +32 -44
  556. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +18 -17
  557. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.i18n.yaml +2 -2
  558. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.md +1 -1
  559. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.zh.md +1 -1
  560. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +19 -13
  561. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +20 -19
  562. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.i18n.yaml +2 -2
  563. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.md +1 -1
  564. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.zh.md +1 -1
  565. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +9 -8
  566. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +16 -15
  567. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +2 -2
  568. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +102 -11
  569. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +102 -11
  570. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +2182 -1015
  571. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +26 -22
  572. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
  573. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +12 -12
  574. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +15 -15
  575. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +14 -14
  576. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +46 -18
  577. package/node_modules/@deepseek-ai/dsh-commands/package.json +20 -20
  578. package/node_modules/@deepseek-ai/dsh-compaction/lib/index.js +2 -5
  579. package/node_modules/@deepseek-ai/dsh-compaction/lib/invariant.js +4 -22
  580. package/node_modules/@deepseek-ai/dsh-compaction/lib/types/checkpoint.js +2 -2
  581. package/node_modules/@deepseek-ai/dsh-compaction/lib/types/invariant.js +2 -3
  582. package/node_modules/@deepseek-ai/dsh-compaction/package.json +13 -13
  583. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.i18n.yaml +2 -2
  584. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.md +9 -8
  585. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.zh.md +9 -8
  586. package/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +50 -19
  587. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +27 -27
  588. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/lib/index.js +1 -7
  589. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/lib/types/image-offload.js +0 -3
  590. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/lib/types/project-message.js +0 -5
  591. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +18 -18
  592. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/lib/index.js +3 -7
  593. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +18 -18
  594. package/node_modules/@deepseek-ai/dsh-config-editor/README.i18n.yaml +6 -0
  595. package/node_modules/@deepseek-ai/dsh-config-editor/README.md +79 -0
  596. package/node_modules/@deepseek-ai/dsh-config-editor/README.zh.md +79 -0
  597. package/node_modules/@deepseek-ai/dsh-config-editor/lib/index.js +132 -0
  598. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +54 -0
  599. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +878 -170
  600. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +9 -9
  601. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/index.js +6 -68
  602. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +107 -51
  603. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.remote-client.js +15 -15
  604. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/index.js +5 -6
  605. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/sandbox.js +0 -27
  606. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +20 -20
  607. package/node_modules/@deepseek-ai/dsh-credentials/package.json +6 -6
  608. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +12 -12
  609. package/node_modules/@deepseek-ai/dsh-deepseek-account/README.i18n.yaml +6 -0
  610. package/node_modules/@deepseek-ai/dsh-deepseek-account/README.md +63 -0
  611. package/node_modules/@deepseek-ai/dsh-deepseek-account/README.zh.md +63 -0
  612. package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/index.js +35 -0
  613. package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/types/index.js +36 -0
  614. package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/types/types.js +2 -0
  615. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +42 -0
  616. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.i18n.yaml +6 -0
  617. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.md +96 -0
  618. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.zh.md +96 -0
  619. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/index.js +891 -0
  620. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/details.js +55 -0
  621. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/index.js +488 -0
  622. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/logout.js +34 -0
  623. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/protocol.js +210 -0
  624. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/types.js +2 -0
  625. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +52 -0
  626. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.i18n.yaml +2 -2
  627. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.md +1 -1
  628. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.zh.md +1 -1
  629. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +3 -3
  630. package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
  631. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +2 -2
  632. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +8 -4
  633. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +8 -4
  634. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/index.js +14 -74
  635. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/invariant.js +6 -8
  636. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.host.js +51 -189
  637. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.remote-client.js +3 -151
  638. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/client.js +1 -1
  639. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/index.js +0 -41
  640. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/projection.js +10 -10
  641. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/roster.js +8 -4
  642. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/en.json +6 -0
  643. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/zh.json +6 -0
  644. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +28 -26
  645. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.i18n.yaml +2 -2
  646. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.md +16 -4
  647. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.zh.md +16 -4
  648. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/cordis.patch.yml +3 -0
  649. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/icon.svg +12 -0
  650. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/en.json +6 -0
  651. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/zh.json +6 -0
  652. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +12 -7
  653. package/node_modules/@deepseek-ai/{dsh-experimental-agent-team-web-profile → dsh-experimental-api-speech-to-text}/README.i18n.yaml +3 -3
  654. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/README.md +78 -0
  655. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/README.zh.md +78 -0
  656. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/index.js +218 -0
  657. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.host.js +432 -0
  658. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.remote-client.js +311 -0
  659. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/types/index.js +142 -0
  660. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/types/types.js +2 -0
  661. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +60 -0
  662. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.i18n.yaml +2 -2
  663. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.md +11 -9
  664. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.zh.md +11 -9
  665. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +127 -562
  666. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/en.json +6 -0
  667. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/zh.json +6 -0
  668. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +30 -27
  669. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.i18n.yaml +6 -0
  670. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.md +76 -0
  671. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.zh.md +76 -0
  672. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/client.js +5714 -0
  673. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/index.js +6 -0
  674. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +92 -0
  675. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.i18n.yaml +6 -0
  676. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.md +80 -0
  677. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.zh.md +80 -0
  678. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/index.js +200 -0
  679. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/types/index.js +181 -0
  680. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/types/types.js +2 -0
  681. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/types/wave.js +24 -0
  682. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +57 -0
  683. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.i18n.yaml +6 -0
  684. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.md +82 -0
  685. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.zh.md +82 -0
  686. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/index.js +818 -0
  687. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/worker.js +219 -0
  688. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +53 -0
  689. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/runtime/assets.json +28 -0
  690. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +2 -2
  691. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +3 -3
  692. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +3 -3
  693. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +23 -24
  694. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/en.json +6 -0
  695. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/zh.json +6 -0
  696. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +27 -25
  697. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/README.i18n.yaml +6 -0
  698. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/README.md +77 -0
  699. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/README.zh.md +77 -0
  700. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/cordis.patch.yml +13 -0
  701. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/icon.svg +9 -0
  702. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/locale/en.json +6 -0
  703. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/locale/zh.json +6 -0
  704. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +54 -0
  705. package/node_modules/@deepseek-ai/dsh-file-reference/README.i18n.yaml +2 -2
  706. package/node_modules/@deepseek-ai/dsh-file-reference/README.md +1 -1
  707. package/node_modules/@deepseek-ai/dsh-file-reference/README.zh.md +1 -1
  708. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
  709. package/node_modules/@deepseek-ai/dsh-file-reference-local/README.i18n.yaml +2 -2
  710. package/node_modules/@deepseek-ai/dsh-file-reference-local/README.md +3 -4
  711. package/node_modules/@deepseek-ai/dsh-file-reference-local/README.zh.md +3 -4
  712. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +12 -12
  713. package/node_modules/@deepseek-ai/dsh-fs/README.i18n.yaml +2 -2
  714. package/node_modules/@deepseek-ai/dsh-fs/README.md +7 -5
  715. package/node_modules/@deepseek-ai/dsh-fs/README.zh.md +7 -5
  716. package/node_modules/@deepseek-ai/dsh-fs/lib/index.js +12 -0
  717. package/node_modules/@deepseek-ai/dsh-fs/package.json +11 -11
  718. package/node_modules/@deepseek-ai/dsh-fs-local/README.i18n.yaml +2 -2
  719. package/node_modules/@deepseek-ai/dsh-fs-local/README.md +6 -3
  720. package/node_modules/@deepseek-ai/dsh-fs-local/README.zh.md +6 -3
  721. package/node_modules/@deepseek-ai/dsh-fs-local/lib/index.js +27 -0
  722. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +8 -7
  723. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
  724. package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.i18n.yaml +2 -2
  725. package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.md +1 -1
  726. package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.zh.md +1 -1
  727. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +12 -12
  728. package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +46 -18
  729. package/node_modules/@deepseek-ai/dsh-goal/package.json +25 -25
  730. package/node_modules/@deepseek-ai/dsh-goal-round-driver/lib/index.js +2 -3
  731. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +17 -17
  732. package/node_modules/@deepseek-ai/dsh-headless/lib/index.js +1 -1
  733. package/node_modules/@deepseek-ai/dsh-headless/lib/{json-stream-Bh4BGGk9.js → json-stream-BA-F3lfb.js} +4 -4
  734. package/node_modules/@deepseek-ai/dsh-headless/lib/startup.js +1 -1
  735. package/node_modules/@deepseek-ai/dsh-headless/package.json +22 -22
  736. package/node_modules/@deepseek-ai/dsh-hmr/README.i18n.yaml +2 -2
  737. package/node_modules/@deepseek-ai/dsh-hmr/README.md +1 -1
  738. package/node_modules/@deepseek-ai/dsh-hmr/README.zh.md +1 -1
  739. package/node_modules/@deepseek-ai/dsh-hmr/package.json +15 -15
  740. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
  741. package/node_modules/@deepseek-ai/dsh-hook-protocol/lib/index.js +1 -1
  742. package/node_modules/@deepseek-ai/dsh-hook-protocol/package.json +9 -9
  743. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/lib/index.js +4 -7
  744. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/package.json +23 -23
  745. package/node_modules/@deepseek-ai/dsh-hooks-codex/lib/index.js +3 -6
  746. package/node_modules/@deepseek-ai/dsh-hooks-codex/package.json +21 -21
  747. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
  748. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +18 -18
  749. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +5 -5
  750. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +5 -5
  751. package/node_modules/@deepseek-ai/dsh-host-frontend-static/README.i18n.yaml +2 -2
  752. package/node_modules/@deepseek-ai/dsh-host-frontend-static/README.md +3 -1
  753. package/node_modules/@deepseek-ai/dsh-host-frontend-static/README.zh.md +3 -1
  754. package/node_modules/@deepseek-ai/dsh-host-frontend-static/lib/index.js +1 -1
  755. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
  756. package/node_modules/@deepseek-ai/dsh-host-open-in-app/README.i18n.yaml +2 -2
  757. package/node_modules/@deepseek-ai/dsh-host-open-in-app/README.md +2 -0
  758. package/node_modules/@deepseek-ai/dsh-host-open-in-app/README.zh.md +2 -0
  759. package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/index.js +28 -81
  760. package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/icons.js +4 -49
  761. package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/index.js +8 -8
  762. package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/resolver.js +8 -27
  763. package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/shared.js +16 -7
  764. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +9 -9
  765. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.i18n.yaml +2 -2
  766. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.md +8 -4
  767. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.zh.md +8 -4
  768. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/index.js +19 -11
  769. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.host.js +23 -4
  770. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.remote-client.js +23 -4
  771. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/types/index.js +18 -10
  772. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +14 -12
  773. package/node_modules/@deepseek-ai/dsh-host-webserver/README.i18n.yaml +2 -2
  774. package/node_modules/@deepseek-ai/dsh-host-webserver/README.md +1 -1
  775. package/node_modules/@deepseek-ai/dsh-host-webserver/README.zh.md +1 -1
  776. package/node_modules/@deepseek-ai/dsh-host-webserver/lib/index.js +1 -0
  777. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +4 -4
  778. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +4 -4
  779. package/node_modules/@deepseek-ai/dsh-invariants/README.i18n.yaml +2 -2
  780. package/node_modules/@deepseek-ai/dsh-invariants/README.md +1 -1
  781. package/node_modules/@deepseek-ai/dsh-invariants/README.zh.md +1 -1
  782. package/node_modules/@deepseek-ai/dsh-invariants/package.json +4 -4
  783. package/node_modules/@deepseek-ai/dsh-jobs/README.i18n.yaml +2 -2
  784. package/node_modules/@deepseek-ai/dsh-jobs/README.md +18 -11
  785. package/node_modules/@deepseek-ai/dsh-jobs/README.zh.md +18 -11
  786. package/node_modules/@deepseek-ai/dsh-jobs/lib/index.js +74 -16
  787. package/node_modules/@deepseek-ai/dsh-jobs/lib/invariant.js +67 -17
  788. package/node_modules/@deepseek-ai/dsh-jobs/lib/types/archive-admission.js +43 -0
  789. package/node_modules/@deepseek-ai/dsh-jobs/lib/types/index.js +34 -16
  790. package/node_modules/@deepseek-ai/dsh-jobs/lib/types/invariant.js +90 -27
  791. package/node_modules/@deepseek-ai/dsh-jobs/lib/types/types.js +3 -2
  792. package/node_modules/@deepseek-ai/dsh-jobs/lib/types/view.js +9 -0
  793. package/node_modules/@deepseek-ai/dsh-jobs/package.json +22 -11
  794. package/node_modules/@deepseek-ai/dsh-jobs-local/README.i18n.yaml +2 -2
  795. package/node_modules/@deepseek-ai/dsh-jobs-local/README.md +18 -11
  796. package/node_modules/@deepseek-ai/dsh-jobs-local/README.zh.md +17 -10
  797. package/node_modules/@deepseek-ai/dsh-jobs-local/lib/index.js +566 -193
  798. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +16 -16
  799. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
  800. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
  801. package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +2 -2
  802. package/node_modules/@deepseek-ai/dsh-llm/README.md +11 -8
  803. package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +11 -8
  804. package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +41 -97
  805. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +69 -13
  806. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.remote-client.js +3 -3
  807. package/node_modules/@deepseek-ai/dsh-llm/lib/types/assembler.js +4 -4
  808. package/node_modules/@deepseek-ai/dsh-llm/lib/types/content.js +12 -64
  809. package/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +3 -1
  810. package/node_modules/@deepseek-ai/dsh-llm/lib/types/message.js +21 -16
  811. package/node_modules/@deepseek-ai/dsh-llm/package.json +11 -11
  812. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +2 -2
  813. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +35 -49
  814. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +36 -50
  815. package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +1132 -2048
  816. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +53 -43
  817. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +2 -2
  818. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +12 -9
  819. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +11 -8
  820. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +84 -184
  821. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +30 -24
  822. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +25 -25
  823. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +23 -23
  824. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +14 -14
  825. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +19 -19
  826. package/node_modules/@deepseek-ai/dsh-native-command/README.i18n.yaml +2 -2
  827. package/node_modules/@deepseek-ai/dsh-native-command/README.md +8 -9
  828. package/node_modules/@deepseek-ai/dsh-native-command/README.zh.md +8 -9
  829. package/node_modules/@deepseek-ai/dsh-native-command/lib/index.js +612 -3
  830. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/desktop-entry.js +79 -0
  831. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/file-applications-linux.js +70 -0
  832. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/file-applications-windows.js +228 -0
  833. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/file-applications.js +191 -0
  834. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/index.js +10 -0
  835. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/path-opener.js +230 -0
  836. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/runner.js +27 -0
  837. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/types.js +25 -0
  838. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/url-opener.js +88 -0
  839. package/node_modules/@deepseek-ai/dsh-native-command/package.json +10 -5
  840. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/lib/index.js +33 -57
  841. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +15 -15
  842. package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.i18n.yaml +2 -2
  843. package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.md +2 -2
  844. package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.zh.md +2 -2
  845. package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/index.js +4 -4
  846. package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/typert.host.js +41 -3
  847. package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/typert.remote-client.js +39 -1
  848. package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/types/index.js +4 -3
  849. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +11 -11
  850. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
  851. package/node_modules/@deepseek-ai/dsh-package-manifest/README.i18n.yaml +2 -2
  852. package/node_modules/@deepseek-ai/dsh-package-manifest/README.md +3 -1
  853. package/node_modules/@deepseek-ai/dsh-package-manifest/README.zh.md +3 -1
  854. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
  855. package/node_modules/@deepseek-ai/dsh-permission-presets/README.i18n.yaml +2 -2
  856. package/node_modules/@deepseek-ai/dsh-permission-presets/README.md +1 -1
  857. package/node_modules/@deepseek-ai/dsh-permission-presets/README.zh.md +1 -1
  858. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/index.js +16 -35
  859. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +54 -20
  860. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.remote-client.js +7 -1
  861. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/types/index.js +14 -38
  862. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +23 -24
  863. package/node_modules/@deepseek-ai/dsh-persona/README.i18n.yaml +2 -2
  864. package/node_modules/@deepseek-ai/dsh-persona/README.md +1 -1
  865. package/node_modules/@deepseek-ai/dsh-persona/README.zh.md +1 -1
  866. package/node_modules/@deepseek-ai/dsh-persona/package.json +7 -7
  867. package/node_modules/@deepseek-ai/dsh-plan-mode/lib/index.js +1 -2
  868. package/node_modules/@deepseek-ai/dsh-plan-mode/lib/types/index.js +1 -1
  869. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +24 -24
  870. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +2 -2
  871. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +12 -2
  872. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +12 -2
  873. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +371 -74
  874. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +203 -29
  875. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +155 -15
  876. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +210 -70
  877. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/install-failure.js +1 -1
  878. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/install-spec.js +16 -2
  879. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +35 -5
  880. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/registry.js +95 -0
  881. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +5 -1
  882. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +37 -32
  883. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.i18n.yaml +2 -2
  884. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.md +1 -1
  885. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.zh.md +1 -1
  886. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/lib/index.js +1 -1
  887. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/lib/types/index.js +1 -1
  888. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +20 -20
  889. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
  890. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +23 -23
  891. package/node_modules/@deepseek-ai/dsh-pwsh-local/README.i18n.yaml +2 -2
  892. package/node_modules/@deepseek-ai/dsh-pwsh-local/README.md +6 -5
  893. package/node_modules/@deepseek-ai/dsh-pwsh-local/README.zh.md +6 -5
  894. package/node_modules/@deepseek-ai/dsh-pwsh-local/lib/index.js +161 -196
  895. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -13
  896. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/README.i18n.yaml +2 -2
  897. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/README.md +5 -5
  898. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/README.zh.md +5 -5
  899. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/lib/index.js +58 -63
  900. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +14 -14
  901. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +36 -60
  902. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +12 -12
  903. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
  904. package/node_modules/@deepseek-ai/dsh-sandbox-local/README.i18n.yaml +3 -3
  905. package/node_modules/@deepseek-ai/dsh-sandbox-local/README.md +3 -3
  906. package/node_modules/@deepseek-ai/dsh-sandbox-local/README.zh.md +3 -3
  907. package/node_modules/@deepseek-ai/dsh-sandbox-local/lib/index.js +3 -2
  908. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +12 -12
  909. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +16 -16
  910. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.i18n.yaml +3 -3
  911. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.md +19 -15
  912. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.zh.md +17 -13
  913. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/index.js +1 -1
  914. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/runner.js +1 -1
  915. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/{types-CutH1Lgc.js → types-DxezulnA.js} +267 -78
  916. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
  917. package/node_modules/@deepseek-ai/dsh-schedule/README.i18n.yaml +2 -2
  918. package/node_modules/@deepseek-ai/dsh-schedule/README.md +3 -1
  919. package/node_modules/@deepseek-ai/dsh-schedule/README.zh.md +4 -1
  920. package/node_modules/@deepseek-ai/dsh-schedule/lib/index.js +104 -37
  921. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/index.js +61 -5
  922. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/runtime.js +11 -1
  923. package/node_modules/@deepseek-ai/dsh-schedule/package.json +25 -23
  924. package/node_modules/@deepseek-ai/dsh-scope/package.json +5 -5
  925. package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +2 -2
  926. package/node_modules/@deepseek-ai/dsh-sdk-app/README.md +2 -0
  927. package/node_modules/@deepseek-ai/dsh-sdk-app/README.zh.md +2 -0
  928. package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +15 -0
  929. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +10 -8
  930. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +1 -1
  931. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +25 -25
  932. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +31 -31
  933. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +9 -9
  934. package/node_modules/@deepseek-ai/dsh-session/README.i18n.yaml +2 -2
  935. package/node_modules/@deepseek-ai/dsh-session/README.md +11 -9
  936. package/node_modules/@deepseek-ai/dsh-session/README.zh.md +12 -8
  937. package/node_modules/@deepseek-ai/dsh-session/lib/index.js +215 -125
  938. package/node_modules/@deepseek-ai/dsh-session/lib/invariant.js +4 -1
  939. package/node_modules/@deepseek-ai/dsh-session/lib/types/fork.js +28 -0
  940. package/node_modules/@deepseek-ai/dsh-session/lib/types/index.js +56 -61
  941. package/node_modules/@deepseek-ai/dsh-session/lib/types/invariant.js +5 -1
  942. package/node_modules/@deepseek-ai/dsh-session/lib/types/known-event-types.js +1 -0
  943. package/node_modules/@deepseek-ai/dsh-session/lib/types/repair.js +52 -23
  944. package/node_modules/@deepseek-ai/dsh-session/lib/types/surface.js +73 -17
  945. package/node_modules/@deepseek-ai/dsh-session/lib/types/types.js +1 -1
  946. package/node_modules/@deepseek-ai/dsh-session/package.json +15 -11
  947. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +18 -18
  948. package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
  949. package/node_modules/@deepseek-ai/dsh-session-format-catalog/README.i18n.yaml +2 -2
  950. package/node_modules/@deepseek-ai/dsh-session-format-catalog/README.md +5 -1
  951. package/node_modules/@deepseek-ai/dsh-session-format-catalog/README.zh.md +5 -1
  952. package/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/index.js +55 -10
  953. package/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/types/children.js +17 -0
  954. package/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/types/generated.js +25 -11
  955. package/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/types/historical.js +20 -0
  956. package/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/types/index.js +2 -0
  957. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -10
  958. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +6 -6
  959. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +8 -8
  960. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
  961. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.i18n.yaml +6 -0
  962. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.md +350 -0
  963. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.zh.md +350 -0
  964. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/lib/index.js +1552 -0
  965. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +51 -0
  966. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/index.js +1 -0
  967. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/types/index.js +1 -0
  968. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +19 -19
  969. package/node_modules/@deepseek-ai/dsh-session-log-export/README.i18n.yaml +2 -2
  970. package/node_modules/@deepseek-ai/dsh-session-log-export/README.md +6 -2
  971. package/node_modules/@deepseek-ai/dsh-session-log-export/README.zh.md +6 -2
  972. package/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +43 -20
  973. package/node_modules/@deepseek-ai/dsh-session-log-export/lib/index.js +48 -17
  974. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +25 -23
  975. package/node_modules/@deepseek-ai/dsh-session-persistence/lib/index.js +2 -0
  976. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
  977. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.i18n.yaml +2 -2
  978. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.md +6 -2
  979. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.zh.md +6 -2
  980. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/index.js +210 -45
  981. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +1456 -313
  982. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +14 -14
  983. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +5 -5
  984. package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.i18n.yaml +2 -2
  985. package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.md +2 -2
  986. package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.zh.md +2 -2
  987. package/node_modules/@deepseek-ai/dsh-session-projection-cache/lib/index.js +71 -51
  988. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +13 -13
  989. package/node_modules/@deepseek-ai/dsh-session-query/lib/index.js +4 -5
  990. package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
  991. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +13 -13
  992. package/node_modules/@deepseek-ai/dsh-session-reference/lib/index.js +5 -5
  993. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +47 -19
  994. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.remote-client.js +1 -1
  995. package/node_modules/@deepseek-ai/dsh-session-reference/lib/types/index.js +3 -7
  996. package/node_modules/@deepseek-ai/dsh-session-reference/lib/types/projection.js +1 -0
  997. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +39 -39
  998. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +11 -11
  999. package/node_modules/@deepseek-ai/dsh-session-telemetry/README.i18n.yaml +2 -2
  1000. package/node_modules/@deepseek-ai/dsh-session-telemetry/README.md +1 -1
  1001. package/node_modules/@deepseek-ai/dsh-session-telemetry/README.zh.md +1 -1
  1002. package/node_modules/@deepseek-ai/dsh-session-telemetry/lib/index.js +6 -5
  1003. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
  1004. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +23 -23
  1005. package/node_modules/@deepseek-ai/dsh-session-title/package.json +19 -19
  1006. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +17 -17
  1007. package/node_modules/@deepseek-ai/dsh-session-title-llm/lib/index.js +1 -4
  1008. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
  1009. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +11 -11
  1010. package/node_modules/@deepseek-ai/dsh-settings/README.i18n.yaml +2 -2
  1011. package/node_modules/@deepseek-ai/dsh-settings/README.md +19 -96
  1012. package/node_modules/@deepseek-ai/dsh-settings/README.zh.md +25 -102
  1013. package/node_modules/@deepseek-ai/dsh-settings/lib/index.js +360 -426
  1014. package/node_modules/@deepseek-ai/dsh-settings/lib/types/index.js +271 -512
  1015. package/node_modules/@deepseek-ai/dsh-settings/lib/types/redact.js +14 -8
  1016. package/node_modules/@deepseek-ai/dsh-settings/lib/types/schema.js +85 -0
  1017. package/node_modules/@deepseek-ai/dsh-settings/lib/types/types.js +1 -9
  1018. package/node_modules/@deepseek-ai/dsh-settings/package.json +21 -17
  1019. package/node_modules/@deepseek-ai/dsh-shell/README.i18n.yaml +2 -2
  1020. package/node_modules/@deepseek-ai/dsh-shell/README.md +17 -10
  1021. package/node_modules/@deepseek-ai/dsh-shell/README.zh.md +17 -10
  1022. package/node_modules/@deepseek-ai/dsh-shell/lib/index.js +19 -21
  1023. package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -9
  1024. package/node_modules/@deepseek-ai/dsh-shell-env/README.i18n.yaml +2 -2
  1025. package/node_modules/@deepseek-ai/dsh-shell-env/README.md +5 -5
  1026. package/node_modules/@deepseek-ai/dsh-shell-env/README.zh.md +5 -5
  1027. package/node_modules/@deepseek-ai/dsh-shell-env/lib/index.js +10 -1
  1028. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +14 -12
  1029. package/node_modules/@deepseek-ai/dsh-skill/package.json +9 -9
  1030. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +5 -5
  1031. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +10 -10
  1032. package/node_modules/@deepseek-ai/dsh-skill-office/README.i18n.yaml +6 -0
  1033. package/node_modules/@deepseek-ai/dsh-skill-office/README.md +100 -0
  1034. package/node_modules/@deepseek-ai/dsh-skill-office/README.zh.md +100 -0
  1035. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-docx/SKILL.md +46 -0
  1036. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-pptx/SKILL.md +70 -0
  1037. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-xlsx/SKILL.md +56 -0
  1038. package/node_modules/@deepseek-ai/dsh-skill-office/assets/scripts/check_office.py +279 -0
  1039. package/node_modules/@deepseek-ai/dsh-skill-office/lib/index.js +80 -0
  1040. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +43 -0
  1041. package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
  1042. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +11 -11
  1043. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +21 -21
  1044. package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
  1045. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +8 -8
  1046. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
  1047. package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +2 -2
  1048. package/node_modules/@deepseek-ai/dsh-subagent/README.md +9 -6
  1049. package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +9 -6
  1050. package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +301 -239
  1051. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +60 -89
  1052. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +2 -56
  1053. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/archive-admission.js +151 -0
  1054. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/catalog.js +12 -6
  1055. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/control-types.js +2 -3
  1056. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/control.js +2 -40
  1057. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +29 -91
  1058. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/lifecycle.js +14 -19
  1059. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/list-children.js +45 -49
  1060. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/projection.js +10 -4
  1061. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/run-settlement.js +1 -1
  1062. package/node_modules/@deepseek-ai/dsh-subagent/package.json +57 -54
  1063. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
  1064. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +18 -18
  1065. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +26 -26
  1066. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +20 -20
  1067. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
  1068. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +9 -9
  1069. package/node_modules/@deepseek-ai/dsh-system-prompt/lib/index.js +3 -3
  1070. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +10 -10
  1071. package/node_modules/@deepseek-ai/dsh-terminal/package.json +8 -8
  1072. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +20 -20
  1073. package/node_modules/@deepseek-ai/dsh-time-context/lib/index.js +2 -3
  1074. package/node_modules/@deepseek-ai/dsh-time-context/lib/invariant.js +4 -4
  1075. package/node_modules/@deepseek-ai/dsh-time-context/package.json +23 -23
  1076. package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
  1077. package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +35 -57
  1078. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +14 -14
  1079. package/node_modules/@deepseek-ai/dsh-token-meter/lib/index.js +0 -7
  1080. package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/estimate.js +0 -3
  1081. package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/surface-fold.js +0 -5
  1082. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +17 -17
  1083. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +11 -11
  1084. package/node_modules/@deepseek-ai/dsh-tool-bash/README.i18n.yaml +2 -2
  1085. package/node_modules/@deepseek-ai/dsh-tool-bash/README.md +16 -10
  1086. package/node_modules/@deepseek-ai/dsh-tool-bash/README.zh.md +16 -10
  1087. package/node_modules/@deepseek-ai/dsh-tool-bash/lib/index.js +421 -183
  1088. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +32 -32
  1089. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.i18n.yaml +2 -2
  1090. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.md +1 -1
  1091. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.zh.md +1 -1
  1092. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/lib/index.js +9 -3
  1093. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +22 -22
  1094. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +9 -9
  1095. package/node_modules/@deepseek-ai/dsh-tool-cordis/README.i18n.yaml +2 -2
  1096. package/node_modules/@deepseek-ai/dsh-tool-cordis/README.md +6 -5
  1097. package/node_modules/@deepseek-ai/dsh-tool-cordis/README.zh.md +6 -5
  1098. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/index.js +4 -9980
  1099. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +7809 -0
  1100. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/config.js +93 -0
  1101. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/host.js +17 -0
  1102. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/index.js +57 -0
  1103. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/present.js +16 -0
  1104. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/providers.js +85 -0
  1105. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +21 -12
  1106. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +30 -30
  1107. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +23 -23
  1108. package/node_modules/@deepseek-ai/dsh-tool-goal/lib/index.js +1 -2
  1109. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +20 -20
  1110. package/node_modules/@deepseek-ai/dsh-tool-jobs/README.i18n.yaml +2 -2
  1111. package/node_modules/@deepseek-ai/dsh-tool-jobs/README.md +9 -8
  1112. package/node_modules/@deepseek-ai/dsh-tool-jobs/README.zh.md +10 -9
  1113. package/node_modules/@deepseek-ai/dsh-tool-jobs/lib/index.js +110 -51
  1114. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +18 -18
  1115. package/node_modules/@deepseek-ai/dsh-tool-present/README.i18n.yaml +2 -2
  1116. package/node_modules/@deepseek-ai/dsh-tool-present/README.md +1 -1
  1117. package/node_modules/@deepseek-ai/dsh-tool-present/README.zh.md +1 -1
  1118. package/node_modules/@deepseek-ai/dsh-tool-present/lib/index.js +1 -1
  1119. package/node_modules/@deepseek-ai/dsh-tool-present/lib/types/index.js +5 -4
  1120. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +20 -20
  1121. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.i18n.yaml +2 -2
  1122. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.md +10 -5
  1123. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.zh.md +10 -5
  1124. package/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/index.js +440 -207
  1125. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +31 -31
  1126. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.i18n.yaml +2 -2
  1127. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.md +1 -1
  1128. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.zh.md +1 -1
  1129. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/lib/index.js +9 -3
  1130. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +23 -23
  1131. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +23 -23
  1132. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +15 -15
  1133. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +20 -20
  1134. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +2 -2
  1135. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +1 -1
  1136. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +1 -1
  1137. package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +2 -2
  1138. package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/model-selection-settings.js +12 -38
  1139. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +30 -32
  1140. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +2 -2
  1141. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +4 -4
  1142. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +4 -4
  1143. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +1 -1
  1144. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/index.js +1 -1
  1145. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/list-agents.js +10 -20
  1146. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +21 -21
  1147. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +20 -20
  1148. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +21 -21
  1149. package/node_modules/@deepseek-ai/dsh-tool-workflow/README.i18n.yaml +2 -2
  1150. package/node_modules/@deepseek-ai/dsh-tool-workflow/README.md +21 -8
  1151. package/node_modules/@deepseek-ai/dsh-tool-workflow/README.zh.md +21 -8
  1152. package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/index.js +179 -11
  1153. package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/types/index.js +147 -14
  1154. package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/types/record.js +43 -0
  1155. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +25 -21
  1156. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/README.i18n.yaml +6 -0
  1157. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/README.md +128 -0
  1158. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/README.zh.md +128 -0
  1159. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/lib/index.js +252 -0
  1160. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +44 -0
  1161. package/node_modules/@deepseek-ai/dsh-tools/README.i18n.yaml +2 -2
  1162. package/node_modules/@deepseek-ai/dsh-tools/README.md +4 -0
  1163. package/node_modules/@deepseek-ai/dsh-tools/README.zh.md +4 -0
  1164. package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +5 -6
  1165. package/node_modules/@deepseek-ai/dsh-tools/lib/types/index.js +2 -1
  1166. package/node_modules/@deepseek-ai/dsh-tools/lib/types/ptc.js +1 -1
  1167. package/node_modules/@deepseek-ai/dsh-tools/lib/types/schema.js +1 -0
  1168. package/node_modules/@deepseek-ai/dsh-tools/package.json +27 -27
  1169. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +2 -2
  1170. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +18 -16
  1171. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +18 -16
  1172. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +866 -144
  1173. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +75 -75
  1174. package/node_modules/@deepseek-ai/dsh-typert-loader/lib/index.js +1 -0
  1175. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +9 -9
  1176. package/node_modules/@deepseek-ai/dsh-typert-protocol/README.i18n.yaml +2 -2
  1177. package/node_modules/@deepseek-ai/dsh-typert-protocol/README.md +7 -2
  1178. package/node_modules/@deepseek-ai/dsh-typert-protocol/README.zh.md +7 -2
  1179. package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/index.js +66 -3
  1180. package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/index.js +20 -2
  1181. package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/json-value.js +61 -0
  1182. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +6 -3
  1183. package/node_modules/@deepseek-ai/dsh-typert-registry/lib/client.js +3 -0
  1184. package/node_modules/@deepseek-ai/dsh-typert-registry/lib/index.js +3 -0
  1185. package/node_modules/@deepseek-ai/dsh-typert-registry/lib/types/service.js +6 -0
  1186. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
  1187. package/node_modules/@deepseek-ai/dsh-user-approval/lib/index.js +1 -4
  1188. package/node_modules/@deepseek-ai/dsh-user-approval/lib/invariant.js +1 -4
  1189. package/node_modules/@deepseek-ai/dsh-user-approval/lib/types/index.js +1 -1
  1190. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +18 -18
  1191. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +9 -9
  1192. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
  1193. package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
  1194. package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
  1195. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
  1196. package/node_modules/@deepseek-ai/dsh-web/package.json +6 -6
  1197. package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +2 -2
  1198. package/node_modules/@deepseek-ai/dsh-web-app/README.md +9 -6
  1199. package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +9 -6
  1200. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +51 -29
  1201. package/node_modules/@deepseek-ai/dsh-web-app/lib/index.js +293 -1
  1202. package/node_modules/@deepseek-ai/dsh-web-app/package.json +150 -102
  1203. package/node_modules/@deepseek-ai/dsh-web-app/presets/cordis.patch.yml +154 -0
  1204. package/node_modules/@deepseek-ai/dsh-web-app/presets/minimal.patch.yml +61 -0
  1205. package/node_modules/@deepseek-ai/dsh-web-app/presets/ptc.patch.yml +152 -0
  1206. package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +146 -0
  1207. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +10 -10
  1208. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DU8FBaxM.js +127 -0
  1209. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Uv-aF9RH.css +1 -0
  1210. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/favicon-dark.svg +3 -0
  1211. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/favicon.svg +0 -5
  1212. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +4 -3
  1213. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/manifest.webmanifest +3 -4
  1214. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +15 -10
  1215. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.i18n.yaml +2 -2
  1216. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.md +4 -4
  1217. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.zh.md +4 -4
  1218. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/lib/index.js +21 -29
  1219. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +16 -18
  1220. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +9 -9
  1221. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +9 -9
  1222. package/node_modules/@deepseek-ai/dsh-webhook/lib/index.js +121 -50
  1223. package/node_modules/@deepseek-ai/dsh-webhook/lib/types/session.js +111 -46
  1224. package/node_modules/@deepseek-ai/dsh-webhook/package.json +25 -25
  1225. package/node_modules/@deepseek-ai/dsh-webhook-github/package.json +15 -15
  1226. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
  1227. package/node_modules/@deepseek-ai/dsh-workflow/package.json +13 -13
  1228. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +36 -36
  1229. package/node_modules/@deepseek-ai/dsh-workspace/README.i18n.yaml +2 -2
  1230. package/node_modules/@deepseek-ai/dsh-workspace/README.md +16 -4
  1231. package/node_modules/@deepseek-ai/dsh-workspace/README.zh.md +17 -4
  1232. package/node_modules/@deepseek-ai/dsh-workspace/lib/index.js +166 -25
  1233. package/node_modules/@deepseek-ai/dsh-workspace/lib/invariant.js +8 -3
  1234. package/node_modules/@deepseek-ai/dsh-workspace/lib/types/index.js +185 -21
  1235. package/node_modules/@deepseek-ai/dsh-workspace/lib/types/spec.js +11 -4
  1236. package/node_modules/@deepseek-ai/dsh-workspace/package.json +16 -16
  1237. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +16 -16
  1238. package/node_modules/@deepseek-ai/schemastery/README.md +4 -0
  1239. package/node_modules/@deepseek-ai/schemastery/lib/index.cjs +40 -1
  1240. package/node_modules/@deepseek-ai/schemastery/lib/index.mjs +41 -2
  1241. package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
  1242. package/node_modules/@deepseek-ai/schemastery/src/index.ts +93 -33
  1243. package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +0 -1
  1244. package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +0 -1
  1245. package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +0 -1
  1246. package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +0 -1
  1247. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +0 -1
  1248. package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js +0 -2
  1249. package/node_modules/@eslint-community/regexpp/LICENSE +21 -0
  1250. package/node_modules/@eslint-community/regexpp/README.md +177 -0
  1251. package/node_modules/@eslint-community/regexpp/index.js +3042 -0
  1252. package/node_modules/@eslint-community/regexpp/index.mjs +3032 -0
  1253. package/node_modules/@eslint-community/regexpp/package.json +71 -0
  1254. package/node_modules/ajv/.runkit_example.js +23 -0
  1255. package/node_modules/ajv/LICENSE +22 -0
  1256. package/node_modules/ajv/README.md +207 -0
  1257. package/node_modules/ajv/dist/2019.js +61 -0
  1258. package/node_modules/ajv/dist/2020.js +55 -0
  1259. package/node_modules/ajv/dist/ajv.js +50 -0
  1260. package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
  1261. package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
  1262. package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
  1263. package/node_modules/ajv/dist/compile/errors.js +123 -0
  1264. package/node_modules/ajv/dist/compile/index.js +242 -0
  1265. package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
  1266. package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
  1267. package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
  1268. package/node_modules/ajv/dist/compile/names.js +28 -0
  1269. package/node_modules/ajv/dist/compile/ref_error.js +12 -0
  1270. package/node_modules/ajv/dist/compile/resolve.js +155 -0
  1271. package/node_modules/ajv/dist/compile/rules.js +26 -0
  1272. package/node_modules/ajv/dist/compile/util.js +178 -0
  1273. package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
  1274. package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
  1275. package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
  1276. package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
  1277. package/node_modules/ajv/dist/compile/validate/index.js +520 -0
  1278. package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
  1279. package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
  1280. package/node_modules/ajv/dist/core.js +618 -0
  1281. package/node_modules/ajv/dist/jtd.js +72 -0
  1282. package/node_modules/ajv/dist/refs/data.json +13 -0
  1283. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
  1284. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
  1285. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
  1286. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
  1287. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
  1288. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  1289. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
  1290. package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
  1291. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
  1292. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
  1293. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
  1294. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
  1295. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  1296. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  1297. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  1298. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
  1299. package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
  1300. package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
  1301. package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
  1302. package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
  1303. package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
  1304. package/node_modules/ajv/dist/runtime/equal.js +7 -0
  1305. package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
  1306. package/node_modules/ajv/dist/runtime/quote.js +30 -0
  1307. package/node_modules/ajv/dist/runtime/re2.js +6 -0
  1308. package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
  1309. package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
  1310. package/node_modules/ajv/dist/runtime/uri.js +6 -0
  1311. package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
  1312. package/node_modules/ajv/dist/standalone/index.js +90 -0
  1313. package/node_modules/ajv/dist/standalone/instance.js +35 -0
  1314. package/node_modules/ajv/dist/types/index.js +3 -0
  1315. package/node_modules/ajv/dist/types/json-schema.js +3 -0
  1316. package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
  1317. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
  1318. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
  1319. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
  1320. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
  1321. package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
  1322. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
  1323. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
  1324. package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
  1325. package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
  1326. package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
  1327. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
  1328. package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
  1329. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
  1330. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
  1331. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
  1332. package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
  1333. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
  1334. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
  1335. package/node_modules/ajv/dist/vocabularies/code.js +131 -0
  1336. package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
  1337. package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
  1338. package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
  1339. package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
  1340. package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
  1341. package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
  1342. package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
  1343. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
  1344. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
  1345. package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
  1346. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
  1347. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
  1348. package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
  1349. package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
  1350. package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
  1351. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
  1352. package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
  1353. package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
  1354. package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
  1355. package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
  1356. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
  1357. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
  1358. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
  1359. package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
  1360. package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
  1361. package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
  1362. package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
  1363. package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
  1364. package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
  1365. package/node_modules/ajv/dist/vocabularies/next.js +8 -0
  1366. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
  1367. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
  1368. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
  1369. package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
  1370. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
  1371. package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
  1372. package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
  1373. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
  1374. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
  1375. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
  1376. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
  1377. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
  1378. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
  1379. package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
  1380. package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
  1381. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
  1382. package/node_modules/ajv/lib/2019.ts +81 -0
  1383. package/node_modules/ajv/lib/2020.ts +75 -0
  1384. package/node_modules/ajv/lib/ajv.ts +70 -0
  1385. package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
  1386. package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
  1387. package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
  1388. package/node_modules/ajv/lib/compile/errors.ts +184 -0
  1389. package/node_modules/ajv/lib/compile/index.ts +324 -0
  1390. package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
  1391. package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
  1392. package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
  1393. package/node_modules/ajv/lib/compile/names.ts +27 -0
  1394. package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
  1395. package/node_modules/ajv/lib/compile/resolve.ts +149 -0
  1396. package/node_modules/ajv/lib/compile/rules.ts +50 -0
  1397. package/node_modules/ajv/lib/compile/util.ts +213 -0
  1398. package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
  1399. package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
  1400. package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
  1401. package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
  1402. package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
  1403. package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
  1404. package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
  1405. package/node_modules/ajv/lib/core.ts +892 -0
  1406. package/node_modules/ajv/lib/jtd.ts +132 -0
  1407. package/node_modules/ajv/lib/refs/data.json +13 -0
  1408. package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
  1409. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
  1410. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
  1411. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
  1412. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
  1413. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  1414. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
  1415. package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
  1416. package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
  1417. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
  1418. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
  1419. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
  1420. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  1421. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  1422. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  1423. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
  1424. package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
  1425. package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
  1426. package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
  1427. package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
  1428. package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
  1429. package/node_modules/ajv/lib/runtime/equal.ts +7 -0
  1430. package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
  1431. package/node_modules/ajv/lib/runtime/quote.ts +31 -0
  1432. package/node_modules/ajv/lib/runtime/re2.ts +6 -0
  1433. package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
  1434. package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
  1435. package/node_modules/ajv/lib/runtime/uri.ts +6 -0
  1436. package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
  1437. package/node_modules/ajv/lib/standalone/index.ts +100 -0
  1438. package/node_modules/ajv/lib/standalone/instance.ts +36 -0
  1439. package/node_modules/ajv/lib/types/index.ts +244 -0
  1440. package/node_modules/ajv/lib/types/json-schema.ts +187 -0
  1441. package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
  1442. package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
  1443. package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
  1444. package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
  1445. package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
  1446. package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
  1447. package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
  1448. package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
  1449. package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
  1450. package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
  1451. package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
  1452. package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
  1453. package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
  1454. package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
  1455. package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
  1456. package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
  1457. package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
  1458. package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
  1459. package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
  1460. package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
  1461. package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
  1462. package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
  1463. package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
  1464. package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
  1465. package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
  1466. package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
  1467. package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
  1468. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
  1469. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
  1470. package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
  1471. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
  1472. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
  1473. package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
  1474. package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
  1475. package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
  1476. package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
  1477. package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
  1478. package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
  1479. package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
  1480. package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
  1481. package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
  1482. package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
  1483. package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
  1484. package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
  1485. package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
  1486. package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
  1487. package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
  1488. package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
  1489. package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
  1490. package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
  1491. package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
  1492. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
  1493. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
  1494. package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
  1495. package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
  1496. package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
  1497. package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
  1498. package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
  1499. package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
  1500. package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
  1501. package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
  1502. package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
  1503. package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
  1504. package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
  1505. package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
  1506. package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
  1507. package/node_modules/ajv/package.json +104 -0
  1508. package/node_modules/fast-uri/.gitattributes +2 -0
  1509. package/node_modules/fast-uri/.github/dependabot.yml +13 -0
  1510. package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
  1511. package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
  1512. package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
  1513. package/node_modules/fast-uri/LICENSE +30 -0
  1514. package/node_modules/fast-uri/README.md +152 -0
  1515. package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
  1516. package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
  1517. package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
  1518. package/node_modules/fast-uri/benchmark/package.json +17 -0
  1519. package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
  1520. package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
  1521. package/node_modules/fast-uri/eslint.config.js +6 -0
  1522. package/node_modules/fast-uri/index.js +631 -0
  1523. package/node_modules/fast-uri/lib/schemes.js +272 -0
  1524. package/node_modules/fast-uri/lib/utils.js +747 -0
  1525. package/node_modules/fast-uri/package.json +56 -0
  1526. package/node_modules/fast-uri/test/ajv.test.js +43 -0
  1527. package/node_modules/fast-uri/test/component-safe-serialization.test.js +163 -0
  1528. package/node_modules/fast-uri/test/equal.test.js +145 -0
  1529. package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +503 -0
  1530. package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
  1531. package/node_modules/fast-uri/test/ipv6-canonical.test.js +34 -0
  1532. package/node_modules/fast-uri/test/ipv6-validation.test.js +124 -0
  1533. package/node_modules/fast-uri/test/malformed-percent.test.js +77 -0
  1534. package/node_modules/fast-uri/test/malformed-urn.test.js +61 -0
  1535. package/node_modules/fast-uri/test/parse.test.js +327 -0
  1536. package/node_modules/fast-uri/test/query-fragment-normalization.test.js +33 -0
  1537. package/node_modules/fast-uri/test/reserved-path-normalization.test.js +109 -0
  1538. package/node_modules/fast-uri/test/resolve.test.js +87 -0
  1539. package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
  1540. package/node_modules/fast-uri/test/scheme-validation.test.js +124 -0
  1541. package/node_modules/fast-uri/test/security-normalization.test.js +178 -0
  1542. package/node_modules/fast-uri/test/security.test.js +431 -0
  1543. package/node_modules/fast-uri/test/serialize.test.js +151 -0
  1544. package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
  1545. package/node_modules/fast-uri/test/uri-js.test.js +912 -0
  1546. package/node_modules/fast-uri/test/urn-full-input.test.js +29 -0
  1547. package/node_modules/fast-uri/test/util.test.js +38 -0
  1548. package/node_modules/fast-uri/test/websocket-query-preservation.test.js +24 -0
  1549. package/node_modules/fast-uri/tsconfig.json +9 -0
  1550. package/node_modules/fast-uri/types/index.test-d.ts +17 -0
  1551. package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
  1552. package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
  1553. package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
  1554. package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
  1555. package/node_modules/json-schema-traverse/LICENSE +21 -0
  1556. package/node_modules/json-schema-traverse/README.md +95 -0
  1557. package/node_modules/json-schema-traverse/index.js +93 -0
  1558. package/node_modules/json-schema-traverse/package.json +38 -0
  1559. package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
  1560. package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
  1561. package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
  1562. package/node_modules/require-from-string/index.js +34 -0
  1563. package/node_modules/require-from-string/license +21 -0
  1564. package/node_modules/require-from-string/package.json +25 -0
  1565. package/node_modules/require-from-string/readme.md +56 -0
  1566. package/node_modules/sherpa-onnx-node/README.md +11 -0
  1567. package/node_modules/sherpa-onnx-node/addon-static-import.js +70 -0
  1568. package/node_modules/sherpa-onnx-node/addon.js +98 -0
  1569. package/node_modules/sherpa-onnx-node/audio-tagg.js +45 -0
  1570. package/node_modules/sherpa-onnx-node/keyword-spotter.js +68 -0
  1571. package/node_modules/sherpa-onnx-node/non-streaming-asr.js +158 -0
  1572. package/node_modules/sherpa-onnx-node/non-streaming-speaker-diarization.js +38 -0
  1573. package/node_modules/sherpa-onnx-node/non-streaming-speech-denoiser.js +32 -0
  1574. package/node_modules/sherpa-onnx-node/non-streaming-tts.js +116 -0
  1575. package/node_modules/sherpa-onnx-node/online-speech-denoiser.js +46 -0
  1576. package/node_modules/sherpa-onnx-node/package.json +56 -0
  1577. package/node_modules/sherpa-onnx-node/punctuation.js +43 -0
  1578. package/node_modules/sherpa-onnx-node/resampler.js +80 -0
  1579. package/node_modules/sherpa-onnx-node/sherpa-onnx.js +49 -0
  1580. package/node_modules/sherpa-onnx-node/speaker-identification.js +152 -0
  1581. package/node_modules/sherpa-onnx-node/spoken-language-identification.js +38 -0
  1582. package/node_modules/sherpa-onnx-node/streaming-asr.js +181 -0
  1583. package/node_modules/sherpa-onnx-node/types.js +788 -0
  1584. package/node_modules/sherpa-onnx-node/vad.js +134 -0
  1585. package/package.json +318 -272
  1586. package/node_modules/@bufbuild/protobuf/README.md +0 -41
  1587. package/node_modules/@bufbuild/protobuf/dist/commonjs/clone.js +0 -66
  1588. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/boot.js +0 -18
  1589. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/enum.js +0 -31
  1590. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/extension.js +0 -28
  1591. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/file.js +0 -18
  1592. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/index.js +0 -39
  1593. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/message.js +0 -24
  1594. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/service.js +0 -27
  1595. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/symbols.js +0 -43
  1596. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/types.js +0 -15
  1597. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/boot.js +0 -105
  1598. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/embed.js +0 -244
  1599. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/enum.js +0 -58
  1600. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/extension.js +0 -28
  1601. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/file.js +0 -35
  1602. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/index.js +0 -39
  1603. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/message.js +0 -24
  1604. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/restore-json-names.js +0 -29
  1605. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/scalar.js +0 -67
  1606. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/service.js +0 -27
  1607. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/symbols.js +0 -74
  1608. package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/types.js +0 -15
  1609. package/node_modules/@bufbuild/protobuf/dist/commonjs/create.js +0 -296
  1610. package/node_modules/@bufbuild/protobuf/dist/commonjs/descriptors.js +0 -53
  1611. package/node_modules/@bufbuild/protobuf/dist/commonjs/equals.js +0 -209
  1612. package/node_modules/@bufbuild/protobuf/dist/commonjs/extensions.js +0 -168
  1613. package/node_modules/@bufbuild/protobuf/dist/commonjs/fields.js +0 -45
  1614. package/node_modules/@bufbuild/protobuf/dist/commonjs/from-binary.js +0 -415
  1615. package/node_modules/@bufbuild/protobuf/dist/commonjs/from-json.js +0 -1037
  1616. package/node_modules/@bufbuild/protobuf/dist/commonjs/index.js +0 -55
  1617. package/node_modules/@bufbuild/protobuf/dist/commonjs/is-message.js +0 -33
  1618. package/node_modules/@bufbuild/protobuf/dist/commonjs/json-value.js +0 -15
  1619. package/node_modules/@bufbuild/protobuf/dist/commonjs/merge.js +0 -70
  1620. package/node_modules/@bufbuild/protobuf/dist/commonjs/package.json +0 -4
  1621. package/node_modules/@bufbuild/protobuf/dist/commonjs/proto-int64.js +0 -131
  1622. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/error.js +0 -36
  1623. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/guard.js +0 -78
  1624. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/index.js +0 -41
  1625. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/message.js +0 -157
  1626. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/names.js +0 -115
  1627. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/nested-types.js +0 -110
  1628. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/path.js +0 -376
  1629. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect-check.js +0 -292
  1630. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect-types.js +0 -16
  1631. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect.js +0 -469
  1632. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/scalar.js +0 -129
  1633. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/unsafe.js +0 -149
  1634. package/node_modules/@bufbuild/protobuf/dist/commonjs/registry.js +0 -954
  1635. package/node_modules/@bufbuild/protobuf/dist/commonjs/to-binary.js +0 -437
  1636. package/node_modules/@bufbuild/protobuf/dist/commonjs/to-json.js +0 -625
  1637. package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/from-text.js +0 -684
  1638. package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/index.js +0 -21
  1639. package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/is-group-like.js +0 -47
  1640. package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/reader.js +0 -481
  1641. package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/to-text.js +0 -358
  1642. package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/writer.js +0 -220
  1643. package/node_modules/@bufbuild/protobuf/dist/commonjs/types.js +0 -15
  1644. package/node_modules/@bufbuild/protobuf/dist/commonjs/unknown-enum.js +0 -26
  1645. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/base64-encoding.js +0 -188
  1646. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/binary-encoding.js +0 -726
  1647. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/index.js +0 -37
  1648. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/size-delimited.js +0 -191
  1649. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/text-encoding.js +0 -106
  1650. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/text-format.js +0 -199
  1651. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/varint.js +0 -334
  1652. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/any.js +0 -75
  1653. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/duration.js +0 -39
  1654. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/any_pb.js +0 -27
  1655. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/api_pb.js +0 -39
  1656. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -68
  1657. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/cpp_features_pb.js +0 -60
  1658. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/descriptor_pb.js +0 -892
  1659. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/duration_pb.js +0 -27
  1660. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/empty_pb.js +0 -27
  1661. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/field_mask_pb.js +0 -27
  1662. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/go_features_pb.js +0 -126
  1663. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/java_features_pb.js +0 -106
  1664. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/source_context_pb.js +0 -27
  1665. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/struct_pb.js +0 -59
  1666. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/timestamp_pb.js +0 -27
  1667. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/type_pb.js +0 -242
  1668. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/wrappers_pb.js +0 -67
  1669. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/index.js +0 -48
  1670. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/json.js +0 -44
  1671. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/timestamp.js +0 -57
  1672. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/wrappers.js +0 -66
  1673. package/node_modules/@bufbuild/protobuf/dist/esm/clone.js +0 -63
  1674. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/boot.js +0 -14
  1675. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.js +0 -26
  1676. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.js +0 -25
  1677. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.js +0 -14
  1678. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.js +0 -23
  1679. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.js +0 -21
  1680. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.js +0 -24
  1681. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.js +0 -40
  1682. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.js +0 -14
  1683. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/boot.js +0 -101
  1684. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +0 -239
  1685. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +0 -53
  1686. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +0 -25
  1687. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +0 -32
  1688. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +0 -23
  1689. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/message.js +0 -21
  1690. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/restore-json-names.js +0 -26
  1691. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +0 -63
  1692. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +0 -24
  1693. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +0 -71
  1694. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +0 -14
  1695. package/node_modules/@bufbuild/protobuf/dist/esm/create.js +0 -293
  1696. package/node_modules/@bufbuild/protobuf/dist/esm/descriptors.js +0 -50
  1697. package/node_modules/@bufbuild/protobuf/dist/esm/equals.js +0 -206
  1698. package/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +0 -159
  1699. package/node_modules/@bufbuild/protobuf/dist/esm/fields.js +0 -41
  1700. package/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +0 -409
  1701. package/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +0 -1029
  1702. package/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -29
  1703. package/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +0 -30
  1704. package/node_modules/@bufbuild/protobuf/dist/esm/json-value.js +0 -14
  1705. package/node_modules/@bufbuild/protobuf/dist/esm/merge.js +0 -67
  1706. package/node_modules/@bufbuild/protobuf/dist/esm/package.json +0 -4
  1707. package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +0 -128
  1708. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +0 -31
  1709. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +0 -71
  1710. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/index.js +0 -21
  1711. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/message.js +0 -152
  1712. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +0 -109
  1713. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +0 -105
  1714. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/path.js +0 -369
  1715. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js +0 -284
  1716. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.js +0 -14
  1717. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +0 -464
  1718. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +0 -124
  1719. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +0 -140
  1720. package/node_modules/@bufbuild/protobuf/dist/esm/registry.js +0 -948
  1721. package/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js +0 -433
  1722. package/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +0 -620
  1723. package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/from-text.js +0 -680
  1724. package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/index.js +0 -15
  1725. package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/is-group-like.js +0 -44
  1726. package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/reader.js +0 -477
  1727. package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/to-text.js +0 -355
  1728. package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/writer.js +0 -214
  1729. package/node_modules/@bufbuild/protobuf/dist/esm/types.js +0 -14
  1730. package/node_modules/@bufbuild/protobuf/dist/esm/unknown-enum.js +0 -23
  1731. package/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +0 -184
  1732. package/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js +0 -721
  1733. package/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +0 -18
  1734. package/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +0 -186
  1735. package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +0 -101
  1736. package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.js +0 -195
  1737. package/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js +0 -325
  1738. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +0 -69
  1739. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +0 -35
  1740. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +0 -24
  1741. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +0 -36
  1742. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -65
  1743. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +0 -57
  1744. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +0 -888
  1745. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +0 -24
  1746. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +0 -24
  1747. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +0 -24
  1748. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +0 -123
  1749. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +0 -103
  1750. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +0 -24
  1751. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +0 -56
  1752. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +0 -24
  1753. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +0 -239
  1754. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +0 -64
  1755. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +0 -32
  1756. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/json.js +0 -41
  1757. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +0 -50
  1758. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js +0 -61
  1759. package/node_modules/@bufbuild/protobuf/package.json +0 -136
  1760. package/node_modules/@deepseek-ai/dsh-agent-presets/README.md +0 -195
  1761. package/node_modules/@deepseek-ai/dsh-agent-presets/README.zh.md +0 -195
  1762. package/node_modules/@deepseek-ai/dsh-agent-presets/lib/index.js +0 -1820
  1763. package/node_modules/@deepseek-ai/dsh-agent-presets/lib/invariant.js +0 -1838
  1764. package/node_modules/@deepseek-ai/dsh-agent-presets/lib/typert.remote-client.js +0 -207
  1765. package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/authoring.js +0 -176
  1766. package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/discovery.js +0 -316
  1767. package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/index.js +0 -799
  1768. package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/metadata.js +0 -92
  1769. package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/mount.js +0 -386
  1770. package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/preset.js +0 -11
  1771. package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/specifier.js +0 -41
  1772. package/node_modules/@deepseek-ai/dsh-agent-presets/package.json +0 -98
  1773. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/agent.cordis.yml +0 -283
  1774. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/preset.yml +0 -3
  1775. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/skills/cordis-plugin-development/SKILL.md +0 -108
  1776. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/skills/editing-cordis-compositions/SKILL.md +0 -102
  1777. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/minimal/agent.cordis.yml +0 -69
  1778. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/minimal/preset.yml +0 -3
  1779. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/ptc/agent.cordis.yml +0 -287
  1780. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/ptc/preset.yml +0 -3
  1781. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/standard/agent.cordis.yml +0 -266
  1782. package/node_modules/@deepseek-ai/dsh-agent-presets/presets/standard/preset.yml +0 -3
  1783. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/README.md +0 -138
  1784. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/README.zh.md +0 -138
  1785. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/index.js +0 -501
  1786. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/typert.host.js +0 -350
  1787. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/typert.remote-client.js +0 -249
  1788. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/types/index.js +0 -424
  1789. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/types/types.js +0 -12
  1790. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/queue-mirror.js +0 -61
  1791. package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/README.md +0 -112
  1792. package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/README.zh.md +0 -112
  1793. package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/lib/client.js +0 -216
  1794. package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/lib/index.js +0 -6
  1795. package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/package.json +0 -66
  1796. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/README.md +0 -98
  1797. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/README.zh.md +0 -98
  1798. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/cordis.patch.yml +0 -6
  1799. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/package.json +0 -47
  1800. package/node_modules/@deepseek-ai/dsh-llm-cursor/README.md +0 -142
  1801. package/node_modules/@deepseek-ai/dsh-llm-cursor/README.zh.md +0 -142
  1802. package/node_modules/@deepseek-ai/dsh-llm-cursor/lib/index.js +0 -3050
  1803. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +0 -62
  1804. package/node_modules/@deepseek-ai/dsh-settings/lib/invariant.js +0 -35
  1805. package/node_modules/@deepseek-ai/dsh-settings/lib/types/invariant.js +0 -41
  1806. package/node_modules/@deepseek-ai/dsh-settings-file/README.md +0 -150
  1807. package/node_modules/@deepseek-ai/dsh-settings-file/README.zh.md +0 -150
  1808. package/node_modules/@deepseek-ai/dsh-settings-file/lib/index.js +0 -285
  1809. package/node_modules/@deepseek-ai/dsh-settings-file/package.json +0 -47
  1810. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-UEJ3Ntqn.js +0 -1511
  1811. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-8VXBH-f-.js +0 -127
  1812. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-lP1BfJ4l.css +0 -1
  1813. /package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/types/types.js +0 -0
  1814. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team-web-profile → dsh-experimental-voice-input-bundle}/lib/index.js +0 -0
@@ -7,333 +7,14 @@ window.__ModuleLoader__.load({
7
7
  let _deepseek_ai_dsh_client_ui_slots = require("@deepseek-ai/dsh-client-ui-slots");
8
8
  let react_jsx_runtime = require("react/jsx-runtime");
9
9
  let react = require("react");
10
- let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
11
- let _deepseek_ai_dsh_client_store = require("@deepseek-ai/dsh-client-store");
12
- //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-settings-plugins/src/client/fields.module.css.mjs
13
- const css$5 = ".ZRCKMG_field{flex-direction:column;gap:6px;padding:12px 0;display:flex}.ZRCKMG_field+.ZRCKMG_field{border-top:.5px solid var(--dsw-alias-border-l2)}.ZRCKMG_head{align-items:center;gap:8px;display:flex}.ZRCKMG_label{min-width:0;color:var(--dsw-alias-label-primary);flex:1;font-size:13px;font-weight:500;line-height:1.5}.ZRCKMG_labelGroup{flex:1;align-items:center;gap:4px;min-width:0;display:flex}.ZRCKMG_labelGroup>.ZRCKMG_label{flex:0 auto}.ZRCKMG_helpButton{width:24px;height:24px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.ZRCKMG_helpButton:hover,.ZRCKMG_helpButton[aria-expanded=true]{background:var(--dsw-alias-bg-layer-4);color:var(--dsw-alias-label-secondary)}.ZRCKMG_helpButton:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.ZRCKMG_help{color:var(--dsw-alias-label-secondary);padding:10px 0 0;font-size:12px;line-height:1.6}.ZRCKMG_help>p{margin:0}.ZRCKMG_help>p+p{margin-top:8px}.ZRCKMG_badges{align-items:center;gap:8px;display:inline-flex}.ZRCKMG_reset{font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;line-height:1.5}.ZRCKMG_reset:hover:not(:disabled){color:var(--dsw-alias-label-primary)}.ZRCKMG_reset:disabled{cursor:default}.ZRCKMG_input{border:.5px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-layer-3);height:34px;font:inherit;color:var(--dsw-alias-label-primary);border-radius:8px;padding:0 12px;font-size:13px;line-height:1.5}.ZRCKMG_input:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:none}.ZRCKMG_input:disabled{color:var(--dsw-alias-label-tertiary);cursor:default}.ZRCKMG_input[aria-invalid=true]{border-color:var(--dsw-alias-state-error-primary)}.ZRCKMG_invalid{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px;line-height:1.5}.ZRCKMG_hint{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:1.5}";
14
- const tagId$5 = "@deepseek-ai/dsh-client-ui-settings-plugins/fields.module.css";
15
- if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$5) + "]") === null) {
16
- const tag = document.createElement("style");
17
- tag.dataset.plugin = "@deepseek-ai/dsh-client-ui-settings-plugins";
18
- tag.dataset.pluginCss = tagId$5;
19
- tag.textContent = css$5;
20
- document.head.appendChild(tag);
21
- }
22
- var fields_module_css_default = {
23
- "badges": "ZRCKMG_badges",
24
- "field": "ZRCKMG_field",
25
- "head": "ZRCKMG_head",
26
- "help": "ZRCKMG_help",
27
- "helpButton": "ZRCKMG_helpButton",
28
- "hint": "ZRCKMG_hint",
29
- "input": "ZRCKMG_input",
30
- "invalid": "ZRCKMG_invalid",
31
- "label": "ZRCKMG_label",
32
- "labelGroup": "ZRCKMG_labelGroup",
33
- "reset": "ZRCKMG_reset"
34
- };
35
- //#endregion
36
- //#region lib/types/client/fields.js
37
- /**
38
- * Hand-written controls for the plugin configuration forms. Each renders one
39
- * field's label, its staged text, whether saving would leave an override, and
40
- * — when one stands — the reset that stages a clear back to the composition
41
- * layer. Nothing here writes: a control reports what the user typed, and the
42
- * card's save is the single point where a draft becomes a document mutation.
43
- */
44
- /**
45
- * A staged value field. `numeric` only hints the keypad: which drafts a field
46
- * accepts is decided by its spec, so the control never silently rewrites what
47
- * the user typed.
48
- * @param props - the field's copy, its staged text, and the edit actions.
49
- * @returns the labelled control.
50
- */
51
- function ValueField(props) {
52
- const [helpOpen, setHelpOpen] = (0, react.useState)(false);
53
- const helpId = `${props.id}-help`;
54
- const messageId = `${props.id}-message`;
55
- const hasMessage = props.invalid || Boolean(props.hint);
56
- const description = [hasMessage ? messageId : "", helpOpen ? helpId : ""].filter(Boolean).join(" ");
57
- return (0, react_jsx_runtime.jsxs)("div", {
58
- className: fields_module_css_default.field,
59
- children: [
60
- (0, react_jsx_runtime.jsxs)("div", {
61
- className: fields_module_css_default.head,
62
- children: [(0, react_jsx_runtime.jsxs)("div", {
63
- className: fields_module_css_default.labelGroup,
64
- children: [(0, react_jsx_runtime.jsx)("label", {
65
- className: fields_module_css_default.label,
66
- htmlFor: props.id,
67
- children: props.label
68
- }), props.help !== void 0 ? (0, react_jsx_runtime.jsx)("button", {
69
- type: "button",
70
- className: fields_module_css_default.helpButton,
71
- "aria-label": props.help.label,
72
- "aria-expanded": helpOpen,
73
- "aria-controls": helpId,
74
- onClick: () => {
75
- setHelpOpen(!helpOpen);
76
- },
77
- children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconInfoOutline14, { size: 12 })
78
- }) : null]
79
- }), props.overridden ? (0, react_jsx_runtime.jsxs)("span", {
80
- className: fields_module_css_default.badges,
81
- children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tag, {
82
- tone: "neutral",
83
- children: props.overriddenLabel
84
- }), (0, react_jsx_runtime.jsx)("button", {
85
- type: "button",
86
- className: fields_module_css_default.reset,
87
- disabled: props.disabled,
88
- onClick: props.onReset,
89
- children: props.resetLabel
90
- })]
91
- }) : null]
92
- }),
93
- (0, react_jsx_runtime.jsx)("input", {
94
- id: props.id,
95
- className: fields_module_css_default.input,
96
- type: "text",
97
- ...props.numeric === true ? { inputMode: "numeric" } : {},
98
- ...props.invalid ? { "aria-invalid": true } : {},
99
- "aria-describedby": description || void 0,
100
- value: props.text,
101
- placeholder: props.placeholder ?? "",
102
- disabled: props.disabled,
103
- onChange: (event) => {
104
- props.onEdit(event.target.value);
105
- }
106
- }),
107
- hasMessage ? (0, react_jsx_runtime.jsx)("p", {
108
- id: messageId,
109
- className: props.invalid ? fields_module_css_default.invalid : fields_module_css_default.hint,
110
- children: props.invalid ? props.invalidLabel : props.hint
111
- }) : null,
112
- props.help !== void 0 && helpOpen ? (0, react_jsx_runtime.jsx)("div", {
113
- id: helpId,
114
- className: fields_module_css_default.help,
115
- role: "region",
116
- "aria-label": props.help.label,
117
- children: props.help.content
118
- }) : null
119
- ]
120
- });
121
- }
122
- /**
123
- * A write-only credential control. The value never rides a response, so the
124
- * control reports only whether one is configured and starts blank; a blank
125
- * draft writes nothing, which keeps the stored key rather than clearing it.
126
- * @param props - the field's copy, its staged text, and the configured state.
127
- * @returns the labelled control.
128
- */
129
- function SecretField(props) {
130
- return (0, react_jsx_runtime.jsxs)("div", {
131
- className: fields_module_css_default.field,
132
- children: [
133
- (0, react_jsx_runtime.jsxs)("div", {
134
- className: fields_module_css_default.head,
135
- children: [(0, react_jsx_runtime.jsx)("label", {
136
- className: fields_module_css_default.label,
137
- htmlFor: props.id,
138
- children: props.label
139
- }), (0, react_jsx_runtime.jsx)("span", {
140
- className: fields_module_css_default.badges,
141
- children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tag, {
142
- tone: props.configured ? "neutral" : "quiet",
143
- children: props.stateLabel
144
- })
145
- })]
146
- }),
147
- (0, react_jsx_runtime.jsx)("input", {
148
- id: props.id,
149
- className: fields_module_css_default.input,
150
- type: "password",
151
- autoComplete: "off",
152
- value: props.text,
153
- disabled: props.disabled,
154
- onChange: (event) => {
155
- props.onEdit(event.target.value);
156
- }
157
- }),
158
- (0, react_jsx_runtime.jsx)("p", {
159
- className: fields_module_css_default.hint,
160
- children: props.hint
161
- })
162
- ]
163
- });
164
- }
165
- //#endregion
166
- //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-settings-plugins/src/client/PluginConfigForm.module.css.mjs
167
- const css$4 = ".fCMl4q_form{flex-direction:column;display:flex}.fCMl4q_readOnly,.fCMl4q_unavailable{color:var(--dsw-alias-label-tertiary);margin:0 0 12px;font-size:12px;line-height:1.5}.fCMl4q_footer{align-items:center;gap:8px;padding-top:16px;display:flex}.fCMl4q_failed{min-width:0;color:var(--dsw-alias-label-error);flex:1;margin:0;font-size:12px;line-height:1.5}.fCMl4q_save{appearance:none;font:inherit;cursor:pointer;background:var(--dsw-alias-label-primary);color:var(--dsw-alias-bg-layer-3);border:1px solid #0000;border-radius:8px;padding:5px 14px;font-size:13px;line-height:1.5}.fCMl4q_save:disabled{opacity:.4;cursor:default}.fCMl4q_save:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}";
168
- const tagId$4 = "@deepseek-ai/dsh-client-ui-settings-plugins/PluginConfigForm.module.css";
169
- if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
170
- const tag = document.createElement("style");
171
- tag.dataset.plugin = "@deepseek-ai/dsh-client-ui-settings-plugins";
172
- tag.dataset.pluginCss = tagId$4;
173
- tag.textContent = css$4;
174
- document.head.appendChild(tag);
175
- }
176
- var PluginConfigForm_module_css_default = {
177
- "failed": "fCMl4q_failed",
178
- "footer": "fCMl4q_footer",
179
- "form": "fCMl4q_form",
180
- "readOnly": "fCMl4q_readOnly",
181
- "save": "fCMl4q_save",
182
- "unavailable": "fCMl4q_unavailable"
183
- };
184
- //#endregion
185
- //#region lib/types/client/PluginConfigForm.js
186
- /**
187
- * One plugin's configuration form as its page on the Plugins page shows it:
188
- * the read-only notice when the deployment stores settings read-only, the
189
- * plugin's controls, and the save that writes every staged edit. The page
190
- * draws the plugin's title and one-liner itself.
191
- *
192
- * Only a save writes. Leaving the page drops every staged edit, so the form
193
- * discards on unmount and offers no discard control. A form whose namespace
194
- * the Host stopped serving says so in place of its controls rather than
195
- * showing fields nothing would accept.
196
- */
197
- /**
198
- * Render one plugin's configuration form.
199
- * @param props - the form state, its controls, and the save and discard actions.
200
- * @returns the form, or the unavailable line while the namespace is not served.
201
- */
202
- function PluginConfigForm(props) {
203
- const { state } = props;
204
- const discard = (0, react.useRef)(props.onDiscard);
205
- discard.current = props.onDiscard;
206
- (0, react.useEffect)(() => () => {
207
- discard.current();
208
- }, []);
209
- if (!state.available) return (0, react_jsx_runtime.jsx)("p", {
210
- className: PluginConfigForm_module_css_default.unavailable,
211
- role: "status",
212
- children: props.t("unavailable")
213
- });
214
- const blocked = !state.dirty || state.invalid || state.saving;
215
- return (0, react_jsx_runtime.jsxs)("div", {
216
- className: PluginConfigForm_module_css_default.form,
217
- children: [
218
- !state.writable ? (0, react_jsx_runtime.jsx)("p", {
219
- className: PluginConfigForm_module_css_default.readOnly,
220
- role: "status",
221
- children: props.t("readOnly")
222
- }) : null,
223
- props.children,
224
- (0, react_jsx_runtime.jsxs)("div", {
225
- className: PluginConfigForm_module_css_default.footer,
226
- children: [state.failed ? (0, react_jsx_runtime.jsx)("p", {
227
- className: PluginConfigForm_module_css_default.failed,
228
- role: "status",
229
- children: props.t("saveFailed")
230
- }) : null, (0, react_jsx_runtime.jsx)("button", {
231
- type: "button",
232
- className: PluginConfigForm_module_css_default.save,
233
- disabled: blocked,
234
- onClick: props.onSave,
235
- children: props.t(state.saving ? "saving" : "save")
236
- })]
237
- })
238
- ]
239
- });
240
- }
241
- //#endregion
242
- //#region lib/types/client/AgentLoopCard.js
243
- /**
244
- * Render the agent loop's one-liner or its configuration form, as the Plugins page asks.
245
- * @param props - the view asked for, locale copy, the form snapshot, and its actions.
246
- * @returns the one-liner, or the form.
247
- */
248
- function AgentLoopCard(props) {
249
- const { t } = props;
250
- const state = props.useAgentLoopCard((snapshot) => snapshot);
251
- if (props.view === "summary") return t("agentLoopDescription");
252
- return (0, react_jsx_runtime.jsx)(PluginConfigForm, {
253
- t,
254
- state,
255
- onSave: props.save,
256
- onDiscard: props.discard,
257
- children: (0, react_jsx_runtime.jsx)(ValueField, {
258
- id: "plugin-config-agent-loop-parallel",
259
- label: t("agentLoopMaxParallel"),
260
- hint: t("agentLoopMaxParallelHint"),
261
- overriddenLabel: t("overridden"),
262
- resetLabel: t("reset"),
263
- invalidLabel: t("invalidNumber"),
264
- numeric: true,
265
- disabled: !state.writable,
266
- ...state.maxParallelToolCalls,
267
- onEdit: (text) => {
268
- props.edit("maxParallelToolCalls", text);
269
- },
270
- onReset: () => {
271
- props.resetField("maxParallelToolCalls");
272
- }
273
- })
274
- });
275
- }
276
- //#endregion
277
- //#region lib/types/client/BashCard.js
278
- /**
279
- * Render the shell plugin's one-liner or its configuration form, as the Plugins page asks.
280
- * @param props - the view asked for, locale copy, the form snapshot, and its actions.
281
- * @returns the one-liner, or the form.
282
- */
283
- function BashCard(props) {
284
- const { t } = props;
285
- const state = props.useBashCard((snapshot) => snapshot);
286
- if (props.view === "summary") return t("bashDescription");
287
- const disabled = !state.writable;
288
- return (0, react_jsx_runtime.jsxs)(PluginConfigForm, {
289
- t,
290
- state,
291
- onSave: props.save,
292
- onDiscard: props.discard,
293
- children: [(0, react_jsx_runtime.jsx)(ValueField, {
294
- id: "plugin-config-bash-timeout",
295
- label: t("bashTimeoutMs"),
296
- hint: t("bashTimeoutMsHint"),
297
- overriddenLabel: t("overridden"),
298
- resetLabel: t("reset"),
299
- invalidLabel: t("invalidNumber"),
300
- numeric: true,
301
- disabled,
302
- ...state.timeoutMs,
303
- onEdit: (text) => {
304
- props.edit("timeoutMs", text);
305
- },
306
- onReset: () => {
307
- props.resetField("timeoutMs");
308
- }
309
- }), (0, react_jsx_runtime.jsx)(ValueField, {
310
- id: "plugin-config-bash-output",
311
- label: t("bashMaxOutputBytes"),
312
- hint: t("bashMaxOutputBytesHint"),
313
- overriddenLabel: t("overridden"),
314
- resetLabel: t("reset"),
315
- invalidLabel: t("invalidNumber"),
316
- numeric: true,
317
- disabled,
318
- ...state.maxOutputBytes,
319
- onEdit: (text) => {
320
- props.edit("maxOutputBytes", text);
321
- },
322
- onReset: () => {
323
- props.resetField("maxOutputBytes");
324
- }
325
- })]
326
- });
327
- }
328
- //#endregion
329
10
  //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-settings-plugins/src/client/PluginsSettingsSection.module.css.mjs
330
- const css$3 = "._0AKUKG_section{max-width:760px;color:var(--dsw-alias-label-primary);flex-direction:column;gap:12px;display:flex}._0AKUKG_heading{margin:0;font-size:18px;font-weight:600}._0AKUKG_intro{color:var(--dsw-alias-label-tertiary);margin:0;font-size:13px}._0AKUKG_tabs{border-bottom:.5px solid var(--dsw-alias-border-l2);align-items:flex-end;gap:22px;margin-top:2px;display:flex}._0AKUKG_tab{color:var(--dsw-alias-label-tertiary);font:inherit;cursor:pointer;background:0 0;border:0;padding:7px 1px 9px;font-size:13px;line-height:20px;position:relative}._0AKUKG_tab:hover,._0AKUKG_tab[data-active=true]{color:var(--dsw-alias-label-primary)}._0AKUKG_tab[data-active=true]:after,._0AKUKG_tab:focus-visible:after{background:var(--dsw-alias-label-primary);content:\"\";border-radius:2px 2px 0 0;height:2px;position:absolute;bottom:-1px;left:0;right:0}._0AKUKG_tab:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px;color:var(--dsw-alias-label-primary);border-radius:2px}._0AKUKG_panel{min-width:0;padding-top:2px}._0AKUKG_cards{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}._0AKUKG_empty{color:var(--dsw-alias-label-tertiary);margin:0;font-size:13px}._0AKUKG_configurable{flex-direction:column;gap:10px;display:flex}._0AKUKG_presetSettings{flex-direction:column;gap:8px;display:flex}._0AKUKG_presetSettingsTitle{margin:0;font-size:15px;font-weight:600;line-height:22px}";
331
- const tagId$3 = "@deepseek-ai/dsh-client-ui-settings-plugins/PluginsSettingsSection.module.css";
332
- if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$3) + "]") === null) {
11
+ const css = "._0AKUKG_section{max-width:760px;color:var(--dsw-alias-label-primary);flex-direction:column;gap:12px;display:flex}._0AKUKG_heading{margin:0;font-size:18px;font-weight:600}._0AKUKG_intro{color:var(--dsw-alias-label-tertiary);margin:0;font-size:13px}._0AKUKG_tabs{border-bottom:.5px solid var(--dsw-alias-border-l2);align-items:flex-end;gap:22px;margin-top:2px;display:flex}._0AKUKG_tab{color:var(--dsw-alias-label-tertiary);font:inherit;cursor:pointer;background:0 0;border:0;padding:7px 1px 9px;font-size:13px;line-height:20px;position:relative}._0AKUKG_tab:hover,._0AKUKG_tab[data-active=true]{color:var(--dsw-alias-label-primary)}._0AKUKG_tab[data-active=true]:after,._0AKUKG_tab:focus-visible:after{background:var(--dsw-alias-label-primary);content:\"\";border-radius:2px 2px 0 0;height:2px;position:absolute;bottom:-1px;left:0;right:0}._0AKUKG_tab:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px;color:var(--dsw-alias-label-primary);border-radius:2px}._0AKUKG_panel{min-width:0;padding-top:2px}._0AKUKG_cards{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}._0AKUKG_empty{color:var(--dsw-alias-label-tertiary);margin:0;font-size:13px}._0AKUKG_configurable{flex-direction:column;gap:10px;display:flex}._0AKUKG_presetSettings{flex-direction:column;gap:8px;display:flex}._0AKUKG_presetSettingsTitle{margin:0;font-size:15px;font-weight:600;line-height:22px}";
12
+ const tagId = "@deepseek-ai/dsh-client-ui-settings-plugins/PluginsSettingsSection.module.css";
13
+ if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
333
14
  const tag = document.createElement("style");
334
15
  tag.dataset.plugin = "@deepseek-ai/dsh-client-ui-settings-plugins";
335
- tag.dataset.pluginCss = tagId$3;
336
- tag.textContent = css$3;
16
+ tag.dataset.pluginCss = tagId;
17
+ tag.textContent = css;
337
18
  document.head.appendChild(tag);
338
19
  }
339
20
  var PluginsSettingsSection_module_css_default = {
@@ -447,1288 +128,15 @@ window.__ModuleLoader__.load({
447
128
  });
448
129
  }
449
130
  //#endregion
450
- //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-settings-plugins/src/client/SubagentLimitsFields.module.css.mjs
451
- const css$2 = ".ANqgLq_limits{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:16px;display:grid}.ANqgLq_limit{min-width:0}.ANqgLq_limit input{font-variant-numeric:tabular-nums;min-width:0}.ANqgLq_depthTable{border-collapse:collapse;border-block:.5px solid var(--dsw-alias-border-l2);width:100%;font:inherit;text-align:left;margin:8px 0}.ANqgLq_depthTable th,.ANqgLq_depthTable td{vertical-align:top;padding:6px 0}.ANqgLq_depthTable th{font-variant-numeric:tabular-nums;width:24px;color:var(--dsw-alias-label-primary);padding-right:8px;font-weight:500}.ANqgLq_depthTable tr+tr{border-top:.5px solid var(--dsw-alias-border-l2)}";
452
- const tagId$2 = "@deepseek-ai/dsh-client-ui-settings-plugins/SubagentLimitsFields.module.css";
453
- if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
454
- const tag = document.createElement("style");
455
- tag.dataset.plugin = "@deepseek-ai/dsh-client-ui-settings-plugins";
456
- tag.dataset.pluginCss = tagId$2;
457
- tag.textContent = css$2;
458
- document.head.appendChild(tag);
459
- }
460
- var SubagentLimitsFields_module_css_default = {
461
- "depthTable": "ANqgLq_depthTable",
462
- "limit": "ANqgLq_limit",
463
- "limits": "ANqgLq_limits"
464
- };
465
- //#endregion
466
- //#region lib/types/client/SubagentLimitsFields.js
467
- /**
468
- * Render the depth and capacity fields with their original validation and reset behavior.
469
- * @param props - Locale, staged fields, and edit callbacks.
470
- * @returns Two responsive fields and their application rules.
471
- */
472
- function SubagentLimitsFields(props) {
473
- const { t, state } = props;
474
- return (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: (0, react_jsx_runtime.jsxs)("div", {
475
- className: SubagentLimitsFields_module_css_default.limits,
476
- children: [(0, react_jsx_runtime.jsx)("div", {
477
- className: SubagentLimitsFields_module_css_default.limit,
478
- children: (0, react_jsx_runtime.jsx)(ValueField, {
479
- id: "plugin-config-subagent-depth",
480
- label: t("subagentMaxDepth"),
481
- help: {
482
- label: t("subagentDepthHelpLabel"),
483
- content: (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
484
- (0, react_jsx_runtime.jsx)("p", { children: t("subagentDepthHelp") }),
485
- (0, react_jsx_runtime.jsx)("table", {
486
- className: SubagentLimitsFields_module_css_default.depthTable,
487
- "aria-label": t("subagentDepthHelpLabel"),
488
- children: (0, react_jsx_runtime.jsxs)("tbody", { children: [(0, react_jsx_runtime.jsxs)("tr", { children: [(0, react_jsx_runtime.jsx)("th", {
489
- scope: "row",
490
- children: 0
491
- }), (0, react_jsx_runtime.jsx)("td", { children: t("subagentDepthZero") })] }), (0, react_jsx_runtime.jsxs)("tr", { children: [(0, react_jsx_runtime.jsx)("th", {
492
- scope: "row",
493
- children: 1
494
- }), (0, react_jsx_runtime.jsx)("td", { children: t("subagentDepthOne") })] })] })
495
- }),
496
- (0, react_jsx_runtime.jsx)("p", { children: t("subagentDepthOverride") })
497
- ] })
498
- },
499
- overriddenLabel: t("overridden"),
500
- resetLabel: t("reset"),
501
- invalidLabel: t("subagentDepthInvalid"),
502
- numeric: true,
503
- disabled: !state.writable || state.saving,
504
- ...state.maxDepth,
505
- onEdit: (text) => {
506
- props.edit("maxDepth", text);
507
- },
508
- onReset: () => {
509
- props.resetField("maxDepth");
510
- }
511
- })
512
- }), (0, react_jsx_runtime.jsx)("div", {
513
- className: SubagentLimitsFields_module_css_default.limit,
514
- children: (0, react_jsx_runtime.jsx)(ValueField, {
515
- id: "plugin-config-subagent-capacity",
516
- label: t("subagentMaxActive"),
517
- help: {
518
- label: t("subagentCapacityHelpLabel"),
519
- content: (0, react_jsx_runtime.jsx)("p", { children: t("subagentCapacityHelp") })
520
- },
521
- overriddenLabel: t("overridden"),
522
- resetLabel: t("reset"),
523
- invalidLabel: t("subagentCapacityInvalid"),
524
- numeric: true,
525
- disabled: !state.writable || state.saving,
526
- ...state.maxActiveSubagents,
527
- onEdit: (text) => {
528
- props.edit("maxActiveSubagents", text);
529
- },
530
- onReset: () => {
531
- props.resetField("maxActiveSubagents");
532
- }
533
- })
534
- })]
535
- }) });
536
- }
537
- //#endregion
538
- //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-settings-plugins/src/client/SubagentModelSelectionFields.module.css.mjs
539
- const css$1 = ".PvAFrW_permission{gap:6px;padding:12px 0;display:grid}.PvAFrW_toggleRow{color:var(--dsw-alias-label-primary);justify-content:space-between;align-items:flex-start;gap:16px;font-size:13px;line-height:1.5;display:flex}.PvAFrW_toggleLabel{flex:1;min-width:0}.PvAFrW_selection{gap:10px;display:grid}.PvAFrW_hint,.PvAFrW_notice,.PvAFrW_invalid,.PvAFrW_conflict{margin:0;font-size:12px;line-height:1.5}.PvAFrW_hint,.PvAFrW_notice{color:var(--dsw-alias-label-tertiary)}.PvAFrW_invalid,.PvAFrW_conflict{color:var(--dsw-alias-state-error-primary)}.PvAFrW_catalogError{color:var(--dsw-alias-state-error-primary);justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.PvAFrW_catalogError button{color:var(--dsw-alias-brand-primary);cursor:pointer;background:0 0;border:0;padding:0}.PvAFrW_models{border:.5px solid var(--dsw-alias-border-l4);border-radius:8px;gap:6px;min-width:0;max-height:280px;margin:0;padding:10px;display:grid;overflow:auto}.PvAFrW_models legend{color:var(--dsw-alias-label-secondary);padding:0 4px;font-size:12px}.PvAFrW_modelGroup{gap:6px;display:grid}.PvAFrW_modelGroup+.PvAFrW_modelGroup{border-top:.5px solid var(--dsw-alias-border-l3);margin-top:4px;padding-top:10px}.PvAFrW_providerName{color:var(--dsw-alias-label-tertiary);padding:0 6px;font-size:11px;font-weight:500}.PvAFrW_model{cursor:pointer;border-radius:6px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:6px;display:grid}.PvAFrW_model:hover{background:var(--dsw-alias-bg-layer-4)}.PvAFrW_modelName,.PvAFrW_route{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.PvAFrW_modelName{color:var(--dsw-alias-label-primary);font-size:13px}.PvAFrW_route{color:var(--dsw-alias-label-tertiary);margin-top:2px;font-size:11px}.PvAFrW_unavailable{color:var(--dsw-alias-label-tertiary);font-size:11px}";
540
- const tagId$1 = "@deepseek-ai/dsh-client-ui-settings-plugins/SubagentModelSelectionFields.module.css";
541
- if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
542
- const tag = document.createElement("style");
543
- tag.dataset.plugin = "@deepseek-ai/dsh-client-ui-settings-plugins";
544
- tag.dataset.pluginCss = tagId$1;
545
- tag.textContent = css$1;
546
- document.head.appendChild(tag);
547
- }
548
- var SubagentModelSelectionFields_module_css_default = {
549
- "catalogError": "PvAFrW_catalogError",
550
- "conflict": "PvAFrW_conflict",
551
- "hint": "PvAFrW_hint",
552
- "invalid": "PvAFrW_invalid",
553
- "model": "PvAFrW_model",
554
- "modelGroup": "PvAFrW_modelGroup",
555
- "modelName": "PvAFrW_modelName",
556
- "models": "PvAFrW_models",
557
- "notice": "PvAFrW_notice",
558
- "permission": "PvAFrW_permission",
559
- "providerName": "PvAFrW_providerName",
560
- "route": "PvAFrW_route",
561
- "selection": "PvAFrW_selection",
562
- "toggleLabel": "PvAFrW_toggleLabel",
563
- "toggleRow": "PvAFrW_toggleRow",
564
- "unavailable": "PvAFrW_unavailable"
565
- };
566
- //#endregion
567
- //#region lib/types/client/SubagentModelSelectionFields.js
568
- /** User control for model-selectable subagent delegation in new sessions. */
569
- /**
570
- * Render the default-off preference and its exact adapter-route choices.
571
- * @param props - locale copy, the card snapshot, and its toggle action.
572
- * @returns the model permission and route choices inside the shared card.
573
- */
574
- function SubagentModelSelectionFields(props) {
575
- const { t, state } = props;
576
- const availableGroups = /* @__PURE__ */ new Map();
577
- const unavailable = [];
578
- for (const candidate of state.candidates) {
579
- if (!candidate.available) {
580
- unavailable.push(candidate);
581
- continue;
582
- }
583
- const group = availableGroups.get(candidate.provider);
584
- if (group === void 0) availableGroups.set(candidate.provider, {
585
- providerName: candidate.providerName,
586
- candidates: [candidate]
587
- });
588
- else group.candidates.push(candidate);
589
- }
590
- const renderCandidate = (candidate) => (0, react_jsx_runtime.jsxs)("label", {
591
- className: SubagentModelSelectionFields_module_css_default.model,
592
- children: [
593
- (0, react_jsx_runtime.jsx)("input", {
594
- type: "checkbox",
595
- checked: candidate.selected,
596
- disabled: !state.writable || state.saving,
597
- onChange: () => {
598
- props.toggleModel(candidate.key);
599
- }
600
- }),
601
- (0, react_jsx_runtime.jsxs)("span", { children: [(0, react_jsx_runtime.jsx)("span", {
602
- className: SubagentModelSelectionFields_module_css_default.modelName,
603
- children: candidate.modelName
604
- }), (0, react_jsx_runtime.jsx)("span", {
605
- className: SubagentModelSelectionFields_module_css_default.route,
606
- children: `${candidate.providerName} · ${candidate.provider}/${candidate.model}`
607
- })] }),
608
- !candidate.available ? (0, react_jsx_runtime.jsx)("span", {
609
- className: SubagentModelSelectionFields_module_css_default.unavailable,
610
- children: t("subagentModelSelectionUnavailable")
611
- }) : null
612
- ]
613
- }, candidate.key);
614
- return (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
615
- (0, react_jsx_runtime.jsxs)("div", {
616
- className: SubagentModelSelectionFields_module_css_default.permission,
617
- children: [(0, react_jsx_runtime.jsxs)("div", {
618
- className: SubagentModelSelectionFields_module_css_default.toggleRow,
619
- children: [(0, react_jsx_runtime.jsx)("span", {
620
- className: SubagentModelSelectionFields_module_css_default.toggleLabel,
621
- children: t("subagentModelSelectionToggle")
622
- }), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Switch, {
623
- checked: state.enabled,
624
- label: t("subagentModelSelectionToggle"),
625
- disabled: !state.writable || state.saving,
626
- onChange: props.toggleEnabled
627
- })]
628
- }), (0, react_jsx_runtime.jsx)("p", {
629
- className: SubagentModelSelectionFields_module_css_default.hint,
630
- children: t(state.enabled ? "subagentModelSelectionChoose" : "subagentModelSelectionOff")
631
- })]
632
- }),
633
- state.enabled ? (0, react_jsx_runtime.jsxs)("div", {
634
- className: SubagentModelSelectionFields_module_css_default.selection,
635
- children: [
636
- state.catalogStatus === "loading" ? (0, react_jsx_runtime.jsx)("p", {
637
- className: SubagentModelSelectionFields_module_css_default.notice,
638
- role: "status",
639
- children: t("subagentModelSelectionLoading")
640
- }) : null,
641
- state.catalogStatus === "error" ? (0, react_jsx_runtime.jsxs)("div", {
642
- className: SubagentModelSelectionFields_module_css_default.catalogError,
643
- role: "alert",
644
- children: [(0, react_jsx_runtime.jsx)("span", { children: t("subagentModelSelectionLoadFailed") }), (0, react_jsx_runtime.jsx)("button", {
645
- type: "button",
646
- disabled: state.saving,
647
- onClick: props.retryCatalog,
648
- children: t("subagentModelSelectionRetry")
649
- })]
650
- }) : null,
651
- state.catalogPartial ? (0, react_jsx_runtime.jsx)("p", {
652
- className: SubagentModelSelectionFields_module_css_default.notice,
653
- children: t("subagentModelSelectionPartial")
654
- }) : null,
655
- state.candidates.length > 0 ? (0, react_jsx_runtime.jsxs)("fieldset", {
656
- className: SubagentModelSelectionFields_module_css_default.models,
657
- children: [
658
- (0, react_jsx_runtime.jsx)("legend", { children: t("subagentModelSelectionAllowed") }),
659
- [...availableGroups].map(([provider, group]) => (0, react_jsx_runtime.jsxs)("div", {
660
- className: SubagentModelSelectionFields_module_css_default.modelGroup,
661
- children: [(0, react_jsx_runtime.jsx)("div", {
662
- className: SubagentModelSelectionFields_module_css_default.providerName,
663
- children: group.providerName
664
- }), group.candidates.map(renderCandidate)]
665
- }, provider)),
666
- unavailable.length > 0 ? (0, react_jsx_runtime.jsxs)("div", {
667
- className: SubagentModelSelectionFields_module_css_default.modelGroup,
668
- children: [(0, react_jsx_runtime.jsx)("div", {
669
- className: SubagentModelSelectionFields_module_css_default.providerName,
670
- children: t("subagentModelSelectionUnavailableGroup")
671
- }), unavailable.map(renderCandidate)]
672
- }) : null
673
- ]
674
- }) : state.catalogStatus === "ready" ? (0, react_jsx_runtime.jsx)("p", {
675
- className: SubagentModelSelectionFields_module_css_default.notice,
676
- children: t("subagentModelSelectionEmpty")
677
- }) : null,
678
- state.invalid ? (0, react_jsx_runtime.jsx)("p", {
679
- className: SubagentModelSelectionFields_module_css_default.invalid,
680
- children: t("subagentModelSelectionRequired")
681
- }) : null
682
- ]
683
- }) : null,
684
- state.conflicted ? (0, react_jsx_runtime.jsx)("p", {
685
- className: SubagentModelSelectionFields_module_css_default.conflict,
686
- role: "status",
687
- children: t("subagentModelSelectionConflict")
688
- }) : null
689
- ] });
690
- }
691
- //#endregion
692
- //#region lib/types/client/subagent-card-controller.js
693
- /** Shared presentation and actions for the two Host-owned Subagent settings sections. */
694
- /**
695
- * Derive the shared card state without duplicating either form's subscriptions.
696
- * @param limits - Current delegation-limit form.
697
- * @param models - Current model-authorization form.
698
- * @returns Availability and settlement across the sections this Host serves.
699
- */
700
- function subagentCardShell(limits, models) {
701
- const sections = [limits, models].filter((section) => section.available);
702
- return {
703
- available: sections.length > 0,
704
- writable: sections.every((section) => section.writable),
705
- dirty: sections.some((section) => section.dirty),
706
- invalid: sections.some((section) => section.invalid) || models.available && models.dirty && models.conflicted,
707
- saving: sections.some((section) => section.saving),
708
- failed: sections.some((section) => section.failed)
709
- };
710
- }
711
- /**
712
- * Compose one card from the existing forms; each write retains its namespace revision fence.
713
- * @param limits - Limit form source and actions.
714
- * @param models - Model form source and actions.
715
- * @returns Framework-bound sources and shared save/discard actions.
716
- */
717
- function subagentCardFace(limits, models) {
718
- return {
719
- hooks: {
720
- ...limits.hooks,
721
- ...models.hooks
722
- },
723
- editLimit: limits.edit,
724
- resetLimit: limits.resetField,
725
- toggleEnabled: models.toggleEnabled,
726
- toggleModel: models.toggleModel,
727
- retryCatalog: models.retryCatalog,
728
- save: () => {
729
- const limitState = limits.hooks.subagentLimitsCard.getSnapshot();
730
- const modelState = models.hooks.subagentModelSelectionCard.getSnapshot();
731
- const state = subagentCardShell(limitState, modelState);
732
- if (!state.available || !state.writable || !state.dirty || state.invalid || state.saving) return;
733
- if (modelState.available && modelState.dirty) models.save();
734
- if (limitState.available && limitState.dirty) limits.save();
735
- },
736
- discard: () => {
737
- if (subagentCardShell(limits.hooks.subagentLimitsCard.getSnapshot(), models.hooks.subagentModelSelectionCard.getSnapshot()).saving) return;
738
- limits.discard();
739
- models.discard();
740
- }
741
- };
742
- }
743
- //#endregion
744
- //#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-settings-plugins/src/client/SubagentCard.module.css.mjs
745
- const css = ".spmTVq_section{min-width:0;padding:16px 0}.spmTVq_heading{color:var(--dsw-alias-label-primary);margin:0;font-size:13px;font-weight:600;line-height:1.5}";
746
- const tagId = "@deepseek-ai/dsh-client-ui-settings-plugins/SubagentCard.module.css";
747
- if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
748
- const tag = document.createElement("style");
749
- tag.dataset.plugin = "@deepseek-ai/dsh-client-ui-settings-plugins";
750
- tag.dataset.pluginCss = tagId;
751
- tag.textContent = css;
752
- document.head.appendChild(tag);
753
- }
754
- var SubagentCard_module_css_default = {
755
- "heading": "spmTVq_heading",
756
- "section": "spmTVq_section"
757
- };
758
- //#endregion
759
- //#region lib/types/client/SubagentCard.js
760
- /** One settings card for Subagent delegation limits and model authorization. */
761
- /**
762
- * Render the available Subagent settings with one configuration page and save footer.
763
- * @param props - Locale, both form snapshots, and their shared actions.
764
- * @returns The summary or the available settings form.
765
- */
766
- function SubagentCard(props) {
767
- const { t } = props;
768
- const limits = props.useSubagentLimitsCard((snapshot) => snapshot);
769
- const models = props.useSubagentModelSelectionCard((snapshot) => snapshot);
770
- const headingId = (0, react.useId)();
771
- if (props.view === "summary") return t("subagentDescription");
772
- const state = subagentCardShell(limits, models);
773
- return (0, react_jsx_runtime.jsxs)(PluginConfigForm, {
774
- t,
775
- state,
776
- onSave: props.save,
777
- onDiscard: props.discard,
778
- children: [limits.available ? (0, react_jsx_runtime.jsxs)("section", {
779
- className: SubagentCard_module_css_default.section,
780
- "aria-labelledby": `${headingId}-limits`,
781
- children: [(0, react_jsx_runtime.jsx)("h3", {
782
- className: SubagentCard_module_css_default.heading,
783
- id: `${headingId}-limits`,
784
- children: t("subagentLimitsTitle")
785
- }), (0, react_jsx_runtime.jsx)(SubagentLimitsFields, {
786
- t,
787
- state: {
788
- ...limits,
789
- saving: state.saving
790
- },
791
- edit: props.editLimit,
792
- resetField: props.resetLimit
793
- })]
794
- }) : null, models.available ? (0, react_jsx_runtime.jsxs)("section", {
795
- className: SubagentCard_module_css_default.section,
796
- "aria-labelledby": `${headingId}-models`,
797
- children: [(0, react_jsx_runtime.jsx)("h3", {
798
- className: SubagentCard_module_css_default.heading,
799
- id: `${headingId}-models`,
800
- children: t("subagentModelSelectionTitle")
801
- }), (0, react_jsx_runtime.jsx)(SubagentModelSelectionFields, {
802
- t,
803
- state: {
804
- ...models,
805
- saving: state.saving
806
- },
807
- toggleEnabled: props.toggleEnabled,
808
- toggleModel: props.toggleModel,
809
- retryCatalog: props.retryCatalog
810
- })]
811
- }) : null]
812
- });
813
- }
814
- //#endregion
815
- //#region lib/types/client/card-form.js
816
- /**
817
- * Shared form model behind every plugin card.
818
- *
819
- * A card stages what the user types and writes it only when they save. Each
820
- * settings write is a durable, revision-fenced document mutation, so a control
821
- * that committed as it settled turned one edit into a write the user never
822
- * asked for and could not preview; staged text makes what is on screen exactly
823
- * what a save would store.
824
- *
825
- * A field shows its effective value — the user layer over the composition
826
- * layer over the schema default — and whether the user layer carries it. That
827
- * presence, not a value comparison, is what marks a field overridden: an
828
- * override equal to the composition default is still an override.
829
- */
830
- /**
831
- * A whole-number field. An empty draft clears the field; any other draft that
832
- * is not a finite number blocks the save.
833
- * @param field - field name inside the namespace section.
834
- * @returns the field's conversion spec.
835
- */
836
- function numberField(field) {
837
- return {
838
- field,
839
- format: (value) => typeof value === "number" ? String(value) : "",
840
- parse: (text) => {
841
- const trimmed = text.trim();
842
- if (trimmed === "") return { kind: "clear" };
843
- const parsed = Number(trimmed);
844
- return Number.isFinite(parsed) ? {
845
- kind: "set",
846
- value: parsed
847
- } : void 0;
848
- }
849
- };
850
- }
851
- /**
852
- * A free-text field. An empty draft clears the field, so emptying the control
853
- * and saving is the same gesture as resetting it.
854
- * @param field - field name inside the namespace section.
855
- * @returns the field's conversion spec.
856
- */
857
- function textField(field) {
858
- return {
859
- field,
860
- format: (value) => typeof value === "string" ? value : "",
861
- parse: (text) => {
862
- const trimmed = text.trim();
863
- return trimmed === "" ? { kind: "clear" } : {
864
- kind: "set",
865
- value: trimmed
866
- };
867
- }
868
- };
869
- }
870
- /**
871
- * Stages one card's edits over one settings namespace and writes them on save.
872
- *
873
- * The form publishes through a snapshot store because slot components read
874
- * through a snapshot selector, while both the scope and the local drafts
875
- * change underneath; every projection is rebuilt from the two together.
876
- */
877
- var CardForm = class {
878
- scope;
879
- specs;
880
- secretSpecs;
881
- staged = /* @__PURE__ */ new Map();
882
- listeners = /* @__PURE__ */ new Set();
883
- saving = false;
884
- failed = false;
885
- /**
886
- * @param scope - the bound settings scope for this card's namespace.
887
- * @param specs - the section fields this card edits.
888
- * @param secrets - the card's write-only controls, written outside the section.
889
- */
890
- constructor(scope, specs, secrets = []) {
891
- this.scope = scope;
892
- this.specs = new Map(specs.map((spec) => [spec.field, spec]));
893
- this.secretSpecs = new Map(secrets.map((spec) => [spec.field, spec]));
894
- scope.subscribe(() => {
895
- this.publish();
896
- });
897
- }
898
- /**
899
- * Publish a projection of this form, rebuilt whenever the scope or a draft changes.
900
- * @param project - build the card's state from the form's current reads.
901
- * @returns the store the card's component reads through its bound selector.
902
- */
903
- bind(project) {
904
- const store = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(project());
905
- this.listeners.add(() => {
906
- store.set(project());
907
- });
908
- return store;
909
- }
910
- /**
911
- * Read the card-level state: what the Host serves, and what a save would do.
912
- * @returns the form state every card shares.
913
- */
914
- shell() {
915
- const snapshot = this.scope.getSnapshot();
916
- const plan = this.plan();
917
- return {
918
- available: snapshot.status === "ready",
919
- writable: snapshot.writable,
920
- dirty: plan.length > 0,
921
- invalid: plan.some((item) => item.run === void 0),
922
- saving: this.saving,
923
- failed: this.failed
924
- };
925
- }
926
- /**
927
- * Read one control's state.
928
- * @param field - field name of a section field or of a write-only control.
929
- * @returns the draft text, whether a save would leave an override, and whether it is invalid.
930
- */
931
- field(field) {
932
- const staged = this.staged.get(field);
933
- if (this.secretSpecs.has(field)) return {
934
- text: staged?.text ?? "",
935
- overridden: false,
936
- invalid: false
937
- };
938
- const spec = this.spec(field);
939
- if (staged === void 0) return {
940
- text: spec.format(this.sectionValue(field)),
941
- overridden: this.stored(field),
942
- invalid: false
943
- };
944
- const write = staged.clear ? { kind: "clear" } : spec.parse(staged.text);
945
- return {
946
- text: staged.text,
947
- overridden: write?.kind === "set",
948
- invalid: write === void 0
949
- };
950
- }
951
- /**
952
- * Build the edit, reset, save, and discard actions bound to this form.
953
- * @returns the actions a card's slot entry injects.
954
- */
955
- actions() {
956
- return {
957
- edit: (field, text) => {
958
- this.stage(field, {
959
- text,
960
- clear: false
961
- });
962
- },
963
- resetField: (field) => {
964
- this.stage(field, {
965
- text: this.spec(field).format(this.baseValue(field)),
966
- clear: true
967
- });
968
- },
969
- save: () => {
970
- this.save();
971
- },
972
- discard: () => {
973
- if (this.staged.size === 0 && !this.failed) return;
974
- this.staged.clear();
975
- this.failed = false;
976
- this.publish();
977
- }
978
- };
979
- }
980
- /**
981
- * Write every staged edit, then re-seed from what the Host accepted.
982
- *
983
- * The Host is the only authority on whether a value was accepted — its
984
- * validators own the constraints no schema can express — so the outcome is
985
- * read back from the section rather than predicted here. A save that did not
986
- * land keeps its drafts, so the user can correct them instead of retyping.
987
- * @returns settlement after every write and the read-back.
988
- */
989
- async save() {
990
- const plan = this.plan();
991
- const writes = plan.flatMap((item) => item.run === void 0 ? [] : [item.run]);
992
- if (plan.length === 0 || this.saving || writes.length !== plan.length) return;
993
- this.saving = true;
994
- this.failed = false;
995
- this.publish();
996
- let landed = true;
997
- for (const write of writes) landed = await write() && landed;
998
- if (landed) this.staged.clear();
999
- this.saving = false;
1000
- this.failed = !landed;
1001
- this.publish();
1002
- }
1003
- /**
1004
- * Every staged edit a save would write. An entry whose draft is not a value
1005
- * its field accepts carries no write: the form is still dirty, and the save
1006
- * refuses rather than dropping the edit.
1007
- * @returns the planned writes, in the order the fields were staged.
1008
- */
1009
- plan() {
1010
- const plan = [];
1011
- for (const [field, staged] of this.staged) {
1012
- const secret = this.secretSpecs.get(field);
1013
- if (secret !== void 0) {
1014
- const value = staged.text.trim();
1015
- if (value !== "") plan.push({
1016
- field,
1017
- run: () => secret.write(value)
1018
- });
1019
- continue;
1020
- }
1021
- const spec = this.spec(field);
1022
- if (staged.clear) {
1023
- if (this.stored(field)) plan.push({
1024
- field,
1025
- run: () => this.clear(field)
1026
- });
1027
- continue;
1028
- }
1029
- if (staged.text === spec.format(this.sectionValue(field))) continue;
1030
- const write = spec.parse(staged.text);
1031
- if (write === void 0) plan.push({
1032
- field,
1033
- run: void 0
1034
- });
1035
- else if (write.kind === "clear") plan.push({
1036
- field,
1037
- run: () => this.clear(field)
1038
- });
1039
- else plan.push({
1040
- field,
1041
- run: () => this.store(field, write.value)
1042
- });
1043
- }
1044
- return plan;
1045
- }
1046
- async clear(field) {
1047
- await this.scope.unset(field);
1048
- return !this.stored(field);
1049
- }
1050
- async store(field, value) {
1051
- await this.scope.set(field, value);
1052
- return this.userLayer()?.[field] === value;
1053
- }
1054
- stage(field, edit) {
1055
- this.staged.set(field, edit);
1056
- this.failed = false;
1057
- this.publish();
1058
- }
1059
- spec(field) {
1060
- const spec = this.specs.get(field);
1061
- if (spec === void 0) throw new Error(`plugin card has no field ${field}`);
1062
- return spec;
1063
- }
1064
- snapshotOf() {
1065
- return this.scope.getSnapshot();
1066
- }
1067
- sectionValue(field) {
1068
- return this.snapshotOf().value?.[field];
1069
- }
1070
- baseValue(field) {
1071
- return this.snapshotOf().base?.[field];
1072
- }
1073
- userLayer() {
1074
- return this.snapshotOf().user;
1075
- }
1076
- stored(field) {
1077
- const user = this.userLayer();
1078
- return user !== void 0 && Object.hasOwn(user, field);
1079
- }
1080
- publish() {
1081
- for (const listener of this.listeners) listener();
1082
- }
1083
- };
1084
- //#endregion
1085
- //#region lib/types/client/subagent-limits-card-controller.js
1086
- /** Staged delegation limits backed by the Host's subagent settings section. */
1087
- function limitField(field, minimum) {
1088
- const numeric = numberField(field);
1089
- return {
1090
- ...numeric,
1091
- parse: (text) => {
1092
- const write = numeric.parse(text);
1093
- if (write?.kind !== "set") return write;
1094
- const value = write.value;
1095
- return Number.isSafeInteger(value) && value >= minimum && !Object.is(value, -0) ? write : void 0;
1096
- }
1097
- };
1098
- }
1099
- /** Bind two independently resettable limits to one staged settings form. */
1100
- var SubagentLimitsCardController = class {
1101
- form;
1102
- store;
1103
- /** @param scope - The Host's `subagent` settings section. */
1104
- constructor(scope) {
1105
- this.form = new CardForm(scope, [limitField("maxDepth", 0), limitField("maxActiveSubagents", 1)]);
1106
- this.store = this.form.bind(() => ({
1107
- ...this.form.shell(),
1108
- maxDepth: this.form.field("maxDepth"),
1109
- maxActiveSubagents: this.form.field("maxActiveSubagents")
1110
- }));
1111
- }
1112
- /**
1113
- * Bind the limits editor to the slot renderer.
1114
- * @returns The limits snapshot and staged write actions.
1115
- */
1116
- inject() {
1117
- return {
1118
- hooks: { subagentLimitsCard: this.store },
1119
- ...this.form.actions()
1120
- };
1121
- }
1122
- };
1123
- //#endregion
1124
- //#region lib/types/client/WebSearchCard.js
1125
- /**
1126
- * Render the web-search provider's one-liner or its configuration form, as the Plugins page asks.
1127
- * @param props - the view asked for, locale copy, the form snapshot, and its actions.
1128
- * @returns the one-liner, or the form.
1129
- */
1130
- function WebSearchCard(props) {
1131
- const { t } = props;
1132
- const state = props.useWebSearchCard((snapshot) => snapshot);
1133
- if (props.view === "summary") return t("webSearchDescription");
1134
- const disabled = !state.writable;
1135
- return (0, react_jsx_runtime.jsxs)(PluginConfigForm, {
1136
- t,
1137
- state,
1138
- onSave: props.save,
1139
- onDiscard: props.discard,
1140
- children: [
1141
- (0, react_jsx_runtime.jsx)(SecretField, {
1142
- id: "plugin-config-web-search-key",
1143
- label: t("webSearchApiKey"),
1144
- hint: t("webSearchApiKeyHint"),
1145
- disabled: !state.apiKeyWritable,
1146
- text: state.apiKey.text,
1147
- configured: state.apiKeyConfigured,
1148
- stateLabel: state.apiKeyConfigured ? t("webSearchApiKeySet") : t("webSearchApiKeyUnset"),
1149
- onEdit: (text) => {
1150
- props.edit("apiKey", text);
1151
- }
1152
- }),
1153
- (0, react_jsx_runtime.jsx)(ValueField, {
1154
- id: "plugin-config-web-search-endpoint",
1155
- label: t("webSearchBaseUrl"),
1156
- hint: t("webSearchBaseUrlHint"),
1157
- overriddenLabel: t("overridden"),
1158
- resetLabel: t("reset"),
1159
- invalidLabel: t("invalidNumber"),
1160
- disabled,
1161
- ...state.baseURL,
1162
- onEdit: (text) => {
1163
- props.edit("baseURL", text);
1164
- },
1165
- onReset: () => {
1166
- props.resetField("baseURL");
1167
- }
1168
- }),
1169
- (0, react_jsx_runtime.jsx)(ValueField, {
1170
- id: "plugin-config-web-search-max-uses",
1171
- label: t("webSearchMaxUses"),
1172
- hint: t("webSearchMaxUsesHint"),
1173
- overriddenLabel: t("overridden"),
1174
- resetLabel: t("reset"),
1175
- invalidLabel: t("invalidNumber"),
1176
- numeric: true,
1177
- disabled,
1178
- ...state.maxUses,
1179
- onEdit: (text) => {
1180
- props.edit("maxUses", text);
1181
- },
1182
- onReset: () => {
1183
- props.resetField("maxUses");
1184
- }
1185
- })
1186
- ]
1187
- });
1188
- }
1189
- //#endregion
1190
- //#region lib/types/client/agent-loop-card-controller.js
1191
- /** The agent-loop card's staged form over the `agent-loop` settings namespace. */
1192
- /**
1193
- * Namespace of the agent loop's user-owned settings. Spelled here rather than
1194
- * imported: a client package must not depend on a Host package.
1195
- */
1196
- const AGENT_LOOP_NS = "agent-loop";
1197
- /** Bridges the `agent-loop` scope onto the card's staged form. */
1198
- var AgentLoopCardController = class {
1199
- form;
1200
- store;
1201
- /** @param scope - the bound settings scope for the `agent-loop` namespace. */
1202
- constructor(scope) {
1203
- this.form = new CardForm(scope, [numberField("maxParallelToolCalls")]);
1204
- this.store = this.form.bind(() => this.projection());
1205
- }
1206
- projection() {
1207
- return {
1208
- ...this.form.shell(),
1209
- maxParallelToolCalls: this.form.field("maxParallelToolCalls")
1210
- };
1211
- }
1212
- /**
1213
- * Build the face the card's slot registration injects.
1214
- * @returns the card's snapshot and its form actions.
1215
- */
1216
- inject() {
1217
- return {
1218
- hooks: { agentLoopCard: this.store },
1219
- ...this.form.actions()
1220
- };
1221
- }
1222
- };
1223
- //#endregion
1224
- //#region lib/types/client/bash-card-controller.js
1225
- /** The shell card's staged form over the `bash` settings namespace. */
1226
- /**
1227
- * Namespace of the shell capability. Spelled here rather than imported: a
1228
- * client package must not depend on a Host package, and the executor families
1229
- * that own it spell the same value.
1230
- */
1231
- const SHELL_NS = "shell";
1232
- /** Bridges the `bash` scope onto the shell card's staged form. */
1233
- var BashCardController = class {
1234
- form;
1235
- store;
1236
- /** @param scope - the bound settings scope for the `bash` namespace. */
1237
- constructor(scope) {
1238
- this.form = new CardForm(scope, [numberField("timeoutMs"), numberField("maxOutputBytes")]);
1239
- this.store = this.form.bind(() => this.projection());
1240
- }
1241
- projection() {
1242
- return {
1243
- ...this.form.shell(),
1244
- timeoutMs: this.form.field("timeoutMs"),
1245
- maxOutputBytes: this.form.field("maxOutputBytes")
1246
- };
1247
- }
1248
- /**
1249
- * Build the face the card's slot registration injects.
1250
- * @returns the card's snapshot and its form actions.
1251
- */
1252
- inject() {
1253
- return {
1254
- hooks: { bashCard: this.store },
1255
- ...this.form.actions()
1256
- };
1257
- }
1258
- };
1259
- //#endregion
1260
- //#region lib/types/client/subagent-model-selection-card-controller.js
1261
- /** Staged editor for the Host-owned subagent model allowlist. */
1262
- /** Namespace of the Host-owned subagent model-selection preference. */
1263
- const SUBAGENT_MODEL_SELECTION_NS = "subagent-model-selection";
1264
- /**
1265
- * Stable identity for one exact route; callers resolve it by lookup and never parse it.
1266
- * @param route - Provider/model route to identify.
1267
- * @returns Opaque key for lookup within the card.
1268
- */
1269
- function subagentModelKey(route) {
1270
- return `${route.provider}\0${route.model}`;
1271
- }
1272
- /**
1273
- * Join live adapter metadata with stored routes that remain removable after disappearance.
1274
- * @param groups - Current model directory grouped by provider.
1275
- * @param stored - Routes in the effective settings value.
1276
- * @param selected - Opaque route keys selected in the current draft.
1277
- * @returns Candidate rows for the card.
1278
- */
1279
- function subagentModelCandidates(groups, stored, selected) {
1280
- const storedByKey = new Map(stored.map((route) => [subagentModelKey(route), route]));
1281
- const candidates = groups.flatMap((group) => group.models.map((model) => {
1282
- const route = {
1283
- provider: group.id,
1284
- model: model.id
1285
- };
1286
- const key = subagentModelKey(route);
1287
- storedByKey.delete(key);
1288
- return {
1289
- ...route,
1290
- key,
1291
- providerName: group.name,
1292
- modelName: model.name,
1293
- available: true,
1294
- selected: selected.has(key)
1295
- };
1296
- }));
1297
- for (const route of storedByKey.values()) {
1298
- const key = subagentModelKey(route);
1299
- candidates.push({
1300
- ...route,
1301
- key,
1302
- providerName: route.provider,
1303
- modelName: route.model,
1304
- available: false,
1305
- selected: selected.has(key)
1306
- });
1307
- }
1308
- return candidates;
1309
- }
1310
- function sameRoutes(left, right) {
1311
- if (left.length !== right.length) return false;
1312
- const rightKeys = new Set(right.map(subagentModelKey));
1313
- return left.every((route) => rightKeys.has(subagentModelKey(route)));
1314
- }
1315
- /** Bridges one settings scope and the live adapter directory onto a staged card. */
1316
- var SubagentModelSelectionCardController = class {
1317
- scope;
1318
- ctx;
1319
- catalogGroups = [];
1320
- catalogPartial = false;
1321
- catalogStatus = "idle";
1322
- draftEnabled;
1323
- draftRoutes;
1324
- draftRevision;
1325
- saving = false;
1326
- failed = false;
1327
- conflicted = false;
1328
- disposed = false;
1329
- saveGeneration = 0;
1330
- catalogGeneration = 0;
1331
- store;
1332
- unsubscribe;
1333
- /**
1334
- * @param scope - bound `subagent-model-selection` settings scope.
1335
- * @param ctx - the card plugin's context, whose `remote.session` namespace
1336
- * answers the Host model catalog.
1337
- */
1338
- constructor(scope, ctx) {
1339
- this.scope = scope;
1340
- this.ctx = ctx;
1341
- this.store = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(this.projection());
1342
- this.unsubscribe = scope.subscribe(() => {
1343
- if (!this.saving && this.draftRoutes !== void 0 && this.scope.getSnapshot().revision !== this.draftRevision) if (this.currentEnabled() === this.enabled() && sameRoutes(this.currentRoutes(), this.desiredRoutes())) this.clearDraft();
1344
- else this.conflicted = true;
1345
- if (this.enabled() && this.catalogStatus === "idle") this.loadCatalog();
1346
- this.publish();
1347
- });
1348
- if (this.enabled() && this.catalogStatus === "idle") this.loadCatalog();
1349
- }
1350
- /** Stop observing settings and suppress late directory/write settlements. */
1351
- dispose() {
1352
- this.disposed = true;
1353
- this.saveGeneration += 1;
1354
- this.catalogGeneration += 1;
1355
- this.unsubscribe();
1356
- }
1357
- /**
1358
- * Build the renderer face for this card.
1359
- * @returns The snapshot and staged card actions injected into the renderer.
1360
- */
1361
- inject() {
1362
- return {
1363
- hooks: { subagentModelSelectionCard: this.store },
1364
- toggleEnabled: () => {
1365
- this.toggleEnabled();
1366
- },
1367
- toggleModel: (key) => {
1368
- this.toggleModel(key);
1369
- },
1370
- retryCatalog: () => {
1371
- this.loadCatalog();
1372
- },
1373
- save: () => {
1374
- this.save();
1375
- },
1376
- discard: () => {
1377
- this.discard();
1378
- }
1379
- };
1380
- }
1381
- currentRoutes() {
1382
- return this.scope.getSnapshot().value?.allowedModels.map((route) => ({ ...route })) ?? [];
1383
- }
1384
- currentEnabled() {
1385
- return this.scope.getSnapshot().value?.enabled ?? false;
1386
- }
1387
- selected() {
1388
- return new Set(this.draftRoutes?.keys() ?? this.currentRoutes().map(subagentModelKey));
1389
- }
1390
- enabled() {
1391
- return this.draftEnabled ?? this.currentEnabled();
1392
- }
1393
- beginDraft() {
1394
- if (this.draftRoutes === void 0) {
1395
- const snapshot = this.scope.getSnapshot();
1396
- this.draftEnabled = snapshot.value?.enabled ?? false;
1397
- this.draftRoutes = new Map(snapshot.value?.allowedModels.map((route) => [subagentModelKey(route), { ...route }]) ?? []);
1398
- this.draftRevision = snapshot.revision;
1399
- }
1400
- return this.draftRoutes;
1401
- }
1402
- toggleEnabled() {
1403
- const snapshot = this.scope.getSnapshot();
1404
- if (this.disposed || snapshot.status !== "ready" || !snapshot.writable || this.saving) return;
1405
- this.beginDraft();
1406
- this.draftEnabled = !this.draftEnabled;
1407
- this.failed = false;
1408
- if (this.draftEnabled && this.catalogStatus === "idle") this.loadCatalog();
1409
- this.publish();
1410
- }
1411
- toggleModel(key) {
1412
- if (!this.enabled() || this.saving || !this.scope.getSnapshot().writable) return;
1413
- const candidate = this.candidates().find((candidate) => candidate.key === key);
1414
- if (candidate === void 0) return;
1415
- const routes = this.beginDraft();
1416
- if (routes.has(key)) routes.delete(key);
1417
- else routes.set(key, {
1418
- provider: candidate.provider,
1419
- model: candidate.model
1420
- });
1421
- this.failed = false;
1422
- this.publish();
1423
- }
1424
- clearDraft() {
1425
- this.draftEnabled = void 0;
1426
- this.draftRoutes = void 0;
1427
- this.draftRevision = void 0;
1428
- this.failed = false;
1429
- this.conflicted = false;
1430
- }
1431
- discard() {
1432
- if (this.saving) return;
1433
- this.clearDraft();
1434
- this.publish();
1435
- }
1436
- candidates() {
1437
- const retained = new Map(this.currentRoutes().map((route) => [subagentModelKey(route), route]));
1438
- for (const [key, route] of this.draftRoutes ?? []) retained.set(key, route);
1439
- return subagentModelCandidates(this.catalogGroups, [...retained.values()], this.selected());
1440
- }
1441
- desiredRoutes() {
1442
- return [...this.draftRoutes?.values() ?? this.currentRoutes()].map((route) => ({ ...route }));
1443
- }
1444
- async save() {
1445
- const snapshot = this.scope.getSnapshot();
1446
- const desiredEnabled = this.enabled();
1447
- const desired = this.desiredRoutes();
1448
- if (this.disposed || snapshot.status !== "ready" || !snapshot.writable || this.saving || this.currentEnabled() === desiredEnabled && sameRoutes(this.currentRoutes(), desired) || desiredEnabled && desired.length === 0) return;
1449
- if (this.draftRoutes !== void 0 && snapshot.revision !== this.draftRevision) {
1450
- this.conflicted = true;
1451
- this.publish();
1452
- return;
1453
- }
1454
- const generation = this.saveGeneration;
1455
- this.saving = true;
1456
- this.failed = false;
1457
- this.conflicted = false;
1458
- this.publish();
1459
- await this.scope.mutate([{
1460
- op: "set",
1461
- path: ["enabled"],
1462
- value: desiredEnabled
1463
- }, {
1464
- op: "set",
1465
- path: ["allowedModels"],
1466
- value: desired.map((route) => ({
1467
- provider: route.provider,
1468
- model: route.model
1469
- }))
1470
- }], this.draftRevision);
1471
- if (generation !== this.saveGeneration) return;
1472
- const landed = this.currentEnabled() === desiredEnabled && sameRoutes(this.currentRoutes(), desired);
1473
- this.saving = false;
1474
- this.failed = !landed;
1475
- if (landed) this.clearDraft();
1476
- this.publish();
1477
- }
1478
- /** Invalidate and reload model candidates after a Host model input changes. */
1479
- refreshCatalog() {
1480
- if (this.disposed) return;
1481
- this.catalogGeneration += 1;
1482
- this.catalogStatus = "idle";
1483
- this.catalogPartial = false;
1484
- if (this.enabled()) this.loadCatalog();
1485
- else this.publish();
1486
- }
1487
- /** Drop Host-specific candidates and drafts, then reload after reconnecting. */
1488
- resetConnection() {
1489
- if (this.disposed) return;
1490
- this.saveGeneration += 1;
1491
- this.saving = false;
1492
- this.clearDraft();
1493
- this.catalogGroups = [];
1494
- this.refreshCatalog();
1495
- }
1496
- async loadCatalog() {
1497
- if (this.disposed || this.catalogStatus === "loading") return;
1498
- const generation = this.catalogGeneration;
1499
- this.catalogStatus = "loading";
1500
- this.catalogPartial = false;
1501
- this.publish();
1502
- const response = await this.ctx.remote.session.modelCatalog();
1503
- if (generation !== this.catalogGeneration) return;
1504
- if (response.ok) {
1505
- this.catalogGroups = response.value.groups;
1506
- this.catalogPartial = response.value.failures.length > 0;
1507
- this.catalogStatus = "ready";
1508
- } else this.catalogStatus = "error";
1509
- this.publish();
1510
- }
1511
- projection() {
1512
- const snapshot = this.scope.getSnapshot();
1513
- const current = this.currentRoutes();
1514
- const desired = this.desiredRoutes();
1515
- const enabled = this.enabled();
1516
- return {
1517
- available: snapshot.status === "ready",
1518
- writable: snapshot.writable,
1519
- dirty: this.currentEnabled() !== enabled || !sameRoutes(current, desired),
1520
- invalid: enabled && desired.length === 0,
1521
- saving: this.saving,
1522
- failed: this.failed,
1523
- enabled,
1524
- candidates: this.candidates(),
1525
- catalogStatus: this.catalogStatus,
1526
- catalogPartial: this.catalogPartial,
1527
- conflicted: this.conflicted
1528
- };
1529
- }
1530
- publish() {
1531
- this.store.set(this.projection());
1532
- }
1533
- };
1534
- //#endregion
1535
- //#region lib/types/client/web-search-card-controller.js
1536
- /**
1537
- * The web-search card's staged form over the `web-search-deepseek` settings
1538
- * namespace.
1539
- *
1540
- * The key is the one control that does not live in the section: its literal
1541
- * never rides a response, so the card learns only whether one is configured
1542
- * and writes it through the credentials domain, addressed by the reference the
1543
- * section names. It is still staged with the rest of the form, so one save
1544
- * covers everything the card shows.
1545
- */
1546
- /**
1547
- * Namespace of the DeepSeek search provider. Spelled here rather than
1548
- * imported: a client package must not depend on a Host package.
1549
- */
1550
- const WEB_SEARCH_NS = "web-search-deepseek";
1551
- /** Credential reference the provider resolves when the section names none. */
1552
- const DEFAULT_API_KEY_REF = "DEEPSEEK_API_KEY";
1553
- /** Form field the credential control stages under. */
1554
- const API_KEY_FIELD = "apiKey";
1555
- /** Bridges the `web-search-deepseek` scope and the credentials domain onto the card. */
1556
- var WebSearchCardController = class {
1557
- scope;
1558
- ctx;
1559
- form;
1560
- store;
1561
- credential = {
1562
- ref: "",
1563
- configured: false,
1564
- writable: true
1565
- };
1566
- /**
1567
- * @param scope - the bound settings scope for the `web-search-deepseek` namespace.
1568
- * @param ctx - the card plugin's context, whose `remote.credentials` namespace
1569
- * answers for the credential the section references.
1570
- */
1571
- constructor(scope, ctx) {
1572
- this.scope = scope;
1573
- this.ctx = ctx;
1574
- this.form = new CardForm(scope, [textField("baseURL"), numberField("maxUses")], [{
1575
- field: API_KEY_FIELD,
1576
- write: (text) => this.writeKey(text)
1577
- }]);
1578
- this.store = this.form.bind(() => this.projection());
1579
- scope.subscribe(() => {
1580
- this.readCredential();
1581
- });
1582
- this.readCredential();
1583
- }
1584
- projection() {
1585
- return {
1586
- ...this.form.shell(),
1587
- baseURL: this.form.field("baseURL"),
1588
- maxUses: this.form.field("maxUses"),
1589
- apiKey: this.form.field(API_KEY_FIELD),
1590
- apiKeyConfigured: this.credential.configured,
1591
- apiKeyWritable: this.credential.writable
1592
- };
1593
- }
1594
- /**
1595
- * Ask the credentials domain about the reference the section currently names.
1596
- *
1597
- * The answer is stored with the reference it describes: `apiKeyEnv` can
1598
- * change between the request and its response, and two reads can settle out
1599
- * of order, so a response is published only while it still answers for the
1600
- * reference in force.
1601
- */
1602
- async readCredential() {
1603
- const ref = refOf(this.scope.getSnapshot());
1604
- if (ref !== this.credential.ref) {
1605
- this.credential = {
1606
- ref,
1607
- configured: false,
1608
- writable: true
1609
- };
1610
- this.store.set(this.projection());
1611
- }
1612
- const response = await this.ctx.remote.credentials.describe([ref]);
1613
- if (!response.ok || ref !== refOf(this.scope.getSnapshot())) return;
1614
- const view = response.value[ref];
1615
- const next = {
1616
- ref,
1617
- configured: view?.configured ?? false,
1618
- writable: view?.writable ?? true
1619
- };
1620
- if (next.configured === this.credential.configured && next.writable === this.credential.writable) return;
1621
- this.credential = next;
1622
- this.store.set(this.projection());
1623
- }
1624
- /**
1625
- * Re-read after the Host reports a change to the reference this card watches.
1626
- *
1627
- * A key can be written from somewhere else — the Models page addresses the
1628
- * same reference — and the settings section does not change when it is, so
1629
- * without this the badge keeps reporting a state the Host already replaced.
1630
- * @param ref - the reference the Host reports as changed.
1631
- */
1632
- refreshCredential(ref) {
1633
- if (ref !== this.credential.ref) return;
1634
- this.readCredential();
1635
- }
1636
- /**
1637
- * Build the face the card's slot registration injects.
1638
- * @returns the card's snapshot and its form actions.
1639
- */
1640
- inject() {
1641
- return {
1642
- hooks: { webSearchCard: this.store },
1643
- ...this.form.actions()
1644
- };
1645
- }
1646
- /**
1647
- * Write the staged key, then re-read whether the Host now holds one.
1648
- * @param value - the staged credential literal.
1649
- * @returns whether the Host reports a configured credential afterwards.
1650
- */
1651
- async writeKey(value) {
1652
- await this.ctx.remote.credentials.set(refOf(this.scope.getSnapshot()), value);
1653
- await this.readCredential();
1654
- return this.credential.configured;
1655
- }
1656
- };
1657
- /**
1658
- * The credential reference the section names, or the provider's default.
1659
- * @param snapshot - the current scope snapshot.
1660
- * @returns the reference to address.
1661
- */
1662
- function refOf(snapshot) {
1663
- const declared = snapshot.value?.apiKeyEnv;
1664
- return declared !== void 0 && declared.length > 0 ? declared : DEFAULT_API_KEY_REF;
1665
- }
1666
- //#endregion
1667
131
  //#region lib/types/client/locales.js
1668
- /** Locale bundles for the built-in plugins settings section and the plugin configuration pages. */
132
+ /** Locale bundles for the built-in plugins settings section. */
1669
133
  /** English copy. */
1670
134
  const en = {
1671
135
  nav: "Built-in plugins",
1672
136
  title: "Built-in plugins",
1673
137
  intro: "Inspect the plugins this deployment ships.",
1674
138
  tabs: "Plugin views",
1675
- empty: "This deployment exposes no plugin views.",
1676
- overridden: "Overridden",
1677
- reset: "Reset to default",
1678
- readOnly: "This deployment stores settings read-only.",
1679
- unavailable: "This plugin is not loaded, so it cannot be configured right now.",
1680
- save: "Save",
1681
- saving: "Saving…",
1682
- saveFailed: "The deployment did not accept these values; they were left for you to correct.",
1683
- invalidNumber: "Enter a number, or leave blank to use the default.",
1684
- bashTitle: "Shell",
1685
- bashDescription: "Limits every command the agent runs.",
1686
- bashTimeoutMs: "Command timeout (ms)",
1687
- bashTimeoutMsHint: "How long one command may run before it is terminated.",
1688
- bashMaxOutputBytes: "Output cap per stream (bytes)",
1689
- bashMaxOutputBytesHint: "Output beyond this spills to a temporary file rather than being lost.",
1690
- agentLoopTitle: "Agent loop",
1691
- agentLoopDescription: "How the agent dispatches tool calls.",
1692
- agentLoopMaxParallel: "Parallel tool calls",
1693
- agentLoopMaxParallelHint: "Upper bound on parallel-safe calls running at once within one step.",
1694
- webSearchTitle: "Web search",
1695
- webSearchDescription: "The DeepSeek search provider.",
1696
- webSearchApiKey: "API key",
1697
- webSearchApiKeyHint: "Stored outside the settings file. Leave blank to keep the current key.",
1698
- webSearchApiKeySet: "A key is configured.",
1699
- webSearchApiKeyUnset: "No key is configured; search is unavailable until one is.",
1700
- webSearchBaseUrl: "Endpoint",
1701
- webSearchBaseUrlHint: "Leave blank to use the provider default.",
1702
- webSearchMaxUses: "Max searches per request",
1703
- webSearchMaxUsesHint: "How many times one request may search before it must answer.",
1704
- subagentTitle: "Subagent",
1705
- subagentDescription: "Set Subagent recursion depth, count, and models.",
1706
- subagentLimitsTitle: "Limits",
1707
- subagentMaxDepth: "Maximum recursion depth",
1708
- subagentDepthHelpLabel: "About maximum recursion depth",
1709
- subagentDepthHelp: "Limits how many levels of Subagents an Agent can create.",
1710
- subagentDepthZero: "Disable Subagents",
1711
- subagentDepthOne: "Only the main Agent can create Subagents",
1712
- subagentDepthOverride: "If a tool defines its own maximum recursion depth, that setting takes precedence.",
1713
- subagentMaxActive: "Subagent parallelism limit",
1714
- subagentCapacityHelpLabel: "About the Subagent parallelism limit",
1715
- subagentCapacityHelp: "Total live Subagents under the same main Agent, across all recursion levels. The main Agent is excluded. New start requests are rejected when the limit is reached.",
1716
- subagentDepthInvalid: "Enter a whole number of 0 or more.",
1717
- subagentCapacityInvalid: "Enter a whole number of 1 or more.",
1718
- subagentModelSelectionTitle: "Model selection",
1719
- subagentModelSelectionToggle: "Allow agents to choose models for Subagents",
1720
- subagentModelSelectionChoose: "When enabled, agents can choose a provider, model, and reasoning effort for each Subagent from the authorized models below. Applies only to new sessions.",
1721
- subagentModelSelectionAllowed: "Models agents may choose",
1722
- subagentModelSelectionLoading: "Loading models…",
1723
- subagentModelSelectionLoadFailed: "Models could not be loaded.",
1724
- subagentModelSelectionRetry: "Retry",
1725
- subagentModelSelectionPartial: "Some model providers could not be loaded; saved choices remain removable.",
1726
- subagentModelSelectionUnavailable: "Currently unavailable",
1727
- subagentModelSelectionUnavailableGroup: "Saved but currently unavailable",
1728
- subagentModelSelectionEmpty: "No model provider currently advertises a model.",
1729
- subagentModelSelectionRequired: "Select at least one model before saving.",
1730
- subagentModelSelectionConflict: "Settings changed elsewhere. Discard your draft and try again.",
1731
- subagentModelSelectionOff: "Subagents use configured defaults or inherit the parent agent's model. Saved model choices are retained."
139
+ empty: "This deployment exposes no plugin views."
1732
140
  };
1733
141
  /** Simplified Chinese copy. */
1734
142
  const zh = {
@@ -1736,89 +144,24 @@ window.__ModuleLoader__.load({
1736
144
  title: "内置插件",
1737
145
  intro: "查看内置部署的插件列表",
1738
146
  tabs: "插件视图",
1739
- empty: "本部署没有开放任何插件视图。",
1740
- overridden: "已覆盖",
1741
- reset: "恢复默认",
1742
- readOnly: "本部署的设置为只读。",
1743
- unavailable: "该插件当前未加载,暂时无法配置。",
1744
- save: "保存",
1745
- saving: "保存中…",
1746
- saveFailed: "本部署没有接受这些值,已保留供你修改。",
1747
- invalidNumber: "请填数字;留空表示使用默认值。",
1748
- bashTitle: "终端",
1749
- bashDescription: "限制 agent 运行的每一条命令。",
1750
- bashTimeoutMs: "命令超时(毫秒)",
1751
- bashTimeoutMsHint: "单条命令允许运行多久,超时即终止。",
1752
- bashMaxOutputBytes: "单流输出上限(字节)",
1753
- bashMaxOutputBytesHint: "超出部分会转存到临时文件,而不是被丢弃。",
1754
- agentLoopTitle: "Agent 循环",
1755
- agentLoopDescription: "Agent 如何派发工具调用。",
1756
- agentLoopMaxParallel: "并行工具调用数",
1757
- agentLoopMaxParallelHint: "同一步内最多同时运行多少个可并行的调用。",
1758
- webSearchTitle: "网页搜索",
1759
- webSearchDescription: "DeepSeek 搜索提供方。",
1760
- webSearchApiKey: "API Key",
1761
- webSearchApiKeyHint: "不写入设置文件。留空表示保持当前密钥。",
1762
- webSearchApiKeySet: "已配置密钥。",
1763
- webSearchApiKeyUnset: "未配置密钥;配置之前搜索不可用。",
1764
- webSearchBaseUrl: "接口地址",
1765
- webSearchBaseUrlHint: "留空则使用提供方默认地址。",
1766
- webSearchMaxUses: "单次请求最多搜索次数",
1767
- webSearchMaxUsesHint: "一次请求在必须作答前最多可以搜索多少次。",
1768
- subagentTitle: "Subagent",
1769
- subagentDescription: "设置 Subagent 的递归层级、数量和模型。",
1770
- subagentLimitsTitle: "运行限制",
1771
- subagentMaxDepth: "最大递归深度",
1772
- subagentDepthHelpLabel: "最大递归深度说明",
1773
- subagentDepthHelp: "限制 Agent 创建 Subagent 的递归层级。",
1774
- subagentDepthZero: "禁用 Subagent",
1775
- subagentDepthOne: "仅允许主 Agent 创建 Subagent",
1776
- subagentDepthOverride: "如果某个工具单独设置了最大递归深度,以该工具的设置为准。",
1777
- subagentMaxActive: "Subagent 并行数量上限",
1778
- subagentCapacityHelpLabel: "Subagent 并行数量上限说明",
1779
- subagentCapacityHelp: "同一主 Agent 下,所有递归层级同时存活的 Subagent 总数,主 Agent 不计入。达到上限时,新的启动请求会被拒绝。",
1780
- subagentDepthInvalid: "请输入不小于 0 的整数。",
1781
- subagentCapacityInvalid: "请输入不小于 1 的整数。",
1782
- subagentModelSelectionTitle: "模型选择",
1783
- subagentModelSelectionToggle: "允许 Agent 为 Subagent 选择模型",
1784
- subagentModelSelectionChoose: "开启后,Agent 可以从下方授权模型中,为每个 Subagent 选择提供方、模型和推理强度。仅影响新会话。",
1785
- subagentModelSelectionAllowed: "Agent 可选择的模型",
1786
- subagentModelSelectionLoading: "正在加载模型…",
1787
- subagentModelSelectionLoadFailed: "无法加载模型。",
1788
- subagentModelSelectionRetry: "重试",
1789
- subagentModelSelectionPartial: "部分模型提供方暂时无法加载;已保存的选择仍可移除。",
1790
- subagentModelSelectionUnavailable: "当前不可用",
1791
- subagentModelSelectionUnavailableGroup: "已保存但当前不可用",
1792
- subagentModelSelectionEmpty: "当前没有模型提供方公布模型。",
1793
- subagentModelSelectionRequired: "保存前请至少选择一个模型。",
1794
- subagentModelSelectionConflict: "设置已在其他位置更新。请放弃修改后重试。",
1795
- subagentModelSelectionOff: "关闭后,Subagent 使用配置的默认模型或继承父 Agent 的模型;已选模型会保留。"
147
+ empty: "本部署没有开放任何插件视图。"
1796
148
  };
1797
149
  //#endregion
1798
150
  //#region lib/types/client/index.js
1799
151
  /**
1800
- * Built-in plugins settings surface and the official plugin configuration
1801
- * pages, browser half. The Settings section is the shell around the
152
+ * Built-in plugins settings section, browser half: the shell around the
1802
153
  * feature-owned tabs registered into `settings.plugins.tab` (the read-only
1803
- * inventory ships one); the configuration pages this package ships register
1804
- * into the Plugins page's `plugins.item` slot, for the host-plane namespaces
1805
- * the deployment exposes, and appear in the page's Official group. Each form
1806
- * binds its namespace through the client settings scope, which keeps the
1807
- * pages unaware of one another and of the section.
154
+ * inventory ships one). The configuration pages of the host-plane plugins
155
+ * live in their own companion packages, which register into the Plugins
156
+ * page; this section owns the Settings navigation entry and the tab chrome
157
+ * only.
1808
158
  */
1809
159
  /** Dictionary namespace owned by this plugin. */
1810
160
  const NS = "settings.plugins";
1811
161
  /** Required services (cordis fiber inject). */
1812
- const inject = [
1813
- "slots",
1814
- "locale",
1815
- "remote",
1816
- "remote.credentials",
1817
- "remote.session",
1818
- "settingsScope"
1819
- ];
162
+ const inject = ["slots", "locale"];
1820
163
  /**
1821
- * Mount the built-in plugins section and the configuration pages this package ships.
164
+ * Mount the built-in plugins section.
1822
165
  * @param ctx - the browser plugin context.
1823
166
  */
1824
167
  function apply(ctx) {
@@ -1827,87 +170,6 @@ window.__ModuleLoader__.load({
1827
170
  zh,
1828
171
  en
1829
172
  }), "ui-settings-plugins: section dictionaries");
1830
- const bash = new BashCardController(ctx.settingsScope.bind({ namespace: SHELL_NS }));
1831
- const agentLoop = new AgentLoopCardController(ctx.settingsScope.bind({ namespace: AGENT_LOOP_NS }));
1832
- const webSearch = new WebSearchCardController(ctx.settingsScope.bind({ namespace: WEB_SEARCH_NS }), ctx);
1833
- const subagentLimits = new SubagentLimitsCardController(ctx.settingsScope.bind({ namespace: "subagent" }));
1834
- const subagentModelSelection = new SubagentModelSelectionCardController(ctx.settingsScope.bind({ namespace: SUBAGENT_MODEL_SELECTION_NS }), ctx);
1835
- const subagentLimitsFace = subagentLimits.inject();
1836
- const subagentModelsFace = subagentModelSelection.inject();
1837
- ctx.effect(() => ctx.remote.$on("credentials/reference-updated", (ref) => {
1838
- webSearch.refreshCredential(ref);
1839
- }), "ui-settings-plugins: credential invalidations");
1840
- ctx.effect(() => ctx.remote.$on("llm/adapters-updated", () => {
1841
- subagentModelSelection.refreshCatalog();
1842
- }), "ui-settings-plugins: subagent adapter invalidations");
1843
- ctx.effect(() => ctx.remote.$on("settings/document-updated", () => {
1844
- subagentModelSelection.refreshCatalog();
1845
- }), "ui-settings-plugins: subagent settings invalidations");
1846
- ctx.effect(() => ctx.on("connection/reset", () => {
1847
- subagentModelSelection.resetConnection();
1848
- }), "ui-settings-plugins: subagent connection generation");
1849
- ctx.effect(() => () => {
1850
- subagentModelSelection.dispose();
1851
- }, "ui-settings-plugins: subagent preference");
1852
- const pages = [
1853
- [[SHELL_NS], () => ctx.slots.inject("plugins.item", () => ctx.slots.register({
1854
- name: "plugins.item",
1855
- id: "bash",
1856
- order: 10,
1857
- label: () => t("bashTitle"),
1858
- locale: NS,
1859
- inject: () => bash.inject()
1860
- }, BashCard))],
1861
- [[AGENT_LOOP_NS], () => ctx.slots.inject("plugins.item", () => ctx.slots.register({
1862
- name: "plugins.item",
1863
- id: "agent-loop",
1864
- order: 20,
1865
- label: () => t("agentLoopTitle"),
1866
- locale: NS,
1867
- inject: () => agentLoop.inject()
1868
- }, AgentLoopCard))],
1869
- [["subagent", SUBAGENT_MODEL_SELECTION_NS], () => ctx.slots.inject("plugins.item", () => ctx.slots.register({
1870
- name: "plugins.item",
1871
- id: "subagent",
1872
- order: 30,
1873
- label: () => t("subagentTitle"),
1874
- locale: NS,
1875
- inject: () => subagentCardFace(subagentLimitsFace, subagentModelsFace)
1876
- }, SubagentCard))],
1877
- [[WEB_SEARCH_NS], () => ctx.slots.inject("plugins.item", () => ctx.slots.register({
1878
- name: "plugins.item",
1879
- id: "web-search",
1880
- order: 40,
1881
- label: () => t("webSearchTitle"),
1882
- locale: NS,
1883
- inject: () => webSearch.inject()
1884
- }, WebSearchCard))]
1885
- ];
1886
- const describeFace = ctx.settingsScope.describe();
1887
- ctx.effect(() => {
1888
- const registered = /* @__PURE__ */ new Map();
1889
- const sync = () => {
1890
- const served = new Set(describeFace.getSnapshot().view?.namespaces.map((view) => view.ns) ?? []);
1891
- for (const [namespaces, register] of pages) {
1892
- const namespace = namespaces[0];
1893
- const available = namespaces.some((namespace) => served.has(namespace));
1894
- const off = registered.get(namespace);
1895
- if (available && off === void 0) registered.set(namespace, register());
1896
- else if (!available && off !== void 0) {
1897
- off();
1898
- registered.delete(namespace);
1899
- }
1900
- }
1901
- };
1902
- const unsubscribe = describeFace.subscribe(sync);
1903
- describeFace.ensure();
1904
- sync();
1905
- return () => {
1906
- unsubscribe();
1907
- for (const off of registered.values()) off();
1908
- registered.clear();
1909
- };
1910
- }, "ui-settings-plugins: configuration pages");
1911
173
  let tabsVersion = -1;
1912
174
  let tabsRevision = -1;
1913
175
  let tabs = [];