@songtonyli/dsh-cli 0.1.92 → 0.1.94

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 (1919) hide show
  1. package/README.md +1 -1
  2. package/bin/dsh.mjs +1 -1
  3. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +1 -4
  4. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -4
  5. package/node_modules/@aws-sdk/core/package.json +3 -3
  6. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  7. package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
  8. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
  9. package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
  10. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  11. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  12. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  13. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  14. package/node_modules/@aws-sdk/eventstream-handler-node/package.json +2 -2
  15. package/node_modules/@aws-sdk/middleware-eventstream/package.json +2 -2
  16. package/node_modules/@aws-sdk/middleware-websocket/package.json +4 -4
  17. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  18. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +8 -1
  19. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  20. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  21. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  22. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +7 -0
  23. package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
  24. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  25. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  26. package/node_modules/@deepseek-ai/cordis/package.json +4 -4
  27. package/node_modules/@deepseek-ai/cordis-plugin-group/package.json +3 -3
  28. package/node_modules/@deepseek-ai/cordis-plugin-include/README.md +10 -0
  29. package/node_modules/@deepseek-ai/cordis-plugin-include/lib/index.js +647 -149
  30. package/node_modules/@deepseek-ai/cordis-plugin-include/package.json +4 -4
  31. package/node_modules/@deepseek-ai/cordis-plugin-include/src/index.ts +362 -236
  32. package/node_modules/@deepseek-ai/cordis-plugin-include/src/journal.ts +242 -0
  33. package/node_modules/@deepseek-ai/cordis-plugin-include/src/patch.ts +261 -0
  34. package/node_modules/@deepseek-ai/cordis-plugin-loader/README.md +5 -1
  35. package/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js +96 -20
  36. package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +4 -4
  37. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/entry.ts +2 -2
  38. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/group.ts +3 -2
  39. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/tree.ts +77 -8
  40. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/index.ts +24 -13
  41. package/node_modules/@deepseek-ai/cordis-plugin-timer/package.json +3 -3
  42. package/node_modules/@deepseek-ai/cosmokit/package.json +1 -1
  43. package/node_modules/@deepseek-ai/dsh/lib/bin-DQ1vWxS0.js +254 -0
  44. package/node_modules/@deepseek-ai/dsh/lib/bin.js +19 -245
  45. package/node_modules/@deepseek-ai/dsh/lib/dump-config-DCQrFN8g.js +64 -0
  46. package/node_modules/@deepseek-ai/dsh/lib/dump-config-ekMiCsuS.js +2 -0
  47. package/node_modules/@deepseek-ai/dsh/lib/dump-config-schema-C_NhxM7L.js +41 -0
  48. package/node_modules/@deepseek-ai/dsh/lib/plugin-cQMw2oZz.js +102 -0
  49. package/node_modules/@deepseek-ai/dsh/lib/profile-boot-xiaehH2x.js +330 -0
  50. package/node_modules/@deepseek-ai/dsh/lib/profile-boot.js +1 -1
  51. package/node_modules/@deepseek-ai/dsh/package.json +127 -127
  52. package/node_modules/@deepseek-ai/dsh-acp/lib/index.js +1 -1
  53. package/node_modules/@deepseek-ai/dsh-acp/package.json +26 -26
  54. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
  55. package/node_modules/@deepseek-ai/dsh-action-cards/README.i18n.yaml +2 -2
  56. package/node_modules/@deepseek-ai/dsh-action-cards/README.md +1 -1
  57. package/node_modules/@deepseek-ai/dsh-action-cards/README.zh.md +1 -1
  58. package/node_modules/@deepseek-ai/dsh-action-cards/lib/index.js +7 -4
  59. package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.host.js +16 -4
  60. package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.remote-client.js +1 -1
  61. package/node_modules/@deepseek-ai/dsh-action-cards/lib/types/index.js +7 -4
  62. package/node_modules/@deepseek-ai/dsh-action-cards/package.json +19 -19
  63. package/node_modules/@deepseek-ai/dsh-agent/README.i18n.yaml +2 -2
  64. package/node_modules/@deepseek-ai/dsh-agent/README.md +1 -1
  65. package/node_modules/@deepseek-ai/dsh-agent/README.zh.md +1 -1
  66. package/node_modules/@deepseek-ai/dsh-agent/lib/index.js +5 -30
  67. package/node_modules/@deepseek-ai/dsh-agent/lib/types/index.js +5 -32
  68. package/node_modules/@deepseek-ai/dsh-agent/package.json +21 -21
  69. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +10 -10
  70. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +28 -28
  71. package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +2 -2
  72. package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +1 -1
  73. package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +1 -1
  74. package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +5 -7
  75. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +27 -27
  76. package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +13 -13
  77. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +12 -8
  78. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/index.js +1 -1
  79. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +15 -3
  80. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/mount.js +1 -1
  81. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +39 -39
  82. package/node_modules/@deepseek-ai/dsh-agent-team/README.i18n.yaml +97 -0
  83. package/node_modules/@deepseek-ai/dsh-agent-team/README.md +217 -0
  84. package/node_modules/@deepseek-ai/dsh-agent-team/README.zh.md +217 -0
  85. package/node_modules/@deepseek-ai/dsh-agent-team/lib/index.js +824 -0
  86. package/node_modules/@deepseek-ai/dsh-agent-team/lib/typert.host.js +825 -0
  87. package/node_modules/@deepseek-ai/dsh-agent-team/lib/typert.remote-client.js +79 -0
  88. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/client.js +3 -0
  89. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/error.js +10 -0
  90. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/index.js +176 -0
  91. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/journal.js +66 -0
  92. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/projection.js +172 -0
  93. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/task-board.js +257 -0
  94. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/task-view.js +51 -0
  95. package/node_modules/@deepseek-ai/dsh-agent-team/locale/en.json +6 -0
  96. package/node_modules/@deepseek-ai/dsh-agent-team/locale/ja.json +6 -0
  97. package/node_modules/@deepseek-ai/dsh-agent-team/locale/zh.json +6 -0
  98. package/node_modules/@deepseek-ai/dsh-agent-team/package.json +83 -0
  99. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +13 -13
  100. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
  101. package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +9 -9
  102. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +14 -14
  103. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +14 -14
  104. package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +12 -12
  105. package/node_modules/@deepseek-ai/dsh-api-remote-access/package.json +9 -9
  106. package/node_modules/@deepseek-ai/dsh-api-remotes/README.i18n.yaml +4 -4
  107. package/node_modules/@deepseek-ai/dsh-api-remotes/README.md +2 -2
  108. package/node_modules/@deepseek-ai/dsh-api-remotes/README.zh.md +2 -2
  109. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +1048 -558
  110. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +4 -0
  111. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +8 -3
  112. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +1 -0
  113. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +49 -46
  114. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +4 -4
  115. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +4 -4
  116. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +4 -4
  117. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +16 -48
  118. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +46 -44
  119. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +252 -264
  120. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +209 -245
  121. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.js +10 -19
  122. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/archived-session-gate.js +6 -3
  123. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/manager.js +8 -32
  124. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +4 -21
  125. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +2 -2
  126. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/control.js +3 -3
  127. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/controller.js +2 -2
  128. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/listener.js +7 -7
  129. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +2 -2
  130. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/list.js +14 -7
  131. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +77 -77
  132. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +16 -16
  133. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +15 -3
  134. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +22 -22
  135. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +21 -21
  136. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +15 -15
  137. package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +2 -2
  138. package/node_modules/@deepseek-ai/dsh-app-boot/README.md +2 -0
  139. package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +2 -0
  140. package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +841 -145
  141. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +19 -19
  142. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
  143. package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
  144. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +9 -9
  145. package/node_modules/@deepseek-ai/dsh-authorization/package.json +7 -7
  146. package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +2 -2
  147. package/node_modules/@deepseek-ai/dsh-base/README.md +2 -0
  148. package/node_modules/@deepseek-ai/dsh-base/README.zh.md +2 -0
  149. package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +29 -15
  150. package/node_modules/@deepseek-ai/dsh-base/package.json +103 -101
  151. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -11
  152. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +14 -14
  153. package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
  154. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +3 -3
  155. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +13 -13
  156. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +15 -3
  157. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +12 -12
  158. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +7 -7
  159. package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +16 -0
  160. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +10 -10
  161. package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +2 -2
  162. package/node_modules/@deepseek-ai/dsh-client-modules/README.md +1 -1
  163. package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +1 -1
  164. package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +5 -1
  165. package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +1 -1
  166. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +6 -6
  167. package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +16 -16
  168. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +5 -5
  169. package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +9 -9
  170. package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/lib/client.js +1 -1
  171. package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/package.json +15 -15
  172. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +1 -1
  173. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +17 -17
  174. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.i18n.yaml +40 -0
  175. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.md +100 -0
  176. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.zh.md +100 -0
  177. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/lib/client.js +1425 -0
  178. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/locale/en.json +6 -0
  179. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/locale/ja.json +6 -0
  180. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/locale/zh.json +6 -0
  181. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/package.json +72 -0
  182. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +13 -13
  183. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +12 -12
  184. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +5 -5
  185. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +4 -4
  186. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +3 -1
  187. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +3 -1
  188. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +74 -7
  189. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +40 -40
  190. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +14 -14
  191. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/package.json +10 -10
  192. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +4 -4
  193. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +5 -4
  194. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +5 -4
  195. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +56 -48
  196. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +35 -35
  197. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +13 -13
  198. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/README.i18n.yaml +8 -8
  199. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/README.md +4 -4
  200. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/README.zh.md +4 -4
  201. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/lib/client.js +24 -61
  202. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/de.json +1 -1
  203. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/en.json +1 -1
  204. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/es.json +1 -1
  205. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/fr.json +1 -1
  206. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/ja.json +1 -1
  207. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/pt.json +1 -1
  208. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/ru.json +1 -1
  209. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/zh.json +1 -1
  210. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/package.json +11 -11
  211. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +28 -28
  212. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +7 -7
  213. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +6 -6
  214. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/README.i18n.yaml +6 -6
  215. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/README.md +5 -5
  216. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/README.zh.md +5 -5
  217. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/lib/client.js +73 -21
  218. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/package.json +11 -11
  219. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/package.json +10 -10
  220. package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/package.json +7 -7
  221. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +14 -14
  222. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +11 -11
  223. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +4 -4
  224. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +5 -1
  225. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +5 -1
  226. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +185 -89
  227. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +10 -10
  228. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +9 -9
  229. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +15 -15
  230. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +8 -8
  231. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +5 -3
  232. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +5 -3
  233. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +106 -111
  234. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +16 -16
  235. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +25 -25
  236. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +14 -14
  237. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +19 -19
  238. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +4 -4
  239. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +3 -3
  240. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +3 -3
  241. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +4 -6
  242. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +18 -18
  243. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/package.json +12 -12
  244. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/package.json +13 -13
  245. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +16 -16
  246. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.i18n.yaml +4 -4
  247. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.md +2 -2
  248. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.zh.md +2 -2
  249. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -3
  250. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +8 -8
  251. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +12 -8
  252. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +12 -8
  253. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +4002 -400
  254. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +21 -21
  255. package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/package.json +6 -6
  256. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +9 -9
  257. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.i18n.yaml +4 -4
  258. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.md +3 -0
  259. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.zh.md +3 -0
  260. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +7 -7
  261. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
  262. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +17 -17
  263. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +8 -8
  264. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +4 -4
  265. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +3 -1
  266. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +3 -1
  267. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +469 -41
  268. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +17 -17
  269. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +11 -11
  270. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +11 -11
  271. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +7 -7
  272. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +8 -8
  273. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +8 -8
  274. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +7 -7
  275. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +8 -8
  276. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.i18n.yaml +12 -12
  277. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.md +15 -10
  278. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.zh.md +15 -10
  279. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/client.js +773 -335
  280. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/de.json +2 -2
  281. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/es.json +2 -2
  282. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/fr.json +2 -2
  283. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/ja.json +2 -2
  284. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/pt.json +2 -2
  285. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/ru.json +2 -2
  286. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/zh.json +2 -2
  287. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +10 -9
  288. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +9 -9
  289. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +8 -8
  290. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +11 -6
  291. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +11 -6
  292. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +269 -111
  293. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +11 -11
  294. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +10 -10
  295. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +2 -2
  296. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +1 -1
  297. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +1 -1
  298. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +1 -1
  299. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +21 -21
  300. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +14 -14
  301. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +15 -15
  302. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +14 -14
  303. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +16 -16
  304. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +12 -12
  305. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +16 -8
  306. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +16 -8
  307. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +310 -150
  308. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +18 -17
  309. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +12 -12
  310. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +4 -4
  311. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +4 -2
  312. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +4 -2
  313. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +128 -50
  314. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +31 -31
  315. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +20 -20
  316. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +22 -22
  317. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +13 -13
  318. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +2 -2
  319. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +6 -2
  320. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +6 -2
  321. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +44 -37
  322. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +26 -26
  323. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
  324. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +12 -12
  325. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +15 -15
  326. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +14 -14
  327. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +15 -3
  328. package/node_modules/@deepseek-ai/dsh-commands/package.json +18 -18
  329. package/node_modules/@deepseek-ai/dsh-compaction/package.json +11 -11
  330. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.i18n.yaml +18 -12
  331. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.md +5 -5
  332. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.zh.md +5 -5
  333. package/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +16 -8
  334. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +27 -26
  335. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +18 -18
  336. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +17 -17
  337. package/node_modules/@deepseek-ai/dsh-computer-use/README.i18n.yaml +37 -0
  338. package/node_modules/@deepseek-ai/dsh-computer-use/README.md +90 -0
  339. package/node_modules/@deepseek-ai/dsh-computer-use/README.zh.md +90 -0
  340. package/node_modules/@deepseek-ai/dsh-computer-use/lib/index.js +35 -0
  341. package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/brand.js +10 -0
  342. package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/index.js +36 -0
  343. package/node_modules/@deepseek-ai/dsh-computer-use/locale/de.json +6 -0
  344. package/node_modules/@deepseek-ai/dsh-computer-use/locale/en.json +6 -0
  345. package/node_modules/@deepseek-ai/dsh-computer-use/locale/es.json +6 -0
  346. package/node_modules/@deepseek-ai/dsh-computer-use/locale/fr.json +6 -0
  347. package/node_modules/@deepseek-ai/dsh-computer-use/locale/ja.json +6 -0
  348. package/node_modules/@deepseek-ai/dsh-computer-use/locale/pt.json +6 -0
  349. package/node_modules/@deepseek-ai/dsh-computer-use/locale/ru.json +6 -0
  350. package/node_modules/@deepseek-ai/dsh-computer-use/locale/zh.json +6 -0
  351. package/node_modules/@deepseek-ai/dsh-computer-use/package.json +44 -0
  352. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +12 -12
  353. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +230 -62
  354. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +10 -10
  355. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +30 -6
  356. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +23 -23
  357. package/node_modules/@deepseek-ai/dsh-creation-recommendations/README.i18n.yaml +6 -6
  358. package/node_modules/@deepseek-ai/dsh-creation-recommendations/README.md +5 -3
  359. package/node_modules/@deepseek-ai/dsh-creation-recommendations/README.zh.md +5 -3
  360. package/node_modules/@deepseek-ai/dsh-creation-recommendations/lib/index.js +75 -77
  361. package/node_modules/@deepseek-ai/dsh-creation-recommendations/lib/types/index.js +59 -54
  362. package/node_modules/@deepseek-ai/dsh-creation-recommendations/package.json +21 -21
  363. package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
  364. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +12 -12
  365. package/node_modules/@deepseek-ai/dsh-cua/README.i18n.yaml +49 -0
  366. package/node_modules/@deepseek-ai/dsh-cua/README.md +132 -0
  367. package/node_modules/@deepseek-ai/dsh-cua/README.zh.md +132 -0
  368. package/node_modules/@deepseek-ai/dsh-cua/lib/api.js +597 -0
  369. package/node_modules/@deepseek-ai/dsh-cua/lib/bridge.js +611 -0
  370. package/node_modules/@deepseek-ai/dsh-cua/lib/client.js +1803 -0
  371. package/node_modules/@deepseek-ai/dsh-cua/lib/index.js +1922 -0
  372. package/node_modules/@deepseek-ai/dsh-cua/lib/native-client.js +285 -0
  373. package/node_modules/@deepseek-ai/dsh-cua/lib/protocol.js +305 -0
  374. package/node_modules/@deepseek-ai/dsh-cua/lib/typert.host.js +458 -0
  375. package/node_modules/@deepseek-ai/dsh-cua/lib/typert.remote-client.js +343 -0
  376. package/node_modules/@deepseek-ai/dsh-cua/locale/de.json +6 -0
  377. package/node_modules/@deepseek-ai/dsh-cua/locale/en.json +6 -0
  378. package/node_modules/@deepseek-ai/dsh-cua/locale/es.json +6 -0
  379. package/node_modules/@deepseek-ai/dsh-cua/locale/fr.json +6 -0
  380. package/node_modules/@deepseek-ai/dsh-cua/locale/ja.json +6 -0
  381. package/node_modules/@deepseek-ai/dsh-cua/locale/pt.json +6 -0
  382. package/node_modules/@deepseek-ai/dsh-cua/locale/ru.json +6 -0
  383. package/node_modules/@deepseek-ai/dsh-cua/locale/zh.json +6 -0
  384. package/node_modules/@deepseek-ai/dsh-cua/package.json +151 -0
  385. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.i18n.yaml +46 -0
  386. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.md +94 -0
  387. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.zh.md +94 -0
  388. package/node_modules/@deepseek-ai/dsh-cua-bundle/cordis.patch.yml +10 -0
  389. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.md +1 -0
  390. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.zh.md +1 -0
  391. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.svg +33 -0
  392. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.zh.svg +33 -0
  393. package/node_modules/@deepseek-ai/dsh-cua-bundle/icon.svg +35 -0
  394. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/de.json +7 -0
  395. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/en.json +7 -0
  396. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/es.json +7 -0
  397. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/fr.json +7 -0
  398. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ja.json +7 -0
  399. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/pt.json +7 -0
  400. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ru.json +7 -0
  401. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/zh.json +7 -0
  402. package/node_modules/@deepseek-ai/dsh-cua-bundle/package.json +57 -0
  403. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +11 -11
  404. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +12 -12
  405. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +3 -3
  406. package/node_modules/@deepseek-ai/dsh-deliverable-file-references/package.json +5 -5
  407. package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
  408. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +8 -8
  409. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +46 -46
  410. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/package.json +4 -4
  411. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +20 -20
  412. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.i18n.yaml +2 -2
  413. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.md +2 -2
  414. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.zh.md +2 -2
  415. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/client.js +5773 -5757
  416. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.host.js +15 -3
  417. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/package.json +42 -42
  418. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/package.json +19 -18
  419. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +15 -15
  420. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +6 -6
  421. package/node_modules/@deepseek-ai/dsh-experimental-forge/package.json +6 -6
  422. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.i18n.yaml +10 -10
  423. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.md +6 -4
  424. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.zh.md +6 -4
  425. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/cordis.patch.yml +4 -0
  426. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.de.md +1 -0
  427. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.es.md +1 -0
  428. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.fr.md +1 -0
  429. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.ja.md +1 -0
  430. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.md +1 -0
  431. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.pt.md +1 -0
  432. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.ru.md +1 -0
  433. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.zh.md +1 -0
  434. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/preview.svg +28 -0
  435. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/preview.zh.svg +28 -0
  436. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/de.json +2 -1
  437. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/en.json +2 -1
  438. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/es.json +2 -1
  439. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/fr.json +2 -1
  440. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/ja.json +2 -1
  441. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/pt.json +2 -1
  442. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/ru.json +2 -1
  443. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/zh.json +2 -1
  444. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/package.json +10 -8
  445. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/package.json +10 -10
  446. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/lib/index.js +11 -1
  447. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/package.json +33 -33
  448. package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +17 -17
  449. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +7 -7
  450. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.i18n.yaml +8 -8
  451. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.md +8 -8
  452. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.zh.md +8 -8
  453. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/cordis.patch.yml +0 -4
  454. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/client.js +892 -501
  455. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/index.js +607 -229
  456. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/typert.host.js +45 -31
  457. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/typert.remote-client.js +33 -27
  458. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/package.json +73 -75
  459. package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/package.json +4 -4
  460. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/package.json +5 -5
  461. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +5 -5
  462. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.i18n.yaml +2 -2
  463. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.md +1 -1
  464. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.zh.md +1 -1
  465. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/lib/client.js +6 -2
  466. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +12 -12
  467. package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +5 -5
  468. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +4 -4
  469. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +11 -11
  470. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +10 -10
  471. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +6 -6
  472. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.i18n.yaml +4 -4
  473. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.md +2 -2
  474. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.zh.md +2 -2
  475. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +23 -23
  476. package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +29 -29
  477. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +8 -8
  478. package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +23 -23
  479. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
  480. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +17 -17
  481. package/node_modules/@deepseek-ai/dsh-fs/package.json +10 -10
  482. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +8 -8
  483. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.i18n.yaml +2 -2
  484. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.md +1 -1
  485. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.zh.md +1 -1
  486. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
  487. package/node_modules/@deepseek-ai/dsh-fs-patch/package.json +3 -3
  488. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +12 -12
  489. package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +15 -3
  490. package/node_modules/@deepseek-ai/dsh-goal/package.json +23 -23
  491. package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.i18n.yaml +2 -2
  492. package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.md +1 -1
  493. package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.zh.md +1 -1
  494. package/node_modules/@deepseek-ai/dsh-goal-round-driver/lib/index.js +5 -1
  495. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +17 -17
  496. package/node_modules/@deepseek-ai/dsh-harness-dev-context/package.json +13 -13
  497. package/node_modules/@deepseek-ai/dsh-headless/README.i18n.yaml +2 -2
  498. package/node_modules/@deepseek-ai/dsh-headless/README.md +2 -0
  499. package/node_modules/@deepseek-ai/dsh-headless/README.zh.md +2 -0
  500. package/node_modules/@deepseek-ai/dsh-headless/lib/index.js +1 -1
  501. package/node_modules/@deepseek-ai/dsh-headless/package.json +30 -30
  502. package/node_modules/@deepseek-ai/dsh-hmr/lib/index.js +5 -1
  503. package/node_modules/@deepseek-ai/dsh-hmr/package.json +15 -15
  504. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
  505. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
  506. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.i18n.yaml +2 -2
  507. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.md +1 -1
  508. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.zh.md +1 -1
  509. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +20 -20
  510. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +5 -5
  511. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +5 -5
  512. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
  513. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +9 -9
  514. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.host.js +2 -2
  515. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.remote-client.js +2 -2
  516. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +13 -13
  517. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +8 -8
  518. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +5 -5
  519. package/node_modules/@deepseek-ai/dsh-http-proxy/README.i18n.yaml +6 -6
  520. package/node_modules/@deepseek-ai/dsh-http-proxy/README.md +4 -1
  521. package/node_modules/@deepseek-ai/dsh-http-proxy/README.zh.md +4 -1
  522. package/node_modules/@deepseek-ai/dsh-http-proxy/lib/index.js +54 -16
  523. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +3 -3
  524. package/node_modules/@deepseek-ai/dsh-jobs/package.json +11 -11
  525. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +16 -16
  526. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
  527. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
  528. package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +2 -2
  529. package/node_modules/@deepseek-ai/dsh-llm/README.md +1 -1
  530. package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +1 -1
  531. package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +37 -14
  532. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +14 -2
  533. package/node_modules/@deepseek-ai/dsh-llm/lib/types/content.js +38 -20
  534. package/node_modules/@deepseek-ai/dsh-llm/package.json +11 -11
  535. package/node_modules/@deepseek-ai/dsh-llm-cursor/README.i18n.yaml +2 -2
  536. package/node_modules/@deepseek-ai/dsh-llm-cursor/README.md +3 -1
  537. package/node_modules/@deepseek-ai/dsh-llm-cursor/README.zh.md +3 -1
  538. package/node_modules/@deepseek-ai/dsh-llm-cursor/lib/index.js +27 -5
  539. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +26 -26
  540. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +6 -6
  541. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +4 -1
  542. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +4 -1
  543. package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +52 -2
  544. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +45 -45
  545. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.i18n.yaml +2 -2
  546. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.md +1 -1
  547. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.zh.md +1 -1
  548. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/index.js +5 -8
  549. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +17 -17
  550. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.i18n.yaml +2 -2
  551. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.md +1 -1
  552. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.zh.md +1 -1
  553. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/index.js +4 -10
  554. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +14 -14
  555. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +8 -8
  556. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +7 -2
  557. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +7 -2
  558. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +18 -8
  559. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +28 -28
  560. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +25 -25
  561. package/node_modules/@deepseek-ai/dsh-mcp-client/README.i18n.yaml +15 -12
  562. package/node_modules/@deepseek-ai/dsh-mcp-client/README.md +29 -6
  563. package/node_modules/@deepseek-ai/dsh-mcp-client/README.zh.md +29 -6
  564. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/index.js +870 -202
  565. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/connection.js +379 -0
  566. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/credentials.js +99 -0
  567. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/deadline.js +27 -0
  568. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/diagnostic.js +56 -0
  569. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/generation.js +111 -0
  570. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/index.js +163 -0
  571. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/probe.js +89 -0
  572. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/server-context.js +25 -0
  573. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/status.js +95 -0
  574. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/templates.js +66 -0
  575. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/tools.js +432 -0
  576. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/transport.js +39 -0
  577. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/types.js +7 -0
  578. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +34 -24
  579. package/node_modules/@deepseek-ai/dsh-mcp-manager/README.i18n.yaml +64 -0
  580. package/node_modules/@deepseek-ai/dsh-mcp-manager/README.md +196 -0
  581. package/node_modules/@deepseek-ai/dsh-mcp-manager/README.zh.md +196 -0
  582. package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/index.js +572 -0
  583. package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/typert.host.js +323 -0
  584. package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/typert.remote-client.js +170 -0
  585. package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/types/index.js +582 -0
  586. package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/types/types.js +8 -0
  587. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/de.json +6 -0
  588. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/en.json +6 -0
  589. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/es.json +6 -0
  590. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/fr.json +6 -0
  591. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/ja.json +6 -0
  592. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/pt.json +6 -0
  593. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/ru.json +6 -0
  594. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/zh.json +6 -0
  595. package/node_modules/@deepseek-ai/dsh-mcp-manager/package.json +77 -0
  596. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +16 -16
  597. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +19 -19
  598. package/node_modules/@deepseek-ai/dsh-message-quotes/lib/client.js +2 -2
  599. package/node_modules/@deepseek-ai/dsh-message-quotes/package.json +9 -9
  600. package/node_modules/@deepseek-ai/dsh-native-command/package.json +4 -4
  601. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/lib/index.js +38 -15
  602. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +16 -16
  603. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +11 -11
  604. package/node_modules/@deepseek-ai/dsh-official-bundles/README.i18n.yaml +2 -2
  605. package/node_modules/@deepseek-ai/dsh-official-bundles/README.md +1 -1
  606. package/node_modules/@deepseek-ai/dsh-official-bundles/README.zh.md +1 -1
  607. package/node_modules/@deepseek-ai/dsh-official-bundles/lib/index.js +57 -95
  608. package/node_modules/@deepseek-ai/dsh-official-bundles/package.json +4 -4
  609. package/node_modules/@deepseek-ai/dsh-otel/package.json +5 -5
  610. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
  611. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
  612. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +15 -3
  613. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +23 -23
  614. package/node_modules/@deepseek-ai/dsh-persona/README.i18n.yaml +2 -2
  615. package/node_modules/@deepseek-ai/dsh-persona/README.md +1 -1
  616. package/node_modules/@deepseek-ai/dsh-persona/README.zh.md +1 -1
  617. package/node_modules/@deepseek-ai/dsh-persona/package.json +7 -7
  618. package/node_modules/@deepseek-ai/dsh-personalized-recommendations/package.json +23 -23
  619. package/node_modules/@deepseek-ai/dsh-plan-mode/README.i18n.yaml +2 -2
  620. package/node_modules/@deepseek-ai/dsh-plan-mode/README.md +1 -1
  621. package/node_modules/@deepseek-ai/dsh-plan-mode/README.zh.md +1 -1
  622. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +24 -24
  623. package/node_modules/@deepseek-ai/dsh-plugin-detail/package.json +3 -3
  624. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +0 -1
  625. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +12 -12
  626. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +12 -12
  627. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +0 -1
  628. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +38 -38
  629. package/node_modules/@deepseek-ai/dsh-plugin-market/README.i18n.yaml +2 -2
  630. package/node_modules/@deepseek-ai/dsh-plugin-market/README.md +1 -1
  631. package/node_modules/@deepseek-ai/dsh-plugin-market/README.zh.md +1 -1
  632. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/index.js +37 -7
  633. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/index.js +1 -1
  634. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/repository-cache.js +40 -7
  635. package/node_modules/@deepseek-ai/dsh-plugin-market/package.json +31 -31
  636. package/node_modules/@deepseek-ai/dsh-plugin-market-index/package.json +4 -4
  637. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +19 -19
  638. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.i18n.yaml +2 -2
  639. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.md +1 -1
  640. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.zh.md +1 -1
  641. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/index.js +2 -2
  642. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/typert.host.js +15 -3
  643. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/types/index.js +2 -2
  644. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/package.json +17 -17
  645. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
  646. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +11 -8
  647. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.md +21 -1
  648. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.zh.md +22 -2
  649. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/index.js +2 -3
  650. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/persistent-process.js +428 -31
  651. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/process.js +423 -28
  652. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +23 -23
  653. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -11
  654. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +14 -14
  655. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +39 -16
  656. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +12 -12
  657. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
  658. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +26 -26
  659. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +12 -12
  660. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +14 -14
  661. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +14 -14
  662. package/node_modules/@deepseek-ai/dsh-schedule/package.json +40 -40
  663. package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
  664. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +19 -19
  665. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.i18n.yaml +4 -4
  666. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.md +3 -3
  667. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.zh.md +3 -3
  668. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +21 -18
  669. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +48 -48
  670. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +39 -39
  671. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +13 -13
  672. package/node_modules/@deepseek-ai/dsh-session/lib/index.js +1 -0
  673. package/node_modules/@deepseek-ai/dsh-session/lib/types/known-event-types.js +1 -0
  674. package/node_modules/@deepseek-ai/dsh-session/package.json +10 -10
  675. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +19 -19
  676. package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
  677. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -11
  678. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/lib/index.js +36 -13
  679. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +7 -7
  680. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +8 -8
  681. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
  682. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +5 -5
  683. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +18 -18
  684. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +24 -24
  685. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
  686. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +76 -29
  687. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +13 -13
  688. package/node_modules/@deepseek-ai/dsh-session-projection/README.i18n.yaml +12 -12
  689. package/node_modules/@deepseek-ai/dsh-session-projection/README.md +10 -6
  690. package/node_modules/@deepseek-ai/dsh-session-projection/README.zh.md +10 -6
  691. package/node_modules/@deepseek-ai/dsh-session-projection/lib/index.js +107 -42
  692. package/node_modules/@deepseek-ai/dsh-session-projection/lib/types/index.js +128 -47
  693. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +6 -6
  694. package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.i18n.yaml +2 -2
  695. package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.md +1 -1
  696. package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.zh.md +1 -1
  697. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +13 -13
  698. package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
  699. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +13 -13
  700. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +15 -3
  701. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +41 -41
  702. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +11 -11
  703. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
  704. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +25 -25
  705. package/node_modules/@deepseek-ai/dsh-session-title/package.json +17 -17
  706. package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +15 -15
  707. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +20 -20
  708. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
  709. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +11 -11
  710. package/node_modules/@deepseek-ai/dsh-settings/package.json +17 -17
  711. package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -7
  712. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +14 -14
  713. package/node_modules/@deepseek-ai/dsh-skill/package.json +9 -9
  714. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +5 -5
  715. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +10 -10
  716. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +10 -10
  717. package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
  718. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +11 -11
  719. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +35 -35
  720. package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
  721. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +6 -6
  722. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
  723. package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +39 -24
  724. package/node_modules/@deepseek-ai/dsh-subagent/README.md +41 -20
  725. package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +41 -20
  726. package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +580 -872
  727. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +64 -120
  728. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +17 -63
  729. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/activation.js +1 -1
  730. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/archive-admission.js +39 -115
  731. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/child-agent.js +6 -4
  732. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation-messages.js +12 -14
  733. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/control.js +1 -5
  734. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/descriptor.js +1 -1
  735. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +83 -146
  736. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/lifecycle.js +5 -31
  737. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.js +401 -568
  738. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/structured.js +2 -2
  739. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/types.js +2 -4
  740. package/node_modules/@deepseek-ai/dsh-subagent/package.json +51 -55
  741. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
  742. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +15 -15
  743. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.i18n.yaml +2 -2
  744. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.md +1 -1
  745. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.zh.md +1 -1
  746. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +19 -19
  747. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
  748. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +9 -9
  749. package/node_modules/@deepseek-ai/dsh-system-prompt/lib/index.js +0 -1
  750. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +8 -8
  751. package/node_modules/@deepseek-ai/dsh-terminal/package.json +8 -8
  752. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +22 -22
  753. package/node_modules/@deepseek-ai/dsh-time-context/package.json +23 -23
  754. package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
  755. package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +38 -15
  756. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +14 -14
  757. package/node_modules/@deepseek-ai/dsh-token-meter/lib/index.js +4 -2
  758. package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/breakdown-projection.js +1 -0
  759. package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/usage-projection.js +1 -0
  760. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +17 -17
  761. package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.i18n.yaml +85 -0
  762. package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.md +178 -0
  763. package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.zh.md +178 -0
  764. package/node_modules/@deepseek-ai/dsh-tool-agent-team/lib/index.js +308 -0
  765. package/node_modules/@deepseek-ai/dsh-tool-agent-team/locale/en.json +6 -0
  766. package/node_modules/@deepseek-ai/dsh-tool-agent-team/locale/ja.json +6 -0
  767. package/node_modules/@deepseek-ai/dsh-tool-agent-team/locale/zh.json +6 -0
  768. package/node_modules/@deepseek-ai/dsh-tool-agent-team/package.json +63 -0
  769. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +13 -13
  770. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +37 -37
  771. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +27 -27
  772. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +10 -10
  773. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +230 -183
  774. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +17 -17
  775. package/node_modules/@deepseek-ai/dsh-tool-executor-native/package.json +5 -5
  776. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/package.json +28 -28
  777. package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +4 -4
  778. package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +7 -7
  779. package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +7 -7
  780. package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +5 -5
  781. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +39 -39
  782. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +31 -31
  783. package/node_modules/@deepseek-ai/dsh-tool-goal/README.i18n.yaml +2 -2
  784. package/node_modules/@deepseek-ai/dsh-tool-goal/README.md +1 -1
  785. package/node_modules/@deepseek-ai/dsh-tool-goal/README.zh.md +1 -1
  786. package/node_modules/@deepseek-ai/dsh-tool-goal/lib/index.js +1 -1
  787. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +20 -20
  788. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +19 -19
  789. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +21 -21
  790. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +35 -35
  791. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +28 -28
  792. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +24 -24
  793. package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +19 -19
  794. package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +27 -27
  795. package/node_modules/@deepseek-ai/dsh-tool-skill/lib/index.js +1 -0
  796. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +18 -18
  797. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +23 -23
  798. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +19 -19
  799. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +15 -13
  800. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +14 -12
  801. package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +40 -43
  802. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +25 -25
  803. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +53 -38
  804. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +41 -21
  805. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +41 -21
  806. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +235 -98
  807. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +25 -22
  808. package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +32 -32
  809. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +19 -19
  810. package/node_modules/@deepseek-ai/dsh-tool-web/README.i18n.yaml +6 -6
  811. package/node_modules/@deepseek-ai/dsh-tool-web/README.md +5 -4
  812. package/node_modules/@deepseek-ai/dsh-tool-web/README.zh.md +5 -4
  813. package/node_modules/@deepseek-ai/dsh-tool-web/lib/index.js +4 -4
  814. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +25 -24
  815. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +24 -24
  816. package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +13 -13
  817. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +12 -12
  818. package/node_modules/@deepseek-ai/dsh-tools/package.json +20 -20
  819. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +6 -6
  820. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +10 -8
  821. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +10 -8
  822. package/node_modules/@deepseek-ai/dsh-tui-app/cordis.patch.yml +17 -0
  823. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +113 -99
  824. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +87 -87
  825. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +10 -10
  826. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +4 -4
  827. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
  828. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +18 -18
  829. package/node_modules/@deepseek-ai/dsh-user-questions/README.i18n.yaml +2 -2
  830. package/node_modules/@deepseek-ai/dsh-user-questions/README.md +1 -1
  831. package/node_modules/@deepseek-ai/dsh-user-questions/README.zh.md +1 -1
  832. package/node_modules/@deepseek-ai/dsh-user-questions/lib/index.js +5 -6
  833. package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +16 -4
  834. package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/index.js +5 -6
  835. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +18 -18
  836. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +3 -3
  837. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
  838. package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
  839. package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
  840. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
  841. package/node_modules/@deepseek-ai/dsh-web/README.i18n.yaml +18 -12
  842. package/node_modules/@deepseek-ai/dsh-web/README.md +38 -7
  843. package/node_modules/@deepseek-ai/dsh-web/README.zh.md +38 -7
  844. package/node_modules/@deepseek-ai/dsh-web/lib/index.js +220 -112
  845. package/node_modules/@deepseek-ai/dsh-web/lib/typert.host.js +178 -0
  846. package/node_modules/@deepseek-ai/dsh-web/lib/typert.remote-client.js +45 -0
  847. package/node_modules/@deepseek-ai/dsh-web/lib/types/index.js +277 -0
  848. package/node_modules/@deepseek-ai/dsh-web/lib/types/types.js +18 -0
  849. package/node_modules/@deepseek-ai/dsh-web/package.json +26 -7
  850. package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +2 -2
  851. package/node_modules/@deepseek-ai/dsh-web-app/README.md +2 -0
  852. package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +2 -0
  853. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +14 -6
  854. package/node_modules/@deepseek-ai/dsh-web-app/package.json +157 -154
  855. package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +1 -1
  856. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/README.i18n.yaml +12 -12
  857. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/README.md +22 -12
  858. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/README.zh.md +22 -12
  859. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/lib/index.js +394 -163
  860. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/package.json +30 -19
  861. package/node_modules/@deepseek-ai/dsh-web-fetch-http/lib/index.js +11 -0
  862. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +9 -9
  863. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-B2q7cWGa.js +199 -0
  864. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-uWlUD22X.css +1 -0
  865. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/graphql-DFkUqiqq.js +2 -0
  866. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/http-BbPA7N5Y.js +2 -0
  867. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-BcJWnZHR.js +2 -0
  868. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/rst-CtdShwKQ.js +2 -0
  869. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/ruby-DllPV2XI.js +2 -0
  870. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/svelte-ZPgsG5h9.js +2 -0
  871. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/vue-CnLRC5W9.js +2 -0
  872. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/vendor-BUMdD3V7.js +411 -0
  873. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +3 -3
  874. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +21 -21
  875. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.i18n.yaml +8 -8
  876. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.md +6 -4
  877. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.zh.md +6 -4
  878. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/lib/index.js +30 -18
  879. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +20 -18
  880. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
  881. package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
  882. package/node_modules/@deepseek-ai/dsh-workflow-ptc/lib/index.js +11 -13
  883. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +39 -39
  884. package/node_modules/@deepseek-ai/dsh-working-directory/package.json +21 -21
  885. package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
  886. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +26 -26
  887. package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
  888. package/node_modules/@earendil-works/pi-ai/README.md +35 -35
  889. package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +59 -71
  890. package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js +0 -6
  891. package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +125 -103
  892. package/node_modules/@earendil-works/pi-ai/dist/api/constrained-sampling.js +51 -18
  893. package/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.js +0 -6
  894. package/node_modules/@earendil-works/pi-ai/dist/api/google-shared.js +57 -2
  895. package/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.js +0 -6
  896. package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +17 -44
  897. package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +0 -5
  898. package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +42 -54
  899. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +58 -57
  900. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +0 -6
  901. package/node_modules/@earendil-works/pi-ai/dist/api/openrouter-images.js +1 -0
  902. package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js +24 -9
  903. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/github-copilot.js +4 -11
  904. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/kimi-coding.js +4 -22
  905. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/meta.js +1 -14
  906. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/radius.js +9 -3
  907. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/trusted-url.js +12 -0
  908. package/node_modules/@earendil-works/pi-ai/dist/cli.js +6 -2
  909. package/node_modules/@earendil-works/pi-ai/dist/index.js +2 -2
  910. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +1 -1
  911. package/node_modules/@earendil-works/pi-ai/dist/models.js +1 -0
  912. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.models.js +1 -1
  913. package/node_modules/@earendil-works/pi-ai/dist/providers/ant-ling.models.js +1 -1
  914. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.js +1 -1
  915. package/node_modules/@earendil-works/pi-ai/dist/providers/azure.models.js +1 -1
  916. package/node_modules/@earendil-works/pi-ai/dist/providers/baseten.models.js +1 -1
  917. package/node_modules/@earendil-works/pi-ai/dist/providers/cerebras.models.js +1 -1
  918. package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.models.js +1 -1
  919. package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-workers-ai.models.js +1 -1
  920. package/node_modules/@earendil-works/pi-ai/dist/providers/compat-schema.js +144 -111
  921. package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  922. package/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
  923. package/node_modules/@earendil-works/pi-ai/dist/providers/data/anthropic.json +1 -1
  924. package/node_modules/@earendil-works/pi-ai/dist/providers/data/azure.json +1 -1
  925. package/node_modules/@earendil-works/pi-ai/dist/providers/data/baseten.json +1 -1
  926. package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
  927. package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-workers-ai.json +1 -1
  928. package/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.json +1 -1
  929. package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
  930. package/node_modules/@earendil-works/pi-ai/dist/providers/data/google-vertex.json +1 -1
  931. package/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
  932. package/node_modules/@earendil-works/pi-ai/dist/providers/data/huggingface.json +1 -1
  933. package/node_modules/@earendil-works/pi-ai/dist/providers/data/kimi-coding.json +1 -1
  934. package/node_modules/@earendil-works/pi-ai/dist/providers/data/mistral.json +1 -1
  935. package/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai-cn.json +1 -1
  936. package/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai.json +1 -1
  937. package/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
  938. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai-codex.json +1 -1
  939. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
  940. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
  941. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
  942. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  943. package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-cn.json +1 -1
  944. package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-individual.json +1 -1
  945. package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan.json +1 -1
  946. package/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -1
  947. package/node_modules/@earendil-works/pi-ai/dist/providers/data/together.json +1 -1
  948. package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
  949. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xai.json +1 -1
  950. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-ams.json +1 -1
  951. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-cn.json +1 -1
  952. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-sgp.json +1 -1
  953. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi.json +1 -1
  954. package/node_modules/@earendil-works/pi-ai/dist/providers/data/zai-coding-cn.json +1 -1
  955. package/node_modules/@earendil-works/pi-ai/dist/providers/data/zai.json +1 -1
  956. package/node_modules/@earendil-works/pi-ai/dist/providers/deepseek.models.js +1 -1
  957. package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js +7 -2
  958. package/node_modules/@earendil-works/pi-ai/dist/providers/fireworks.models.js +1 -1
  959. package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.js +1 -1
  960. package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.models.js +1 -1
  961. package/node_modules/@earendil-works/pi-ai/dist/providers/google.models.js +1 -1
  962. package/node_modules/@earendil-works/pi-ai/dist/providers/groq.models.js +1 -1
  963. package/node_modules/@earendil-works/pi-ai/dist/providers/huggingface.models.js +1 -1
  964. package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.models.js +1 -1
  965. package/node_modules/@earendil-works/pi-ai/dist/providers/meta.models.js +1 -1
  966. package/node_modules/@earendil-works/pi-ai/dist/providers/minimax-cn.models.js +1 -1
  967. package/node_modules/@earendil-works/pi-ai/dist/providers/minimax.models.js +1 -1
  968. package/node_modules/@earendil-works/pi-ai/dist/providers/mistral.models.js +1 -1
  969. package/node_modules/@earendil-works/pi-ai/dist/providers/model-schema.js +41 -30
  970. package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai-cn.models.js +1 -1
  971. package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai.models.js +1 -1
  972. package/node_modules/@earendil-works/pi-ai/dist/providers/nvidia.models.js +1 -1
  973. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.models.js +1 -1
  974. package/node_modules/@earendil-works/pi-ai/dist/providers/openai.models.js +1 -1
  975. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.js +1 -1
  976. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.js +1 -1
  977. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.js +1 -1
  978. package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.js +1 -1
  979. package/node_modules/@earendil-works/pi-ai/dist/providers/qwen-token-plan-cn.models.js +1 -1
  980. package/node_modules/@earendil-works/pi-ai/dist/providers/qwen-token-plan-individual.models.js +1 -1
  981. package/node_modules/@earendil-works/pi-ai/dist/providers/qwen-token-plan.models.js +1 -1
  982. package/node_modules/@earendil-works/pi-ai/dist/providers/radius-config.js +2 -1
  983. package/node_modules/@earendil-works/pi-ai/dist/providers/radius.models.js +1 -1
  984. package/node_modules/@earendil-works/pi-ai/dist/providers/schema-builders.js +18 -0
  985. package/node_modules/@earendil-works/pi-ai/dist/providers/together.models.js +1 -1
  986. package/node_modules/@earendil-works/pi-ai/dist/providers/typesafe.models.js +1 -1
  987. package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.js +1 -1
  988. package/node_modules/@earendil-works/pi-ai/dist/providers/xai.models.js +1 -1
  989. package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi-token-plan-ams.models.js +1 -1
  990. package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi-token-plan-cn.models.js +1 -1
  991. package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi-token-plan-sgp.models.js +1 -1
  992. package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi.models.js +1 -1
  993. package/node_modules/@earendil-works/pi-ai/dist/providers/zai-coding-cn.models.js +1 -1
  994. package/node_modules/@earendil-works/pi-ai/dist/providers/zai.models.js +1 -1
  995. package/node_modules/@earendil-works/pi-ai/dist/telemetry.js +2 -1
  996. package/node_modules/@earendil-works/pi-ai/dist/utils/error-body.js +2 -1
  997. package/node_modules/@earendil-works/pi-ai/dist/utils/openrouter-cost.js +34 -0
  998. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js +2 -0
  999. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +3 -0
  1000. package/node_modules/@earendil-works/pi-ai/dist/utils/streaming-json.js +513 -0
  1001. package/node_modules/@earendil-works/pi-ai/dist/utils/string-enum.js +20 -0
  1002. package/node_modules/@earendil-works/pi-ai/dist/utils/text.js +9 -0
  1003. package/node_modules/@earendil-works/pi-ai/dist/utils/transcript.js +1 -1
  1004. package/node_modules/@earendil-works/pi-ai/dist/utils/validation.js +27 -277
  1005. package/node_modules/@earendil-works/pi-ai/dist/utils/version.js +1 -1
  1006. package/node_modules/@earendil-works/pi-ai/package.json +6 -5
  1007. package/node_modules/@earendil-works/pi-schema/CHANGELOG.md +13 -0
  1008. package/node_modules/@earendil-works/pi-schema/README.md +296 -0
  1009. package/node_modules/@earendil-works/pi-schema/dist/annotations.js +193 -0
  1010. package/node_modules/@earendil-works/pi-schema/dist/builders.js +98 -0
  1011. package/node_modules/@earendil-works/pi-schema/dist/checks.js +447 -0
  1012. package/node_modules/@earendil-works/pi-schema/dist/coerce.js +585 -0
  1013. package/node_modules/@earendil-works/pi-schema/dist/compiler.js +532 -0
  1014. package/node_modules/@earendil-works/pi-schema/dist/explain.js +381 -0
  1015. package/node_modules/@earendil-works/pi-schema/dist/formats/index.js +51 -0
  1016. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/date.js +47 -0
  1017. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/date_time.js +39 -0
  1018. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/duration.js +36 -0
  1019. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/email.js +36 -0
  1020. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/hostname.js +38 -0
  1021. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idn_email.js +36 -0
  1022. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idn_hostname.js +39 -0
  1023. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/format/bidi.js +132 -0
  1024. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/format/puny.js +172 -0
  1025. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/hostname.js +43 -0
  1026. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/idn-hostname.js +71 -0
  1027. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/index.js +30 -0
  1028. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/label/ascii.js +37 -0
  1029. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/label/puny.js +56 -0
  1030. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/label/unicode.js +134 -0
  1031. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/pattern/pattern.js +98 -0
  1032. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/ipv4.js +36 -0
  1033. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/ipv6.js +36 -0
  1034. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/iri.js +63 -0
  1035. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/iri_reference.js +40 -0
  1036. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/json_pointer.js +37 -0
  1037. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/json_pointer_uri_fragment.js +37 -0
  1038. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/regex.js +41 -0
  1039. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/relative_json_pointer.js +37 -0
  1040. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/time.js +60 -0
  1041. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uri.js +36 -0
  1042. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uri_reference.js +36 -0
  1043. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uri_template.js +37 -0
  1044. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/url.js +36 -0
  1045. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uuid.js +37 -0
  1046. package/node_modules/@earendil-works/pi-schema/dist/index.js +5 -0
  1047. package/node_modules/@earendil-works/pi-schema/dist/resolver.js +202 -0
  1048. package/node_modules/@earendil-works/pi-schema/dist/shared.js +33 -0
  1049. package/node_modules/@earendil-works/pi-schema/dist/typebox-static.js +5 -0
  1050. package/node_modules/@earendil-works/pi-schema/dist/types.js +3 -0
  1051. package/node_modules/@earendil-works/pi-schema/dist/validator.js +71 -0
  1052. package/node_modules/@earendil-works/pi-schema/package.json +53 -0
  1053. package/node_modules/@earendil-works/pi-telemetry/package.json +4 -2
  1054. package/node_modules/@shikijs/core/dist/index.mjs +57 -43
  1055. package/node_modules/@shikijs/core/package.json +5 -5
  1056. package/node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs +2 -3
  1057. package/node_modules/@shikijs/engine-javascript/dist/engine-raw.mjs +2 -3
  1058. package/node_modules/@shikijs/engine-javascript/dist/index.mjs +1 -1
  1059. package/node_modules/@shikijs/engine-javascript/dist/string-CFc1qfdw.mjs +113 -0
  1060. package/node_modules/@shikijs/engine-javascript/package.json +3 -3
  1061. package/node_modules/@shikijs/engine-oniguruma/dist/index.mjs +1 -1
  1062. package/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.mjs +6 -4
  1063. package/node_modules/@shikijs/engine-oniguruma/package.json +3 -3
  1064. package/node_modules/@shikijs/langs/package.json +2 -2
  1065. package/node_modules/@shikijs/primitive/dist/index.mjs +30 -33
  1066. package/node_modules/@shikijs/primitive/package.json +3 -3
  1067. package/node_modules/@shikijs/themes/package.json +2 -2
  1068. package/node_modules/@shikijs/types/dist/index.mjs +1 -2
  1069. package/node_modules/@shikijs/types/package.json +2 -2
  1070. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +10 -4
  1071. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
  1072. package/node_modules/@smithy/core/package.json +1 -1
  1073. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -2
  1074. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -2
  1075. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  1076. package/node_modules/http2-wrapper/package.json +2 -23
  1077. package/node_modules/http2-wrapper/source/agent.js +70 -4
  1078. package/node_modules/jose/dist/webapi/jwks/remote.js +3 -1
  1079. package/node_modules/jose/dist/webapi/lib/deflate.js +2 -1
  1080. package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +2 -1
  1081. package/node_modules/jose/package.json +1 -1
  1082. package/node_modules/semver/classes/range.js +2 -2
  1083. package/node_modules/semver/internal/constants.js +30 -0
  1084. package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  1085. package/node_modules/semver/package.json +1 -1
  1086. package/node_modules/shiki/dist/bundle-full.mjs +4 -5
  1087. package/node_modules/shiki/dist/bundle-web.mjs +4 -6
  1088. package/node_modules/shiki/dist/core-unwasm.mjs +1 -2
  1089. package/node_modules/shiki/dist/core.mjs +1 -1
  1090. package/node_modules/shiki/dist/engine-oniguruma-XLVxwJtN.mjs +6 -0
  1091. package/node_modules/shiki/dist/engine-oniguruma.mjs +2 -7
  1092. package/node_modules/shiki/dist/index.mjs +2 -2
  1093. package/node_modules/shiki/dist/langs-bundle-full-CSdmXkDy.mjs +1325 -0
  1094. package/node_modules/shiki/dist/langs.mjs +1 -2
  1095. package/node_modules/shiki/dist/rolldown-runtime-782esTHO.mjs +26 -0
  1096. package/node_modules/shiki/dist/themes.mjs +1 -2
  1097. package/node_modules/shiki/dist/wasm.mjs +1 -2
  1098. package/node_modules/shiki/package.json +8 -8
  1099. package/node_modules/tslib/README.md +3 -8
  1100. package/node_modules/tslib/package.json +1 -1
  1101. package/node_modules/tslib/tslib.es6.js +10 -1
  1102. package/node_modules/tslib/tslib.es6.mjs +10 -1
  1103. package/node_modules/tslib/tslib.js +10 -1
  1104. package/package.json +379 -376
  1105. package/node_modules/@deepseek-ai/dsh/lib/dump-config-D97dwXdd.js +0 -64
  1106. package/node_modules/@deepseek-ai/dsh/lib/dump-config-DuXZcU0e.js +0 -2
  1107. package/node_modules/@deepseek-ai/dsh/lib/dump-config-schema-r4V15-lg.js +0 -41
  1108. package/node_modules/@deepseek-ai/dsh/lib/plugin-DscIHF4k.js +0 -102
  1109. package/node_modules/@deepseek-ai/dsh/lib/profile-boot-e2mS45fC.js +0 -330
  1110. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +0 -100
  1111. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +0 -225
  1112. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +0 -225
  1113. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/index.js +0 -1638
  1114. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/activity.js +0 -85
  1115. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/client.js +0 -3
  1116. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/error.js +0 -23
  1117. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/index.js +0 -231
  1118. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/journal.js +0 -65
  1119. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/lifecycle.js +0 -103
  1120. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/persisted.js +0 -20
  1121. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/projection.js +0 -327
  1122. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/roster.js +0 -437
  1123. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/session-message.js +0 -23
  1124. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-board.js +0 -235
  1125. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-view.js +0 -57
  1126. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/en.json +0 -6
  1127. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/ja.json +0 -6
  1128. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/zh.json +0 -6
  1129. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +0 -68
  1130. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.i18n.yaml +0 -52
  1131. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.md +0 -118
  1132. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.zh.md +0 -118
  1133. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/cordis.patch.yml +0 -29
  1134. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/DETAIL.md +0 -1
  1135. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/DETAIL.zh.md +0 -1
  1136. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/preview.svg +0 -1
  1137. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/preview.zh.svg +0 -1
  1138. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/icon.svg +0 -12
  1139. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/de.json +0 -7
  1140. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/en.json +0 -7
  1141. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/es.json +0 -7
  1142. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/fr.json +0 -7
  1143. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/ja.json +0 -7
  1144. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/pt.json +0 -7
  1145. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/ru.json +0 -7
  1146. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/zh.json +0 -7
  1147. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +0 -54
  1148. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.i18n.yaml +0 -43
  1149. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.md +0 -102
  1150. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.zh.md +0 -102
  1151. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +0 -690
  1152. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/en.json +0 -6
  1153. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/ja.json +0 -6
  1154. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/zh.json +0 -6
  1155. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +0 -66
  1156. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/viewer-declarations-krUNq6VU.js +0 -287
  1157. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/viewer-declarations.js +0 -26
  1158. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +0 -70
  1159. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +0 -155
  1160. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +0 -155
  1161. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +0 -580
  1162. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/en.json +0 -6
  1163. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/ja.json +0 -6
  1164. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/zh.json +0 -6
  1165. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +0 -61
  1166. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BCbHmUSs.js +0 -197
  1167. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BUDGJY4R.css +0 -1
  1168. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/graphql-C-Uijqkk.js +0 -2
  1169. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/http-CLu1VCSi.js +0 -2
  1170. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-CjQPq1Mz.js +0 -2
  1171. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/rst-BuDKiyD7.js +0 -2
  1172. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/ruby-ZtjE4NPI.js +0 -2
  1173. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/svelte-Tt81icjn.js +0 -2
  1174. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/vue-B5SDFeDA.js +0 -2
  1175. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/vendor-7utBqO4o.js +0 -411
  1176. package/node_modules/@deepseek-ai/dsh-web-search-exa/README.i18n.yaml +0 -61
  1177. package/node_modules/@deepseek-ai/dsh-web-search-exa/README.md +0 -142
  1178. package/node_modules/@deepseek-ai/dsh-web-search-exa/README.zh.md +0 -142
  1179. package/node_modules/@deepseek-ai/dsh-web-search-exa/lib/index.js +0 -154
  1180. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/de.json +0 -6
  1181. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/en.json +0 -6
  1182. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/es.json +0 -6
  1183. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/fr.json +0 -6
  1184. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/ja.json +0 -6
  1185. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/pt.json +0 -6
  1186. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/ru.json +0 -6
  1187. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/zh.json +0 -6
  1188. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +0 -45
  1189. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/README.i18n.yaml +0 -82
  1190. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/README.md +0 -165
  1191. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/README.zh.md +0 -165
  1192. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/lib/index.js +0 -152
  1193. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/de.json +0 -6
  1194. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/en.json +0 -6
  1195. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/es.json +0 -6
  1196. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/fr.json +0 -6
  1197. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/ja.json +0 -6
  1198. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/pt.json +0 -6
  1199. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/ru.json +0 -6
  1200. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/zh.json +0 -6
  1201. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +0 -45
  1202. package/node_modules/@earendil-works/pi-ai/dist/utils/typebox-helpers.js +0 -21
  1203. package/node_modules/@shikijs/engine-javascript/dist/string-TLTPtCPs.mjs +0 -115
  1204. package/node_modules/shiki/dist/langs-bundle-full-xQVO1Cek.mjs +0 -1326
  1205. package/node_modules/shiki/dist/rolldown-runtime-BBjsoOtd.mjs +0 -27
  1206. package/node_modules/typebox/build/compile/code.mjs +0 -65
  1207. package/node_modules/typebox/build/compile/compile.mjs +0 -12
  1208. package/node_modules/typebox/build/compile/index.mjs +0 -14
  1209. package/node_modules/typebox/build/compile/validator.mjs +0 -91
  1210. package/node_modules/typebox/build/error/errors.mjs +0 -18
  1211. package/node_modules/typebox/build/error/index.mjs +0 -1
  1212. package/node_modules/typebox/build/format/_registry.mjs +0 -96
  1213. package/node_modules/typebox/build/format/date.mjs +0 -19
  1214. package/node_modules/typebox/build/format/date_time.mjs +0 -11
  1215. package/node_modules/typebox/build/format/duration.mjs +0 -8
  1216. package/node_modules/typebox/build/format/email.mjs +0 -8
  1217. package/node_modules/typebox/build/format/format.mjs +0 -22
  1218. package/node_modules/typebox/build/format/hostname.mjs +0 -10
  1219. package/node_modules/typebox/build/format/idn_email.mjs +0 -8
  1220. package/node_modules/typebox/build/format/idn_hostname.mjs +0 -11
  1221. package/node_modules/typebox/build/format/idna/format/bidi.mjs +0 -98
  1222. package/node_modules/typebox/build/format/idna/format/puny.mjs +0 -144
  1223. package/node_modules/typebox/build/format/idna/hostname.mjs +0 -16
  1224. package/node_modules/typebox/build/format/idna/idn-hostname.mjs +0 -43
  1225. package/node_modules/typebox/build/format/idna/index.mjs +0 -2
  1226. package/node_modules/typebox/build/format/idna/label/ascii.mjs +0 -9
  1227. package/node_modules/typebox/build/format/idna/label/puny.mjs +0 -28
  1228. package/node_modules/typebox/build/format/idna/label/unicode.mjs +0 -106
  1229. package/node_modules/typebox/build/format/idna/pattern/pattern.mjs +0 -70
  1230. package/node_modules/typebox/build/format/index.mjs +0 -4
  1231. package/node_modules/typebox/build/format/ipv4.mjs +0 -8
  1232. package/node_modules/typebox/build/format/ipv6.mjs +0 -8
  1233. package/node_modules/typebox/build/format/iri.mjs +0 -35
  1234. package/node_modules/typebox/build/format/iri_reference.mjs +0 -14
  1235. package/node_modules/typebox/build/format/json_pointer.mjs +0 -9
  1236. package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +0 -9
  1237. package/node_modules/typebox/build/format/regex.mjs +0 -13
  1238. package/node_modules/typebox/build/format/relative_json_pointer.mjs +0 -9
  1239. package/node_modules/typebox/build/format/time.mjs +0 -32
  1240. package/node_modules/typebox/build/format/uri.mjs +0 -8
  1241. package/node_modules/typebox/build/format/uri_reference.mjs +0 -8
  1242. package/node_modules/typebox/build/format/uri_template.mjs +0 -9
  1243. package/node_modules/typebox/build/format/url.mjs +0 -8
  1244. package/node_modules/typebox/build/format/uuid.mjs +0 -9
  1245. package/node_modules/typebox/build/guard/emit.mjs +0 -191
  1246. package/node_modules/typebox/build/guard/globals.mjs +0 -90
  1247. package/node_modules/typebox/build/guard/guard.mjs +0 -221
  1248. package/node_modules/typebox/build/guard/index.mjs +0 -6
  1249. package/node_modules/typebox/build/guard/native.mjs +0 -60
  1250. package/node_modules/typebox/build/guard/string.mjs +0 -168
  1251. package/node_modules/typebox/build/index.mjs +0 -14
  1252. package/node_modules/typebox/build/schema/build.mjs +0 -118
  1253. package/node_modules/typebox/build/schema/check.mjs +0 -14
  1254. package/node_modules/typebox/build/schema/compile.mjs +0 -46
  1255. package/node_modules/typebox/build/schema/engine/_context.mjs +0 -124
  1256. package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +0 -20
  1257. package/node_modules/typebox/build/schema/engine/_externals.mjs +0 -25
  1258. package/node_modules/typebox/build/schema/engine/_functions.mjs +0 -65
  1259. package/node_modules/typebox/build/schema/engine/_reducer.mjs +0 -45
  1260. package/node_modules/typebox/build/schema/engine/_refine.mjs +0 -29
  1261. package/node_modules/typebox/build/schema/engine/_regexp.mjs +0 -4
  1262. package/node_modules/typebox/build/schema/engine/_stack.mjs +0 -209
  1263. package/node_modules/typebox/build/schema/engine/_unique.mjs +0 -5
  1264. package/node_modules/typebox/build/schema/engine/additionalItems.mjs +0 -60
  1265. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +0 -123
  1266. package/node_modules/typebox/build/schema/engine/allOf.mjs +0 -47
  1267. package/node_modules/typebox/build/schema/engine/anyOf.mjs +0 -52
  1268. package/node_modules/typebox/build/schema/engine/boolean.mjs +0 -25
  1269. package/node_modules/typebox/build/schema/engine/const.mjs +0 -30
  1270. package/node_modules/typebox/build/schema/engine/contains.mjs +0 -54
  1271. package/node_modules/typebox/build/schema/engine/dependencies.mjs +0 -45
  1272. package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +0 -40
  1273. package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +0 -38
  1274. package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +0 -25
  1275. package/node_modules/typebox/build/schema/engine/enum.mjs +0 -33
  1276. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +0 -25
  1277. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +0 -25
  1278. package/node_modules/typebox/build/schema/engine/format.mjs +0 -26
  1279. package/node_modules/typebox/build/schema/engine/if.mjs +0 -47
  1280. package/node_modules/typebox/build/schema/engine/index.mjs +0 -54
  1281. package/node_modules/typebox/build/schema/engine/items.mjs +0 -88
  1282. package/node_modules/typebox/build/schema/engine/maxContains.mjs +0 -42
  1283. package/node_modules/typebox/build/schema/engine/maxItems.mjs +0 -25
  1284. package/node_modules/typebox/build/schema/engine/maxLength.mjs +0 -25
  1285. package/node_modules/typebox/build/schema/engine/maxProperties.mjs +0 -25
  1286. package/node_modules/typebox/build/schema/engine/maximum.mjs +0 -25
  1287. package/node_modules/typebox/build/schema/engine/minContains.mjs +0 -51
  1288. package/node_modules/typebox/build/schema/engine/minItems.mjs +0 -25
  1289. package/node_modules/typebox/build/schema/engine/minLength.mjs +0 -25
  1290. package/node_modules/typebox/build/schema/engine/minProperties.mjs +0 -25
  1291. package/node_modules/typebox/build/schema/engine/minimum.mjs +0 -25
  1292. package/node_modules/typebox/build/schema/engine/multipleOf.mjs +0 -25
  1293. package/node_modules/typebox/build/schema/engine/not.mjs +0 -39
  1294. package/node_modules/typebox/build/schema/engine/oneOf.mjs +0 -59
  1295. package/node_modules/typebox/build/schema/engine/pattern.mjs +0 -29
  1296. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +0 -45
  1297. package/node_modules/typebox/build/schema/engine/prefixItems.mjs +0 -35
  1298. package/node_modules/typebox/build/schema/engine/properties.mjs +0 -75
  1299. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +0 -37
  1300. package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +0 -25
  1301. package/node_modules/typebox/build/schema/engine/ref.mjs +0 -52
  1302. package/node_modules/typebox/build/schema/engine/required.mjs +0 -32
  1303. package/node_modules/typebox/build/schema/engine/schema.mjs +0 -362
  1304. package/node_modules/typebox/build/schema/engine/type.mjs +0 -70
  1305. package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +0 -51
  1306. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +0 -51
  1307. package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +0 -51
  1308. package/node_modules/typebox/build/schema/errors.mjs +0 -18
  1309. package/node_modules/typebox/build/schema/index.mjs +0 -9
  1310. package/node_modules/typebox/build/schema/intern/index.mjs +0 -1
  1311. package/node_modules/typebox/build/schema/intern/intern.mjs +0 -259
  1312. package/node_modules/typebox/build/schema/parse.mjs +0 -32
  1313. package/node_modules/typebox/build/schema/pointer/index.mjs +0 -2
  1314. package/node_modules/typebox/build/schema/pointer/pointer.mjs +0 -106
  1315. package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +0 -2
  1316. package/node_modules/typebox/build/schema/resolve/index.mjs +0 -1
  1317. package/node_modules/typebox/build/schema/resolve/resolve.mjs +0 -327
  1318. package/node_modules/typebox/build/schema/schema.mjs +0 -11
  1319. package/node_modules/typebox/build/schema/static/_canonical.mjs +0 -2
  1320. package/node_modules/typebox/build/schema/static/_comparer.mjs +0 -2
  1321. package/node_modules/typebox/build/schema/static/_elements.mjs +0 -2
  1322. package/node_modules/typebox/build/schema/static/additionalProperties.mjs +0 -3
  1323. package/node_modules/typebox/build/schema/static/allOf.mjs +0 -2
  1324. package/node_modules/typebox/build/schema/static/anyOf.mjs +0 -2
  1325. package/node_modules/typebox/build/schema/static/const.mjs +0 -2
  1326. package/node_modules/typebox/build/schema/static/enum.mjs +0 -2
  1327. package/node_modules/typebox/build/schema/static/if.mjs +0 -2
  1328. package/node_modules/typebox/build/schema/static/items.mjs +0 -2
  1329. package/node_modules/typebox/build/schema/static/oneOf.mjs +0 -2
  1330. package/node_modules/typebox/build/schema/static/patternProperties.mjs +0 -2
  1331. package/node_modules/typebox/build/schema/static/prefixItems.mjs +0 -2
  1332. package/node_modules/typebox/build/schema/static/properties.mjs +0 -2
  1333. package/node_modules/typebox/build/schema/static/propertyNames.mjs +0 -3
  1334. package/node_modules/typebox/build/schema/static/ref.mjs +0 -3
  1335. package/node_modules/typebox/build/schema/static/required.mjs +0 -3
  1336. package/node_modules/typebox/build/schema/static/schema.mjs +0 -2
  1337. package/node_modules/typebox/build/schema/static/static.mjs +0 -3
  1338. package/node_modules/typebox/build/schema/static/type.mjs +0 -3
  1339. package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +0 -3
  1340. package/node_modules/typebox/build/schema/types/_refine.mjs +0 -18
  1341. package/node_modules/typebox/build/schema/types/additionalItems.mjs +0 -14
  1342. package/node_modules/typebox/build/schema/types/additionalProperties.mjs +0 -14
  1343. package/node_modules/typebox/build/schema/types/allOf.mjs +0 -15
  1344. package/node_modules/typebox/build/schema/types/anchor.mjs +0 -12
  1345. package/node_modules/typebox/build/schema/types/anyOf.mjs +0 -15
  1346. package/node_modules/typebox/build/schema/types/const.mjs +0 -12
  1347. package/node_modules/typebox/build/schema/types/contains.mjs +0 -14
  1348. package/node_modules/typebox/build/schema/types/default.mjs +0 -12
  1349. package/node_modules/typebox/build/schema/types/defs.mjs +0 -12
  1350. package/node_modules/typebox/build/schema/types/dependencies.mjs +0 -16
  1351. package/node_modules/typebox/build/schema/types/dependentRequired.mjs +0 -15
  1352. package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +0 -15
  1353. package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +0 -12
  1354. package/node_modules/typebox/build/schema/types/dynamicRef.mjs +0 -12
  1355. package/node_modules/typebox/build/schema/types/else.mjs +0 -14
  1356. package/node_modules/typebox/build/schema/types/enum.mjs +0 -13
  1357. package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +0 -13
  1358. package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +0 -13
  1359. package/node_modules/typebox/build/schema/types/format.mjs +0 -13
  1360. package/node_modules/typebox/build/schema/types/id.mjs +0 -13
  1361. package/node_modules/typebox/build/schema/types/if.mjs +0 -14
  1362. package/node_modules/typebox/build/schema/types/index.mjs +0 -57
  1363. package/node_modules/typebox/build/schema/types/items.mjs +0 -26
  1364. package/node_modules/typebox/build/schema/types/maxContains.mjs +0 -13
  1365. package/node_modules/typebox/build/schema/types/maxItems.mjs +0 -13
  1366. package/node_modules/typebox/build/schema/types/maxLength.mjs +0 -13
  1367. package/node_modules/typebox/build/schema/types/maxProperties.mjs +0 -13
  1368. package/node_modules/typebox/build/schema/types/maximum.mjs +0 -13
  1369. package/node_modules/typebox/build/schema/types/minContains.mjs +0 -13
  1370. package/node_modules/typebox/build/schema/types/minItems.mjs +0 -13
  1371. package/node_modules/typebox/build/schema/types/minLength.mjs +0 -13
  1372. package/node_modules/typebox/build/schema/types/minProperties.mjs +0 -13
  1373. package/node_modules/typebox/build/schema/types/minimum.mjs +0 -13
  1374. package/node_modules/typebox/build/schema/types/multipleOf.mjs +0 -13
  1375. package/node_modules/typebox/build/schema/types/not.mjs +0 -14
  1376. package/node_modules/typebox/build/schema/types/oneOf.mjs +0 -15
  1377. package/node_modules/typebox/build/schema/types/pattern.mjs +0 -14
  1378. package/node_modules/typebox/build/schema/types/patternProperties.mjs +0 -15
  1379. package/node_modules/typebox/build/schema/types/prefixItems.mjs +0 -14
  1380. package/node_modules/typebox/build/schema/types/properties.mjs +0 -15
  1381. package/node_modules/typebox/build/schema/types/propertyNames.mjs +0 -15
  1382. package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +0 -19
  1383. package/node_modules/typebox/build/schema/types/recursiveRef.mjs +0 -12
  1384. package/node_modules/typebox/build/schema/types/ref.mjs +0 -13
  1385. package/node_modules/typebox/build/schema/types/required.mjs +0 -14
  1386. package/node_modules/typebox/build/schema/types/schema.mjs +0 -14
  1387. package/node_modules/typebox/build/schema/types/then.mjs +0 -14
  1388. package/node_modules/typebox/build/schema/types/type.mjs +0 -15
  1389. package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +0 -14
  1390. package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +0 -14
  1391. package/node_modules/typebox/build/schema/types/uniqueItems.mjs +0 -13
  1392. package/node_modules/typebox/build/system/arguments/arguments.mjs +0 -9
  1393. package/node_modules/typebox/build/system/arguments/index.mjs +0 -1
  1394. package/node_modules/typebox/build/system/environment/environment.mjs +0 -1
  1395. package/node_modules/typebox/build/system/environment/evaluate.mjs +0 -37
  1396. package/node_modules/typebox/build/system/environment/index.mjs +0 -1
  1397. package/node_modules/typebox/build/system/hashing/hash.mjs +0 -232
  1398. package/node_modules/typebox/build/system/hashing/index.mjs +0 -1
  1399. package/node_modules/typebox/build/system/index.mjs +0 -4
  1400. package/node_modules/typebox/build/system/locale/_config.mjs +0 -15
  1401. package/node_modules/typebox/build/system/locale/_locale.mjs +0 -40
  1402. package/node_modules/typebox/build/system/locale/ar_001.mjs +0 -40
  1403. package/node_modules/typebox/build/system/locale/bn_BD.mjs +0 -40
  1404. package/node_modules/typebox/build/system/locale/cs_CZ.mjs +0 -40
  1405. package/node_modules/typebox/build/system/locale/de_DE.mjs +0 -40
  1406. package/node_modules/typebox/build/system/locale/el_GR.mjs +0 -40
  1407. package/node_modules/typebox/build/system/locale/en_US.mjs +0 -39
  1408. package/node_modules/typebox/build/system/locale/es_419.mjs +0 -40
  1409. package/node_modules/typebox/build/system/locale/es_AR.mjs +0 -40
  1410. package/node_modules/typebox/build/system/locale/es_ES.mjs +0 -40
  1411. package/node_modules/typebox/build/system/locale/es_MX.mjs +0 -40
  1412. package/node_modules/typebox/build/system/locale/fa_IR.mjs +0 -40
  1413. package/node_modules/typebox/build/system/locale/fil_PH.mjs +0 -40
  1414. package/node_modules/typebox/build/system/locale/fr_CA.mjs +0 -40
  1415. package/node_modules/typebox/build/system/locale/fr_FR.mjs +0 -40
  1416. package/node_modules/typebox/build/system/locale/ha_NG.mjs +0 -40
  1417. package/node_modules/typebox/build/system/locale/hi_IN.mjs +0 -40
  1418. package/node_modules/typebox/build/system/locale/hu_HU.mjs +0 -40
  1419. package/node_modules/typebox/build/system/locale/id_ID.mjs +0 -40
  1420. package/node_modules/typebox/build/system/locale/index.mjs +0 -1
  1421. package/node_modules/typebox/build/system/locale/it_IT.mjs +0 -40
  1422. package/node_modules/typebox/build/system/locale/ja_JP.mjs +0 -40
  1423. package/node_modules/typebox/build/system/locale/ko_KR.mjs +0 -40
  1424. package/node_modules/typebox/build/system/locale/ms_MY.mjs +0 -40
  1425. package/node_modules/typebox/build/system/locale/nl_NL.mjs +0 -40
  1426. package/node_modules/typebox/build/system/locale/pl_PL.mjs +0 -40
  1427. package/node_modules/typebox/build/system/locale/pt_BR.mjs +0 -40
  1428. package/node_modules/typebox/build/system/locale/pt_PT.mjs +0 -40
  1429. package/node_modules/typebox/build/system/locale/ro_RO.mjs +0 -40
  1430. package/node_modules/typebox/build/system/locale/ru_RU.mjs +0 -40
  1431. package/node_modules/typebox/build/system/locale/sv_SE.mjs +0 -40
  1432. package/node_modules/typebox/build/system/locale/sw_TZ.mjs +0 -40
  1433. package/node_modules/typebox/build/system/locale/th_TH.mjs +0 -40
  1434. package/node_modules/typebox/build/system/locale/tr_TR.mjs +0 -40
  1435. package/node_modules/typebox/build/system/locale/uk_UA.mjs +0 -40
  1436. package/node_modules/typebox/build/system/locale/ur_PK.mjs +0 -40
  1437. package/node_modules/typebox/build/system/locale/vi_VN.mjs +0 -40
  1438. package/node_modules/typebox/build/system/locale/yo_NG.mjs +0 -40
  1439. package/node_modules/typebox/build/system/locale/zh_Hans.mjs +0 -40
  1440. package/node_modules/typebox/build/system/locale/zh_Hant.mjs +0 -40
  1441. package/node_modules/typebox/build/system/memory/assign.mjs +0 -12
  1442. package/node_modules/typebox/build/system/memory/clone.mjs +0 -113
  1443. package/node_modules/typebox/build/system/memory/create.mjs +0 -29
  1444. package/node_modules/typebox/build/system/memory/discard.mjs +0 -18
  1445. package/node_modules/typebox/build/system/memory/freeze.mjs +0 -6
  1446. package/node_modules/typebox/build/system/memory/index.mjs +0 -1
  1447. package/node_modules/typebox/build/system/memory/memory.mjs +0 -7
  1448. package/node_modules/typebox/build/system/memory/metrics.mjs +0 -8
  1449. package/node_modules/typebox/build/system/memory/update.mjs +0 -33
  1450. package/node_modules/typebox/build/system/settings/index.mjs +0 -1
  1451. package/node_modules/typebox/build/system/settings/settings.mjs +0 -36
  1452. package/node_modules/typebox/build/system/system.mjs +0 -6
  1453. package/node_modules/typebox/build/system/unreachable/index.mjs +0 -1
  1454. package/node_modules/typebox/build/system/unreachable/unreachable.mjs +0 -6
  1455. package/node_modules/typebox/build/type/action/_add_immutable.mjs +0 -11
  1456. package/node_modules/typebox/build/type/action/_add_optional.mjs +0 -11
  1457. package/node_modules/typebox/build/type/action/_add_readonly.mjs +0 -11
  1458. package/node_modules/typebox/build/type/action/_remove_immutable.mjs +0 -11
  1459. package/node_modules/typebox/build/type/action/_remove_optional.mjs +0 -11
  1460. package/node_modules/typebox/build/type/action/_remove_readonly.mjs +0 -11
  1461. package/node_modules/typebox/build/type/action/capitalize.mjs +0 -11
  1462. package/node_modules/typebox/build/type/action/conditional.mjs +0 -13
  1463. package/node_modules/typebox/build/type/action/constructor_parameters.mjs +0 -11
  1464. package/node_modules/typebox/build/type/action/evaluate.mjs +0 -11
  1465. package/node_modules/typebox/build/type/action/exclude.mjs +0 -11
  1466. package/node_modules/typebox/build/type/action/extract.mjs +0 -11
  1467. package/node_modules/typebox/build/type/action/index.mjs +0 -30
  1468. package/node_modules/typebox/build/type/action/indexed.mjs +0 -14
  1469. package/node_modules/typebox/build/type/action/instance_type.mjs +0 -11
  1470. package/node_modules/typebox/build/type/action/interface.mjs +0 -22
  1471. package/node_modules/typebox/build/type/action/keyof.mjs +0 -11
  1472. package/node_modules/typebox/build/type/action/lowercase.mjs +0 -11
  1473. package/node_modules/typebox/build/type/action/mapped.mjs +0 -13
  1474. package/node_modules/typebox/build/type/action/module.mjs +0 -13
  1475. package/node_modules/typebox/build/type/action/non_nullable.mjs +0 -11
  1476. package/node_modules/typebox/build/type/action/omit.mjs +0 -14
  1477. package/node_modules/typebox/build/type/action/parameters.mjs +0 -11
  1478. package/node_modules/typebox/build/type/action/partial.mjs +0 -11
  1479. package/node_modules/typebox/build/type/action/pick.mjs +0 -14
  1480. package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -19
  1481. package/node_modules/typebox/build/type/action/required.mjs +0 -11
  1482. package/node_modules/typebox/build/type/action/return_type.mjs +0 -11
  1483. package/node_modules/typebox/build/type/action/uncapitalize.mjs +0 -11
  1484. package/node_modules/typebox/build/type/action/uppercase.mjs +0 -11
  1485. package/node_modules/typebox/build/type/action/with.mjs +0 -11
  1486. package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +0 -66
  1487. package/node_modules/typebox/build/type/engine/call/instantiate.mjs +0 -79
  1488. package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +0 -33
  1489. package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +0 -27
  1490. package/node_modules/typebox/build/type/engine/conditional/index.mjs +0 -1
  1491. package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +0 -23
  1492. package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +0 -1
  1493. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +0 -25
  1494. package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +0 -16
  1495. package/node_modules/typebox/build/type/engine/cyclic/check.mjs +0 -45
  1496. package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +0 -47
  1497. package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +0 -47
  1498. package/node_modules/typebox/build/type/engine/cyclic/index.mjs +0 -6
  1499. package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +0 -31
  1500. package/node_modules/typebox/build/type/engine/cyclic/target.mjs +0 -16
  1501. package/node_modules/typebox/build/type/engine/enum/index.mjs +0 -1
  1502. package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +0 -9
  1503. package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +0 -37
  1504. package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +0 -18
  1505. package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +0 -60
  1506. package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +0 -33
  1507. package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +0 -56
  1508. package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +0 -10
  1509. package/node_modules/typebox/build/type/engine/evaluate/index.mjs +0 -8
  1510. package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +0 -12
  1511. package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +0 -31
  1512. package/node_modules/typebox/build/type/engine/exclude/index.mjs +0 -1
  1513. package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +0 -16
  1514. package/node_modules/typebox/build/type/engine/exclude/operation.mjs +0 -22
  1515. package/node_modules/typebox/build/type/engine/extract/index.mjs +0 -1
  1516. package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +0 -16
  1517. package/node_modules/typebox/build/type/engine/extract/operation.mjs +0 -22
  1518. package/node_modules/typebox/build/type/engine/helpers/index.mjs +0 -3
  1519. package/node_modules/typebox/build/type/engine/helpers/keys.mjs +0 -8
  1520. package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +0 -15
  1521. package/node_modules/typebox/build/type/engine/helpers/union.mjs +0 -3
  1522. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +0 -14
  1523. package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +0 -14
  1524. package/node_modules/typebox/build/type/engine/index.mjs +0 -37
  1525. package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +0 -8
  1526. package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +0 -8
  1527. package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +0 -8
  1528. package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +0 -8
  1529. package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +0 -5
  1530. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +0 -8
  1531. package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +0 -25
  1532. package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +0 -7
  1533. package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +0 -14
  1534. package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +0 -12
  1535. package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +0 -18
  1536. package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +0 -35
  1537. package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +0 -40
  1538. package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +0 -35
  1539. package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +0 -14
  1540. package/node_modules/typebox/build/type/engine/indexed/index.mjs +0 -1
  1541. package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +0 -28
  1542. package/node_modules/typebox/build/type/engine/instance_type/index.mjs +0 -1
  1543. package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +0 -21
  1544. package/node_modules/typebox/build/type/engine/instantiate.mjs +0 -158
  1545. package/node_modules/typebox/build/type/engine/interface/index.mjs +0 -1
  1546. package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +0 -23
  1547. package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +0 -9
  1548. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +0 -8
  1549. package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +0 -13
  1550. package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +0 -7
  1551. package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +0 -1
  1552. package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +0 -52
  1553. package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +0 -4
  1554. package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +0 -8
  1555. package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +0 -5
  1556. package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +0 -20
  1557. package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +0 -5
  1558. package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +0 -7
  1559. package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +0 -23
  1560. package/node_modules/typebox/build/type/engine/keyof/index.mjs +0 -1
  1561. package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +0 -29
  1562. package/node_modules/typebox/build/type/engine/mapped/index.mjs +0 -1
  1563. package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +0 -15
  1564. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +0 -42
  1565. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +0 -39
  1566. package/node_modules/typebox/build/type/engine/module/index.mjs +0 -1
  1567. package/node_modules/typebox/build/type/engine/module/instantiate.mjs +0 -36
  1568. package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +0 -1
  1569. package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +0 -22
  1570. package/node_modules/typebox/build/type/engine/object/collapse.mjs +0 -14
  1571. package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +0 -8
  1572. package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +0 -8
  1573. package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +0 -22
  1574. package/node_modules/typebox/build/type/engine/object/from_object.mjs +0 -4
  1575. package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +0 -9
  1576. package/node_modules/typebox/build/type/engine/object/from_type.mjs +0 -23
  1577. package/node_modules/typebox/build/type/engine/object/from_union.mjs +0 -19
  1578. package/node_modules/typebox/build/type/engine/object/index.mjs +0 -1
  1579. package/node_modules/typebox/build/type/engine/omit/from_type.mjs +0 -18
  1580. package/node_modules/typebox/build/type/engine/omit/index.mjs +0 -1
  1581. package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +0 -16
  1582. package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +0 -14
  1583. package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +0 -14
  1584. package/node_modules/typebox/build/type/engine/parameters/index.mjs +0 -1
  1585. package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +0 -25
  1586. package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +0 -11
  1587. package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +0 -8
  1588. package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +0 -8
  1589. package/node_modules/typebox/build/type/engine/partial/from_object.mjs +0 -11
  1590. package/node_modules/typebox/build/type/engine/partial/from_type.mjs +0 -20
  1591. package/node_modules/typebox/build/type/engine/partial/from_union.mjs +0 -7
  1592. package/node_modules/typebox/build/type/engine/partial/index.mjs +0 -1
  1593. package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +0 -15
  1594. package/node_modules/typebox/build/type/engine/patterns/index.mjs +0 -2
  1595. package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +0 -11
  1596. package/node_modules/typebox/build/type/engine/patterns/template.mjs +0 -20
  1597. package/node_modules/typebox/build/type/engine/pick/from_type.mjs +0 -20
  1598. package/node_modules/typebox/build/type/engine/pick/index.mjs +0 -1
  1599. package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +0 -16
  1600. package/node_modules/typebox/build/type/engine/priority/index.mjs +0 -1
  1601. package/node_modules/typebox/build/type/engine/priority/priority.mjs +0 -27
  1602. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +0 -14
  1603. package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +0 -14
  1604. package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +0 -7
  1605. package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +0 -11
  1606. package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +0 -8
  1607. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +0 -8
  1608. package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +0 -11
  1609. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +0 -7
  1610. package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +0 -25
  1611. package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +0 -7
  1612. package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +0 -1
  1613. package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +0 -15
  1614. package/node_modules/typebox/build/type/engine/record/from_key.mjs +0 -40
  1615. package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +0 -6
  1616. package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +0 -5
  1617. package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +0 -8
  1618. package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +0 -7
  1619. package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +0 -8
  1620. package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +0 -10
  1621. package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +0 -7
  1622. package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +0 -12
  1623. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +0 -12
  1624. package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +0 -39
  1625. package/node_modules/typebox/build/type/engine/record/index.mjs +0 -1
  1626. package/node_modules/typebox/build/type/engine/record/instantiate.mjs +0 -17
  1627. package/node_modules/typebox/build/type/engine/record/record_create.mjs +0 -7
  1628. package/node_modules/typebox/build/type/engine/ref/index.mjs +0 -1
  1629. package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +0 -10
  1630. package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +0 -11
  1631. package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +0 -8
  1632. package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +0 -8
  1633. package/node_modules/typebox/build/type/engine/required/from_object.mjs +0 -11
  1634. package/node_modules/typebox/build/type/engine/required/from_type.mjs +0 -20
  1635. package/node_modules/typebox/build/type/engine/required/from_union.mjs +0 -7
  1636. package/node_modules/typebox/build/type/engine/required/index.mjs +0 -1
  1637. package/node_modules/typebox/build/type/engine/required/instantiate.mjs +0 -15
  1638. package/node_modules/typebox/build/type/engine/rest/index.mjs +0 -1
  1639. package/node_modules/typebox/build/type/engine/rest/spread.mjs +0 -19
  1640. package/node_modules/typebox/build/type/engine/return_type/index.mjs +0 -1
  1641. package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +0 -21
  1642. package/node_modules/typebox/build/type/engine/template_literal/create.mjs +0 -5
  1643. package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +0 -81
  1644. package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +0 -81
  1645. package/node_modules/typebox/build/type/engine/template_literal/index.mjs +0 -6
  1646. package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +0 -15
  1647. package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +0 -26
  1648. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +0 -10
  1649. package/node_modules/typebox/build/type/engine/template_literal/static.mjs +0 -2
  1650. package/node_modules/typebox/build/type/engine/this/expand_this.mjs +0 -26
  1651. package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +0 -14
  1652. package/node_modules/typebox/build/type/engine/with/index.mjs +0 -1
  1653. package/node_modules/typebox/build/type/engine/with/instantiate.mjs +0 -14
  1654. package/node_modules/typebox/build/type/extends/any.mjs +0 -12
  1655. package/node_modules/typebox/build/type/extends/array.mjs +0 -21
  1656. package/node_modules/typebox/build/type/extends/bigint.mjs +0 -9
  1657. package/node_modules/typebox/build/type/extends/boolean.mjs +0 -9
  1658. package/node_modules/typebox/build/type/extends/constructor.mjs +0 -17
  1659. package/node_modules/typebox/build/type/extends/dependent.mjs +0 -6
  1660. package/node_modules/typebox/build/type/extends/enum.mjs +0 -7
  1661. package/node_modules/typebox/build/type/extends/extends.mjs +0 -17
  1662. package/node_modules/typebox/build/type/extends/extends_left.mjs +0 -80
  1663. package/node_modules/typebox/build/type/extends/extends_right.mjs +0 -49
  1664. package/node_modules/typebox/build/type/extends/function.mjs +0 -17
  1665. package/node_modules/typebox/build/type/extends/index.mjs +0 -2
  1666. package/node_modules/typebox/build/type/extends/inference.mjs +0 -62
  1667. package/node_modules/typebox/build/type/extends/integer.mjs +0 -10
  1668. package/node_modules/typebox/build/type/extends/intersect.mjs +0 -15
  1669. package/node_modules/typebox/build/type/extends/literal.mjs +0 -44
  1670. package/node_modules/typebox/build/type/extends/never.mjs +0 -9
  1671. package/node_modules/typebox/build/type/extends/null.mjs +0 -9
  1672. package/node_modules/typebox/build/type/extends/number.mjs +0 -9
  1673. package/node_modules/typebox/build/type/extends/object.mjs +0 -109
  1674. package/node_modules/typebox/build/type/extends/parameters.mjs +0 -28
  1675. package/node_modules/typebox/build/type/extends/record.mjs +0 -23
  1676. package/node_modules/typebox/build/type/extends/result.mjs +0 -36
  1677. package/node_modules/typebox/build/type/extends/return_type.mjs +0 -9
  1678. package/node_modules/typebox/build/type/extends/string.mjs +0 -9
  1679. package/node_modules/typebox/build/type/extends/symbol.mjs +0 -9
  1680. package/node_modules/typebox/build/type/extends/template_literal.mjs +0 -7
  1681. package/node_modules/typebox/build/type/extends/tuple.mjs +0 -61
  1682. package/node_modules/typebox/build/type/extends/undefined.mjs +0 -10
  1683. package/node_modules/typebox/build/type/extends/union.mjs +0 -24
  1684. package/node_modules/typebox/build/type/extends/unknown.mjs +0 -12
  1685. package/node_modules/typebox/build/type/extends/void.mjs +0 -9
  1686. package/node_modules/typebox/build/type/index.mjs +0 -5
  1687. package/node_modules/typebox/build/type/script/index.mjs +0 -1
  1688. package/node_modules/typebox/build/type/script/mapping.mjs +0 -528
  1689. package/node_modules/typebox/build/type/script/parser.mjs +0 -140
  1690. package/node_modules/typebox/build/type/script/script.mjs +0 -22
  1691. package/node_modules/typebox/build/type/script/token/bigint.mjs +0 -14
  1692. package/node_modules/typebox/build/type/script/token/const.mjs +0 -18
  1693. package/node_modules/typebox/build/type/script/token/ident.mjs +0 -26
  1694. package/node_modules/typebox/build/type/script/token/index.mjs +0 -12
  1695. package/node_modules/typebox/build/type/script/token/integer.mjs +0 -19
  1696. package/node_modules/typebox/build/type/script/token/internal/char.mjs +0 -26
  1697. package/node_modules/typebox/build/type/script/token/internal/guard.mjs +0 -15
  1698. package/node_modules/typebox/build/type/script/token/internal/many.mjs +0 -14
  1699. package/node_modules/typebox/build/type/script/token/internal/match.mjs +0 -11
  1700. package/node_modules/typebox/build/type/script/token/internal/optional.mjs +0 -9
  1701. package/node_modules/typebox/build/type/script/token/internal/take.mjs +0 -30
  1702. package/node_modules/typebox/build/type/script/token/internal/trim.mjs +0 -34
  1703. package/node_modules/typebox/build/type/script/token/number.mjs +0 -19
  1704. package/node_modules/typebox/build/type/script/token/rest.mjs +0 -9
  1705. package/node_modules/typebox/build/type/script/token/span.mjs +0 -24
  1706. package/node_modules/typebox/build/type/script/token/string.mjs +0 -20
  1707. package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +0 -26
  1708. package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +0 -38
  1709. package/node_modules/typebox/build/type/script/token/until.mjs +0 -21
  1710. package/node_modules/typebox/build/type/script/token/until_1.mjs +0 -12
  1711. package/node_modules/typebox/build/type/types/_codec.mjs +0 -60
  1712. package/node_modules/typebox/build/type/types/_immutable.mjs +0 -18
  1713. package/node_modules/typebox/build/type/types/_optional.mjs +0 -18
  1714. package/node_modules/typebox/build/type/types/_readonly.mjs +0 -18
  1715. package/node_modules/typebox/build/type/types/_refine.mjs +0 -36
  1716. package/node_modules/typebox/build/type/types/any.mjs +0 -18
  1717. package/node_modules/typebox/build/type/types/array.mjs +0 -25
  1718. package/node_modules/typebox/build/type/types/bigint.mjs +0 -21
  1719. package/node_modules/typebox/build/type/types/boolean.mjs +0 -17
  1720. package/node_modules/typebox/build/type/types/call.mjs +0 -23
  1721. package/node_modules/typebox/build/type/types/constructor.mjs +0 -24
  1722. package/node_modules/typebox/build/type/types/cyclic.mjs +0 -29
  1723. package/node_modules/typebox/build/type/types/deferred.mjs +0 -16
  1724. package/node_modules/typebox/build/type/types/dependent.mjs +0 -24
  1725. package/node_modules/typebox/build/type/types/enum.mjs +0 -22
  1726. package/node_modules/typebox/build/type/types/function.mjs +0 -25
  1727. package/node_modules/typebox/build/type/types/generic.mjs +0 -17
  1728. package/node_modules/typebox/build/type/types/identifier.mjs +0 -17
  1729. package/node_modules/typebox/build/type/types/index.mjs +0 -51
  1730. package/node_modules/typebox/build/type/types/infer.mjs +0 -20
  1731. package/node_modules/typebox/build/type/types/integer.mjs +0 -21
  1732. package/node_modules/typebox/build/type/types/intersect.mjs +0 -24
  1733. package/node_modules/typebox/build/type/types/literal.mjs +0 -62
  1734. package/node_modules/typebox/build/type/types/never.mjs +0 -22
  1735. package/node_modules/typebox/build/type/types/null.mjs +0 -17
  1736. package/node_modules/typebox/build/type/types/number.mjs +0 -21
  1737. package/node_modules/typebox/build/type/types/object.mjs +0 -28
  1738. package/node_modules/typebox/build/type/types/parameter.mjs +0 -21
  1739. package/node_modules/typebox/build/type/types/properties.mjs +0 -15
  1740. package/node_modules/typebox/build/type/types/record.mjs +0 -66
  1741. package/node_modules/typebox/build/type/types/ref.mjs +0 -18
  1742. package/node_modules/typebox/build/type/types/rest.mjs +0 -17
  1743. package/node_modules/typebox/build/type/types/schema.mjs +0 -15
  1744. package/node_modules/typebox/build/type/types/static.mjs +0 -3
  1745. package/node_modules/typebox/build/type/types/string.mjs +0 -22
  1746. package/node_modules/typebox/build/type/types/symbol.mjs +0 -17
  1747. package/node_modules/typebox/build/type/types/template_literal.mjs +0 -37
  1748. package/node_modules/typebox/build/type/types/this.mjs +0 -17
  1749. package/node_modules/typebox/build/type/types/tuple.mjs +0 -25
  1750. package/node_modules/typebox/build/type/types/undefined.mjs +0 -17
  1751. package/node_modules/typebox/build/type/types/union.mjs +0 -24
  1752. package/node_modules/typebox/build/type/types/unknown.mjs +0 -17
  1753. package/node_modules/typebox/build/type/types/unsafe.mjs +0 -20
  1754. package/node_modules/typebox/build/type/types/void.mjs +0 -17
  1755. package/node_modules/typebox/build/typebox.mjs +0 -85
  1756. package/node_modules/typebox/build/value/assert/assert.mjs +0 -28
  1757. package/node_modules/typebox/build/value/assert/index.mjs +0 -1
  1758. package/node_modules/typebox/build/value/check/check.mjs +0 -11
  1759. package/node_modules/typebox/build/value/check/index.mjs +0 -1
  1760. package/node_modules/typebox/build/value/clean/additional.mjs +0 -6
  1761. package/node_modules/typebox/build/value/clean/clean.mjs +0 -17
  1762. package/node_modules/typebox/build/value/clean/from_array.mjs +0 -8
  1763. package/node_modules/typebox/build/value/clean/from_cyclic.mjs +0 -6
  1764. package/node_modules/typebox/build/value/clean/from_intersect.mjs +0 -26
  1765. package/node_modules/typebox/build/value/clean/from_object.mjs +0 -31
  1766. package/node_modules/typebox/build/value/clean/from_record.mjs +0 -32
  1767. package/node_modules/typebox/build/value/clean/from_ref.mjs +0 -8
  1768. package/node_modules/typebox/build/value/clean/from_tuple.mjs +0 -14
  1769. package/node_modules/typebox/build/value/clean/from_type.mjs +0 -21
  1770. package/node_modules/typebox/build/value/clean/from_union.mjs +0 -12
  1771. package/node_modules/typebox/build/value/clean/index.mjs +0 -1
  1772. package/node_modules/typebox/build/value/clone/clone.mjs +0 -12
  1773. package/node_modules/typebox/build/value/clone/index.mjs +0 -1
  1774. package/node_modules/typebox/build/value/codec/callback.mjs +0 -25
  1775. package/node_modules/typebox/build/value/codec/decode.mjs +0 -52
  1776. package/node_modules/typebox/build/value/codec/encode.mjs +0 -52
  1777. package/node_modules/typebox/build/value/codec/from_array.mjs +0 -35
  1778. package/node_modules/typebox/build/value/codec/from_cyclic.mjs +0 -8
  1779. package/node_modules/typebox/build/value/codec/from_intersect.mjs +0 -58
  1780. package/node_modules/typebox/build/value/codec/from_object.mjs +0 -42
  1781. package/node_modules/typebox/build/value/codec/from_record.mjs +0 -39
  1782. package/node_modules/typebox/build/value/codec/from_ref.mjs +0 -31
  1783. package/node_modules/typebox/build/value/codec/from_tuple.mjs +0 -32
  1784. package/node_modules/typebox/build/value/codec/from_type.mjs +0 -22
  1785. package/node_modules/typebox/build/value/codec/from_union.mjs +0 -39
  1786. package/node_modules/typebox/build/value/codec/has.mjs +0 -93
  1787. package/node_modules/typebox/build/value/codec/index.mjs +0 -3
  1788. package/node_modules/typebox/build/value/convert/convert.mjs +0 -15
  1789. package/node_modules/typebox/build/value/convert/from_additional.mjs +0 -18
  1790. package/node_modules/typebox/build/value/convert/from_array.mjs +0 -7
  1791. package/node_modules/typebox/build/value/convert/from_bigint.mjs +0 -6
  1792. package/node_modules/typebox/build/value/convert/from_boolean.mjs +0 -6
  1793. package/node_modules/typebox/build/value/convert/from_cyclic.mjs +0 -6
  1794. package/node_modules/typebox/build/value/convert/from_enum.mjs +0 -6
  1795. package/node_modules/typebox/build/value/convert/from_integer.mjs +0 -6
  1796. package/node_modules/typebox/build/value/convert/from_intersect.mjs +0 -8
  1797. package/node_modules/typebox/build/value/convert/from_literal.mjs +0 -44
  1798. package/node_modules/typebox/build/value/convert/from_null.mjs +0 -6
  1799. package/node_modules/typebox/build/value/convert/from_number.mjs +0 -6
  1800. package/node_modules/typebox/build/value/convert/from_object.mjs +0 -28
  1801. package/node_modules/typebox/build/value/convert/from_record.mjs +0 -23
  1802. package/node_modules/typebox/build/value/convert/from_ref.mjs +0 -8
  1803. package/node_modules/typebox/build/value/convert/from_string.mjs +0 -6
  1804. package/node_modules/typebox/build/value/convert/from_template_literal.mjs +0 -6
  1805. package/node_modules/typebox/build/value/convert/from_tuple.mjs +0 -11
  1806. package/node_modules/typebox/build/value/convert/from_type.mjs +0 -43
  1807. package/node_modules/typebox/build/value/convert/from_undefined.mjs +0 -6
  1808. package/node_modules/typebox/build/value/convert/from_union.mjs +0 -13
  1809. package/node_modules/typebox/build/value/convert/from_void.mjs +0 -6
  1810. package/node_modules/typebox/build/value/convert/index.mjs +0 -1
  1811. package/node_modules/typebox/build/value/convert/try/index.mjs +0 -1
  1812. package/node_modules/typebox/build/value/convert/try/try.mjs +0 -8
  1813. package/node_modules/typebox/build/value/convert/try/try_array.mjs +0 -6
  1814. package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +0 -45
  1815. package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +0 -41
  1816. package/node_modules/typebox/build/value/convert/try/try_null.mjs +0 -44
  1817. package/node_modules/typebox/build/value/convert/try/try_number.mjs +0 -44
  1818. package/node_modules/typebox/build/value/convert/try/try_result.mjs +0 -17
  1819. package/node_modules/typebox/build/value/convert/try/try_string.mjs +0 -12
  1820. package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +0 -44
  1821. package/node_modules/typebox/build/value/create/create.mjs +0 -11
  1822. package/node_modules/typebox/build/value/create/error.mjs +0 -7
  1823. package/node_modules/typebox/build/value/create/from_array.mjs +0 -10
  1824. package/node_modules/typebox/build/value/create/from_bigint.mjs +0 -7
  1825. package/node_modules/typebox/build/value/create/from_boolean.mjs +0 -4
  1826. package/node_modules/typebox/build/value/create/from_constructor.mjs +0 -10
  1827. package/node_modules/typebox/build/value/create/from_cyclic.mjs +0 -6
  1828. package/node_modules/typebox/build/value/create/from_default.mjs +0 -10
  1829. package/node_modules/typebox/build/value/create/from_enum.mjs +0 -6
  1830. package/node_modules/typebox/build/value/create/from_function.mjs +0 -6
  1831. package/node_modules/typebox/build/value/create/from_integer.mjs +0 -8
  1832. package/node_modules/typebox/build/value/create/from_intersect.mjs +0 -8
  1833. package/node_modules/typebox/build/value/create/from_literal.mjs +0 -4
  1834. package/node_modules/typebox/build/value/create/from_never.mjs +0 -5
  1835. package/node_modules/typebox/build/value/create/from_null.mjs +0 -4
  1836. package/node_modules/typebox/build/value/create/from_number.mjs +0 -8
  1837. package/node_modules/typebox/build/value/create/from_object.mjs +0 -9
  1838. package/node_modules/typebox/build/value/create/from_record.mjs +0 -8
  1839. package/node_modules/typebox/build/value/create/from_ref.mjs +0 -9
  1840. package/node_modules/typebox/build/value/create/from_string.mjs +0 -9
  1841. package/node_modules/typebox/build/value/create/from_symbol.mjs +0 -4
  1842. package/node_modules/typebox/build/value/create/from_template_literal.mjs +0 -11
  1843. package/node_modules/typebox/build/value/create/from_tuple.mjs +0 -5
  1844. package/node_modules/typebox/build/value/create/from_type.mjs +0 -61
  1845. package/node_modules/typebox/build/value/create/from_undefined.mjs +0 -4
  1846. package/node_modules/typebox/build/value/create/from_union.mjs +0 -9
  1847. package/node_modules/typebox/build/value/create/from_void.mjs +0 -4
  1848. package/node_modules/typebox/build/value/create/index.mjs +0 -2
  1849. package/node_modules/typebox/build/value/default/default.mjs +0 -15
  1850. package/node_modules/typebox/build/value/default/from_array.mjs +0 -12
  1851. package/node_modules/typebox/build/value/default/from_cyclic.mjs +0 -7
  1852. package/node_modules/typebox/build/value/default/from_default.mjs +0 -13
  1853. package/node_modules/typebox/build/value/default/from_intersect.mjs +0 -9
  1854. package/node_modules/typebox/build/value/default/from_object.mjs +0 -32
  1855. package/node_modules/typebox/build/value/default/from_record.mjs +0 -26
  1856. package/node_modules/typebox/build/value/default/from_ref.mjs +0 -9
  1857. package/node_modules/typebox/build/value/default/from_tuple.mjs +0 -14
  1858. package/node_modules/typebox/build/value/default/from_type.mjs +0 -25
  1859. package/node_modules/typebox/build/value/default/from_union.mjs +0 -14
  1860. package/node_modules/typebox/build/value/default/index.mjs +0 -1
  1861. package/node_modules/typebox/build/value/delta/diff.mjs +0 -135
  1862. package/node_modules/typebox/build/value/delta/edit.mjs +0 -17
  1863. package/node_modules/typebox/build/value/delta/index.mjs +0 -3
  1864. package/node_modules/typebox/build/value/delta/patch.mjs +0 -42
  1865. package/node_modules/typebox/build/value/equal/equal.mjs +0 -6
  1866. package/node_modules/typebox/build/value/equal/index.mjs +0 -1
  1867. package/node_modules/typebox/build/value/errors/errors.mjs +0 -12
  1868. package/node_modules/typebox/build/value/errors/index.mjs +0 -1
  1869. package/node_modules/typebox/build/value/hash/hash.mjs +0 -10
  1870. package/node_modules/typebox/build/value/hash/index.mjs +0 -1
  1871. package/node_modules/typebox/build/value/index.mjs +0 -29
  1872. package/node_modules/typebox/build/value/parse/index.mjs +0 -1
  1873. package/node_modules/typebox/build/value/parse/parse.mjs +0 -47
  1874. package/node_modules/typebox/build/value/pipeline/index.mjs +0 -1
  1875. package/node_modules/typebox/build/value/pipeline/pipeline.mjs +0 -15
  1876. package/node_modules/typebox/build/value/pointer/index.mjs +0 -1
  1877. package/node_modules/typebox/build/value/repair/error.mjs +0 -8
  1878. package/node_modules/typebox/build/value/repair/from_array.mjs +0 -39
  1879. package/node_modules/typebox/build/value/repair/from_enum.mjs +0 -6
  1880. package/node_modules/typebox/build/value/repair/from_intersect.mjs +0 -8
  1881. package/node_modules/typebox/build/value/repair/from_object.mjs +0 -33
  1882. package/node_modules/typebox/build/value/repair/from_record.mjs +0 -33
  1883. package/node_modules/typebox/build/value/repair/from_ref.mjs +0 -9
  1884. package/node_modules/typebox/build/value/repair/from_template_literal.mjs +0 -7
  1885. package/node_modules/typebox/build/value/repair/from_tuple.mjs +0 -12
  1886. package/node_modules/typebox/build/value/repair/from_type.mjs +0 -88
  1887. package/node_modules/typebox/build/value/repair/from_union.mjs +0 -24
  1888. package/node_modules/typebox/build/value/repair/from_unknown.mjs +0 -12
  1889. package/node_modules/typebox/build/value/repair/index.mjs +0 -1
  1890. package/node_modules/typebox/build/value/repair/repair.mjs +0 -20
  1891. package/node_modules/typebox/build/value/shared/index.mjs +0 -4
  1892. package/node_modules/typebox/build/value/shared/optional_undefined.mjs +0 -15
  1893. package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +0 -72
  1894. package/node_modules/typebox/build/value/shared/union_score_select.mjs +0 -51
  1895. package/node_modules/typebox/build/value/value.mjs +0 -15
  1896. package/node_modules/typebox/package.json +0 -87
  1897. package/node_modules/typebox/readme.md +0 -371
  1898. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/lib/types/task-graph.js +0 -0
  1899. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/lib/types/types.js +0 -0
  1900. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/lib/types/validation.js +0 -0
  1901. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/de.json +0 -0
  1902. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/es.json +0 -0
  1903. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/fr.json +0 -0
  1904. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/pt.json +0 -0
  1905. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/ru.json +0 -0
  1906. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/lib/index.js +0 -0
  1907. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/de.json +0 -0
  1908. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/es.json +0 -0
  1909. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/fr.json +0 -0
  1910. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/pt.json +0 -0
  1911. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/ru.json +0 -0
  1912. /package/node_modules/{typebox/build/schema/static/index.mjs → @deepseek-ai/dsh-cua/lib/remote-types.js} +0 -0
  1913. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team-profile → dsh-cua-bundle}/lib/index.js +0 -0
  1914. /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/de.json +0 -0
  1915. /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/es.json +0 -0
  1916. /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/fr.json +0 -0
  1917. /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/pt.json +0 -0
  1918. /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/ru.json +0 -0
  1919. /package/node_modules/{typebox/license → @earendil-works/pi-schema/LICENSES/typebox-LICENSE} +0 -0
@@ -1,76 +1,19 @@
1
1
  import z from "@deepseek-ai/schemastery";
2
2
  import { credentialRef } from "@deepseek-ai/dsh-credentials";
3
3
  import { launchEnvironmentOf } from "@deepseek-ai/dsh-launch-environment";
4
+ import { deepSeekApiKeyConfigured, rejectDeepSeekAccountToken, resolveDeepSeekAccountToken, resolveDeepSeekApiKey } from "@deepseek-ai/dsh-llm-deepseek";
5
+ import { plainAccountOptions, resolveAccountOptions } from "@deepseek-ai/dsh-llm-deepseek-account";
6
+ import { plainOptions, resolveAdapterOptions } from "@deepseek-ai/dsh-llm-deepseek-api-key";
4
7
  import { WebError } from "@deepseek-ai/dsh-web";
5
8
  //#region lib/types/transport.js
6
- const ACCOUNT_PROVIDER = "deepseek-account";
7
9
  const USER_AGENT = "deepseek-harness/0.0.1";
8
10
  /**
9
- * Resolve credential sources for one operation without retaining secret values.
10
- * @param ctx - Provider context with request routing and credential services.
11
- * @param config - Literal key and credential reference from the settings snapshot.
12
- * @returns Authentication sources for one operation.
13
- */
14
- function deepSeekWebAuth(ctx, config) {
15
- const apiKeyEnv = credentialRef(config.apiKeyEnv);
16
- const literalApiKey = config.apiKey !== void 0 && config.apiKey.length > 0 ? config.apiKey : void 0;
17
- return {
18
- ...literalApiKey === void 0 ? {} : { apiKey: literalApiKey },
19
- resolveAccountToken: async (endpoint) => {
20
- if (ctx.get("agents")?.currentInitiator()?.session.requestContext()?.provider !== ACCOUNT_PROVIDER) return void 0;
21
- return await ctx.get("deepseekAccount")?.resolveToken(endpoint);
22
- },
23
- resolveApiKey: async () => {
24
- const credentials = ctx.get("credentials");
25
- if (credentials !== void 0) return (await credentials.resolve(apiKeyEnv))?.value;
26
- const ambient = launchEnvironmentOf(ctx).get(apiKeyEnv);
27
- return ambient !== void 0 && ambient.value.length > 0 ? ambient.value : void 0;
28
- },
29
- apiKeyEnv
30
- };
31
- }
32
- /**
33
- * Whether an operation for a model request on `route` has a credential, checked in the order the
34
- * operation resolves them: the account token first on the account route, then the API key. A failed
35
- * read answers false, because the operation fails on that read instead of trying the next credential.
36
- * Only presence is checked: the key's value is not read and the endpoint is not contacted, so a wrong
37
- * key still counts as configured.
38
- * @param ctx - Provider context with the account, credential, and environment planes.
39
- * @param config - Literal key, credential reference, and API base from the settings snapshot.
40
- * @param route - Provider route of the model request being prepared.
41
- * @returns Whether the account token or an API key is available to that operation.
42
- */
43
- async function deepSeekWebCredentialReady(ctx, config, route) {
44
- const account = ctx.get("deepseekAccount");
45
- if (route === ACCOUNT_PROVIDER && account !== void 0) {
46
- let token;
47
- try {
48
- token = await account.resolveToken(config.baseURL);
49
- } catch (_unreadableGrant) {
50
- return false;
51
- }
52
- if (token !== void 0 && token.length > 0) return true;
53
- }
54
- if (config.apiKey !== void 0 && config.apiKey.length > 0) return true;
55
- const apiKeyEnv = credentialRef(config.apiKeyEnv);
56
- const credentials = ctx.get("credentials");
57
- if (credentials === void 0) {
58
- const ambient = launchEnvironmentOf(ctx).get(apiKeyEnv);
59
- return ambient !== void 0 && ambient.value.length > 0;
60
- }
61
- try {
62
- return (await credentials.describe(apiKeyEnv)).configured;
63
- } catch (_unreadableStore) {
64
- return false;
65
- }
66
- }
67
- /**
68
11
  * Check whether an authentication source exists; does not resolve credentials.
69
12
  * @param auth - Sources for the operation.
70
13
  * @returns Whether a literal key or resolver is present.
71
14
  */
72
15
  function hasDeepSeekWebCredential(auth) {
73
- return (auth.apiKey?.length ?? 0) > 0 || auth.resolveApiKey !== void 0 || auth.resolveAccountToken !== void 0;
16
+ return (auth.apiKey?.length ?? 0) > 0 || auth.resolveApiKey !== void 0 || auth.account !== void 0;
74
17
  }
75
18
  /** Narrow a remote JSON object.
76
19
  * @param value - Untrusted JSON.
@@ -92,8 +35,10 @@ function invalidResponse() {
92
35
  * @returns The validated provider result.
93
36
  */
94
37
  async function dispatchDeepSeekWeb(options, request, signal) {
95
- const { endpoint, body, decode, recordRequest, guidance } = request;
38
+ const { body, decode, recordRequest, guidance } = request;
96
39
  const auth = await authHeaders(options, request, signal);
40
+ const { endpoint } = auth;
41
+ await request.waitToSend?.(signal);
97
42
  throwIfSearchAborted(signal);
98
43
  recordRequest?.(endpoint);
99
44
  throwIfSearchAborted(signal);
@@ -119,6 +64,7 @@ async function dispatchDeepSeekWeb(options, request, signal) {
119
64
  if (!response.ok) {
120
65
  const status = response.status;
121
66
  let message = `DeepSeek API error (HTTP ${status})`;
67
+ let aborted;
122
68
  try {
123
69
  const parsed = await response.json();
124
70
  if (isRecord(parsed)) {
@@ -126,9 +72,15 @@ async function dispatchDeepSeekWeb(options, request, signal) {
126
72
  if (typeof detail === "string" && detail.length > 0) message += `: ${detail}`;
127
73
  }
128
74
  } catch (error) {
129
- if (signal?.aborted === true || isAbortError(error)) throw searchAborted(signal, error);
75
+ if (signal?.aborted === true || isAbortError(error)) aborted = searchAborted(signal, error);
130
76
  }
131
- if (status === 401 && auth.kind === "account") throw accountRejectedError(message);
77
+ if (status === 401 && auth.kind === "account") {
78
+ try {
79
+ await auth.reject?.();
80
+ } catch (_credentialRemovalFailed) {}
81
+ throw aborted ?? accountRejectedError(message);
82
+ }
83
+ if (aborted !== void 0) throw aborted;
132
84
  throw searchEndpointError(guidance, endpoint, message);
133
85
  }
134
86
  try {
@@ -146,52 +98,73 @@ function accountRejectedError(message) {
146
98
  }
147
99
  /**
148
100
  * Add endpoint recovery instructions to failures that occur after request dispatch begins.
149
- * @param options - the plugin, settings field, and settings page the guidance names.
101
+ * @param options - the plugin and settings fields the guidance names.
150
102
  * @param endpoint - the dispatched endpoint.
151
103
  * @param message - the failure description.
152
104
  * @param cause - the underlying failure, when one exists.
153
105
  * @returns the provider failure with recovery instructions.
154
106
  */
155
107
  function searchEndpointError(options, endpoint, message, cause) {
156
- return new WebError(`${message}\n\nThe web request used endpoint ${JSON.stringify(endpoint)}. ${options.subject} endpoint configuration is separate from chat. If that endpoint is not intended, guide the user to Plugins > Built-in plugin settings > ${options.page}, where they can change and save ${options.label}. If that settings page is unavailable, the user can set ${options.plugin}.${options.field} to a trusted DeepSeek endpoint. Only the user should choose or change the endpoint.`, "WEB_PROVIDER_ERROR", cause === void 0 ? void 0 : { cause });
108
+ const { subject, plugin } = options;
109
+ const baseURLField = `${plugin}.${options.baseURLField}`, apiKeyEnvField = `${plugin}.${options.apiKeyEnvField}`;
110
+ const recovery = options.custom ? `${subject} sends the API key under ${apiKeyEnvField} to ${baseURLField}. If that endpoint is not intended, guide the user to correct ${baseURLField} and ${apiKeyEnvField}, or to remove both so ${subject} uses the DeepSeek credential of the conversation.` : `${subject} derives this endpoint from the base URL of the DeepSeek model provider whose credential it uses. If that endpoint is not intended, guide the user to check that provider's base URL on the Models page, or to set ${baseURLField} to a trusted DeepSeek endpoint and ${apiKeyEnvField} to the credential reference of its API key.`;
111
+ return new WebError(`${message}\n\nThe web request used endpoint ${JSON.stringify(endpoint)}. ${recovery} Only the user should choose or change the endpoint.`, "WEB_PROVIDER_ERROR", cause === void 0 ? void 0 : { cause });
157
112
  }
158
113
  /**
159
114
  * Resolve one operation's authentication headers without retaining a credential on the provider.
160
115
  * @param options - the caller's snapshot, so the credential and the endpoint it is sent to come from one section.
161
- * @param request - the resolved request; its endpoint scopes the account token.
116
+ * @param request - the resolved request; its path under the account base scopes the account token.
162
117
  * @param signal - abort signal for the surrounding operation.
163
- * @returns the account-token header when one resolves, otherwise the API-key headers, tagged by credential kind.
118
+ * @returns the account-token header and account endpoint when a token resolves, otherwise the API-key headers and the
119
+ * request's endpoint, tagged by credential kind.
164
120
  */
165
121
  async function authHeaders(options, request, signal) {
166
- const { resolveAccountToken } = options;
167
- const token = resolveAccountToken === void 0 ? void 0 : await resolveCredential(() => resolveAccountToken(request.endpoint), signal);
168
- if (token !== void 0 && token.length > 0) return {
169
- kind: "account",
170
- headers: { "x-dsh-auth-token": token }
171
- };
172
- const apiKey = await resolveApiKey(options, request.guidance.plugin, signal);
122
+ const { account, invalidRoute } = options;
123
+ if (invalidRoute?.stage === "account") throw routeMisconfigured(invalidRoute);
124
+ if (account !== void 0) {
125
+ const endpoint = joinPath(account.baseURL, request.path);
126
+ const token = await resolveCredential(() => account.resolveToken(endpoint), signal);
127
+ if (token !== void 0 && token.length > 0) return {
128
+ kind: "account",
129
+ endpoint,
130
+ headers: { "x-dsh-auth-token": token },
131
+ reject: async () => {
132
+ await account.rejectToken(token);
133
+ }
134
+ };
135
+ }
136
+ if (invalidRoute?.stage === "api-key") throw routeMisconfigured(invalidRoute);
137
+ const apiKey = await resolveApiKey(options, signal);
173
138
  return {
174
139
  kind: "api-key",
140
+ endpoint: joinPath(request.baseURL, request.path),
175
141
  headers: {
176
142
  ...request.apiKeyHeaders?.(apiKey),
177
143
  "authorization": `Bearer ${apiKey}`
178
144
  }
179
145
  };
180
146
  }
147
+ /** The failure of an operation that would use a model route whose settings do not resolve. */
148
+ function routeMisconfigured(route) {
149
+ return new WebError(route.message, "WEB_PROVIDER_MISCONFIGURED");
150
+ }
151
+ /** Append an operation path to an API base, without doubling a trailing slash. */
152
+ function joinPath(baseURL, path) {
153
+ return `${baseURL.replace(/\/+$/u, "")}${path}`;
154
+ }
181
155
  /**
182
156
  * Resolve one operation's API key without retaining it on the provider.
183
157
  * @param options - the caller's snapshot, so the key and the endpoint it is sent to come from one section.
184
- * @param plugin - configuration namespace named by the missing-key diagnostic.
185
158
  * @param signal - abort signal for the surrounding operation.
186
159
  * @returns the resolved key.
187
160
  */
188
- async function resolveApiKey(options, plugin, signal) {
161
+ async function resolveApiKey(options, signal) {
189
162
  throwIfSearchAborted(signal);
190
163
  if (options.apiKey !== void 0 && options.apiKey.length > 0) return options.apiKey;
191
164
  const { resolveApiKey } = options;
192
165
  const resolved = resolveApiKey === void 0 ? void 0 : await resolveCredential(resolveApiKey, signal);
193
166
  if (resolved !== void 0 && resolved.length > 0) return resolved;
194
- throw new WebError(`DeepSeek web access has no API key for "${options.apiKeyEnv ?? "DEEPSEEK_API_KEY"}"; store it through the credentials service (the web Models page writes it), export it in the launching environment, or set a literal "apiKey" in the ${plugin} config; a conversation using a DeepSeek Account model searches with the account sign-in instead`, "WEB_PROVIDER_CREDENTIAL_MISSING");
167
+ throw new WebError(options.missingKeyMessage ?? `DeepSeek web access has no API key for "${options.apiKeyEnv ?? "DEEPSEEK_API_KEY"}"`, "WEB_PROVIDER_CREDENTIAL_MISSING");
195
168
  }
196
169
  /**
197
170
  * Run one credential resolver under the search's cancellation signal. An
@@ -236,7 +209,12 @@ function abortable(operation, signal) {
236
209
  function throwIfSearchAborted(signal) {
237
210
  if (signal?.aborted === true) throw searchAborted(signal);
238
211
  }
239
- /** Build the provider's stable cancellation error while retaining the caller's reason. */
212
+ /**
213
+ * Build the provider's stable cancellation error while retaining the caller's reason.
214
+ * @param signal - the aborted caller signal; its reason becomes the cause.
215
+ * @param fallback - the cause when the signal has not aborted, such as a fetch `AbortError`.
216
+ * @returns a `WEB_ABORTED` error.
217
+ */
240
218
  function searchAborted(signal, fallback) {
241
219
  return new WebError("DeepSeek web request aborted", "WEB_ABORTED", { cause: signal?.aborted === true ? signal.reason : fallback });
242
220
  }
@@ -245,6 +223,59 @@ function isAbortError(error) {
245
223
  return error instanceof DOMException && error.name === "AbortError";
246
224
  }
247
225
  //#endregion
226
+ //#region lib/types/fetch.js
227
+ /** Stable id the Fetch API provider registers under in the fetch registry. */
228
+ const DEEPSEEK_FETCH_API_PROVIDER_ID = "deepseek-fetch-api";
229
+ /**
230
+ * Fetch page Markdown through the DeepSeek Fetch API. The API reports neither the
231
+ * target's status nor a final URL, and it fails when the target yields no usable
232
+ * content, so a success is the requested page retrieved with HTTP 200.
233
+ */
234
+ var DeepSeekFetchApiProvider = class {
235
+ resolveOptions;
236
+ id = DEEPSEEK_FETCH_API_PROVIDER_ID;
237
+ /** Picker description: what this provider suits and what it costs or cannot do. */
238
+ description = {
239
+ en: "Fetches public URLs on DeepSeek servers and returns Markdown. Uses the DeepSeek account of the current conversation, or a DeepSeek API key, may incur API charges, and cannot reach intranet or loopback addresses.",
240
+ zh: "由 DeepSeek 服务端抓取公网页面并返回 Markdown。使用当前会话的 DeepSeek 账号或 DeepSeek API Key,可能产生计费,且无法访问内网和本机",
241
+ ja: "DeepSeek のサーバーで公開 URL を取得し、Markdown を返します。現在の会話の DeepSeek アカウント、または DeepSeek API キーを使用し、API 料金が発生する場合があり、イントラネットやループバックのアドレスにはアクセスできません。",
242
+ es: "Obtiene URL públicas en los servidores de DeepSeek y devuelve Markdown. Usa la cuenta de DeepSeek de la conversación actual o una clave de API de DeepSeek, puede generar cargos de API y no puede acceder a direcciones de la intranet ni de bucle invertido.",
243
+ fr: "Récupère les URL publiques sur les serveurs DeepSeek et renvoie du Markdown. Utilise le compte DeepSeek de la conversation en cours ou une clé API DeepSeek, peut entraîner des frais d'API et ne peut pas atteindre les adresses intranet ou de bouclage.",
244
+ de: "Ruft öffentliche URLs auf DeepSeek-Servern ab und gibt Markdown zurück. Verwendet das DeepSeek-Konto der aktuellen Unterhaltung oder einen DeepSeek-API-Schlüssel, kann API-Kosten verursachen und erreicht keine Intranet- oder Loopback-Adressen.",
245
+ ru: "Загружает публичные URL на серверах DeepSeek и возвращает Markdown. Использует учётную запись DeepSeek текущего разговора или ключ API DeepSeek, возможна оплата API; адреса интрасети и loopback недоступны.",
246
+ pt: "Obtém URLs públicas nos servidores da DeepSeek e retorna Markdown. Usa a conta DeepSeek da conversa atual ou uma chave de API da DeepSeek, pode gerar cobranças de API e não alcança endereços da intranet nem de loopback."
247
+ };
248
+ /** @param resolveOptions - the options for the NEXT fetch, read once at each fetch's entry. */
249
+ constructor(resolveOptions) {
250
+ this.resolveOptions = resolveOptions;
251
+ }
252
+ available() {
253
+ const options = this.resolveOptions();
254
+ return hasDeepSeekWebCredential(options.auth) && URL.canParse(options.baseURL);
255
+ }
256
+ fetch(request, signal) {
257
+ const options = this.resolveOptions();
258
+ return dispatchDeepSeekWeb(options.auth, {
259
+ baseURL: options.baseURL,
260
+ path: "/fetch",
261
+ body: { url: request.url },
262
+ decode: (payload) => {
263
+ if (!isRecord(payload) || typeof payload.content !== "string") throw invalidResponse();
264
+ return {
265
+ url: request.url,
266
+ statusCode: 200,
267
+ body: {
268
+ kind: "text",
269
+ content: payload.content
270
+ },
271
+ truncated: false
272
+ };
273
+ },
274
+ guidance: options.guidance
275
+ }, signal);
276
+ }
277
+ };
278
+ //#endregion
248
279
  //#region lib/types/search.js
249
280
  /** Stable id the Search API provider registers under in the search registry. */
250
281
  const DEEPSEEK_SEARCH_API_PROVIDER_ID = "deepseek-search-api";
@@ -252,15 +283,10 @@ const DEEPSEEK_SEARCH_API_PROVIDER_ID = "deepseek-search-api";
252
283
  const DEEPSEEK_WEB_API_BASE_URL = "https://api.deepseek.com/v1/tools";
253
284
  /** Default Search API result count, the service's own default. */
254
285
  const DEEPSEEK_DEFAULT_COUNT = 10;
286
+ /** Default Search requests started per second, the service's account-wide 5 QPS limit. */
287
+ const DEEPSEEK_SEARCH_REQUESTS_PER_SECOND = 5;
255
288
  /** Longest `ori_question` the Search API accepts, in characters. */
256
289
  const ORIGINAL_QUESTION_MAX_CHARS = 128;
257
- /** Settings named by endpoint failures of either API in this package. */
258
- const DEEPSEEK_WEB_API_GUIDANCE = {
259
- plugin: "web-deepseek-api",
260
- field: "baseURL",
261
- label: "Search / Fetch API base URL",
262
- page: "Web search"
263
- };
264
290
  /**
265
291
  * Validate a Search API response and project its sources into the web service.
266
292
  * @param response - untrusted JSON from the Search endpoint.
@@ -291,6 +317,19 @@ function mapSearchResponse(response) {
291
317
  var DeepSeekSearchApiProvider = class {
292
318
  resolveOptions;
293
319
  id = DEEPSEEK_SEARCH_API_PROVIDER_ID;
320
+ /** Monotonic start times (ms) of requests inside the current window, oldest first. */
321
+ starts = [];
322
+ /** Picker description: what this provider suits and what it costs or cannot do. */
323
+ description = {
324
+ en: "Queries the search endpoint directly for titles, URLs, and snippets without an extra model call. Uses the DeepSeek account of the current conversation, or a DeepSeek API key, and may incur API charges.",
325
+ zh: "直接请求搜索接口返回标题、URL 与摘要,无需额外调用模型。使用当前会话的 DeepSeek 账号或 DeepSeek API Key,可能产生计费",
326
+ ja: "追加のモデル呼び出しなしで検索エンドポイントに直接問い合わせ、タイトル、URL、スニペットを返します。現在の会話の DeepSeek アカウント、または DeepSeek API キーを使用し、API 料金が発生する場合があります。",
327
+ es: "Consulta directamente el punto de conexión de búsqueda y devuelve títulos, URL y fragmentos sin una llamada adicional al modelo. Usa la cuenta de DeepSeek de la conversación actual o una clave de API de DeepSeek, y puede generar cargos de API.",
328
+ fr: "Interroge directement le point de terminaison de recherche pour obtenir titres, URL et extraits, sans appel de modèle supplémentaire. Utilise le compte DeepSeek de la conversation en cours ou une clé API DeepSeek, et peut entraîner des frais d'API.",
329
+ de: "Fragt den Suchendpunkt direkt nach Titeln, URLs und Ausschnitten ab, ohne zusätzlichen Modellaufruf. Verwendet das DeepSeek-Konto der aktuellen Unterhaltung oder einen DeepSeek-API-Schlüssel und kann API-Kosten verursachen.",
330
+ ru: "Напрямую запрашивает поисковый сервис и возвращает заголовки, URL и фрагменты без дополнительного вызова модели. Использует учётную запись DeepSeek текущего разговора или ключ API DeepSeek; возможна оплата API.",
331
+ pt: "Consulta diretamente o endpoint de pesquisa e retorna títulos, URLs e trechos sem uma chamada extra ao modelo. Usa a conta DeepSeek da conversa atual ou uma chave de API da DeepSeek e pode gerar cobranças de API."
332
+ };
294
333
  /**
295
334
  * @param resolveOptions - the options for the NEXT search, read once at each
296
335
  * search's entry so one search never mixes two settings sections.
@@ -300,13 +339,14 @@ var DeepSeekSearchApiProvider = class {
300
339
  }
301
340
  available() {
302
341
  const options = this.resolveOptions();
303
- return hasDeepSeekWebCredential(options) && URL.canParse(options.baseURL) && isPositiveInteger(options.count);
342
+ return hasDeepSeekWebCredential(options.auth) && URL.canParse(options.baseURL) && isPositiveInteger(options.count) && isPositiveInteger(options.requestsPerSecond);
304
343
  }
305
- search(request, signal) {
344
+ async search(request, signal) {
306
345
  const options = this.resolveOptions();
307
346
  const question = boundedQuestion(options.originalQuestion?.());
308
- return dispatchDeepSeekWeb(options, {
309
- endpoint: `${options.baseURL.replace(/\/+$/u, "")}/search`,
347
+ return dispatchDeepSeekWeb(options.auth, {
348
+ baseURL: options.baseURL,
349
+ path: "/search",
310
350
  body: {
311
351
  query: request.query,
312
352
  count: Math.min(options.count, request.maxResults ?? options.count),
@@ -314,13 +354,46 @@ var DeepSeekSearchApiProvider = class {
314
354
  ...question === void 0 ? {} : { ori_question: question }
315
355
  },
316
356
  decode: mapSearchResponse,
317
- guidance: {
318
- subject: "Search",
319
- ...DEEPSEEK_WEB_API_GUIDANCE
320
- }
357
+ waitToSend: (waitSignal) => this.waitForRequestSlot(options.requestsPerSecond, waitSignal),
358
+ guidance: options.guidance
321
359
  }, signal);
322
360
  }
361
+ /**
362
+ * Wait until fewer than `limit` requests started within the last second,
363
+ * inclusive of its first millisecond, then record this start.
364
+ * @throws {@link WebError} `WEB_ABORTED` when `signal` aborts while waiting.
365
+ */
366
+ async waitForRequestSlot(limit, signal) {
367
+ for (;;) {
368
+ if (signal?.aborted === true) throw searchAborted(signal);
369
+ const now = performance.now();
370
+ let oldest = this.starts[0];
371
+ while (oldest !== void 0 && oldest < now - 1e3) {
372
+ this.starts.shift();
373
+ oldest = this.starts[0];
374
+ }
375
+ if (oldest === void 0 || this.starts.length < limit) {
376
+ this.starts.push(now);
377
+ return;
378
+ }
379
+ await abortableDelay(oldest + 1001 - now, signal);
380
+ }
381
+ }
323
382
  };
383
+ /** Resolve after `ms`, or early when `signal` aborts; the caller rechecks the signal. */
384
+ function abortableDelay(ms, signal) {
385
+ return new Promise((resolve) => {
386
+ const onAbort = () => {
387
+ clearTimeout(timer);
388
+ resolve();
389
+ };
390
+ const timer = setTimeout(() => {
391
+ signal?.removeEventListener("abort", onAbort);
392
+ resolve();
393
+ }, ms);
394
+ signal?.addEventListener("abort", onAbort, { once: true });
395
+ });
396
+ }
324
397
  /**
325
398
  * Bound the triggering question to what `ori_question` accepts: whitespace
326
399
  * collapses to single spaces and the first 128 characters remain.
@@ -337,62 +410,42 @@ function isPositiveInteger(value) {
337
410
  return Number.isInteger(value) && value > 0;
338
411
  }
339
412
  //#endregion
340
- //#region lib/types/fetch.js
341
- /** Stable id the Fetch API provider registers under in the fetch registry. */
342
- const DEEPSEEK_FETCH_API_PROVIDER_ID = "deepseek-fetch-api";
343
- /**
344
- * Fetch page Markdown through the DeepSeek Fetch API. The API reports neither the
345
- * target's status nor a final URL, and it fails when the target yields no usable
346
- * content, so a success is the requested page retrieved with HTTP 200.
347
- */
348
- var DeepSeekFetchApiProvider = class {
349
- resolveOptions;
350
- id = DEEPSEEK_FETCH_API_PROVIDER_ID;
351
- /** @param resolveOptions - the options for the NEXT fetch, read once at each fetch's entry. */
352
- constructor(resolveOptions) {
353
- this.resolveOptions = resolveOptions;
354
- }
355
- available() {
356
- const options = this.resolveOptions();
357
- return hasDeepSeekWebCredential(options) && URL.canParse(options.baseURL);
358
- }
359
- fetch(request, signal) {
360
- const options = this.resolveOptions();
361
- return dispatchDeepSeekWeb(options, {
362
- endpoint: `${options.baseURL.replace(/\/+$/u, "")}/fetch`,
363
- body: { url: request.url },
364
- decode: (payload) => {
365
- if (!isRecord(payload) || typeof payload.content !== "string") throw invalidResponse();
366
- return {
367
- url: request.url,
368
- statusCode: 200,
369
- body: {
370
- kind: "text",
371
- content: payload.content
372
- },
373
- truncated: false
374
- };
375
- },
376
- guidance: {
377
- subject: "Fetch",
378
- ...DEEPSEEK_WEB_API_GUIDANCE
379
- }
380
- }, signal);
381
- }
382
- };
383
- //#endregion
384
413
  //#region lib/types/index.js
385
414
  /** Cordis plugin name used by loader diagnostics. */
386
415
  const name = "web-deepseek-api";
387
416
  /** The web seam both providers register into. */
388
417
  const inject = ["web"];
389
418
  const Config = z.object({
390
- apiKey: z.string().role("secret").volatile(),
391
- apiKeyEnv: z.string().role("credential-ref").default("DEEPSEEK_API_KEY").volatile(),
392
- baseURL: z.string().default(DEEPSEEK_WEB_API_BASE_URL).volatile(),
393
419
  count: z.number().step(1).min(1).max(50).default(10).volatile(),
394
- sendOriginalQuestion: z.boolean().default(true).volatile()
420
+ searchRequestsPerSecond: z.number().step(1).min(1).default(5).volatile(),
421
+ sendOriginalQuestion: z.boolean().default(true).volatile(),
422
+ searchBaseURL: z.string().volatile(),
423
+ searchApiKeyEnv: z.string().role("credential-ref").volatile(),
424
+ fetchBaseURL: z.string().volatile(),
425
+ fetchApiKeyEnv: z.string().role("credential-ref").volatile()
395
426
  });
427
+ /** Path prefix of the Search and Fetch APIs under a DeepSeek origin. */
428
+ const TOOLS_PATH = "/v1/tools";
429
+ /** Credential reference of the official DeepSeek API key. */
430
+ const DEEPSEEK_API_KEY = credentialRef("DEEPSEEK_API_KEY");
431
+ /** Provider id of the DeepSeek account route. */
432
+ const ACCOUNT_PROVIDER = "deepseek-account";
433
+ /** Loader package that registers each model route. */
434
+ const ROUTE_PACKAGES = {
435
+ "deepseek-official": "@deepseek-ai/dsh-llm-deepseek-api-key",
436
+ "deepseek-account": "@deepseek-ai/dsh-llm-deepseek-account"
437
+ };
438
+ /** Display and configuration names of each capability. */
439
+ const CAPABILITY = {
440
+ search: {
441
+ subject: "Search",
442
+ prefix: "search"
443
+ },
444
+ fetch: {
445
+ subject: "Fetch",
446
+ prefix: "fetch"
447
+ }
448
+ };
396
449
  /**
397
450
  * Read the text of the latest human prompt, the question that triggered the
398
451
  * current turn. Injected user-role context carries another source kind.
@@ -405,44 +458,222 @@ function latestUserQuestion(session) {
405
458
  return prompt.content.flatMap((block) => block.type === "text" ? [block.text] : []).join("\n");
406
459
  }
407
460
  /**
408
- * Register the Search API and Fetch API providers over one live settings section. Each provider's
409
- * `ready()` answers whether an operation for a model request on the given route would have a
410
- * credential to send.
461
+ * Register the Search API and Fetch API providers over one live settings section. Each operation reads one settings
462
+ * snapshot and the route of the initiating Session's latest model request; each `ready()` call reads one settings
463
+ * snapshot and the route of the model request being prepared. Both resolve the same plan.
411
464
  * @param ctx - plugin context owning both registrations.
412
465
  * @param config - live settings, read once per operation.
413
466
  */
414
467
  function apply(ctx, config) {
415
- const keyConfig = () => ({
416
- apiKey: config.apiKey.get(),
417
- apiKeyEnv: config.apiKeyEnv.get()
418
- });
419
- const auth = () => deepSeekWebAuth(ctx, keyConfig());
420
- const ready = (llmProvider) => deepSeekWebCredentialReady(ctx, {
421
- ...keyConfig(),
422
- baseURL: config.baseURL.get()
423
- }, llmProvider);
468
+ const own = (capability) => capability === "search" ? {
469
+ baseURL: config.searchBaseURL.get(),
470
+ ref: config.searchApiKeyEnv.get()
471
+ } : {
472
+ baseURL: config.fetchBaseURL.get(),
473
+ ref: config.fetchApiKeyEnv.get()
474
+ };
475
+ const plan = (capability, llmProvider) => resolvePlan(ctx, capability, own(capability), llmProvider);
476
+ const target = (capability) => {
477
+ const resolved = plan(capability, ctx.get("agents")?.currentInitiator()?.session.requestContext()?.provider);
478
+ return {
479
+ baseURL: resolved.baseURL,
480
+ auth: planAuth(ctx, resolved),
481
+ guidance: planGuidance(resolved)
482
+ };
483
+ };
484
+ const ready = (capability) => (llmProvider) => planReady(ctx, plan(capability, llmProvider));
424
485
  const searchApi = new DeepSeekSearchApiProvider(() => ({
425
- ...auth(),
426
- baseURL: config.baseURL.get(),
486
+ ...target("search"),
427
487
  count: config.count.get(),
488
+ requestsPerSecond: config.searchRequestsPerSecond.get(),
428
489
  ...config.sendOriginalQuestion.get() ? { originalQuestion: () => latestUserQuestion(ctx.get("agents")?.currentInitiator()?.session) } : {}
429
490
  }));
430
- const fetchApi = new DeepSeekFetchApiProvider(() => ({
431
- ...auth(),
432
- baseURL: config.baseURL.get()
433
- }));
491
+ const fetchApi = new DeepSeekFetchApiProvider(() => target("fetch"));
434
492
  ctx.web.registerSearchProvider({
435
493
  id: searchApi.id,
494
+ description: searchApi.description,
436
495
  available: () => searchApi.available(),
437
- ready,
496
+ ready: ready("search"),
438
497
  search: (request, signal) => searchApi.search(request, signal)
439
498
  });
440
499
  ctx.web.registerFetchProvider({
441
500
  id: fetchApi.id,
501
+ description: fetchApi.description,
442
502
  available: () => fetchApi.available(),
443
- ready,
503
+ ready: ready("fetch"),
444
504
  fetch: (request, signal) => fetchApi.fetch(request, signal)
445
505
  });
446
506
  }
507
+ /**
508
+ * Resolve the endpoint and credential of one capability without reading credential values. Route endpoints use the
509
+ * origin of the route's resolved Messages base URL with `/v1/tools`.
510
+ * @param ctx - context with the model and loader services.
511
+ * @param capability - the capability being resolved.
512
+ * @param own - the capability's own base URL and credential reference; empty values count as unset.
513
+ * @param llmProvider - provider route of the model request the operation serves.
514
+ * @returns the plan.
515
+ */
516
+ function resolvePlan(ctx, capability, own, llmProvider) {
517
+ const ownBaseURL = nonEmpty(own.baseURL), ownRef = nonEmpty(own.ref);
518
+ if (ownBaseURL !== void 0 || ownRef !== void 0) return {
519
+ capability,
520
+ kind: "custom",
521
+ baseURL: ownBaseURL ?? "https://api.deepseek.com/v1/tools",
522
+ key: ownRef === void 0 ? DEEPSEEK_API_KEY : credentialRef(ownRef)
523
+ };
524
+ const official = officialRoute(ctx);
525
+ const account = llmProvider === ACCOUNT_PROVIDER ? accountRoute(ctx) : void 0;
526
+ const officialValid = official !== void 0 && !("invalid" in official) ? official : void 0;
527
+ const invalid = account !== void 0 && "invalid" in account ? {
528
+ route: ACCOUNT_PROVIDER,
529
+ reason: account.invalid
530
+ } : official !== void 0 && "invalid" in official ? {
531
+ route: "deepseek-official",
532
+ reason: official.invalid
533
+ } : void 0;
534
+ return {
535
+ capability,
536
+ kind: "session",
537
+ baseURL: officialValid === void 0 ? DEEPSEEK_WEB_API_BASE_URL : toolsBase(officialValid.baseURL),
538
+ key: officialValid?.apiKeyEnv ?? DEEPSEEK_API_KEY,
539
+ ...account === void 0 || "invalid" in account ? {} : { account: { baseURL: toolsBase(account.baseURL) } },
540
+ ...invalid === void 0 ? {} : { invalid }
541
+ };
542
+ }
543
+ /**
544
+ * Build the authentication sources of one planned operation without reading secret values.
545
+ * @param ctx - context with the account, credential, and launch-environment services.
546
+ * @param plan - the operation's plan.
547
+ * @returns the sources the transport resolves.
548
+ */
549
+ function planAuth(ctx, plan) {
550
+ return {
551
+ ...plan.kind === "session" && plan.account !== void 0 ? { account: {
552
+ baseURL: plan.account.baseURL,
553
+ resolveToken: (endpoint) => resolveDeepSeekAccountToken(ctx, endpoint),
554
+ rejectToken: (token) => rejectDeepSeekAccountToken(ctx, token)
555
+ } } : {},
556
+ resolveApiKey: () => resolveDeepSeekApiKey(ctx, plan.key),
557
+ apiKeyEnv: plan.key,
558
+ missingKeyMessage: missingKeyMessage(plan),
559
+ ...plan.kind === "session" && plan.invalid !== void 0 ? { invalidRoute: {
560
+ stage: plan.invalid.route === ACCOUNT_PROVIDER ? "account" : "api-key",
561
+ message: invalidRouteMessage(plan.capability, plan.invalid.route, plan.invalid.reason)
562
+ } } : {}
563
+ };
564
+ }
565
+ /**
566
+ * Whether an operation planned as `plan` has a credential, checked in the order {@link planAuth} resolves them. A
567
+ * failed read, or a needed route whose settings do not resolve, answers false, because the operation fails on the same
568
+ * step. Only presence is checked: the key's value
569
+ * is not read and the endpoint is not contacted, so a wrong key still counts as configured.
570
+ * @param ctx - context with the account, credential, and launch-environment services.
571
+ * @param plan - the operation's plan.
572
+ * @returns whether the operation has a credential to send.
573
+ */
574
+ async function planReady(ctx, plan) {
575
+ if (plan.kind === "session" && plan.invalid?.route === ACCOUNT_PROVIDER) return false;
576
+ if (plan.kind === "session" && plan.account !== void 0) {
577
+ let token;
578
+ try {
579
+ token = await resolveDeepSeekAccountToken(ctx, plan.account.baseURL);
580
+ } catch (_unreadableGrant) {
581
+ return false;
582
+ }
583
+ if (token !== void 0 && token.length > 0) return true;
584
+ }
585
+ if (plan.kind === "session" && plan.invalid !== void 0) return false;
586
+ try {
587
+ return await deepSeekApiKeyConfigured(ctx, plan.key);
588
+ } catch (_unreadableStore) {
589
+ return false;
590
+ }
591
+ }
592
+ /** Settings named by endpoint failures of one planned operation. */
593
+ function planGuidance(plan) {
594
+ const { subject, prefix } = CAPABILITY[plan.capability];
595
+ return {
596
+ subject,
597
+ plugin: name,
598
+ custom: plan.kind === "custom",
599
+ baseURLField: `${prefix}BaseURL`,
600
+ apiKeyEnvField: `${prefix}ApiKeyEnv`
601
+ };
602
+ }
603
+ /** Model-facing diagnostic for an operation that has no credential to send. */
604
+ function missingKeyMessage(plan) {
605
+ const { subject, prefix } = CAPABILITY[plan.capability];
606
+ const ref = JSON.stringify(plan.key);
607
+ if (plan.kind === "custom") return `DeepSeek ${subject} API sends the API key under ${ref} to its own endpoint, and no key is configured for ${ref}. Guide the user to export ${ref} in the launching environment, or to correct ${name}.${prefix}ApiKeyEnv.`;
608
+ return `DeepSeek ${subject} API uses the DeepSeek API key, and no key is configured for ${ref}. Guide the user to add the DeepSeek API key on the Models page or export ${ref} in the launching environment, or to sign in to DeepSeek and chat on the DeepSeek account model provider.`;
609
+ }
610
+ /**
611
+ * Model-facing diagnostic for an operation that would use a mounted model route whose settings do not resolve.
612
+ * @param capability - the capability that stopped.
613
+ * @param route - the route whose settings failed.
614
+ * @param reason - the route resolver's failure message.
615
+ * @returns the diagnostic naming the route and both recoveries.
616
+ */
617
+ function invalidRouteMessage(capability, route, reason) {
618
+ const { subject, prefix } = CAPABILITY[capability];
619
+ return `DeepSeek ${subject} API sends ${route === ACCOUNT_PROVIDER ? "the DeepSeek account sign-in" : "that provider's API key"} to the origin of the ${route === ACCOUNT_PROVIDER ? "DeepSeek account model provider" : "DeepSeek API-key model provider"}, and that provider's settings do not resolve: ${reason}. ${subject} did not send the request. Guide the user to correct that provider's settings on the Models page or in the deployment configuration, or to set ${name}.${prefix}BaseURL and ${name}.${prefix}ApiKeyEnv so ${subject} uses its own endpoint.`;
620
+ }
621
+ /**
622
+ * Read the active DeepSeek API-key model route.
623
+ * @returns its Messages base URL and credential reference, the resolver failure when its settings do not resolve, or
624
+ * undefined when none is mounted and active.
625
+ */
626
+ function officialRoute(ctx) {
627
+ const config = routeConfig(ctx, "deepseek-official");
628
+ if (config === void 0) return void 0;
629
+ try {
630
+ const resolved = resolveAdapterOptions(plainOptions(config), launchEnvironmentOf(ctx));
631
+ return {
632
+ baseURL: resolved.baseURL,
633
+ apiKeyEnv: resolved.apiKeyEnv
634
+ };
635
+ } catch (error) {
636
+ return { invalid: errorMessage(error) };
637
+ }
638
+ }
639
+ /**
640
+ * Read the active DeepSeek account model route.
641
+ * @returns its Messages base URL, the resolver failure when its settings do not resolve, or undefined when none is
642
+ * mounted and active.
643
+ */
644
+ function accountRoute(ctx) {
645
+ const config = routeConfig(ctx, "deepseek-account");
646
+ if (config === void 0) return void 0;
647
+ try {
648
+ return { baseURL: resolveAccountOptions(plainAccountOptions(config), launchEnvironmentOf(ctx)).protocol.baseURL };
649
+ } catch (error) {
650
+ return { invalid: errorMessage(error) };
651
+ }
652
+ }
653
+ /** The message of a thrown value. */
654
+ function errorMessage(error) {
655
+ return error instanceof Error ? error.message : String(error);
656
+ }
657
+ /**
658
+ * Find the effective config of the active loader entry that registers `provider`, as the model provider directory
659
+ * names it. A route registered by another package, nested settings, or an inactive entry counts as absent.
660
+ */
661
+ function routeConfig(ctx, provider) {
662
+ const llm = ctx.get("llm"), loader = ctx.get("loader");
663
+ if (llm === void 0 || loader === void 0 || !llm.listProviders().some((row) => row.id === provider)) return void 0;
664
+ const directory = llm.listConfigurableProviders().find((row) => row.provider === provider);
665
+ if (directory === void 0 || directory.settingsPath.length !== 0) return void 0;
666
+ const entry = [...loader.entries()].find((row) => row.options.id === directory.settingsNs && row.options.name === ROUTE_PACKAGES[provider]);
667
+ if (entry?.fiber?.state !== 2) return void 0;
668
+ return entry.fiber.effectiveConfig;
669
+ }
670
+ /** The Search and Fetch API base under the origin of a Messages base URL. */
671
+ function toolsBase(messagesBaseURL) {
672
+ return `${new URL(messagesBaseURL).origin}${TOOLS_PATH}`;
673
+ }
674
+ /** A string with content, or undefined for an absent or empty value. */
675
+ function nonEmpty(value) {
676
+ return value !== void 0 && value.length > 0 ? value : void 0;
677
+ }
447
678
  //#endregion
448
- export { Config, DEEPSEEK_DEFAULT_COUNT, DEEPSEEK_FETCH_API_PROVIDER_ID, DEEPSEEK_SEARCH_API_PROVIDER_ID, DEEPSEEK_WEB_API_BASE_URL, DeepSeekFetchApiProvider, DeepSeekSearchApiProvider, apply, inject, mapSearchResponse, name };
679
+ export { Config, DEEPSEEK_DEFAULT_COUNT, DEEPSEEK_FETCH_API_PROVIDER_ID, DEEPSEEK_SEARCH_API_PROVIDER_ID, DEEPSEEK_SEARCH_REQUESTS_PER_SECOND, DEEPSEEK_WEB_API_BASE_URL, DeepSeekFetchApiProvider, DeepSeekSearchApiProvider, apply, inject, mapSearchResponse, name };