@songtonyli/dsh-cli 0.1.73 → 0.1.75

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 (2121) 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 +12 -3
  4. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +12 -3
  5. package/node_modules/@aws-sdk/core/package.json +1 -1
  6. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  7. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  8. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  9. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  10. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  11. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  12. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  13. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  14. package/node_modules/@aws-sdk/middleware-websocket/package.json +2 -2
  15. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  16. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  17. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  18. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  19. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  20. package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
  21. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  22. package/node_modules/@deepseek-ai/cordis/package.json +4 -4
  23. package/node_modules/@deepseek-ai/cordis-plugin-group/package.json +3 -3
  24. package/node_modules/@deepseek-ai/cordis-plugin-include/package.json +4 -4
  25. package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +4 -4
  26. package/node_modules/@deepseek-ai/cordis-plugin-timer/locale/en.json +5 -0
  27. package/node_modules/@deepseek-ai/cordis-plugin-timer/locale/zh.json +6 -0
  28. package/node_modules/@deepseek-ai/cordis-plugin-timer/package.json +7 -5
  29. package/node_modules/@deepseek-ai/cosmokit/package.json +1 -1
  30. package/node_modules/@deepseek-ai/dsh/README.i18n.yaml +2 -2
  31. package/node_modules/@deepseek-ai/dsh/README.md +2 -2
  32. package/node_modules/@deepseek-ai/dsh/README.zh.md +2 -2
  33. package/node_modules/@deepseek-ai/dsh/lib/bin.js +5 -5
  34. package/node_modules/@deepseek-ai/dsh/lib/dump-config-CWs_HdOc.js +64 -0
  35. package/node_modules/@deepseek-ai/dsh/lib/dump-config-CxNkSYcK.js +2 -0
  36. package/node_modules/@deepseek-ai/dsh/lib/dump-config-schema-D_PxIzpe.js +41 -0
  37. package/node_modules/@deepseek-ai/dsh/lib/plugin-BiveYA7h.js +101 -0
  38. package/node_modules/@deepseek-ai/dsh/lib/profile-boot-C14i-8IN.js +329 -0
  39. package/node_modules/@deepseek-ai/dsh/lib/profile-boot.js +1 -1
  40. package/node_modules/@deepseek-ai/dsh/package.json +121 -121
  41. package/node_modules/@deepseek-ai/dsh-acp/package.json +26 -26
  42. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
  43. package/node_modules/@deepseek-ai/dsh-agent/lib/index.js +2 -0
  44. package/node_modules/@deepseek-ai/dsh-agent/lib/types/index.js +2 -0
  45. package/node_modules/@deepseek-ai/dsh-agent/locale/en.json +5 -0
  46. package/node_modules/@deepseek-ai/dsh-agent/locale/zh.json +6 -0
  47. package/node_modules/@deepseek-ai/dsh-agent/package.json +23 -21
  48. package/node_modules/@deepseek-ai/dsh-agent-default-model/locale/en.json +5 -0
  49. package/node_modules/@deepseek-ai/dsh-agent-default-model/locale/zh.json +6 -0
  50. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +13 -11
  51. package/node_modules/@deepseek-ai/dsh-agent-instructions/locale/en.json +5 -0
  52. package/node_modules/@deepseek-ai/dsh-agent-instructions/locale/zh.json +6 -0
  53. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +31 -29
  54. package/node_modules/@deepseek-ai/dsh-agent-loop/locale/en.json +5 -0
  55. package/node_modules/@deepseek-ai/dsh-agent-loop/locale/zh.json +6 -0
  56. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +29 -27
  57. package/node_modules/@deepseek-ai/dsh-agent-preset/locale/en.json +5 -0
  58. package/node_modules/@deepseek-ai/dsh-agent-preset/locale/zh.json +6 -0
  59. package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +16 -14
  60. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +6 -2
  61. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.i18n.yaml +2 -2
  62. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.md +1 -1
  63. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.zh.md +1 -1
  64. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/index.js +5 -1
  65. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +153 -34
  66. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.remote-client.js +60 -30
  67. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/index.js +7 -1
  68. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/locale/en.json +5 -0
  69. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/locale/zh.json +6 -0
  70. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +38 -36
  71. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/locale/en.json +5 -0
  72. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/locale/zh.json +6 -0
  73. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +14 -12
  74. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
  75. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.host.js +218 -88
  76. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.remote-client.js +212 -87
  77. package/node_modules/@deepseek-ai/dsh-api-account-controller/locale/en.json +5 -0
  78. package/node_modules/@deepseek-ai/dsh-api-account-controller/locale/zh.json +6 -0
  79. package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +13 -11
  80. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/typert.host.js +138 -60
  81. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/typert.remote-client.js +132 -59
  82. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +13 -13
  83. package/node_modules/@deepseek-ai/dsh-api-gateway/README.i18n.yaml +6 -6
  84. package/node_modules/@deepseek-ai/dsh-api-gateway/README.md +14 -9
  85. package/node_modules/@deepseek-ai/dsh-api-gateway/README.zh.md +14 -9
  86. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.browser.js +2187 -0
  87. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.node.js +1992 -0
  88. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/index.js +320 -55
  89. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/access.js +155 -0
  90. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/index.js +14 -4
  91. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/stream-client.js +52 -16
  92. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/index.js +180 -53
  93. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/stream-server.js +37 -15
  94. package/node_modules/@deepseek-ai/dsh-api-gateway/locale/en.json +5 -0
  95. package/node_modules/@deepseek-ai/dsh-api-gateway/locale/zh.json +6 -0
  96. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +23 -18
  97. package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/typert.host.js +109 -66
  98. package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/typert.remote-client.js +103 -65
  99. package/node_modules/@deepseek-ai/dsh-api-job-controller/locale/en.json +5 -0
  100. package/node_modules/@deepseek-ai/dsh-api-job-controller/locale/zh.json +6 -0
  101. package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +17 -15
  102. package/node_modules/@deepseek-ai/dsh-api-remote-access/README.i18n.yaml +34 -0
  103. package/node_modules/@deepseek-ai/dsh-api-remote-access/README.md +97 -0
  104. package/node_modules/@deepseek-ai/dsh-api-remote-access/README.zh.md +97 -0
  105. package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/client.js +733 -0
  106. package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/index.js +441 -0
  107. package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/typert.host.js +233 -0
  108. package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/typert.remote-client.js +75 -0
  109. package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/types/client/index.js +25 -0
  110. package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/types/client/mount.js +81 -0
  111. package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/types/client/state.js +182 -0
  112. package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/types/index.js +405 -0
  113. package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/types/snapshot.js +8 -0
  114. package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/types/types.js +7 -0
  115. package/node_modules/@deepseek-ai/dsh-api-remote-access/package.json +79 -0
  116. package/node_modules/@deepseek-ai/dsh-api-remotes/README.i18n.yaml +2 -2
  117. package/node_modules/@deepseek-ai/dsh-api-remotes/README.md +2 -0
  118. package/node_modules/@deepseek-ai/dsh-api-remotes/README.zh.md +2 -0
  119. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +19735 -10069
  120. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +26 -12
  121. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/index.js +4 -2
  122. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +9 -5
  123. package/node_modules/@deepseek-ai/dsh-api-remotes/locale/en.json +5 -0
  124. package/node_modules/@deepseek-ai/dsh-api-remotes/locale/zh.json +6 -0
  125. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +47 -44
  126. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +2 -2
  127. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +3 -1
  128. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +3 -1
  129. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +10 -5
  130. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +222 -97
  131. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +1243 -691
  132. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +1039 -676
  133. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.js +148 -84
  134. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/manager.js +6 -3
  135. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/service.js +2 -2
  136. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +28 -34
  137. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +65 -15
  138. package/node_modules/@deepseek-ai/dsh-api-session-controller/locale/en.json +5 -0
  139. package/node_modules/@deepseek-ai/dsh-api-session-controller/locale/zh.json +6 -0
  140. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +80 -77
  141. package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/index.js +6 -5
  142. package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.host.js +232 -117
  143. package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.remote-client.js +226 -116
  144. package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/types/credentials.js +6 -5
  145. package/node_modules/@deepseek-ai/dsh-api-settings-controller/locale/en.json +5 -0
  146. package/node_modules/@deepseek-ai/dsh-api-settings-controller/locale/zh.json +6 -0
  147. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +20 -18
  148. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.i18n.yaml +4 -4
  149. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.md +8 -6
  150. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.zh.md +8 -6
  151. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/client.js +196 -51
  152. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/index.js +118 -135
  153. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +404 -322
  154. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.remote-client.js +295 -296
  155. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/model.js +89 -36
  156. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/index.js +12 -44
  157. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/stream.js +13 -2
  158. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/terminal.js +81 -43
  159. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/locale/en.json +5 -0
  160. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/locale/zh.json +6 -0
  161. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +27 -24
  162. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.i18n.yaml +2 -2
  163. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.md +2 -0
  164. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.zh.md +2 -0
  165. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/client.js +3 -0
  166. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/index.js +95 -4
  167. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.host.js +309 -157
  168. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.remote-client.js +300 -153
  169. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/index.js +3 -0
  170. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/index.js +70 -4
  171. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/locale/en.json +5 -0
  172. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/locale/zh.json +6 -0
  173. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +26 -23
  174. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/index.js +1 -0
  175. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.host.js +203 -74
  176. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.remote-client.js +197 -73
  177. package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/index.js +1 -0
  178. package/node_modules/@deepseek-ai/dsh-api-workspace-files/locale/en.json +5 -0
  179. package/node_modules/@deepseek-ai/dsh-api-workspace-files/locale/zh.json +6 -0
  180. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +20 -17
  181. package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +16 -19
  182. package/node_modules/@deepseek-ai/dsh-app-boot/README.md +9 -13
  183. package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +9 -13
  184. package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +339 -80
  185. package/node_modules/@deepseek-ai/dsh-app-boot/lib/worker/profile-resolution-bootstrap.js +133 -11
  186. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +18 -19
  187. package/node_modules/@deepseek-ai/dsh-atomic-write/README.i18n.yaml +8 -8
  188. package/node_modules/@deepseek-ai/dsh-atomic-write/README.md +4 -4
  189. package/node_modules/@deepseek-ai/dsh-atomic-write/README.zh.md +4 -4
  190. package/node_modules/@deepseek-ai/dsh-atomic-write/lib/index.js +4 -1
  191. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
  192. package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
  193. package/node_modules/@deepseek-ai/dsh-attachment-local/locale/en.json +5 -0
  194. package/node_modules/@deepseek-ai/dsh-attachment-local/locale/zh.json +6 -0
  195. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +13 -11
  196. package/node_modules/@deepseek-ai/dsh-authorization/locale/en.json +5 -0
  197. package/node_modules/@deepseek-ai/dsh-authorization/locale/zh.json +6 -0
  198. package/node_modules/@deepseek-ai/dsh-authorization/package.json +10 -8
  199. package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +7 -2
  200. package/node_modules/@deepseek-ai/dsh-base/package.json +97 -96
  201. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -11
  202. package/node_modules/@deepseek-ai/dsh-bash-sandbox/locale/en.json +5 -0
  203. package/node_modules/@deepseek-ai/dsh-bash-sandbox/locale/zh.json +6 -0
  204. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +17 -15
  205. package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
  206. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +4 -4
  207. package/node_modules/@deepseek-ai/dsh-client-connection/README.i18n.yaml +8 -8
  208. package/node_modules/@deepseek-ai/dsh-client-connection/README.md +9 -4
  209. package/node_modules/@deepseek-ai/dsh-client-connection/README.zh.md +9 -4
  210. package/node_modules/@deepseek-ai/dsh-client-connection/lib/client.browser.js +1523 -0
  211. package/node_modules/@deepseek-ai/dsh-client-connection/lib/client.node.js +624 -0
  212. package/node_modules/@deepseek-ai/dsh-client-connection/lib/index.js +206 -40
  213. package/node_modules/@deepseek-ai/dsh-client-connection/locale/en.json +5 -0
  214. package/node_modules/@deepseek-ai/dsh-client-connection/locale/zh.json +6 -0
  215. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +22 -17
  216. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +132 -19
  217. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.remote-client.js +40 -16
  218. package/node_modules/@deepseek-ai/dsh-client-file-upload/locale/en.json +5 -0
  219. package/node_modules/@deepseek-ai/dsh-client-file-upload/locale/zh.json +6 -0
  220. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +16 -14
  221. package/node_modules/@deepseek-ai/dsh-client-hmr/locale/en.json +5 -0
  222. package/node_modules/@deepseek-ai/dsh-client-hmr/locale/zh.json +6 -0
  223. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +10 -8
  224. package/node_modules/@deepseek-ai/dsh-client-locale/README.i18n.yaml +6 -6
  225. package/node_modules/@deepseek-ai/dsh-client-locale/README.md +3 -3
  226. package/node_modules/@deepseek-ai/dsh-client-locale/README.zh.md +3 -3
  227. package/node_modules/@deepseek-ai/dsh-client-locale/locale/en.json +5 -0
  228. package/node_modules/@deepseek-ai/dsh-client-locale/locale/zh.json +6 -0
  229. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +16 -15
  230. package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +2 -2
  231. package/node_modules/@deepseek-ai/dsh-client-modules/README.md +1 -1
  232. package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +1 -1
  233. package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +1 -1
  234. package/node_modules/@deepseek-ai/dsh-client-modules/locale/en.json +5 -0
  235. package/node_modules/@deepseek-ai/dsh-client-modules/locale/zh.json +6 -0
  236. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +10 -8
  237. package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/typert.host.js +185 -25
  238. package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/typert.remote-client.js +179 -24
  239. package/node_modules/@deepseek-ai/dsh-client-product-analytics/locale/en.json +5 -0
  240. package/node_modules/@deepseek-ai/dsh-client-product-analytics/locale/zh.json +6 -0
  241. package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +19 -17
  242. package/node_modules/@deepseek-ai/dsh-client-resources/locale/en.json +5 -0
  243. package/node_modules/@deepseek-ai/dsh-client-resources/locale/zh.json +6 -0
  244. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +10 -8
  245. package/node_modules/@deepseek-ai/dsh-client-shortcuts/locale/en.json +5 -0
  246. package/node_modules/@deepseek-ai/dsh-client-shortcuts/locale/zh.json +6 -0
  247. package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +14 -12
  248. package/node_modules/@deepseek-ai/dsh-client-store/package.json +3 -3
  249. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.i18n.yaml +4 -4
  250. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.md +3 -3
  251. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.zh.md +3 -3
  252. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +17 -14
  253. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/locale/en.json +5 -0
  254. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/locale/zh.json +6 -0
  255. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +22 -21
  256. package/node_modules/@deepseek-ai/dsh-client-ui-approval/locale/en.json +5 -0
  257. package/node_modules/@deepseek-ai/dsh-client-ui-approval/locale/zh.json +6 -0
  258. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +18 -17
  259. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.i18n.yaml +2 -2
  260. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.md +1 -1
  261. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.zh.md +1 -1
  262. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +41 -10
  263. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/locale/en.json +5 -0
  264. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/locale/zh.json +6 -0
  265. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +16 -14
  266. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/locale/en.json +5 -0
  267. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/locale/zh.json +6 -0
  268. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +9 -8
  269. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +12 -12
  270. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +18 -10
  271. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +18 -10
  272. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +897 -1530
  273. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/index.js +11 -1
  274. package/node_modules/@deepseek-ai/dsh-client-ui-chat/locale/en.json +5 -0
  275. package/node_modules/@deepseek-ai/dsh-client-ui-chat/locale/zh.json +6 -0
  276. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +44 -44
  277. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +2 -2
  278. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +2 -0
  279. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +2 -0
  280. package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +1 -1
  281. package/node_modules/@deepseek-ai/dsh-client-ui-commands/locale/en.json +5 -0
  282. package/node_modules/@deepseek-ai/dsh-client-ui-commands/locale/zh.json +6 -0
  283. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +20 -19
  284. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +9 -6
  285. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +16 -4
  286. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +16 -4
  287. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +542 -4028
  288. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/locale/en.json +5 -0
  289. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/locale/zh.json +6 -0
  290. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +40 -40
  291. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/locale/en.json +5 -0
  292. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/locale/zh.json +6 -0
  293. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +18 -17
  294. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/locale/en.json +5 -0
  295. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/locale/zh.json +6 -0
  296. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +33 -32
  297. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/locale/en.json +5 -0
  298. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/locale/zh.json +6 -0
  299. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +12 -11
  300. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/locale/en.json +5 -0
  301. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/locale/zh.json +6 -0
  302. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +8 -7
  303. package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.i18n.yaml +2 -2
  304. package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.md +1 -1
  305. package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.zh.md +1 -1
  306. package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +56 -6
  307. package/node_modules/@deepseek-ai/dsh-client-ui-goal/locale/en.json +5 -0
  308. package/node_modules/@deepseek-ai/dsh-client-ui-goal/locale/zh.json +6 -0
  309. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +19 -18
  310. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/locale/en.json +5 -0
  311. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/locale/zh.json +6 -0
  312. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +17 -16
  313. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +2 -2
  314. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +3 -1
  315. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +3 -1
  316. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +36 -32
  317. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/locale/en.json +5 -0
  318. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/locale/zh.json +6 -0
  319. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +15 -15
  320. package/node_modules/@deepseek-ai/dsh-client-ui-layout/locale/en.json +5 -0
  321. package/node_modules/@deepseek-ai/dsh-client-ui-layout/locale/zh.json +6 -0
  322. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +14 -13
  323. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/locale/en.json +5 -0
  324. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/locale/zh.json +6 -0
  325. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +21 -21
  326. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +2 -2
  327. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +1 -1
  328. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +1 -1
  329. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/locale/en.json +5 -0
  330. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/locale/zh.json +6 -0
  331. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +21 -21
  332. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/locale/en.json +5 -0
  333. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/locale/zh.json +6 -0
  334. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +24 -23
  335. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +1 -10
  336. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/locale/en.json +5 -0
  337. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/locale/zh.json +6 -0
  338. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +20 -19
  339. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.i18n.yaml +2 -2
  340. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.md +2 -0
  341. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.zh.md +2 -0
  342. package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +1 -1
  343. package/node_modules/@deepseek-ai/dsh-client-ui-plan/locale/en.json +5 -0
  344. package/node_modules/@deepseek-ai/dsh-client-ui-plan/locale/zh.json +6 -0
  345. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +25 -24
  346. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +10 -10
  347. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +9 -4
  348. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +9 -4
  349. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +168 -41
  350. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/typert.host.js +16 -9
  351. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/typert.remote-client.js +10 -8
  352. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/locale/en.json +5 -0
  353. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/locale/zh.json +6 -0
  354. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +23 -23
  355. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +8 -8
  356. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +7 -4
  357. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +7 -4
  358. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TerminalBlock.module.css +2 -2
  359. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +564 -535
  360. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCard.d.ts +5 -2
  361. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCardGroup.d.ts +23 -0
  362. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TerminalBlock.d.ts +7 -1
  363. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tooltip.d.ts +2 -2
  364. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +2 -1
  365. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/user-text.d.ts +23 -31
  366. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +6 -8
  367. package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.i18n.yaml +2 -2
  368. package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.md +2 -0
  369. package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.zh.md +2 -0
  370. package/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/client.js +137 -3
  371. package/node_modules/@deepseek-ai/dsh-client-ui-reference/locale/en.json +5 -0
  372. package/node_modules/@deepseek-ai/dsh-client-ui-reference/locale/zh.json +6 -0
  373. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +23 -16
  374. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/lib/client.js +54 -29
  375. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/locale/en.json +5 -0
  376. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/locale/zh.json +6 -0
  377. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +7 -7
  378. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +4 -4
  379. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +4 -0
  380. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +4 -0
  381. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +3 -3
  382. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +21 -23
  383. package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/README.i18n.yaml +40 -0
  384. package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/README.md +99 -0
  385. package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/README.zh.md +99 -0
  386. package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/lib/client.js +708 -0
  387. package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/lib/index.js +587 -0
  388. package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/locale/en.json +6 -0
  389. package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/locale/zh.json +6 -0
  390. package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/package.json +57 -0
  391. package/node_modules/@deepseek-ai/dsh-client-ui-session/README.i18n.yaml +5 -2
  392. package/node_modules/@deepseek-ai/dsh-client-ui-session/README.md +6 -0
  393. package/node_modules/@deepseek-ai/dsh-client-ui-session/README.zh.md +6 -0
  394. package/node_modules/@deepseek-ai/dsh-client-ui-session/lib/client.js +11 -3
  395. package/node_modules/@deepseek-ai/dsh-client-ui-session/locale/en.json +5 -0
  396. package/node_modules/@deepseek-ai/dsh-client-ui-session/locale/zh.json +6 -0
  397. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +15 -12
  398. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.i18n.yaml +6 -6
  399. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.md +7 -5
  400. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.zh.md +7 -5
  401. package/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/client.js +19 -43
  402. package/node_modules/@deepseek-ai/dsh-client-ui-settings/locale/en.json +5 -0
  403. package/node_modules/@deepseek-ai/dsh-client-ui-settings/locale/zh.json +6 -0
  404. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +12 -11
  405. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +12 -12
  406. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +11 -9
  407. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +11 -9
  408. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +254 -41
  409. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/locale/en.json +5 -0
  410. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/locale/zh.json +6 -0
  411. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +22 -22
  412. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/locale/en.json +5 -0
  413. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/locale/zh.json +6 -0
  414. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +14 -13
  415. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +4 -4
  416. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +2 -2
  417. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +2 -2
  418. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
  419. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/locale/en.json +5 -0
  420. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/locale/zh.json +6 -0
  421. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +19 -19
  422. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +8 -8
  423. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +11 -5
  424. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +11 -5
  425. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +190 -96
  426. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/locale/en.json +5 -0
  427. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/locale/zh.json +6 -0
  428. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +17 -16
  429. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.i18n.yaml +2 -2
  430. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.md +1 -1
  431. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.zh.md +1 -1
  432. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +6 -41
  433. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/locale/en.json +5 -0
  434. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/locale/zh.json +6 -0
  435. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +17 -16
  436. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/locale/en.json +5 -0
  437. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/locale/zh.json +6 -0
  438. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +11 -10
  439. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/locale/en.json +5 -0
  440. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/locale/zh.json +6 -0
  441. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +15 -15
  442. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/locale/en.json +5 -0
  443. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/locale/zh.json +6 -0
  444. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +14 -13
  445. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +9 -9
  446. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/locale/en.json +5 -0
  447. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/locale/zh.json +6 -0
  448. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +14 -13
  449. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/en.json +5 -0
  450. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/zh.json +6 -0
  451. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +14 -13
  452. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.i18n.yaml +2 -2
  453. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.md +1 -1
  454. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.zh.md +1 -1
  455. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/lib/client.js +2 -0
  456. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/locale/en.json +5 -0
  457. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/locale/zh.json +6 -0
  458. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +15 -14
  459. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
  460. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/locale/en.json +5 -0
  461. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/locale/zh.json +6 -0
  462. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +17 -16
  463. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/locale/en.json +5 -0
  464. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/locale/zh.json +6 -0
  465. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +16 -16
  466. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +4 -4
  467. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +2 -2
  468. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +2 -2
  469. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +1 -1
  470. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/locale/en.json +5 -0
  471. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/locale/zh.json +6 -0
  472. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +24 -24
  473. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/locale/en.json +5 -0
  474. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/locale/zh.json +6 -0
  475. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +19 -19
  476. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +42 -4308
  477. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/locale/en.json +5 -0
  478. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/locale/zh.json +6 -0
  479. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +21 -21
  480. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/locale/en.json +5 -0
  481. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/locale/zh.json +6 -0
  482. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +20 -20
  483. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.i18n.yaml +2 -2
  484. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.md +2 -0
  485. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.zh.md +2 -0
  486. package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +54 -1
  487. package/node_modules/@deepseek-ai/dsh-client-ui-skill/locale/en.json +5 -0
  488. package/node_modules/@deepseek-ai/dsh-client-ui-skill/locale/zh.json +6 -0
  489. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +21 -18
  490. package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.i18n.yaml +4 -4
  491. package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.md +3 -1
  492. package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.zh.md +3 -1
  493. package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/index.d.ts +4 -0
  494. package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/renderer.d.ts +11 -3
  495. package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +5 -5
  496. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +4 -4
  497. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +3 -1
  498. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +3 -1
  499. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +3 -3
  500. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/locale/en.json +5 -0
  501. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/locale/zh.json +6 -0
  502. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +22 -22
  503. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +10 -10
  504. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +7 -5
  505. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +7 -5
  506. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +90 -10
  507. package/node_modules/@deepseek-ai/dsh-client-ui-theme/locale/en.json +5 -0
  508. package/node_modules/@deepseek-ai/dsh-client-ui-theme/locale/zh.json +6 -0
  509. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +19 -16
  510. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +4 -4
  511. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +2 -2
  512. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +2 -2
  513. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +48 -41
  514. package/node_modules/@deepseek-ai/dsh-client-ui-tool/locale/en.json +5 -0
  515. package/node_modules/@deepseek-ai/dsh-client-ui-tool/locale/zh.json +6 -0
  516. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +32 -31
  517. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.i18n.yaml +2 -2
  518. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.md +1 -1
  519. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +1 -1
  520. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +37 -1235
  521. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/locale/en.json +5 -0
  522. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/locale/zh.json +6 -0
  523. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +23 -23
  524. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +9 -4
  525. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/locale/en.json +5 -0
  526. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/locale/zh.json +6 -0
  527. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +26 -25
  528. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/locale/en.json +5 -0
  529. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/locale/zh.json +6 -0
  530. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +19 -18
  531. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +10 -10
  532. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +15 -9
  533. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +15 -9
  534. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +420 -176
  535. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/locale/en.json +5 -0
  536. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/locale/zh.json +6 -0
  537. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +32 -28
  538. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
  539. package/node_modules/@deepseek-ai/dsh-command-compact/locale/en.json +5 -0
  540. package/node_modules/@deepseek-ai/dsh-command-compact/locale/zh.json +6 -0
  541. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +15 -13
  542. package/node_modules/@deepseek-ai/dsh-command-feedback/lib/typert.host.js +35 -15
  543. package/node_modules/@deepseek-ai/dsh-command-feedback/lib/typert.remote-client.js +29 -14
  544. package/node_modules/@deepseek-ai/dsh-command-feedback/locale/en.json +5 -0
  545. package/node_modules/@deepseek-ai/dsh-command-feedback/locale/zh.json +6 -0
  546. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +19 -17
  547. package/node_modules/@deepseek-ai/dsh-command-goal/locale/en.json +5 -0
  548. package/node_modules/@deepseek-ai/dsh-command-goal/locale/zh.json +6 -0
  549. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +17 -15
  550. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +169 -33
  551. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.remote-client.js +77 -30
  552. package/node_modules/@deepseek-ai/dsh-commands/locale/en.json +5 -0
  553. package/node_modules/@deepseek-ai/dsh-commands/locale/zh.json +6 -0
  554. package/node_modules/@deepseek-ai/dsh-commands/package.json +22 -20
  555. package/node_modules/@deepseek-ai/dsh-compaction/package.json +11 -11
  556. package/node_modules/@deepseek-ai/dsh-compaction-basic/locale/en.json +5 -0
  557. package/node_modules/@deepseek-ai/dsh-compaction-basic/locale/zh.json +6 -0
  558. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +29 -27
  559. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/README.i18n.yaml +2 -2
  560. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/README.md +1 -1
  561. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/README.zh.md +1 -1
  562. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/lib/index.js +2 -2
  563. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/lib/types/index.js +2 -2
  564. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/locale/en.json +5 -0
  565. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/locale/zh.json +6 -0
  566. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +21 -19
  567. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/locale/en.json +5 -0
  568. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/locale/zh.json +6 -0
  569. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +20 -18
  570. package/node_modules/@deepseek-ai/dsh-config-editor/locale/en.json +5 -0
  571. package/node_modules/@deepseek-ai/dsh-config-editor/locale/zh.json +6 -0
  572. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +15 -13
  573. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +655 -199
  574. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/locale/en.json +5 -0
  575. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/locale/zh.json +6 -0
  576. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +12 -11
  577. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +730 -205
  578. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.remote-client.js +552 -200
  579. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/locale/en.json +5 -0
  580. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/locale/zh.json +6 -0
  581. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +26 -23
  582. package/node_modules/@deepseek-ai/dsh-credentials/README.i18n.yaml +2 -2
  583. package/node_modules/@deepseek-ai/dsh-credentials/README.md +3 -3
  584. package/node_modules/@deepseek-ai/dsh-credentials/README.zh.md +3 -3
  585. package/node_modules/@deepseek-ai/dsh-credentials/lib/index.js +5 -4
  586. package/node_modules/@deepseek-ai/dsh-credentials/lib/types/index.js +5 -4
  587. package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
  588. package/node_modules/@deepseek-ai/dsh-credentials-local/README.i18n.yaml +12 -12
  589. package/node_modules/@deepseek-ai/dsh-credentials-local/README.md +9 -9
  590. package/node_modules/@deepseek-ai/dsh-credentials-local/README.zh.md +9 -9
  591. package/node_modules/@deepseek-ai/dsh-credentials-local/lib/index.js +47 -46
  592. package/node_modules/@deepseek-ai/dsh-credentials-local/locale/en.json +5 -0
  593. package/node_modules/@deepseek-ai/dsh-credentials-local/locale/zh.json +6 -0
  594. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +16 -14
  595. package/node_modules/@deepseek-ai/dsh-deepseek-account/README.i18n.yaml +2 -2
  596. package/node_modules/@deepseek-ai/dsh-deepseek-account/README.md +1 -1
  597. package/node_modules/@deepseek-ai/dsh-deepseek-account/README.zh.md +1 -1
  598. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +9 -9
  599. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.i18n.yaml +4 -4
  600. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.md +2 -2
  601. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.zh.md +2 -2
  602. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/index.js +67 -48
  603. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/details.js +22 -11
  604. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/index.js +12 -11
  605. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/protocol.js +26 -16
  606. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/locale/en.json +5 -0
  607. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/locale/zh.json +6 -0
  608. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +16 -14
  609. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/locale/en.json +5 -0
  610. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/locale/zh.json +6 -0
  611. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +6 -4
  612. package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
  613. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +4 -4
  614. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +2 -2
  615. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +2 -2
  616. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +23 -23
  617. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.i18n.yaml +2 -2
  618. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.md +1 -1
  619. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.zh.md +1 -1
  620. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +7 -7
  621. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.host.js +117 -65
  622. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.remote-client.js +111 -64
  623. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +9 -9
  624. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +43 -43
  625. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/README.i18n.yaml +4 -4
  626. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/README.md +2 -2
  627. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/README.zh.md +2 -2
  628. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/icon.svg +6 -1
  629. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/locale/en.json +1 -1
  630. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/locale/zh.json +1 -1
  631. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/package.json +5 -5
  632. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +24 -26
  633. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/lib/client.js +354 -4062
  634. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/lib/typert.host.js +46 -24
  635. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/lib/typert.remote-client.js +40 -23
  636. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +28 -28
  637. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/client.js +1258 -4406
  638. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +33 -34
  639. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/icon.svg +15 -4
  640. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +6 -6
  641. package/node_modules/@deepseek-ai/dsh-experimental-inspector/icon.svg +18 -7
  642. package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +23 -24
  643. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/icon.svg +18 -7
  644. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +6 -6
  645. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +5 -5
  646. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/lib/client.js +4 -1211
  647. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +15 -17
  648. package/node_modules/@deepseek-ai/dsh-experimental-session-search/icon.svg +11 -1
  649. package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +5 -5
  650. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/icon.svg +11 -1
  651. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +4 -4
  652. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +11 -11
  653. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +11 -11
  654. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +6 -6
  655. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +14 -14
  656. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +6 -9
  657. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +6 -9
  658. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +19 -15
  659. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +25 -25
  660. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/icon.svg +17 -5
  661. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +22 -22
  662. package/node_modules/@deepseek-ai/dsh-experimental-translator/README.i18n.yaml +2 -2
  663. package/node_modules/@deepseek-ai/dsh-experimental-translator/README.md +1 -1
  664. package/node_modules/@deepseek-ai/dsh-experimental-translator/README.zh.md +1 -1
  665. package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/index.js +6 -3
  666. package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/deepseek.js +6 -3
  667. package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +29 -29
  668. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +8 -8
  669. package/node_modules/@deepseek-ai/dsh-experimental-worktree/README.i18n.yaml +2 -2
  670. package/node_modules/@deepseek-ai/dsh-experimental-worktree/README.md +2 -2
  671. package/node_modules/@deepseek-ai/dsh-experimental-worktree/README.zh.md +2 -2
  672. package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/index.js +1 -1
  673. package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/index.d.ts +1 -1
  674. package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +24 -24
  675. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
  676. package/node_modules/@deepseek-ai/dsh-file-reference-local/locale/en.json +5 -0
  677. package/node_modules/@deepseek-ai/dsh-file-reference-local/locale/zh.json +6 -0
  678. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +19 -17
  679. package/node_modules/@deepseek-ai/dsh-fs/package.json +9 -9
  680. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +8 -8
  681. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/locale/en.json +5 -0
  682. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/locale/zh.json +6 -0
  683. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +9 -7
  684. package/node_modules/@deepseek-ai/dsh-fs-sandbox/locale/en.json +5 -0
  685. package/node_modules/@deepseek-ai/dsh-fs-sandbox/locale/zh.json +6 -0
  686. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +15 -13
  687. package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +368 -123
  688. package/node_modules/@deepseek-ai/dsh-goal/lib/typert.remote-client.js +276 -120
  689. package/node_modules/@deepseek-ai/dsh-goal/locale/en.json +5 -0
  690. package/node_modules/@deepseek-ai/dsh-goal/locale/zh.json +6 -0
  691. package/node_modules/@deepseek-ai/dsh-goal/package.json +27 -25
  692. package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.i18n.yaml +2 -2
  693. package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.md +1 -1
  694. package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.zh.md +1 -1
  695. package/node_modules/@deepseek-ai/dsh-goal-round-driver/lib/index.js +12 -1
  696. package/node_modules/@deepseek-ai/dsh-goal-round-driver/locale/en.json +5 -0
  697. package/node_modules/@deepseek-ai/dsh-goal-round-driver/locale/zh.json +6 -0
  698. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +25 -16
  699. package/node_modules/@deepseek-ai/dsh-harness-dev-context/README.i18n.yaml +67 -0
  700. package/node_modules/@deepseek-ai/dsh-harness-dev-context/README.md +132 -0
  701. package/node_modules/@deepseek-ai/dsh-harness-dev-context/README.zh.md +132 -0
  702. package/node_modules/@deepseek-ai/dsh-harness-dev-context/lib/index.js +124 -0
  703. package/node_modules/@deepseek-ai/dsh-harness-dev-context/package.json +48 -0
  704. package/node_modules/@deepseek-ai/dsh-headless/README.i18n.yaml +7 -4
  705. package/node_modules/@deepseek-ai/dsh-headless/README.md +21 -0
  706. package/node_modules/@deepseek-ai/dsh-headless/README.zh.md +21 -0
  707. package/node_modules/@deepseek-ai/dsh-headless/cordis.patch.yml +10 -0
  708. package/node_modules/@deepseek-ai/dsh-headless/package.json +24 -24
  709. package/node_modules/@deepseek-ai/dsh-hmr/README.i18n.yaml +6 -6
  710. package/node_modules/@deepseek-ai/dsh-hmr/README.md +23 -2
  711. package/node_modules/@deepseek-ai/dsh-hmr/README.zh.md +23 -2
  712. package/node_modules/@deepseek-ai/dsh-hmr/lib/index.js +478 -50
  713. package/node_modules/@deepseek-ai/dsh-hmr/locale/en.json +5 -0
  714. package/node_modules/@deepseek-ai/dsh-hmr/locale/zh.json +6 -0
  715. package/node_modules/@deepseek-ai/dsh-hmr/package.json +19 -17
  716. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
  717. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
  718. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/locale/en.json +5 -0
  719. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/locale/zh.json +6 -0
  720. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +23 -21
  721. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/locale/en.json +5 -0
  722. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/locale/zh.json +6 -0
  723. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +8 -6
  724. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/README.i18n.yaml +4 -4
  725. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/README.md +2 -2
  726. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/README.zh.md +2 -2
  727. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/lib/index.js +58 -21
  728. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/locale/en.json +5 -0
  729. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/locale/zh.json +6 -0
  730. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +8 -6
  731. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
  732. package/node_modules/@deepseek-ai/dsh-host-open-in-app/locale/en.json +5 -0
  733. package/node_modules/@deepseek-ai/dsh-host-open-in-app/locale/zh.json +6 -0
  734. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +12 -10
  735. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.host.js +41 -34
  736. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.remote-client.js +35 -33
  737. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/locale/en.json +5 -0
  738. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/locale/zh.json +6 -0
  739. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +17 -15
  740. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/locale/en.json +5 -0
  741. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/locale/zh.json +6 -0
  742. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +14 -12
  743. package/node_modules/@deepseek-ai/dsh-host-webserver/README.i18n.yaml +4 -4
  744. package/node_modules/@deepseek-ai/dsh-host-webserver/README.md +2 -2
  745. package/node_modules/@deepseek-ai/dsh-host-webserver/README.zh.md +2 -2
  746. package/node_modules/@deepseek-ai/dsh-host-webserver/lib/index.js +30 -2
  747. package/node_modules/@deepseek-ai/dsh-host-webserver/locale/en.json +5 -0
  748. package/node_modules/@deepseek-ai/dsh-host-webserver/locale/zh.json +6 -0
  749. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +7 -5
  750. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +4 -4
  751. package/node_modules/@deepseek-ai/dsh-jobs/README.i18n.yaml +8 -8
  752. package/node_modules/@deepseek-ai/dsh-jobs/README.md +6 -4
  753. package/node_modules/@deepseek-ai/dsh-jobs/README.zh.md +6 -4
  754. package/node_modules/@deepseek-ai/dsh-jobs/lib/index.js +1 -1
  755. package/node_modules/@deepseek-ai/dsh-jobs/lib/types/brand.js +1 -1
  756. package/node_modules/@deepseek-ai/dsh-jobs/package.json +11 -11
  757. package/node_modules/@deepseek-ai/dsh-jobs-local/README.i18n.yaml +9 -6
  758. package/node_modules/@deepseek-ai/dsh-jobs-local/README.md +10 -2
  759. package/node_modules/@deepseek-ai/dsh-jobs-local/README.zh.md +10 -2
  760. package/node_modules/@deepseek-ai/dsh-jobs-local/lib/index.js +51 -11
  761. package/node_modules/@deepseek-ai/dsh-jobs-local/locale/en.json +5 -0
  762. package/node_modules/@deepseek-ai/dsh-jobs-local/locale/zh.json +6 -0
  763. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +19 -17
  764. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
  765. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
  766. package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +4 -4
  767. package/node_modules/@deepseek-ai/dsh-llm/README.md +2 -2
  768. package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +2 -2
  769. package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +40 -8
  770. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +125 -42
  771. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.remote-client.js +69 -38
  772. package/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +33 -2
  773. package/node_modules/@deepseek-ai/dsh-llm/locale/en.json +5 -0
  774. package/node_modules/@deepseek-ai/dsh-llm/locale/zh.json +6 -0
  775. package/node_modules/@deepseek-ai/dsh-llm/package.json +14 -12
  776. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +25 -25
  777. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +8 -8
  778. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +4 -3
  779. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +4 -3
  780. package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +38 -17
  781. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +44 -44
  782. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.i18n.yaml +16 -16
  783. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.md +34 -9
  784. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.zh.md +34 -9
  785. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/index.js +505 -22
  786. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/locale/en.json +5 -0
  787. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/locale/zh.json +6 -0
  788. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +26 -15
  789. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/locale/en.json +5 -0
  790. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/locale/zh.json +6 -0
  791. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +17 -15
  792. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +15 -12
  793. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +27 -5
  794. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +27 -5
  795. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +247 -7
  796. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/locale/en.json +5 -0
  797. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/locale/zh.json +6 -0
  798. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +29 -27
  799. package/node_modules/@deepseek-ai/dsh-llm-retry/locale/en.json +5 -0
  800. package/node_modules/@deepseek-ai/dsh-llm-retry/locale/zh.json +6 -0
  801. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +28 -26
  802. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +24 -24
  803. package/node_modules/@deepseek-ai/dsh-mcp-resources/locale/en.json +5 -0
  804. package/node_modules/@deepseek-ai/dsh-mcp-resources/locale/zh.json +6 -0
  805. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +17 -15
  806. package/node_modules/@deepseek-ai/dsh-message-feedback/lib/typert.host.js +114 -67
  807. package/node_modules/@deepseek-ai/dsh-message-feedback/lib/typert.remote-client.js +108 -66
  808. package/node_modules/@deepseek-ai/dsh-message-feedback/locale/en.json +5 -0
  809. package/node_modules/@deepseek-ai/dsh-message-feedback/locale/zh.json +6 -0
  810. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +23 -21
  811. package/node_modules/@deepseek-ai/dsh-native-command/package.json +4 -4
  812. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/lib/index.js +64 -25
  813. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +15 -15
  814. package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/typert.host.js +59 -24
  815. package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/typert.remote-client.js +53 -23
  816. package/node_modules/@deepseek-ai/dsh-office-to-pdf/locale/en.json +5 -0
  817. package/node_modules/@deepseek-ai/dsh-office-to-pdf/locale/zh.json +6 -0
  818. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +15 -13
  819. package/node_modules/@deepseek-ai/dsh-otel/README.i18n.yaml +2 -2
  820. package/node_modules/@deepseek-ai/dsh-otel/README.md +2 -0
  821. package/node_modules/@deepseek-ai/dsh-otel/README.zh.md +2 -0
  822. package/node_modules/@deepseek-ai/dsh-otel/locale/en.json +5 -0
  823. package/node_modules/@deepseek-ai/dsh-otel/locale/zh.json +6 -0
  824. package/node_modules/@deepseek-ai/dsh-otel/package.json +13 -11
  825. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
  826. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
  827. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +111 -20
  828. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.remote-client.js +19 -17
  829. package/node_modules/@deepseek-ai/dsh-permission-presets/locale/en.json +5 -0
  830. package/node_modules/@deepseek-ai/dsh-permission-presets/locale/zh.json +6 -0
  831. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +25 -23
  832. package/node_modules/@deepseek-ai/dsh-persona/README.i18n.yaml +12 -12
  833. package/node_modules/@deepseek-ai/dsh-persona/README.md +6 -6
  834. package/node_modules/@deepseek-ai/dsh-persona/README.zh.md +6 -6
  835. package/node_modules/@deepseek-ai/dsh-persona/locale/en.json +5 -0
  836. package/node_modules/@deepseek-ai/dsh-persona/locale/zh.json +6 -0
  837. package/node_modules/@deepseek-ai/dsh-persona/package.json +10 -8
  838. package/node_modules/@deepseek-ai/dsh-plan-mode/locale/en.json +5 -0
  839. package/node_modules/@deepseek-ai/dsh-plan-mode/locale/zh.json +6 -0
  840. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +26 -24
  841. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +10 -10
  842. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +8 -7
  843. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +9 -8
  844. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +447 -276
  845. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +399 -241
  846. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +387 -238
  847. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +121 -42
  848. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +320 -255
  849. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/patch.js +47 -9
  850. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +69 -7
  851. package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/en.json +5 -0
  852. package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/tools/en.json +5 -0
  853. package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/tools/zh.json +5 -0
  854. package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/zh.json +6 -0
  855. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +39 -35
  856. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/locale/en.json +5 -0
  857. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/locale/zh.json +6 -0
  858. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +22 -20
  859. package/node_modules/@deepseek-ai/dsh-ptc-runtime/README.i18n.yaml +11 -11
  860. package/node_modules/@deepseek-ai/dsh-ptc-runtime/README.md +7 -5
  861. package/node_modules/@deepseek-ai/dsh-ptc-runtime/README.zh.md +7 -5
  862. package/node_modules/@deepseek-ai/dsh-ptc-runtime/lib/index.js +15 -1
  863. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
  864. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +19 -16
  865. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.md +37 -9
  866. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.zh.md +37 -9
  867. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/index.js +1167 -549
  868. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/persistent-process.js +1186 -0
  869. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/process.js +14 -6
  870. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/locale/en.json +5 -0
  871. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/locale/zh.json +6 -0
  872. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +28 -25
  873. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -11
  874. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/locale/en.json +5 -0
  875. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/locale/zh.json +6 -0
  876. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +17 -15
  877. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +64 -25
  878. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/locale/en.json +5 -0
  879. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/locale/zh.json +6 -0
  880. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +15 -13
  881. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
  882. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +25 -25
  883. package/node_modules/@deepseek-ai/dsh-sandbox-local/locale/en.json +5 -0
  884. package/node_modules/@deepseek-ai/dsh-sandbox-local/locale/zh.json +6 -0
  885. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +15 -13
  886. package/node_modules/@deepseek-ai/dsh-sandbox-policy/locale/en.json +5 -0
  887. package/node_modules/@deepseek-ai/dsh-sandbox-policy/locale/zh.json +6 -0
  888. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +18 -16
  889. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +14 -14
  890. package/node_modules/@deepseek-ai/dsh-schedule/lib/typert.host.js +416 -288
  891. package/node_modules/@deepseek-ai/dsh-schedule/lib/typert.remote-client.js +410 -287
  892. package/node_modules/@deepseek-ai/dsh-schedule/package.json +35 -35
  893. package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
  894. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +9 -9
  895. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.i18n.yaml +2 -2
  896. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.md +2 -0
  897. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.zh.md +2 -0
  898. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +37 -10
  899. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +27 -27
  900. package/node_modules/@deepseek-ai/dsh-sdk-minimal/README.i18n.yaml +16 -16
  901. package/node_modules/@deepseek-ai/dsh-sdk-minimal/README.md +9 -7
  902. package/node_modules/@deepseek-ai/dsh-sdk-minimal/README.zh.md +9 -7
  903. package/node_modules/@deepseek-ai/dsh-sdk-minimal/cordis.patch.yml +20 -0
  904. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +37 -32
  905. package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.i18n.yaml +2 -2
  906. package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.md +4 -1
  907. package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.zh.md +4 -1
  908. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +9 -9
  909. package/node_modules/@deepseek-ai/dsh-session/lib/index.js +3 -0
  910. package/node_modules/@deepseek-ai/dsh-session/lib/types/index.js +1 -0
  911. package/node_modules/@deepseek-ai/dsh-session/lib/types/known-event-types.js +2 -0
  912. package/node_modules/@deepseek-ai/dsh-session/locale/en.json +5 -0
  913. package/node_modules/@deepseek-ai/dsh-session/locale/zh.json +6 -0
  914. package/node_modules/@deepseek-ai/dsh-session/package.json +13 -11
  915. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/locale/en.json +5 -0
  916. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/locale/zh.json +6 -0
  917. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +21 -19
  918. package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
  919. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -11
  920. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +6 -6
  921. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +8 -8
  922. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
  923. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +5 -5
  924. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/locale/en.json +5 -0
  925. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/locale/zh.json +6 -0
  926. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +21 -19
  927. package/node_modules/@deepseek-ai/dsh-session-log-export/locale/en.json +5 -0
  928. package/node_modules/@deepseek-ai/dsh-session-log-export/locale/zh.json +6 -0
  929. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +28 -27
  930. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
  931. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.i18n.yaml +8 -8
  932. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.md +5 -1
  933. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.zh.md +5 -1
  934. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/index.js +178 -67
  935. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +66 -25
  936. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/locale/en.json +5 -0
  937. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/locale/zh.json +6 -0
  938. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +18 -15
  939. package/node_modules/@deepseek-ai/dsh-session-projection/locale/en.json +5 -0
  940. package/node_modules/@deepseek-ai/dsh-session-projection/locale/zh.json +6 -0
  941. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +9 -7
  942. package/node_modules/@deepseek-ai/dsh-session-projection-cache/locale/en.json +5 -0
  943. package/node_modules/@deepseek-ai/dsh-session-projection-cache/locale/zh.json +6 -0
  944. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +17 -15
  945. package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
  946. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/locale/en.json +5 -0
  947. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/locale/zh.json +6 -0
  948. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +16 -14
  949. package/node_modules/@deepseek-ai/dsh-session-reference/lib/index.js +27 -18
  950. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +131 -21
  951. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.remote-client.js +39 -18
  952. package/node_modules/@deepseek-ai/dsh-session-reference/lib/types/index.js +32 -17
  953. package/node_modules/@deepseek-ai/dsh-session-reference/locale/en.json +5 -0
  954. package/node_modules/@deepseek-ai/dsh-session-reference/locale/zh.json +6 -0
  955. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +44 -42
  956. package/node_modules/@deepseek-ai/dsh-session-stats/locale/en.json +5 -0
  957. package/node_modules/@deepseek-ai/dsh-session-stats/locale/zh.json +6 -0
  958. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +15 -13
  959. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
  960. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/locale/en.json +5 -0
  961. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/locale/zh.json +6 -0
  962. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +29 -27
  963. package/node_modules/@deepseek-ai/dsh-session-title/locale/en.json +5 -0
  964. package/node_modules/@deepseek-ai/dsh-session-title/locale/zh.json +6 -0
  965. package/node_modules/@deepseek-ai/dsh-session-title/package.json +21 -19
  966. package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +15 -15
  967. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/locale/en.json +5 -0
  968. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/locale/zh.json +6 -0
  969. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +23 -21
  970. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
  971. package/node_modules/@deepseek-ai/dsh-session-turn-outline/locale/en.json +5 -0
  972. package/node_modules/@deepseek-ai/dsh-session-turn-outline/locale/zh.json +6 -0
  973. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +15 -13
  974. package/node_modules/@deepseek-ai/dsh-settings/locale/en.json +5 -0
  975. package/node_modules/@deepseek-ai/dsh-settings/locale/zh.json +6 -0
  976. package/node_modules/@deepseek-ai/dsh-settings/package.json +20 -18
  977. package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -7
  978. package/node_modules/@deepseek-ai/dsh-shell-env/locale/en.json +5 -0
  979. package/node_modules/@deepseek-ai/dsh-shell-env/locale/zh.json +6 -0
  980. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +17 -15
  981. package/node_modules/@deepseek-ai/dsh-skill/locale/en.json +5 -0
  982. package/node_modules/@deepseek-ai/dsh-skill/locale/zh.json +6 -0
  983. package/node_modules/@deepseek-ai/dsh-skill/package.json +12 -10
  984. package/node_modules/@deepseek-ai/dsh-skill-badge/README.i18n.yaml +2 -2
  985. package/node_modules/@deepseek-ai/dsh-skill-badge/README.md +2 -0
  986. package/node_modules/@deepseek-ai/dsh-skill-badge/README.zh.md +2 -0
  987. package/node_modules/@deepseek-ai/dsh-skill-badge/icon.svg +6 -0
  988. package/node_modules/@deepseek-ai/dsh-skill-badge/locale/en.json +6 -0
  989. package/node_modules/@deepseek-ai/dsh-skill-badge/locale/zh.json +6 -0
  990. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +10 -6
  991. package/node_modules/@deepseek-ai/dsh-skill-filesystem/locale/en.json +5 -0
  992. package/node_modules/@deepseek-ai/dsh-skill-filesystem/locale/zh.json +6 -0
  993. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +14 -12
  994. package/node_modules/@deepseek-ai/dsh-skill-office/README.i18n.yaml +22 -25
  995. package/node_modules/@deepseek-ai/dsh-skill-office/README.md +57 -26
  996. package/node_modules/@deepseek-ai/dsh-skill-office/README.zh.md +68 -37
  997. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office/SKILL.md +15 -0
  998. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office/references/sidecar.md +17 -0
  999. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-docx/SKILL.md +7 -24
  1000. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-export-pdf/SKILL.md +18 -0
  1001. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-pptx/SKILL.md +6 -23
  1002. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-recalculate/SKILL.md +18 -0
  1003. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-render/SKILL.md +31 -0
  1004. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-xlsx/SKILL.md +7 -29
  1005. package/node_modules/@deepseek-ai/dsh-skill-office/lib/index.js +15 -9
  1006. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +8 -8
  1007. package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
  1008. package/node_modules/@deepseek-ai/dsh-spill-local/locale/en.json +5 -0
  1009. package/node_modules/@deepseek-ai/dsh-spill-local/locale/zh.json +6 -0
  1010. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +14 -12
  1011. package/node_modules/@deepseek-ai/dsh-spill-policy/locale/en.json +5 -0
  1012. package/node_modules/@deepseek-ai/dsh-spill-policy/locale/zh.json +6 -0
  1013. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +37 -35
  1014. package/node_modules/@deepseek-ai/dsh-storage/locale/en.json +5 -0
  1015. package/node_modules/@deepseek-ai/dsh-storage/locale/zh.json +6 -0
  1016. package/node_modules/@deepseek-ai/dsh-storage/package.json +6 -4
  1017. package/node_modules/@deepseek-ai/dsh-storage-domain/locale/en.json +5 -0
  1018. package/node_modules/@deepseek-ai/dsh-storage-domain/locale/zh.json +6 -0
  1019. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +10 -8
  1020. package/node_modules/@deepseek-ai/dsh-storage-json/locale/en.json +5 -0
  1021. package/node_modules/@deepseek-ai/dsh-storage-json/locale/zh.json +6 -0
  1022. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +9 -7
  1023. package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +8 -2
  1024. package/node_modules/@deepseek-ai/dsh-subagent/README.md +11 -0
  1025. package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +11 -0
  1026. package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +50 -51
  1027. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +176 -33
  1028. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +82 -28
  1029. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/child-agent.js +24 -27
  1030. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +6 -3
  1031. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.js +29 -7
  1032. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/out-of-process.js +2 -3
  1033. package/node_modules/@deepseek-ai/dsh-subagent/locale/en.json +5 -0
  1034. package/node_modules/@deepseek-ai/dsh-subagent/locale/zh.json +6 -0
  1035. package/node_modules/@deepseek-ai/dsh-subagent/package.json +55 -53
  1036. package/node_modules/@deepseek-ai/dsh-subagent-acp/README.i18n.yaml +6 -6
  1037. package/node_modules/@deepseek-ai/dsh-subagent-acp/README.md +3 -3
  1038. package/node_modules/@deepseek-ai/dsh-subagent-acp/README.zh.md +3 -3
  1039. package/node_modules/@deepseek-ai/dsh-subagent-acp/lib/index.js +4 -5
  1040. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
  1041. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.i18n.yaml +10 -10
  1042. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.md +5 -5
  1043. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.zh.md +5 -5
  1044. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/lib/index.js +3 -5
  1045. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/locale/en.json +5 -0
  1046. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/locale/zh.json +6 -0
  1047. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +18 -16
  1048. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.i18n.yaml +14 -14
  1049. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.md +8 -6
  1050. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.zh.md +8 -6
  1051. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/lib/index.js +3 -5
  1052. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/locale/en.json +5 -0
  1053. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/locale/zh.json +6 -0
  1054. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +22 -20
  1055. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
  1056. package/node_modules/@deepseek-ai/dsh-subprocess-local/locale/en.json +5 -0
  1057. package/node_modules/@deepseek-ai/dsh-subprocess-local/locale/zh.json +6 -0
  1058. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +12 -10
  1059. package/node_modules/@deepseek-ai/dsh-system-prompt/lib/index.js +4 -1
  1060. package/node_modules/@deepseek-ai/dsh-system-prompt/locale/en.json +5 -0
  1061. package/node_modules/@deepseek-ai/dsh-system-prompt/locale/zh.json +6 -0
  1062. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +11 -9
  1063. package/node_modules/@deepseek-ai/dsh-terminal/locale/en.json +5 -0
  1064. package/node_modules/@deepseek-ai/dsh-terminal/locale/zh.json +6 -0
  1065. package/node_modules/@deepseek-ai/dsh-terminal/package.json +11 -9
  1066. package/node_modules/@deepseek-ai/dsh-terminal-bash/locale/en.json +5 -0
  1067. package/node_modules/@deepseek-ai/dsh-terminal-bash/locale/zh.json +6 -0
  1068. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +25 -23
  1069. package/node_modules/@deepseek-ai/dsh-time-context/package.json +22 -22
  1070. package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
  1071. package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +64 -25
  1072. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +15 -15
  1073. package/node_modules/@deepseek-ai/dsh-token-meter/README.i18n.yaml +4 -4
  1074. package/node_modules/@deepseek-ai/dsh-token-meter/README.md +2 -2
  1075. package/node_modules/@deepseek-ai/dsh-token-meter/README.zh.md +2 -2
  1076. package/node_modules/@deepseek-ai/dsh-token-meter/lib/index.js +221 -140
  1077. package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/breakdown-projection.js +116 -32
  1078. package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/surface-fold.js +4 -4
  1079. package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/surface-projection.js +1 -1
  1080. package/node_modules/@deepseek-ai/dsh-token-meter/locale/en.json +5 -0
  1081. package/node_modules/@deepseek-ai/dsh-token-meter/locale/zh.json +6 -0
  1082. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +21 -19
  1083. package/node_modules/@deepseek-ai/dsh-tool-ask-user/locale/en.json +5 -0
  1084. package/node_modules/@deepseek-ai/dsh-tool-ask-user/locale/zh.json +6 -0
  1085. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +15 -13
  1086. package/node_modules/@deepseek-ai/dsh-tool-bash/lib/index.js +4 -0
  1087. package/node_modules/@deepseek-ai/dsh-tool-bash/locale/en.json +5 -0
  1088. package/node_modules/@deepseek-ai/dsh-tool-bash/locale/zh.json +6 -0
  1089. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +38 -36
  1090. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/locale/en.json +5 -0
  1091. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/locale/zh.json +6 -0
  1092. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +29 -27
  1093. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/locale/en.json +5 -0
  1094. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/locale/zh.json +6 -0
  1095. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +12 -10
  1096. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +270 -67
  1097. package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/en.json +5 -0
  1098. package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/host/en.json +5 -0
  1099. package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/host/zh.json +5 -0
  1100. package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/zh.json +6 -0
  1101. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +21 -17
  1102. package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +4 -4
  1103. package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +9 -3
  1104. package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +9 -3
  1105. package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +13 -7
  1106. package/node_modules/@deepseek-ai/dsh-tool-fs/locale/en.json +5 -0
  1107. package/node_modules/@deepseek-ai/dsh-tool-fs/locale/zh.json +6 -0
  1108. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +37 -35
  1109. package/node_modules/@deepseek-ai/dsh-tool-fs-search/locale/en.json +5 -0
  1110. package/node_modules/@deepseek-ai/dsh-tool-fs-search/locale/zh.json +6 -0
  1111. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +33 -31
  1112. package/node_modules/@deepseek-ai/dsh-tool-goal/locale/en.json +5 -0
  1113. package/node_modules/@deepseek-ai/dsh-tool-goal/locale/zh.json +6 -0
  1114. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +23 -21
  1115. package/node_modules/@deepseek-ai/dsh-tool-jobs/README.i18n.yaml +2 -2
  1116. package/node_modules/@deepseek-ai/dsh-tool-jobs/README.md +1 -1
  1117. package/node_modules/@deepseek-ai/dsh-tool-jobs/README.zh.md +1 -1
  1118. package/node_modules/@deepseek-ai/dsh-tool-jobs/lib/index.js +3 -3
  1119. package/node_modules/@deepseek-ai/dsh-tool-jobs/locale/en.json +5 -0
  1120. package/node_modules/@deepseek-ai/dsh-tool-jobs/locale/zh.json +6 -0
  1121. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +21 -19
  1122. package/node_modules/@deepseek-ai/dsh-tool-present/locale/en.json +5 -0
  1123. package/node_modules/@deepseek-ai/dsh-tool-present/locale/zh.json +6 -0
  1124. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +25 -23
  1125. package/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/index.js +4 -0
  1126. package/node_modules/@deepseek-ai/dsh-tool-pwsh/locale/en.json +5 -0
  1127. package/node_modules/@deepseek-ai/dsh-tool-pwsh/locale/zh.json +6 -0
  1128. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +37 -35
  1129. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/locale/en.json +5 -0
  1130. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/locale/zh.json +6 -0
  1131. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +30 -28
  1132. package/node_modules/@deepseek-ai/dsh-tool-ralph/locale/en.json +5 -0
  1133. package/node_modules/@deepseek-ai/dsh-tool-ralph/locale/zh.json +6 -0
  1134. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +26 -24
  1135. package/node_modules/@deepseek-ai/dsh-tool-schedule/README.i18n.yaml +4 -4
  1136. package/node_modules/@deepseek-ai/dsh-tool-schedule/README.md +1 -2
  1137. package/node_modules/@deepseek-ai/dsh-tool-schedule/README.zh.md +1 -2
  1138. package/node_modules/@deepseek-ai/dsh-tool-schedule/lib/index.js +3 -2
  1139. package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +14 -14
  1140. package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +27 -27
  1141. package/node_modules/@deepseek-ai/dsh-tool-skill/lib/index.js +2 -0
  1142. package/node_modules/@deepseek-ai/dsh-tool-skill/locale/en.json +5 -0
  1143. package/node_modules/@deepseek-ai/dsh-tool-skill/locale/zh.json +6 -0
  1144. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +20 -18
  1145. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +22 -22
  1146. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +36 -18
  1147. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +40 -10
  1148. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +40 -10
  1149. package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +97 -15
  1150. package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/en.json +5 -0
  1151. package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/model-selection-settings/en.json +5 -0
  1152. package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/model-selection-settings/zh.json +5 -0
  1153. package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/zh.json +6 -0
  1154. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +37 -26
  1155. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/locale/en.json +5 -0
  1156. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/locale/list-agents/en.json +5 -0
  1157. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/locale/list-agents/zh.json +5 -0
  1158. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/locale/zh.json +6 -0
  1159. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +26 -22
  1160. package/node_modules/@deepseek-ai/dsh-tool-terminal/lib/index.js +5 -1
  1161. package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +30 -30
  1162. package/node_modules/@deepseek-ai/dsh-tool-todo/locale/en.json +5 -0
  1163. package/node_modules/@deepseek-ai/dsh-tool-todo/locale/zh.json +6 -0
  1164. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +22 -20
  1165. package/node_modules/@deepseek-ai/dsh-tool-web/locale/en.json +5 -0
  1166. package/node_modules/@deepseek-ai/dsh-tool-web/locale/zh.json +6 -0
  1167. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +25 -23
  1168. package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/index.js +7 -2
  1169. package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/types/index.js +4 -2
  1170. package/node_modules/@deepseek-ai/dsh-tool-workflow/locale/en.json +5 -0
  1171. package/node_modules/@deepseek-ai/dsh-tool-workflow/locale/zh.json +6 -0
  1172. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +26 -24
  1173. package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +13 -13
  1174. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/README.i18n.yaml +2 -2
  1175. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/README.md +2 -0
  1176. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/README.zh.md +2 -0
  1177. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/lib/index.js +50 -7
  1178. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +11 -11
  1179. package/node_modules/@deepseek-ai/dsh-tools/README.i18n.yaml +6 -6
  1180. package/node_modules/@deepseek-ai/dsh-tools/README.md +3 -3
  1181. package/node_modules/@deepseek-ai/dsh-tools/README.zh.md +3 -3
  1182. package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +344 -265
  1183. package/node_modules/@deepseek-ai/dsh-tools/lib/types/index.js +4 -2
  1184. package/node_modules/@deepseek-ai/dsh-tools/lib/types/ptc-calls.js +62 -0
  1185. package/node_modules/@deepseek-ai/dsh-tools/lib/types/ptc.js +351 -340
  1186. package/node_modules/@deepseek-ai/dsh-tools/lib/types/py-types.js +2 -2
  1187. package/node_modules/@deepseek-ai/dsh-tools/lib/types/ts-types.js +3 -3
  1188. package/node_modules/@deepseek-ai/dsh-tools/locale/en.json +5 -0
  1189. package/node_modules/@deepseek-ai/dsh-tools/locale/zh.json +6 -0
  1190. package/node_modules/@deepseek-ai/dsh-tools/package.json +30 -28
  1191. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +2 -2
  1192. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +1 -1
  1193. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +1 -1
  1194. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +10 -10
  1195. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +84 -83
  1196. package/node_modules/@deepseek-ai/dsh-typert-loader/README.i18n.yaml +6 -6
  1197. package/node_modules/@deepseek-ai/dsh-typert-loader/README.md +5 -2
  1198. package/node_modules/@deepseek-ai/dsh-typert-loader/README.zh.md +5 -2
  1199. package/node_modules/@deepseek-ai/dsh-typert-loader/lib/index.js +26 -3
  1200. package/node_modules/@deepseek-ai/dsh-typert-loader/locale/en.json +5 -0
  1201. package/node_modules/@deepseek-ai/dsh-typert-loader/locale/zh.json +6 -0
  1202. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +15 -11
  1203. package/node_modules/@deepseek-ai/dsh-typert-protocol/README.i18n.yaml +13 -10
  1204. package/node_modules/@deepseek-ai/dsh-typert-protocol/README.md +26 -5
  1205. package/node_modules/@deepseek-ai/dsh-typert-protocol/README.zh.md +26 -5
  1206. package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/index.js +230 -28
  1207. package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/index.js +54 -26
  1208. package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/principal.js +15 -0
  1209. package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-access.js +9 -0
  1210. package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/remote-info.js +143 -0
  1211. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +9 -4
  1212. package/node_modules/@deepseek-ai/dsh-typert-registry/README.i18n.yaml +10 -10
  1213. package/node_modules/@deepseek-ai/dsh-typert-registry/README.md +8 -1
  1214. package/node_modules/@deepseek-ai/dsh-typert-registry/README.zh.md +8 -1
  1215. package/node_modules/@deepseek-ai/dsh-typert-registry/lib/client.browser.js +656 -0
  1216. package/node_modules/@deepseek-ai/dsh-typert-registry/lib/client.node.js +646 -0
  1217. package/node_modules/@deepseek-ai/dsh-typert-registry/lib/index.js +55 -0
  1218. package/node_modules/@deepseek-ai/dsh-typert-registry/lib/types/service.js +49 -0
  1219. package/node_modules/@deepseek-ai/dsh-typert-registry/locale/en.json +5 -0
  1220. package/node_modules/@deepseek-ai/dsh-typert-registry/locale/zh.json +6 -0
  1221. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +13 -8
  1222. package/node_modules/@deepseek-ai/dsh-user-approval/locale/en.json +5 -0
  1223. package/node_modules/@deepseek-ai/dsh-user-approval/locale/zh.json +6 -0
  1224. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +19 -17
  1225. package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +170 -26
  1226. package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.remote-client.js +78 -23
  1227. package/node_modules/@deepseek-ai/dsh-user-questions/locale/en.json +5 -0
  1228. package/node_modules/@deepseek-ai/dsh-user-questions/locale/zh.json +6 -0
  1229. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +22 -20
  1230. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +3 -3
  1231. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
  1232. package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
  1233. package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
  1234. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
  1235. package/node_modules/@deepseek-ai/dsh-web/locale/en.json +5 -0
  1236. package/node_modules/@deepseek-ai/dsh-web/locale/zh.json +6 -0
  1237. package/node_modules/@deepseek-ai/dsh-web/package.json +9 -7
  1238. package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +22 -22
  1239. package/node_modules/@deepseek-ai/dsh-web-app/README.md +12 -10
  1240. package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +12 -10
  1241. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +17 -8
  1242. package/node_modules/@deepseek-ai/dsh-web-app/lib/index.js +18 -70
  1243. package/node_modules/@deepseek-ai/dsh-web-app/lib/startup.js +1 -1
  1244. package/node_modules/@deepseek-ai/dsh-web-app/locale/en.json +5 -0
  1245. package/node_modules/@deepseek-ai/dsh-web-app/locale/startup/en.json +5 -0
  1246. package/node_modules/@deepseek-ai/dsh-web-app/locale/startup/zh.json +5 -0
  1247. package/node_modules/@deepseek-ai/dsh-web-app/locale/zh.json +6 -0
  1248. package/node_modules/@deepseek-ai/dsh-web-app/package.json +151 -147
  1249. package/node_modules/@deepseek-ai/dsh-web-app/presets/cordis.patch.yml +0 -12
  1250. package/node_modules/@deepseek-ai/dsh-web-app/presets/minimal.patch.yml +17 -0
  1251. package/node_modules/@deepseek-ai/dsh-web-app/presets/ptc.patch.yml +0 -12
  1252. package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +0 -12
  1253. package/node_modules/@deepseek-ai/dsh-web-fetch-http/locale/en.json +5 -0
  1254. package/node_modules/@deepseek-ai/dsh-web-fetch-http/locale/zh.json +6 -0
  1255. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +14 -12
  1256. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BxpfOGf3.css +1 -0
  1257. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-CN7NIWNw.js +191 -0
  1258. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/graphql-VhKNCVsv.js +2 -0
  1259. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/http-br_RHStI.js +2 -0
  1260. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-hBQ2F09C.js +2 -0
  1261. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/rst-CyvSi_BO.js +2 -0
  1262. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/ruby-CO7l6YCm.js +2 -0
  1263. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/svelte-BYadmKUw.js +2 -0
  1264. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/vue-B0l-UZcs.js +2 -0
  1265. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/vendor-DV2921Zo.css +1 -0
  1266. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/vendor-DcuzkuQH.js +411 -0
  1267. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +4 -4
  1268. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +21 -23
  1269. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/locale/en.json +5 -0
  1270. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/locale/zh.json +6 -0
  1271. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +21 -19
  1272. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +9 -9
  1273. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +9 -9
  1274. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
  1275. package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
  1276. package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.i18n.yaml +2 -2
  1277. package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.md +1 -1
  1278. package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.zh.md +1 -1
  1279. package/node_modules/@deepseek-ai/dsh-workflow-ptc/lib/index.js +3 -2
  1280. package/node_modules/@deepseek-ai/dsh-workflow-ptc/locale/en.json +5 -0
  1281. package/node_modules/@deepseek-ai/dsh-workflow-ptc/locale/zh.json +6 -0
  1282. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +42 -40
  1283. package/node_modules/@deepseek-ai/dsh-working-directory/package.json +21 -21
  1284. package/node_modules/@deepseek-ai/dsh-workspace/README.i18n.yaml +8 -8
  1285. package/node_modules/@deepseek-ai/dsh-workspace/README.md +4 -4
  1286. package/node_modules/@deepseek-ai/dsh-workspace/README.zh.md +4 -4
  1287. package/node_modules/@deepseek-ai/dsh-workspace/lib/index.js +11 -6
  1288. package/node_modules/@deepseek-ai/dsh-workspace/lib/types/entity.js +3 -3
  1289. package/node_modules/@deepseek-ai/dsh-workspace/lib/types/index.js +12 -4
  1290. package/node_modules/@deepseek-ai/dsh-workspace/locale/en.json +5 -0
  1291. package/node_modules/@deepseek-ai/dsh-workspace/locale/zh.json +6 -0
  1292. package/node_modules/@deepseek-ai/dsh-workspace/package.json +18 -16
  1293. package/node_modules/@deepseek-ai/dsh-workspace-changes/locale/en.json +5 -0
  1294. package/node_modules/@deepseek-ai/dsh-workspace-changes/locale/zh.json +6 -0
  1295. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +26 -24
  1296. package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
  1297. package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +64 -22
  1298. package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +1 -0
  1299. package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +29 -13
  1300. package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +2 -1
  1301. package/node_modules/@earendil-works/pi-ai/dist/models.js +1 -0
  1302. package/node_modules/@earendil-works/pi-ai/dist/providers/compat-schema.js +375 -0
  1303. package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  1304. package/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
  1305. package/node_modules/@earendil-works/pi-ai/dist/providers/data/anthropic.json +1 -1
  1306. package/node_modules/@earendil-works/pi-ai/dist/providers/data/baseten.json +1 -1
  1307. package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
  1308. package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-workers-ai.json +1 -1
  1309. package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
  1310. package/node_modules/@earendil-works/pi-ai/dist/providers/data/google-vertex.json +1 -1
  1311. package/node_modules/@earendil-works/pi-ai/dist/providers/data/huggingface.json +1 -1
  1312. package/node_modules/@earendil-works/pi-ai/dist/providers/data/meta.json +1 -1
  1313. package/node_modules/@earendil-works/pi-ai/dist/providers/data/mistral.json +1 -1
  1314. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
  1315. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
  1316. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  1317. package/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -1
  1318. package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
  1319. package/node_modules/@earendil-works/pi-ai/dist/providers/model-schema.js +55 -0
  1320. package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter-api.js +41 -0
  1321. package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.js +52 -1
  1322. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +3 -2
  1323. package/node_modules/@earendil-works/pi-ai/package.json +2 -2
  1324. package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
  1325. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1695 -3
  1326. package/node_modules/@smithy/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js +6 -0
  1327. package/node_modules/@smithy/core/dist-es/submodules/protocols/UnionSerde.js +26 -0
  1328. package/node_modules/@smithy/core/dist-es/submodules/protocols/common.js +3 -0
  1329. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +8 -0
  1330. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/JsonSettings.js +1 -0
  1331. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/SmithyRpcV2JsonProtocol.js +102 -0
  1332. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonCodec.js +20 -0
  1333. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +1 -0
  1334. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +167 -0
  1335. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +200 -0
  1336. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +103 -0
  1337. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +20 -0
  1338. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +211 -0
  1339. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +529 -0
  1340. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/detectBufferParsing.js +18 -0
  1341. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/jsonReplacer.js +46 -0
  1342. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/jsonReviver.js +121 -0
  1343. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/needsReviver.js +41 -0
  1344. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/parseJsonBody.js +104 -0
  1345. package/node_modules/@smithy/core/dist-es/submodules/protocols/writeKey.js +3 -0
  1346. package/node_modules/@smithy/core/package.json +1 -1
  1347. package/node_modules/chokidar/README.md +108 -108
  1348. package/node_modules/chokidar/handler.js +52 -55
  1349. package/node_modules/chokidar/index.js +95 -77
  1350. package/node_modules/chokidar/package.json +12 -19
  1351. package/node_modules/execa/lib/arguments/command.js +2 -1
  1352. package/node_modules/execa/lib/arguments/escape.js +7 -4
  1353. package/node_modules/execa/lib/arguments/options.js +29 -0
  1354. package/node_modules/execa/lib/arguments/specific.js +22 -3
  1355. package/node_modules/execa/lib/convert/duplex.js +3 -1
  1356. package/node_modules/execa/lib/convert/iterable.js +3 -1
  1357. package/node_modules/execa/lib/convert/readable.js +9 -6
  1358. package/node_modules/execa/lib/convert/shared.js +3 -3
  1359. package/node_modules/execa/lib/convert/writable.js +10 -7
  1360. package/node_modules/execa/lib/io/input-sync.js +15 -4
  1361. package/node_modules/execa/lib/io/pipeline.js +9 -4
  1362. package/node_modules/execa/lib/ipc/forward.js +2 -0
  1363. package/node_modules/execa/lib/ipc/get-each.js +4 -2
  1364. package/node_modules/execa/lib/ipc/get-one.js +5 -1
  1365. package/node_modules/execa/lib/ipc/graceful.js +2 -1
  1366. package/node_modules/execa/lib/ipc/send.js +6 -3
  1367. package/node_modules/execa/lib/ipc/strict.js +17 -7
  1368. package/node_modules/execa/lib/ipc/validation.js +12 -1
  1369. package/node_modules/execa/lib/methods/command.js +9 -18
  1370. package/node_modules/execa/lib/methods/main-sync.js +7 -1
  1371. package/node_modules/execa/lib/methods/node.js +30 -2
  1372. package/node_modules/execa/lib/methods/parameters.js +10 -2
  1373. package/node_modules/execa/lib/methods/template.js +21 -10
  1374. package/node_modules/execa/lib/pipe/abort.js +2 -1
  1375. package/node_modules/execa/lib/pipe/pipe-arguments.js +3 -0
  1376. package/node_modules/execa/lib/pipe/sequence.js +3 -2
  1377. package/node_modules/execa/lib/pipe/setup.js +12 -2
  1378. package/node_modules/execa/lib/pipe/streaming.js +44 -1
  1379. package/node_modules/execa/lib/resolve/all-sync.js +14 -3
  1380. package/node_modules/execa/lib/resolve/wait-stream.js +16 -2
  1381. package/node_modules/execa/lib/return/early-error.js +5 -1
  1382. package/node_modules/execa/lib/return/final-error.js +2 -1
  1383. package/node_modules/execa/lib/return/message.js +10 -3
  1384. package/node_modules/execa/lib/return/result.js +27 -3
  1385. package/node_modules/execa/lib/stdio/handle-async.js +38 -9
  1386. package/node_modules/execa/lib/stdio/handle-sync.js +10 -2
  1387. package/node_modules/execa/lib/stdio/handle.js +32 -5
  1388. package/node_modules/execa/lib/stdio/stdio-option.js +2 -1
  1389. package/node_modules/execa/lib/stdio/type.js +1 -6
  1390. package/node_modules/execa/lib/terminate/cancel.js +2 -4
  1391. package/node_modules/execa/lib/terminate/kill.js +2 -4
  1392. package/node_modules/execa/lib/terminate/timeout.js +14 -2
  1393. package/node_modules/execa/lib/utils/abort-signal.js +7 -0
  1394. package/node_modules/execa/lib/utils/options.js +6 -0
  1395. package/node_modules/execa/lib/utils/type-name.js +2 -0
  1396. package/node_modules/execa/lib/verbose/default.js +15 -6
  1397. package/node_modules/execa/package.json +3 -2
  1398. package/node_modules/p-limit/index.js +148 -0
  1399. package/node_modules/p-limit/license +9 -0
  1400. package/node_modules/p-limit/package.json +54 -0
  1401. package/node_modules/p-limit/readme.md +183 -0
  1402. package/node_modules/readdirp/README.md +2 -0
  1403. package/node_modules/readdirp/index.js +150 -80
  1404. package/node_modules/readdirp/package.json +11 -17
  1405. package/node_modules/resolve.exports/dist/index.js +1 -1
  1406. package/node_modules/resolve.exports/dist/index.mjs +1 -1
  1407. package/node_modules/resolve.exports/package.json +1 -1
  1408. package/node_modules/yocto-queue/index.js +90 -0
  1409. package/node_modules/yocto-queue/license +9 -0
  1410. package/node_modules/yocto-queue/package.json +44 -0
  1411. package/node_modules/yocto-queue/readme.md +80 -0
  1412. package/node_modules/zod/README.md +2 -29
  1413. package/node_modules/zod/index.cjs +2 -21
  1414. package/node_modules/zod/index.js +2 -5
  1415. package/node_modules/zod/locales/index.cjs +0 -19
  1416. package/node_modules/zod/mini/index.cjs +0 -19
  1417. package/node_modules/zod/package.json +3 -15
  1418. package/node_modules/zod/src/index.ts +2 -5
  1419. package/node_modules/zod/src/v3/ZodError.ts +12 -22
  1420. package/node_modules/zod/src/v3/helpers/errorUtil.ts +1 -1
  1421. package/node_modules/zod/src/v3/tests/error.test.ts +0 -35
  1422. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -18
  1423. package/node_modules/zod/src/v3/tests/language-server.test.ts +2 -1
  1424. package/node_modules/zod/src/v3/tests/object.test.ts +6 -3
  1425. package/node_modules/zod/src/v3/tests/readonly.test.ts +80 -0
  1426. package/node_modules/zod/src/v3/tests/string.test.ts +0 -6
  1427. package/node_modules/zod/src/v3/types.ts +5 -5
  1428. package/node_modules/zod/src/v4/classic/checks.ts +0 -1
  1429. package/node_modules/zod/src/v4/classic/compat.ts +18 -26
  1430. package/node_modules/zod/src/v4/classic/errors.ts +44 -59
  1431. package/node_modules/zod/src/v4/classic/external.ts +9 -14
  1432. package/node_modules/zod/src/v4/classic/from-json-schema.ts +78 -363
  1433. package/node_modules/zod/src/v4/classic/index.ts +2 -2
  1434. package/node_modules/zod/src/v4/classic/iso.ts +72 -2
  1435. package/node_modules/zod/src/v4/classic/parse.ts +4 -10
  1436. package/node_modules/zod/src/v4/classic/schemas.ts +375 -640
  1437. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -27
  1438. package/node_modules/zod/src/v4/classic/tests/array.test.ts +2 -2
  1439. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -186
  1440. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +1 -36
  1441. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -278
  1442. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +2 -1
  1443. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +1 -2
  1444. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +3 -3
  1445. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -30
  1446. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +18 -32
  1447. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -46
  1448. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +7 -31
  1449. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +13 -261
  1450. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -20
  1451. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +2 -112
  1452. package/node_modules/zod/src/v4/classic/tests/error.test.ts +6 -403
  1453. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +10 -582
  1454. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -31
  1455. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +9 -2
  1456. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +2 -1
  1457. package/node_modules/zod/src/v4/classic/tests/index.test.ts +2 -21
  1458. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -67
  1459. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -136
  1460. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +10 -3
  1461. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +1 -36
  1462. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +1 -12
  1463. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -12
  1464. package/node_modules/zod/src/v4/classic/tests/number.test.ts +9 -85
  1465. package/node_modules/zod/src/v4/classic/tests/object.test.ts +12 -301
  1466. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +16 -49
  1467. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +4 -51
  1468. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -70
  1469. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +2 -20
  1470. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +68 -0
  1471. package/node_modules/zod/src/v4/classic/tests/record.test.ts +18 -186
  1472. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +3 -79
  1473. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -60
  1474. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -9
  1475. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -19
  1476. package/node_modules/zod/src/v4/classic/tests/string.test.ts +6 -222
  1477. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -18
  1478. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +3 -44
  1479. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +175 -1783
  1480. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +30 -45
  1481. package/node_modules/zod/src/v4/classic/tests/union.test.ts +2 -39
  1482. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +2 -2
  1483. package/node_modules/zod/src/v4/core/api.ts +35 -87
  1484. package/node_modules/zod/src/v4/core/checks.ts +146 -119
  1485. package/node_modules/zod/src/v4/core/config.ts +15 -0
  1486. package/node_modules/zod/src/v4/core/core.ts +22 -99
  1487. package/node_modules/zod/src/v4/core/doc.ts +9 -17
  1488. package/node_modules/zod/src/v4/core/errors.ts +25 -113
  1489. package/node_modules/zod/src/v4/core/index.ts +0 -3
  1490. package/node_modules/zod/src/v4/core/json-schema-generator.ts +3 -8
  1491. package/node_modules/zod/src/v4/core/json-schema-processors.ts +156 -424
  1492. package/node_modules/zod/src/v4/core/json-schema.ts +1 -2
  1493. package/node_modules/zod/src/v4/core/parse.ts +50 -164
  1494. package/node_modules/zod/src/v4/core/regexes.ts +15 -42
  1495. package/node_modules/zod/src/v4/core/registries.ts +2 -2
  1496. package/node_modules/zod/src/v4/core/schemas.ts +538 -1000
  1497. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +2 -1
  1498. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +2 -1
  1499. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +3 -3
  1500. package/node_modules/zod/src/v4/core/to-json-schema.ts +48 -283
  1501. package/node_modules/zod/src/v4/core/util.ts +157 -454
  1502. package/node_modules/zod/src/v4/core/versions.ts +2 -2
  1503. package/node_modules/zod/src/v4/index.ts +3 -3
  1504. package/node_modules/zod/src/v4/locales/ar.ts +0 -5
  1505. package/node_modules/zod/src/v4/locales/az.ts +0 -5
  1506. package/node_modules/zod/src/v4/locales/be.ts +0 -12
  1507. package/node_modules/zod/src/v4/locales/bg.ts +0 -5
  1508. package/node_modules/zod/src/v4/locales/ca.ts +0 -5
  1509. package/node_modules/zod/src/v4/locales/cs.ts +0 -5
  1510. package/node_modules/zod/src/v4/locales/da.ts +2 -7
  1511. package/node_modules/zod/src/v4/locales/de.ts +0 -5
  1512. package/node_modules/zod/src/v4/locales/el.ts +0 -3
  1513. package/node_modules/zod/src/v4/locales/en.ts +4 -17
  1514. package/node_modules/zod/src/v4/locales/eo.ts +0 -5
  1515. package/node_modules/zod/src/v4/locales/es.ts +0 -4
  1516. package/node_modules/zod/src/v4/locales/fa.ts +0 -5
  1517. package/node_modules/zod/src/v4/locales/fi.ts +0 -5
  1518. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -5
  1519. package/node_modules/zod/src/v4/locales/fr.ts +14 -21
  1520. package/node_modules/zod/src/v4/locales/he.ts +1 -8
  1521. package/node_modules/zod/src/v4/locales/hr.ts +0 -4
  1522. package/node_modules/zod/src/v4/locales/hu.ts +0 -5
  1523. package/node_modules/zod/src/v4/locales/hy.ts +0 -11
  1524. package/node_modules/zod/src/v4/locales/id.ts +0 -5
  1525. package/node_modules/zod/src/v4/locales/index.ts +0 -11
  1526. package/node_modules/zod/src/v4/locales/is.ts +0 -5
  1527. package/node_modules/zod/src/v4/locales/it.ts +0 -5
  1528. package/node_modules/zod/src/v4/locales/ja.ts +0 -5
  1529. package/node_modules/zod/src/v4/locales/ka.ts +0 -5
  1530. package/node_modules/zod/src/v4/locales/km.ts +0 -5
  1531. package/node_modules/zod/src/v4/locales/ko.ts +0 -5
  1532. package/node_modules/zod/src/v4/locales/lt.ts +0 -4
  1533. package/node_modules/zod/src/v4/locales/mk.ts +0 -5
  1534. package/node_modules/zod/src/v4/locales/ms.ts +0 -5
  1535. package/node_modules/zod/src/v4/locales/nl.ts +0 -5
  1536. package/node_modules/zod/src/v4/locales/no.ts +2 -7
  1537. package/node_modules/zod/src/v4/locales/ota.ts +0 -5
  1538. package/node_modules/zod/src/v4/locales/pl.ts +0 -5
  1539. package/node_modules/zod/src/v4/locales/ps.ts +0 -5
  1540. package/node_modules/zod/src/v4/locales/pt.ts +58 -101
  1541. package/node_modules/zod/src/v4/locales/ro.ts +0 -3
  1542. package/node_modules/zod/src/v4/locales/ru.ts +0 -12
  1543. package/node_modules/zod/src/v4/locales/sl.ts +0 -5
  1544. package/node_modules/zod/src/v4/locales/sv.ts +2 -7
  1545. package/node_modules/zod/src/v4/locales/ta.ts +0 -5
  1546. package/node_modules/zod/src/v4/locales/th.ts +0 -5
  1547. package/node_modules/zod/src/v4/locales/tr.ts +0 -5
  1548. package/node_modules/zod/src/v4/locales/uk.ts +0 -5
  1549. package/node_modules/zod/src/v4/locales/ur.ts +0 -5
  1550. package/node_modules/zod/src/v4/locales/uz.ts +0 -3
  1551. package/node_modules/zod/src/v4/locales/vi.ts +0 -5
  1552. package/node_modules/zod/src/v4/locales/yo.ts +0 -5
  1553. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -5
  1554. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -5
  1555. package/node_modules/zod/src/v4/mini/checks.ts +0 -1
  1556. package/node_modules/zod/src/v4/mini/external.ts +1 -12
  1557. package/node_modules/zod/src/v4/mini/parse.ts +0 -2
  1558. package/node_modules/zod/src/v4/mini/schemas.ts +63 -167
  1559. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -33
  1560. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +1 -62
  1561. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -14
  1562. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +1 -35
  1563. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +17 -11
  1564. package/node_modules/zod/src/v4/mini/tests/error.test.ts +4 -23
  1565. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -9
  1566. package/node_modules/zod/src/v4/mini/tests/index.test.ts +5 -158
  1567. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -14
  1568. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -65
  1569. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -16
  1570. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -44
  1571. package/node_modules/zod/v3/ZodError.cjs +12 -41
  1572. package/node_modules/zod/v3/ZodError.js +12 -22
  1573. package/node_modules/zod/v3/errors.cjs +0 -19
  1574. package/node_modules/zod/v3/external.cjs +0 -19
  1575. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -19
  1576. package/node_modules/zod/v3/helpers/errorUtil.cjs +1 -20
  1577. package/node_modules/zod/v3/helpers/errorUtil.js +1 -1
  1578. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -19
  1579. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -19
  1580. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -19
  1581. package/node_modules/zod/v3/helpers/util.cjs +0 -19
  1582. package/node_modules/zod/v3/index.cjs +0 -19
  1583. package/node_modules/zod/v3/standard-schema.cjs +0 -19
  1584. package/node_modules/zod/v3/types.cjs +5 -26
  1585. package/node_modules/zod/v3/types.js +5 -7
  1586. package/node_modules/zod/v4/classic/checks.cjs +1 -21
  1587. package/node_modules/zod/v4/classic/checks.js +1 -1
  1588. package/node_modules/zod/v4/classic/coerce.cjs +0 -19
  1589. package/node_modules/zod/v4/classic/compat.cjs +0 -19
  1590. package/node_modules/zod/v4/classic/errors.cjs +34 -62
  1591. package/node_modules/zod/v4/classic/errors.js +34 -43
  1592. package/node_modules/zod/v4/classic/external.cjs +27 -51
  1593. package/node_modules/zod/v4/classic/external.js +8 -5
  1594. package/node_modules/zod/v4/classic/from-json-schema.cjs +75 -376
  1595. package/node_modules/zod/v4/classic/from-json-schema.js +75 -357
  1596. package/node_modules/zod/v4/classic/index.cjs +2 -21
  1597. package/node_modules/zod/v4/classic/index.js +2 -2
  1598. package/node_modules/zod/v4/classic/iso.cjs +22 -30
  1599. package/node_modules/zod/v4/classic/iso.js +17 -2
  1600. package/node_modules/zod/v4/classic/parse.cjs +1 -23
  1601. package/node_modules/zod/v4/classic/parse.js +0 -1
  1602. package/node_modules/zod/v4/classic/schemas.cjs +426 -591
  1603. package/node_modules/zod/v4/classic/schemas.js +424 -564
  1604. package/node_modules/zod/v4/core/api.cjs +24 -66
  1605. package/node_modules/zod/v4/core/api.js +24 -44
  1606. package/node_modules/zod/v4/core/checks.cjs +128 -88
  1607. package/node_modules/zod/v4/core/checks.js +127 -68
  1608. package/node_modules/zod/v4/core/core.cjs +19 -101
  1609. package/node_modules/zod/v4/core/core.js +20 -83
  1610. package/node_modules/zod/v4/core/doc.cjs +9 -31
  1611. package/node_modules/zod/v4/core/doc.js +9 -12
  1612. package/node_modules/zod/v4/core/errors.cjs +25 -126
  1613. package/node_modules/zod/v4/core/errors.js +25 -107
  1614. package/node_modules/zod/v4/core/index.cjs +1 -24
  1615. package/node_modules/zod/v4/core/index.js +0 -3
  1616. package/node_modules/zod/v4/core/json-schema-generator.cjs +1 -24
  1617. package/node_modules/zod/v4/core/json-schema-generator.js +2 -6
  1618. package/node_modules/zod/v4/core/json-schema-processors.cjs +156 -441
  1619. package/node_modules/zod/v4/core/json-schema-processors.js +158 -400
  1620. package/node_modules/zod/v4/core/json-schema.cjs +0 -19
  1621. package/node_modules/zod/v4/core/parse.cjs +46 -148
  1622. package/node_modules/zod/v4/core/parse.js +45 -127
  1623. package/node_modules/zod/v4/core/regexes.cjs +17 -54
  1624. package/node_modules/zod/v4/core/regexes.js +15 -32
  1625. package/node_modules/zod/v4/core/registries.cjs +0 -19
  1626. package/node_modules/zod/v4/core/registries.js +2 -2
  1627. package/node_modules/zod/v4/core/schemas.cjs +386 -785
  1628. package/node_modules/zod/v4/core/schemas.js +386 -753
  1629. package/node_modules/zod/v4/core/standard-schema.cjs +0 -19
  1630. package/node_modules/zod/v4/core/to-json-schema.cjs +45 -269
  1631. package/node_modules/zod/v4/core/to-json-schema.js +44 -247
  1632. package/node_modules/zod/v4/core/util.cjs +157 -372
  1633. package/node_modules/zod/v4/core/util.js +156 -341
  1634. package/node_modules/zod/v4/core/versions.cjs +2 -21
  1635. package/node_modules/zod/v4/core/versions.js +2 -2
  1636. package/node_modules/zod/v4/index.cjs +5 -34
  1637. package/node_modules/zod/v4/index.js +2 -3
  1638. package/node_modules/zod/v4/locales/ar.cjs +0 -5
  1639. package/node_modules/zod/v4/locales/ar.js +0 -5
  1640. package/node_modules/zod/v4/locales/az.cjs +0 -5
  1641. package/node_modules/zod/v4/locales/az.js +0 -5
  1642. package/node_modules/zod/v4/locales/be.cjs +0 -12
  1643. package/node_modules/zod/v4/locales/be.js +0 -12
  1644. package/node_modules/zod/v4/locales/bg.cjs +0 -5
  1645. package/node_modules/zod/v4/locales/bg.js +0 -5
  1646. package/node_modules/zod/v4/locales/ca.cjs +0 -5
  1647. package/node_modules/zod/v4/locales/ca.js +0 -5
  1648. package/node_modules/zod/v4/locales/cs.cjs +0 -5
  1649. package/node_modules/zod/v4/locales/cs.js +0 -5
  1650. package/node_modules/zod/v4/locales/da.cjs +2 -7
  1651. package/node_modules/zod/v4/locales/da.js +2 -7
  1652. package/node_modules/zod/v4/locales/de.cjs +0 -5
  1653. package/node_modules/zod/v4/locales/de.js +0 -5
  1654. package/node_modules/zod/v4/locales/el.cjs +0 -3
  1655. package/node_modules/zod/v4/locales/el.js +0 -3
  1656. package/node_modules/zod/v4/locales/en.cjs +4 -16
  1657. package/node_modules/zod/v4/locales/en.js +4 -16
  1658. package/node_modules/zod/v4/locales/eo.cjs +0 -5
  1659. package/node_modules/zod/v4/locales/eo.js +0 -5
  1660. package/node_modules/zod/v4/locales/es.cjs +0 -4
  1661. package/node_modules/zod/v4/locales/es.js +0 -4
  1662. package/node_modules/zod/v4/locales/fa.cjs +0 -5
  1663. package/node_modules/zod/v4/locales/fa.js +0 -5
  1664. package/node_modules/zod/v4/locales/fi.cjs +0 -5
  1665. package/node_modules/zod/v4/locales/fi.js +0 -5
  1666. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -5
  1667. package/node_modules/zod/v4/locales/fr-CA.js +0 -5
  1668. package/node_modules/zod/v4/locales/fr.cjs +14 -18
  1669. package/node_modules/zod/v4/locales/fr.js +14 -18
  1670. package/node_modules/zod/v4/locales/he.cjs +0 -7
  1671. package/node_modules/zod/v4/locales/he.js +0 -7
  1672. package/node_modules/zod/v4/locales/hr.cjs +0 -4
  1673. package/node_modules/zod/v4/locales/hr.js +0 -4
  1674. package/node_modules/zod/v4/locales/hu.cjs +0 -5
  1675. package/node_modules/zod/v4/locales/hu.js +0 -5
  1676. package/node_modules/zod/v4/locales/hy.cjs +0 -11
  1677. package/node_modules/zod/v4/locales/hy.js +0 -11
  1678. package/node_modules/zod/v4/locales/id.cjs +0 -5
  1679. package/node_modules/zod/v4/locales/id.js +0 -5
  1680. package/node_modules/zod/v4/locales/index.cjs +2 -43
  1681. package/node_modules/zod/v4/locales/index.js +0 -11
  1682. package/node_modules/zod/v4/locales/is.cjs +0 -5
  1683. package/node_modules/zod/v4/locales/is.js +0 -5
  1684. package/node_modules/zod/v4/locales/it.cjs +0 -5
  1685. package/node_modules/zod/v4/locales/it.js +0 -5
  1686. package/node_modules/zod/v4/locales/ja.cjs +0 -5
  1687. package/node_modules/zod/v4/locales/ja.js +0 -5
  1688. package/node_modules/zod/v4/locales/ka.cjs +0 -5
  1689. package/node_modules/zod/v4/locales/ka.js +0 -5
  1690. package/node_modules/zod/v4/locales/km.cjs +0 -5
  1691. package/node_modules/zod/v4/locales/km.js +0 -5
  1692. package/node_modules/zod/v4/locales/ko.cjs +0 -5
  1693. package/node_modules/zod/v4/locales/ko.js +0 -5
  1694. package/node_modules/zod/v4/locales/lt.cjs +0 -4
  1695. package/node_modules/zod/v4/locales/lt.js +0 -4
  1696. package/node_modules/zod/v4/locales/mk.cjs +0 -5
  1697. package/node_modules/zod/v4/locales/mk.js +0 -5
  1698. package/node_modules/zod/v4/locales/ms.cjs +0 -5
  1699. package/node_modules/zod/v4/locales/ms.js +0 -5
  1700. package/node_modules/zod/v4/locales/nl.cjs +0 -5
  1701. package/node_modules/zod/v4/locales/nl.js +0 -5
  1702. package/node_modules/zod/v4/locales/no.cjs +2 -7
  1703. package/node_modules/zod/v4/locales/no.js +2 -7
  1704. package/node_modules/zod/v4/locales/ota.cjs +0 -5
  1705. package/node_modules/zod/v4/locales/ota.js +0 -5
  1706. package/node_modules/zod/v4/locales/pl.cjs +0 -5
  1707. package/node_modules/zod/v4/locales/pl.js +0 -5
  1708. package/node_modules/zod/v4/locales/ps.cjs +0 -5
  1709. package/node_modules/zod/v4/locales/ps.js +0 -5
  1710. package/node_modules/zod/v4/locales/pt.cjs +55 -89
  1711. package/node_modules/zod/v4/locales/pt.js +55 -89
  1712. package/node_modules/zod/v4/locales/ro.cjs +0 -3
  1713. package/node_modules/zod/v4/locales/ro.js +0 -3
  1714. package/node_modules/zod/v4/locales/ru.cjs +0 -12
  1715. package/node_modules/zod/v4/locales/ru.js +0 -12
  1716. package/node_modules/zod/v4/locales/sl.cjs +0 -5
  1717. package/node_modules/zod/v4/locales/sl.js +0 -5
  1718. package/node_modules/zod/v4/locales/sv.cjs +2 -7
  1719. package/node_modules/zod/v4/locales/sv.js +2 -7
  1720. package/node_modules/zod/v4/locales/ta.cjs +0 -5
  1721. package/node_modules/zod/v4/locales/ta.js +0 -5
  1722. package/node_modules/zod/v4/locales/th.cjs +0 -5
  1723. package/node_modules/zod/v4/locales/th.js +0 -5
  1724. package/node_modules/zod/v4/locales/tr.cjs +0 -5
  1725. package/node_modules/zod/v4/locales/tr.js +0 -5
  1726. package/node_modules/zod/v4/locales/uk.cjs +0 -5
  1727. package/node_modules/zod/v4/locales/uk.js +0 -5
  1728. package/node_modules/zod/v4/locales/ur.cjs +0 -5
  1729. package/node_modules/zod/v4/locales/ur.js +0 -5
  1730. package/node_modules/zod/v4/locales/uz.cjs +0 -3
  1731. package/node_modules/zod/v4/locales/uz.js +0 -3
  1732. package/node_modules/zod/v4/locales/vi.cjs +0 -5
  1733. package/node_modules/zod/v4/locales/vi.js +0 -5
  1734. package/node_modules/zod/v4/locales/yo.cjs +0 -5
  1735. package/node_modules/zod/v4/locales/yo.js +0 -5
  1736. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -5
  1737. package/node_modules/zod/v4/locales/zh-CN.js +0 -5
  1738. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -5
  1739. package/node_modules/zod/v4/locales/zh-TW.js +0 -5
  1740. package/node_modules/zod/v4/mini/checks.cjs +1 -21
  1741. package/node_modules/zod/v4/mini/checks.js +1 -1
  1742. package/node_modules/zod/v4/mini/coerce.cjs +0 -19
  1743. package/node_modules/zod/v4/mini/external.cjs +1 -33
  1744. package/node_modules/zod/v4/mini/external.js +1 -3
  1745. package/node_modules/zod/v4/mini/index.cjs +0 -19
  1746. package/node_modules/zod/v4/mini/iso.cjs +0 -19
  1747. package/node_modules/zod/v4/mini/parse.cjs +1 -22
  1748. package/node_modules/zod/v4/mini/parse.js +1 -1
  1749. package/node_modules/zod/v4/mini/schemas.cjs +53 -117
  1750. package/node_modules/zod/v4/mini/schemas.js +51 -92
  1751. package/node_modules/zod/v4-mini/index.cjs +0 -19
  1752. package/package.json +330 -320
  1753. package/node_modules/@deepseek-ai/dsh/lib/dump-config-BEDI-dNY.js +0 -64
  1754. package/node_modules/@deepseek-ai/dsh/lib/dump-config-crgOY3tW.js +0 -2
  1755. package/node_modules/@deepseek-ai/dsh/lib/dump-config-schema-DhhNOaro.js +0 -41
  1756. package/node_modules/@deepseek-ai/dsh/lib/plugin-BGnVfe_D.js +0 -101
  1757. package/node_modules/@deepseek-ai/dsh/lib/profile-boot-BZ2ZjNWi.js +0 -298
  1758. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.js +0 -2153
  1759. package/node_modules/@deepseek-ai/dsh-client-connection/lib/client.js +0 -1503
  1760. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/LICENSE +0 -201
  1761. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/README.md +0 -49
  1762. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/Resource.js +0 -6
  1763. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/ResourceImpl.js +0 -149
  1764. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/config.js +0 -6
  1765. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/default-service-name.js +0 -27
  1766. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detect-resources.js +0 -26
  1767. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/EnvDetector.js +0 -102
  1768. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/NoopDetector.js +0 -13
  1769. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/index.js +0 -8
  1770. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/browser/HostDetector.js +0 -7
  1771. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/browser/OSDetector.js +0 -7
  1772. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/browser/ProcessDetector.js +0 -7
  1773. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/browser/ServiceInstanceIdDetector.js +0 -10
  1774. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/browser/index.js +0 -9
  1775. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/index.js +0 -6
  1776. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/HostDetector.js +0 -24
  1777. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/OSDetector.js +0 -22
  1778. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/ProcessDetector.js +0 -41
  1779. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/ServiceInstanceIdDetector.js +0 -28
  1780. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/index.js +0 -9
  1781. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/execAsync.js +0 -8
  1782. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-bsd.js +0 -25
  1783. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-darwin.js +0 -26
  1784. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-linux.js +0 -20
  1785. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-unsupported.js +0 -10
  1786. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-win.js +0 -26
  1787. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId.js +0 -32
  1788. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/utils.js +0 -31
  1789. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/index.js +0 -9
  1790. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/semconv.js +0 -321
  1791. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/types.js +0 -6
  1792. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/utils.js +0 -10
  1793. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esm/version.js +0 -7
  1794. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/Resource.js +0 -6
  1795. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/ResourceImpl.js +0 -149
  1796. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/config.js +0 -6
  1797. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/default-service-name.js +0 -27
  1798. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detect-resources.js +0 -26
  1799. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/EnvDetector.js +0 -102
  1800. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/NoopDetector.js +0 -13
  1801. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/index.js +0 -8
  1802. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/browser/HostDetector.js +0 -7
  1803. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/browser/OSDetector.js +0 -7
  1804. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/browser/ProcessDetector.js +0 -7
  1805. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/browser/ServiceInstanceIdDetector.js +0 -10
  1806. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/browser/index.js +0 -9
  1807. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/index.js +0 -6
  1808. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/HostDetector.js +0 -24
  1809. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/OSDetector.js +0 -22
  1810. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/ProcessDetector.js +0 -41
  1811. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/ServiceInstanceIdDetector.js +0 -28
  1812. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/index.js +0 -9
  1813. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/execAsync.js +0 -8
  1814. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/getMachineId-bsd.js +0 -25
  1815. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/getMachineId-darwin.js +0 -26
  1816. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/getMachineId-linux.js +0 -20
  1817. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/getMachineId-unsupported.js +0 -10
  1818. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/getMachineId-win.js +0 -26
  1819. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/getMachineId.js +0 -32
  1820. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/utils.js +0 -31
  1821. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/index.js +0 -9
  1822. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/semconv.js +0 -321
  1823. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/types.js +0 -6
  1824. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/utils.js +0 -10
  1825. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/esnext/version.js +0 -7
  1826. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/Resource.js +0 -7
  1827. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/ResourceImpl.js +0 -156
  1828. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/config.js +0 -7
  1829. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/default-service-name.js +0 -32
  1830. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detect-resources.js +0 -30
  1831. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/EnvDetector.js +0 -105
  1832. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/NoopDetector.js +0 -17
  1833. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/index.js +0 -17
  1834. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/browser/HostDetector.js +0 -10
  1835. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/browser/OSDetector.js +0 -10
  1836. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/browser/ProcessDetector.js +0 -10
  1837. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/browser/ServiceInstanceIdDetector.js +0 -13
  1838. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/browser/index.js +0 -16
  1839. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/index.js +0 -13
  1840. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/HostDetector.js +0 -27
  1841. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/OSDetector.js +0 -25
  1842. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/ProcessDetector.js +0 -44
  1843. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/ServiceInstanceIdDetector.js +0 -31
  1844. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/index.js +0 -16
  1845. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/execAsync.js +0 -11
  1846. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-bsd.js +0 -29
  1847. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-darwin.js +0 -30
  1848. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-linux.js +0 -24
  1849. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-unsupported.js +0 -14
  1850. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-win.js +0 -30
  1851. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId.js +0 -36
  1852. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/utils.js +0 -36
  1853. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/index.js +0 -22
  1854. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/semconv.js +0 -324
  1855. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/types.js +0 -7
  1856. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/utils.js +0 -14
  1857. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/build/src/version.js +0 -10
  1858. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/LICENSE +0 -201
  1859. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/README.md +0 -73
  1860. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/ExportResult.js +0 -10
  1861. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/baggage/constants.js +0 -16
  1862. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/baggage/propagation/W3CBaggagePropagator.js +0 -55
  1863. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/baggage/utils.js +0 -98
  1864. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/common/anchored-clock.js +0 -46
  1865. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/common/attributes.js +0 -76
  1866. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/common/global-error-handler.js +0 -25
  1867. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/common/globalThis.js +0 -9
  1868. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/common/logging-error-handler.js +0 -48
  1869. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/common/time.js +0 -164
  1870. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/common/timer-util.js +0 -14
  1871. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/common/types.js +0 -6
  1872. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/index.js +0 -29
  1873. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/internal/exporter.js +0 -19
  1874. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/internal/validators.js +0 -30
  1875. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/platform/browser/environment.js +0 -17
  1876. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/platform/browser/index.js +0 -12
  1877. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/platform/browser/sdk-info.js +0 -15
  1878. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/platform/index.js +0 -6
  1879. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/platform/node/environment.js +0 -86
  1880. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/platform/node/index.js +0 -12
  1881. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/platform/node/sdk-info.js +0 -15
  1882. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/propagation/composite.js +0 -71
  1883. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/semconv.js +0 -18
  1884. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/trace/TraceState.js +0 -138
  1885. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/trace/W3CTraceContextPropagator.js +0 -88
  1886. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/trace/rpc-metadata.js +0 -20
  1887. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/trace/suppress-tracing.js +0 -16
  1888. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/utils/callback.js +0 -37
  1889. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/utils/configuration.js +0 -31
  1890. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/utils/lodash.merge.js +0 -142
  1891. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/utils/merge.js +0 -157
  1892. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/utils/promise.js +0 -25
  1893. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/utils/timeout.js +0 -40
  1894. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/utils/url.js +0 -29
  1895. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/version.js +0 -7
  1896. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/ExportResult.js +0 -10
  1897. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/baggage/constants.js +0 -16
  1898. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/baggage/propagation/W3CBaggagePropagator.js +0 -55
  1899. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/baggage/utils.js +0 -98
  1900. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/common/anchored-clock.js +0 -46
  1901. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/common/attributes.js +0 -76
  1902. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/common/global-error-handler.js +0 -25
  1903. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/common/globalThis.js +0 -9
  1904. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/common/logging-error-handler.js +0 -48
  1905. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/common/time.js +0 -164
  1906. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/common/timer-util.js +0 -14
  1907. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/common/types.js +0 -6
  1908. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/index.js +0 -29
  1909. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/internal/exporter.js +0 -19
  1910. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/internal/validators.js +0 -30
  1911. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/platform/browser/environment.js +0 -17
  1912. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/platform/browser/index.js +0 -12
  1913. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/platform/browser/sdk-info.js +0 -15
  1914. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/platform/index.js +0 -6
  1915. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/platform/node/environment.js +0 -86
  1916. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/platform/node/index.js +0 -12
  1917. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/platform/node/sdk-info.js +0 -15
  1918. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/propagation/composite.js +0 -71
  1919. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/semconv.js +0 -18
  1920. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/trace/TraceState.js +0 -138
  1921. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/trace/W3CTraceContextPropagator.js +0 -88
  1922. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/trace/rpc-metadata.js +0 -20
  1923. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/trace/suppress-tracing.js +0 -16
  1924. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/utils/callback.js +0 -37
  1925. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/utils/configuration.js +0 -31
  1926. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/utils/lodash.merge.js +0 -142
  1927. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/utils/merge.js +0 -157
  1928. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/utils/promise.js +0 -25
  1929. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/utils/timeout.js +0 -40
  1930. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/utils/url.js +0 -29
  1931. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/version.js +0 -7
  1932. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/ExportResult.js +0 -13
  1933. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/baggage/constants.js +0 -19
  1934. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/baggage/propagation/W3CBaggagePropagator.js +0 -59
  1935. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/baggage/utils.js +0 -106
  1936. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/common/anchored-clock.js +0 -50
  1937. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/common/attributes.js +0 -82
  1938. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/common/global-error-handler.js +0 -30
  1939. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/common/globalThis.js +0 -12
  1940. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/common/logging-error-handler.js +0 -52
  1941. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/common/time.js +0 -180
  1942. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/common/timer-util.js +0 -18
  1943. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/common/types.js +0 -7
  1944. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/index.js +0 -83
  1945. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/internal/exporter.js +0 -23
  1946. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/internal/validators.js +0 -35
  1947. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/platform/browser/environment.js +0 -24
  1948. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/platform/browser/index.js +0 -21
  1949. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/platform/browser/sdk-info.js +0 -18
  1950. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/platform/index.js +0 -16
  1951. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/platform/node/environment.js +0 -93
  1952. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/platform/node/index.js +0 -21
  1953. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/platform/node/sdk-info.js +0 -18
  1954. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/propagation/composite.js +0 -75
  1955. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/semconv.js +0 -21
  1956. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/trace/TraceState.js +0 -142
  1957. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/trace/W3CTraceContextPropagator.js +0 -93
  1958. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/trace/rpc-metadata.js +0 -26
  1959. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/trace/suppress-tracing.js +0 -22
  1960. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/utils/callback.js +0 -41
  1961. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/utils/configuration.js +0 -35
  1962. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/utils/lodash.merge.js +0 -146
  1963. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/utils/merge.js +0 -161
  1964. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/utils/promise.js +0 -29
  1965. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/utils/timeout.js +0 -45
  1966. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/utils/url.js +0 -34
  1967. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/version.js +0 -10
  1968. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/package.json +0 -94
  1969. package/node_modules/@deepseek-ai/dsh-otel/node_modules/@opentelemetry/resources/package.json +0 -91
  1970. package/node_modules/@deepseek-ai/dsh-skill-filesystem/node_modules/chokidar/LICENSE +0 -21
  1971. package/node_modules/@deepseek-ai/dsh-skill-filesystem/node_modules/chokidar/README.md +0 -305
  1972. package/node_modules/@deepseek-ai/dsh-skill-filesystem/node_modules/chokidar/handler.js +0 -632
  1973. package/node_modules/@deepseek-ai/dsh-skill-filesystem/node_modules/chokidar/index.js +0 -822
  1974. package/node_modules/@deepseek-ai/dsh-skill-filesystem/node_modules/chokidar/package.json +0 -63
  1975. package/node_modules/@deepseek-ai/dsh-skill-filesystem/node_modules/readdirp/LICENSE +0 -21
  1976. package/node_modules/@deepseek-ai/dsh-skill-filesystem/node_modules/readdirp/README.md +0 -122
  1977. package/node_modules/@deepseek-ai/dsh-skill-filesystem/node_modules/readdirp/index.js +0 -333
  1978. package/node_modules/@deepseek-ai/dsh-skill-filesystem/node_modules/readdirp/package.json +0 -62
  1979. package/node_modules/@deepseek-ai/dsh-skill-office/assets/scripts/check_office.py +0 -279
  1980. package/node_modules/@deepseek-ai/dsh-typert-registry/lib/client.js +0 -1387
  1981. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  1982. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  1983. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  1984. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  1985. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  1986. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  1987. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  1988. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  1989. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  1990. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  1991. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  1992. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  1993. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  1994. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  1995. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  1996. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  1997. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  1998. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  1999. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  2000. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  2001. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  2002. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  2003. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  2004. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  2005. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  2006. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  2007. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  2008. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  2009. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  2010. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  2011. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  2012. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  2013. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  2014. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  2015. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  2016. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  2017. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  2018. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  2019. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  2020. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  2021. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-C5TXjxs_.js +0 -127
  2022. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-CyN1a9tV.css +0 -1
  2023. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/graphql-B1S3xuDR.js +0 -2
  2024. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/http-Ddl8tKhJ.js +0 -2
  2025. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-G1-V1D4R.js +0 -2
  2026. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/rst-qb8661zE.js +0 -2
  2027. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/ruby-D3_WCtdO.js +0 -2
  2028. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/svelte-Dhjv0SwI.js +0 -2
  2029. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/vue-CjW_c7H6.js +0 -2
  2030. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/vendor-BlFz1smR.js +0 -411
  2031. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/vendor-D2ODLP6r.css +0 -1
  2032. package/node_modules/chokidar/esm/handler.js +0 -629
  2033. package/node_modules/chokidar/esm/index.js +0 -798
  2034. package/node_modules/chokidar/esm/package.json +0 -1
  2035. package/node_modules/readdirp/esm/index.js +0 -257
  2036. package/node_modules/readdirp/esm/package.json +0 -1
  2037. package/node_modules/zod/compile.cjs +0 -96
  2038. package/node_modules/zod/compile.js +0 -52
  2039. package/node_modules/zod/src/compile.ts +0 -56
  2040. package/node_modules/zod/src/v4/classic/deep-partial.ts +0 -76
  2041. package/node_modules/zod/src/v4/classic/in-out.ts +0 -45
  2042. package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +0 -76
  2043. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +0 -985
  2044. package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +0 -380
  2045. package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +0 -32
  2046. package/node_modules/zod/src/v4/classic/tests/iban.test.ts +0 -81
  2047. package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +0 -159
  2048. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +0 -319
  2049. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +0 -215
  2050. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +0 -235
  2051. package/node_modules/zod/src/v4/classic/tests/properties.test.ts +0 -141
  2052. package/node_modules/zod/src/v4/classic/tests/redos.test.ts +0 -68
  2053. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +0 -645
  2054. package/node_modules/zod/src/v4/core/compile.ts +0 -2313
  2055. package/node_modules/zod/src/v4/core/memoizer.ts +0 -331
  2056. package/node_modules/zod/src/v4/core/tests/cached.test.ts +0 -54
  2057. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +0 -1004
  2058. package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +0 -445
  2059. package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +0 -89
  2060. package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +0 -26
  2061. package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +0 -34
  2062. package/node_modules/zod/src/v4/core/tests/compile.test.ts +0 -2036
  2063. package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +0 -140
  2064. package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +0 -42
  2065. package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +0 -85
  2066. package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +0 -69
  2067. package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +0 -46
  2068. package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +0 -51
  2069. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +0 -133
  2070. package/node_modules/zod/src/v4/core/visit.ts +0 -193
  2071. package/node_modules/zod/src/v4/locales/bn.ts +0 -123
  2072. package/node_modules/zod/src/v4/locales/ckb.ts +0 -140
  2073. package/node_modules/zod/src/v4/locales/gu.ts +0 -123
  2074. package/node_modules/zod/src/v4/locales/hi.ts +0 -126
  2075. package/node_modules/zod/src/v4/locales/kn.ts +0 -126
  2076. package/node_modules/zod/src/v4/locales/ne.ts +0 -128
  2077. package/node_modules/zod/src/v4/locales/nn.ts +0 -121
  2078. package/node_modules/zod/src/v4/locales/pt-BR.ts +0 -161
  2079. package/node_modules/zod/src/v4/locales/sk.ts +0 -123
  2080. package/node_modules/zod/src/v4/locales/tg.ts +0 -135
  2081. package/node_modules/zod/src/v4/locales/tk.ts +0 -113
  2082. package/node_modules/zod/src/v4/mini/deep-partial.ts +0 -73
  2083. package/node_modules/zod/src/v4/mini/in-out.ts +0 -45
  2084. package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +0 -84
  2085. package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +0 -54
  2086. package/node_modules/zod/v4/classic/deep-partial.cjs +0 -58
  2087. package/node_modules/zod/v4/classic/deep-partial.js +0 -13
  2088. package/node_modules/zod/v4/classic/in-out.cjs +0 -82
  2089. package/node_modules/zod/v4/classic/in-out.js +0 -36
  2090. package/node_modules/zod/v4/core/compile.cjs +0 -1908
  2091. package/node_modules/zod/v4/core/compile.js +0 -1858
  2092. package/node_modules/zod/v4/core/memoizer.cjs +0 -360
  2093. package/node_modules/zod/v4/core/memoizer.js +0 -311
  2094. package/node_modules/zod/v4/core/visit.cjs +0 -214
  2095. package/node_modules/zod/v4/core/visit.js +0 -169
  2096. package/node_modules/zod/v4/locales/bn.cjs +0 -140
  2097. package/node_modules/zod/v4/locales/bn.js +0 -113
  2098. package/node_modules/zod/v4/locales/ckb.cjs +0 -160
  2099. package/node_modules/zod/v4/locales/ckb.js +0 -133
  2100. package/node_modules/zod/v4/locales/gu.cjs +0 -140
  2101. package/node_modules/zod/v4/locales/gu.js +0 -113
  2102. package/node_modules/zod/v4/locales/hi.cjs +0 -138
  2103. package/node_modules/zod/v4/locales/hi.js +0 -111
  2104. package/node_modules/zod/v4/locales/kn.cjs +0 -143
  2105. package/node_modules/zod/v4/locales/kn.js +0 -116
  2106. package/node_modules/zod/v4/locales/ne.cjs +0 -138
  2107. package/node_modules/zod/v4/locales/ne.js +0 -111
  2108. package/node_modules/zod/v4/locales/nn.cjs +0 -140
  2109. package/node_modules/zod/v4/locales/nn.js +0 -113
  2110. package/node_modules/zod/v4/locales/pt-BR.cjs +0 -170
  2111. package/node_modules/zod/v4/locales/pt-BR.js +0 -143
  2112. package/node_modules/zod/v4/locales/sk.cjs +0 -143
  2113. package/node_modules/zod/v4/locales/sk.js +0 -116
  2114. package/node_modules/zod/v4/locales/tg.cjs +0 -144
  2115. package/node_modules/zod/v4/locales/tg.js +0 -117
  2116. package/node_modules/zod/v4/locales/tk.cjs +0 -134
  2117. package/node_modules/zod/v4/locales/tk.js +0 -107
  2118. package/node_modules/zod/v4/mini/deep-partial.cjs +0 -58
  2119. package/node_modules/zod/v4/mini/deep-partial.js +0 -13
  2120. package/node_modules/zod/v4/mini/in-out.cjs +0 -82
  2121. package/node_modules/zod/v4/mini/in-out.js +0 -36
@@ -4,4095 +4,387 @@ window.__ModuleLoader__.load({
4
4
  var module = { exports: {} };
5
5
  var exports = module.exports;
6
6
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
7
+ let zod = require("zod");
7
8
  let _deepseek_ai_dsh_client_store = require("@deepseek-ai/dsh-client-store");
8
9
  let react_jsx_runtime = require("react/jsx-runtime");
9
10
  let react = require("react");
10
11
  let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
11
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
12
- var _a$1;
13
- function $constructor(name, initializer, params) {
14
- function init(inst, def) {
15
- if (!inst._zod) Object.defineProperty(inst, "_zod", {
16
- value: {
17
- def,
18
- constr: _,
19
- traits: /* @__PURE__ */ new Set()
20
- },
21
- enumerable: false
22
- });
23
- if (inst._zod.traits.has(name)) return;
24
- inst._zod.traits.add(name);
25
- initializer(inst, def);
26
- const proto = _.prototype;
27
- const keys = Object.keys(proto);
28
- for (let i = 0; i < keys.length; i++) {
29
- const k = keys[i];
30
- if (!(k in inst)) inst[k] = proto[k].bind(inst);
12
+ //#region ../../typert/protocol/lib/types/remote-info.js
13
+ /** Lazy assembly of generated Remote definitions using caller-supplied Zod; no runtime imports. */
14
+ /**
15
+ * Retain one generated definition per endpoint without constructing parsers or projections.
16
+ * The class instance builds its shared descriptor/method index on first access;
17
+ * input schemas and JSON Schema projections are cached only when requested.
18
+ * @param spec - compiler-produced method facts and Zod factories.
19
+ * @param zod - the generated artifact's Zod runtime for named-input parsers.
20
+ * @returns a lazy, mountable info instance with no registration or transport effects.
21
+ */
22
+ function createTypertRemoteInfo(spec, zod) {
23
+ return new RemoteInfo(spec, zod);
24
+ }
25
+ var RemoteInfo = class {
26
+ spec;
27
+ zod;
28
+ index;
29
+ constructor(spec, zod) {
30
+ this.spec = spec;
31
+ this.zod = zod;
32
+ }
33
+ get package() {
34
+ return this.spec.package;
35
+ }
36
+ get descriptors() {
37
+ return this.resolve().descriptors;
38
+ }
39
+ get methods() {
40
+ return this.resolve().methods;
41
+ }
42
+ resolve() {
43
+ if (this.index !== void 0) return this.index;
44
+ const zod = this.zod;
45
+ const descriptors = [];
46
+ const methods = Object.create(null);
47
+ for (const [endpoint, definition] of Object.entries(this.spec.methods)) {
48
+ const separator = endpoint.indexOf("/");
49
+ const namespace = endpoint.slice(0, separator);
50
+ const method = endpoint.slice(separator + 1);
51
+ const parameters = definition.parameters.map((parameter) => ({
52
+ ...parameter,
53
+ wire: parameter.wire ?? parameter.name
54
+ }));
55
+ const descriptor = {
56
+ ...definition,
57
+ id: `${this.spec.package}#${endpoint}`,
58
+ namespace,
59
+ method,
60
+ parameters,
61
+ result: definition.result.description === void 0 ? definition.result : new ResultValue(definition.result)
62
+ };
63
+ if (definition.invocation.kind === "direct") {
64
+ const inputs = [];
65
+ methods[endpoint] = Object.assign(descriptor, {
66
+ input(options) {
67
+ const strict = options?.strict === true;
68
+ return inputs[strict ? 1 : 0] ??= new NamedInput(parameters, strict, zod);
69
+ },
70
+ invoke(remote, input, signal) {
71
+ const named = input;
72
+ const values = parameters.map((parameter) => named[parameter.wire]);
73
+ if (definition.cancellation !== void 0) values.push(signal);
74
+ const receiver = Reflect.get(remote, namespace);
75
+ return Reflect.get(receiver, method).apply(receiver, values);
76
+ }
77
+ });
78
+ }
79
+ descriptors.push(descriptor);
31
80
  }
32
- }
33
- const Parent = params?.Parent ?? Object;
34
- class Definition extends Parent {}
35
- Object.defineProperty(Definition, "name", { value: name });
36
- function _(def) {
37
- var _a;
38
- const inst = params?.Parent ? new Definition() : this;
39
- init(inst, def);
40
- (_a = inst._zod).deferred ?? (_a.deferred = []);
41
- for (const fn of inst._zod.deferred) fn();
42
- return inst;
43
- }
44
- Object.defineProperty(_, "init", { value: init });
45
- Object.defineProperty(_, Symbol.hasInstance, { value: (inst) => {
46
- if (params?.Parent && inst instanceof params.Parent) return true;
47
- return inst?._zod?.traits?.has(name);
48
- } });
49
- Object.defineProperty(_, "name", { value: name });
50
- return _;
51
- }
52
- var $ZodAsyncError = class extends Error {
53
- constructor() {
54
- super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
81
+ return this.index = {
82
+ descriptors,
83
+ methods
84
+ };
55
85
  }
56
86
  };
57
- var $ZodEncodeError = class extends Error {
58
- constructor(name) {
59
- super(`Encountered unidirectional transform during encode: ${name}`);
60
- this.name = "ZodEncodeError";
87
+ function optional(parameter) {
88
+ return parameter.source === "json" && parameter.acceptsUndefined === true;
89
+ }
90
+ var NamedInput = class {
91
+ parameters;
92
+ strict;
93
+ zod;
94
+ schema;
95
+ projection;
96
+ constructor(parameters, strict, zod) {
97
+ this.parameters = parameters;
98
+ this.strict = strict;
99
+ this.zod = zod;
100
+ }
101
+ codec(parameter) {
102
+ return this.strict ? parameter.strictCodec : parameter.codec;
103
+ }
104
+ create = () => this.schema ??= this.zod.strictObject(Object.fromEntries(this.parameters.map((parameter) => {
105
+ const value = this.codec(parameter).create();
106
+ return [parameter.wire, optional(parameter) ? value.optional() : value.nonoptional()];
107
+ })));
108
+ get jsonSchema() {
109
+ return this.project().jsonSchema;
110
+ }
111
+ get jsonSchemaError() {
112
+ return this.project().jsonSchemaError;
113
+ }
114
+ project() {
115
+ if (this.projection !== void 0) return this.projection;
116
+ const unavailable = this.parameters.find((parameter) => this.codec(parameter).jsonSchema === void 0);
117
+ if (unavailable !== void 0) return this.projection = { jsonSchemaError: this.codec(unavailable).jsonSchemaError ?? `No JSON Schema for parameter ${unavailable.wire}` };
118
+ return this.projection = { jsonSchema: {
119
+ type: "object",
120
+ properties: Object.fromEntries(this.parameters.map((parameter) => [parameter.wire, {
121
+ ...this.codec(parameter).jsonSchema,
122
+ ...parameter.description === void 0 ? {} : { description: parameter.description }
123
+ }])),
124
+ required: this.parameters.filter((parameter) => !optional(parameter)).map((parameter) => parameter.wire),
125
+ additionalProperties: false
126
+ } };
61
127
  }
62
128
  };
63
- (_a$1 = globalThis).__zod_globalConfig ?? (_a$1.__zod_globalConfig = {});
64
- const globalConfig = globalThis.__zod_globalConfig;
65
- function config(newConfig) {
66
- if (newConfig) Object.assign(globalConfig, newConfig);
67
- return globalConfig;
68
- }
69
- //#endregion
70
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
71
- function getEnumValues(entries) {
72
- const numericValues = Object.values(entries).filter((v) => typeof v === "number");
73
- return Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
74
- }
75
- function jsonStringifyReplacer(_, value) {
76
- if (typeof value === "bigint") return value.toString();
77
- return value;
78
- }
79
- function cached(getter) {
80
- return { get value() {
81
- {
82
- const value = getter();
83
- Object.defineProperty(this, "value", { value });
84
- return value;
85
- }
86
- throw new Error("cached value already set");
87
- } };
88
- }
89
- function nullish(input) {
90
- return input === null || input === void 0;
91
- }
92
- function cleanRegex(source) {
93
- const start = source.startsWith("^") ? 1 : 0;
94
- const end = source.endsWith("$") ? source.length - 1 : source.length;
95
- return source.slice(start, end);
96
- }
97
- function floatSafeRemainder(val, step) {
98
- const ratio = val / step;
99
- const roundedRatio = Math.round(ratio);
100
- const tolerance = Number.EPSILON * Math.max(Math.abs(ratio), 1);
101
- if (Math.abs(ratio - roundedRatio) < tolerance) return 0;
102
- return ratio - roundedRatio;
103
- }
104
- const EVALUATING = /* @__PURE__*/ Symbol("evaluating");
105
- function defineLazy(object, key, getter) {
106
- let value = void 0;
107
- Object.defineProperty(object, key, {
108
- get() {
109
- if (value === EVALUATING) return;
110
- if (value === void 0) {
111
- value = EVALUATING;
112
- value = getter();
113
- }
114
- return value;
115
- },
116
- set(v) {
117
- Object.defineProperty(object, key, { value: v });
118
- },
119
- configurable: true
120
- });
121
- }
122
- function assignProp(target, prop, value) {
123
- Object.defineProperty(target, prop, {
124
- value,
125
- writable: true,
126
- enumerable: true,
127
- configurable: true
128
- });
129
- }
130
- function mergeDefs(...defs) {
131
- const mergedDescriptors = {};
132
- for (const def of defs) Object.assign(mergedDescriptors, Object.getOwnPropertyDescriptors(def));
133
- return Object.defineProperties({}, mergedDescriptors);
134
- }
135
- function esc(str) {
136
- return JSON.stringify(str);
137
- }
138
- function slugify(input) {
139
- return input.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
140
- }
141
- const captureStackTrace = "captureStackTrace" in Error ? Error.captureStackTrace : (..._args) => {};
142
- function isObject(data) {
143
- return typeof data === "object" && data !== null && !Array.isArray(data);
144
- }
145
- const allowsEval = /* @__PURE__*/ cached(() => {
146
- if (globalConfig.jitless) return false;
147
- if (typeof navigator !== "undefined" && navigator?.userAgent?.includes("Cloudflare")) return false;
148
- try {
149
- new Function("");
150
- return true;
151
- } catch (_) {
152
- return false;
129
+ var ResultValue = class {
130
+ spec;
131
+ projection;
132
+ constructor(spec) {
133
+ this.spec = spec;
153
134
  }
154
- });
155
- function isPlainObject(o) {
156
- if (isObject(o) === false) return false;
157
- const ctor = o.constructor;
158
- if (ctor === void 0) return true;
159
- if (typeof ctor !== "function") return true;
160
- const prot = ctor.prototype;
161
- if (isObject(prot) === false) return false;
162
- if (Object.prototype.hasOwnProperty.call(prot, "isPrototypeOf") === false) return false;
163
- return true;
164
- }
165
- function shallowClone(o) {
166
- if (isPlainObject(o)) return { ...o };
167
- if (Array.isArray(o)) return [...o];
168
- if (o instanceof Map) return new Map(o);
169
- if (o instanceof Set) return new Set(o);
170
- return o;
171
- }
172
- const propertyKeyTypes = /* @__PURE__*/ new Set([
173
- "string",
174
- "number",
175
- "symbol"
176
- ]);
177
- function escapeRegex(str) {
178
- return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
179
- }
180
- function clone(inst, def, params) {
181
- const cl = new inst._zod.constr(def ?? inst._zod.def);
182
- if (!def || params?.parent) cl._zod.parent = inst;
183
- return cl;
184
- }
185
- function normalizeParams(_params) {
186
- const params = _params;
187
- if (!params) return {};
188
- if (typeof params === "string") return { error: () => params };
189
- if (params?.message !== void 0) {
190
- if (params?.error !== void 0) throw new Error("Cannot specify both `message` and `error` params");
191
- params.error = params.message;
135
+ get mode() {
136
+ return this.spec.mode;
192
137
  }
193
- delete params.message;
194
- if (typeof params.error === "string") return {
195
- ...params,
196
- error: () => params.error
197
- };
198
- return params;
199
- }
200
- function optionalKeys(shape) {
201
- return Object.keys(shape).filter((k) => {
202
- return shape[k]._zod.optin === "optional" && shape[k]._zod.optout === "optional";
203
- });
204
- }
205
- const NUMBER_FORMAT_RANGES = {
206
- safeint: [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER],
207
- int32: [-2147483648, 2147483647],
208
- uint32: [0, 4294967295],
209
- float32: [-34028234663852886e22, 34028234663852886e22],
210
- float64: [-Number.MAX_VALUE, Number.MAX_VALUE]
211
- };
212
- function pick(schema, mask) {
213
- const currDef = schema._zod.def;
214
- const checks = currDef.checks;
215
- if (checks && checks.length > 0) throw new Error(".pick() cannot be used on object schemas containing refinements");
216
- return clone(schema, mergeDefs(schema._zod.def, {
217
- get shape() {
218
- const newShape = {};
219
- for (const key in mask) {
220
- if (!(key in currDef.shape)) throw new Error(`Unrecognized key: "${key}"`);
221
- if (!mask[key]) continue;
222
- newShape[key] = currDef.shape[key];
223
- }
224
- assignProp(this, "shape", newShape);
225
- return newShape;
226
- },
227
- checks: []
228
- }));
229
- }
230
- function omit(schema, mask) {
231
- const currDef = schema._zod.def;
232
- const checks = currDef.checks;
233
- if (checks && checks.length > 0) throw new Error(".omit() cannot be used on object schemas containing refinements");
234
- return clone(schema, mergeDefs(schema._zod.def, {
235
- get shape() {
236
- const newShape = { ...schema._zod.def.shape };
237
- for (const key in mask) {
238
- if (!(key in currDef.shape)) throw new Error(`Unrecognized key: "${key}"`);
239
- if (!mask[key]) continue;
240
- delete newShape[key];
241
- }
242
- assignProp(this, "shape", newShape);
243
- return newShape;
244
- },
245
- checks: []
246
- }));
247
- }
248
- function extend(schema, shape) {
249
- if (!isPlainObject(shape)) throw new Error("Invalid input to extend: expected a plain object");
250
- const checks = schema._zod.def.checks;
251
- if (checks && checks.length > 0) {
252
- const existingShape = schema._zod.def.shape;
253
- for (const key in shape) if (Object.getOwnPropertyDescriptor(existingShape, key) !== void 0) throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.");
138
+ get typeSymbol() {
139
+ return this.spec.typeSymbol;
254
140
  }
255
- return clone(schema, mergeDefs(schema._zod.def, { get shape() {
256
- const _shape = {
257
- ...schema._zod.def.shape,
258
- ...shape
259
- };
260
- assignProp(this, "shape", _shape);
261
- return _shape;
262
- } }));
263
- }
264
- function safeExtend(schema, shape) {
265
- if (!isPlainObject(shape)) throw new Error("Invalid input to safeExtend: expected a plain object");
266
- return clone(schema, mergeDefs(schema._zod.def, { get shape() {
267
- const _shape = {
268
- ...schema._zod.def.shape,
269
- ...shape
270
- };
271
- assignProp(this, "shape", _shape);
272
- return _shape;
273
- } }));
274
- }
275
- function merge(a, b) {
276
- if (a._zod.def.checks?.length) throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
277
- return clone(a, mergeDefs(a._zod.def, {
278
- get shape() {
279
- const _shape = {
280
- ...a._zod.def.shape,
281
- ...b._zod.def.shape
282
- };
283
- assignProp(this, "shape", _shape);
284
- return _shape;
285
- },
286
- get catchall() {
287
- return b._zod.def.catchall;
288
- },
289
- checks: b._zod.def.checks ?? []
290
- }));
291
- }
292
- function partial(Class, schema, mask) {
293
- const checks = schema._zod.def.checks;
294
- if (checks && checks.length > 0) throw new Error(".partial() cannot be used on object schemas containing refinements");
295
- return clone(schema, mergeDefs(schema._zod.def, {
296
- get shape() {
297
- const oldShape = schema._zod.def.shape;
298
- const shape = { ...oldShape };
299
- if (mask) for (const key in mask) {
300
- if (!(key in oldShape)) throw new Error(`Unrecognized key: "${key}"`);
301
- if (!mask[key]) continue;
302
- shape[key] = Class ? new Class({
303
- type: "optional",
304
- innerType: oldShape[key]
305
- }) : oldShape[key];
306
- }
307
- else for (const key in oldShape) shape[key] = Class ? new Class({
308
- type: "optional",
309
- innerType: oldShape[key]
310
- }) : oldShape[key];
311
- assignProp(this, "shape", shape);
312
- return shape;
313
- },
314
- checks: []
315
- }));
316
- }
317
- function required(Class, schema, mask) {
318
- return clone(schema, mergeDefs(schema._zod.def, { get shape() {
319
- const oldShape = schema._zod.def.shape;
320
- const shape = { ...oldShape };
321
- if (mask) for (const key in mask) {
322
- if (!(key in shape)) throw new Error(`Unrecognized key: "${key}"`);
323
- if (!mask[key]) continue;
324
- shape[key] = new Class({
325
- type: "nonoptional",
326
- innerType: oldShape[key]
327
- });
328
- }
329
- else for (const key in oldShape) shape[key] = new Class({
330
- type: "nonoptional",
331
- innerType: oldShape[key]
332
- });
333
- assignProp(this, "shape", shape);
334
- return shape;
335
- } }));
336
- }
337
- function aborted(x, startIndex = 0) {
338
- if (x.aborted === true) return true;
339
- for (let i = startIndex; i < x.issues.length; i++) if (x.issues[i]?.continue !== true) return true;
340
- return false;
341
- }
342
- function explicitlyAborted(x, startIndex = 0) {
343
- if (x.aborted === true) return true;
344
- for (let i = startIndex; i < x.issues.length; i++) if (x.issues[i]?.continue === false) return true;
345
- return false;
346
- }
347
- function prefixIssues(path, issues) {
348
- return issues.map((iss) => {
349
- var _a;
350
- (_a = iss).path ?? (_a.path = []);
351
- iss.path.unshift(path);
352
- return iss;
353
- });
354
- }
355
- function unwrapMessage(message) {
356
- return typeof message === "string" ? message : message?.message;
357
- }
358
- function finalizeIssue(iss, ctx, config) {
359
- const message = iss.message ? iss.message : unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ?? unwrapMessage(ctx?.error?.(iss)) ?? unwrapMessage(config.customError?.(iss)) ?? unwrapMessage(config.localeError?.(iss)) ?? "Invalid input";
360
- const { inst: _inst, continue: _continue, input: _input, ...rest } = iss;
361
- rest.path ?? (rest.path = []);
362
- rest.message = message;
363
- if (ctx?.reportInput) rest.input = _input;
364
- return rest;
365
- }
366
- function getLengthableOrigin(input) {
367
- if (Array.isArray(input)) return "array";
368
- if (typeof input === "string") return "string";
369
- return "unknown";
370
- }
371
- function issue(...args) {
372
- const [iss, input, inst] = args;
373
- if (typeof iss === "string") return {
374
- message: iss,
375
- code: "custom",
376
- input,
377
- inst
378
- };
379
- return { ...iss };
380
- }
381
- //#endregion
382
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.js
383
- const initializer$1 = (inst, def) => {
384
- inst.name = "$ZodError";
385
- Object.defineProperty(inst, "_zod", {
386
- value: inst._zod,
387
- enumerable: false
388
- });
389
- Object.defineProperty(inst, "issues", {
390
- value: def,
391
- enumerable: false
392
- });
393
- inst.message = JSON.stringify(def, jsonStringifyReplacer, 2);
394
- Object.defineProperty(inst, "toString", {
395
- value: () => inst.message,
396
- enumerable: false
397
- });
398
- };
399
- const $ZodError = $constructor("$ZodError", initializer$1);
400
- const $ZodRealError = $constructor("$ZodError", initializer$1, { Parent: Error });
401
- function flattenError(error, mapper = (issue) => issue.message) {
402
- const fieldErrors = {};
403
- const formErrors = [];
404
- for (const sub of error.issues) if (sub.path.length > 0) {
405
- fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];
406
- fieldErrors[sub.path[0]].push(mapper(sub));
407
- } else formErrors.push(mapper(sub));
408
- return {
409
- formErrors,
410
- fieldErrors
411
- };
412
- }
413
- function formatError(error, mapper = (issue) => issue.message) {
414
- const fieldErrors = { _errors: [] };
415
- const processError = (error, path = []) => {
416
- for (const issue of error.issues) if (issue.code === "invalid_union" && issue.errors.length) issue.errors.map((issues) => processError({ issues }, [...path, ...issue.path]));
417
- else if (issue.code === "invalid_key") processError({ issues: issue.issues }, [...path, ...issue.path]);
418
- else if (issue.code === "invalid_element") processError({ issues: issue.issues }, [...path, ...issue.path]);
419
- else {
420
- const fullpath = [...path, ...issue.path];
421
- if (fullpath.length === 0) fieldErrors._errors.push(mapper(issue));
422
- else {
423
- let curr = fieldErrors;
424
- let i = 0;
425
- while (i < fullpath.length) {
426
- const el = fullpath[i];
427
- if (!(i === fullpath.length - 1)) curr[el] = curr[el] || { _errors: [] };
428
- else {
429
- curr[el] = curr[el] || { _errors: [] };
430
- curr[el]._errors.push(mapper(issue));
431
- }
432
- curr = curr[el];
433
- i++;
434
- }
435
- }
436
- }
437
- };
438
- processError(error);
439
- return fieldErrors;
440
- }
441
- //#endregion
442
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.js
443
- const _parse = (_Err) => (schema, value, _ctx, _params) => {
444
- const ctx = _ctx ? {
445
- ..._ctx,
446
- async: false
447
- } : { async: false };
448
- const result = schema._zod.run({
449
- value,
450
- issues: []
451
- }, ctx);
452
- if (result instanceof Promise) throw new $ZodAsyncError();
453
- if (result.issues.length) {
454
- const e = new ((_params?.Err) ?? _Err)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())));
455
- captureStackTrace(e, _params?.callee);
456
- throw e;
141
+ get create() {
142
+ return this.spec.create;
457
143
  }
458
- return result.value;
459
- };
460
- const _parseAsync = (_Err) => async (schema, value, _ctx, params) => {
461
- const ctx = _ctx ? {
462
- ..._ctx,
463
- async: true
464
- } : { async: true };
465
- let result = schema._zod.run({
466
- value,
467
- issues: []
468
- }, ctx);
469
- if (result instanceof Promise) result = await result;
470
- if (result.issues.length) {
471
- const e = new ((params?.Err) ?? _Err)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())));
472
- captureStackTrace(e, params?.callee);
473
- throw e;
144
+ get decode() {
145
+ return this.spec.decode;
474
146
  }
475
- return result.value;
476
- };
477
- const _safeParse = (_Err) => (schema, value, _ctx) => {
478
- const ctx = _ctx ? {
479
- ..._ctx,
480
- async: false
481
- } : { async: false };
482
- const result = schema._zod.run({
483
- value,
484
- issues: []
485
- }, ctx);
486
- if (result instanceof Promise) throw new $ZodAsyncError();
487
- return result.issues.length ? {
488
- success: false,
489
- error: new (_Err ?? $ZodError)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())))
490
- } : {
491
- success: true,
492
- data: result.value
493
- };
494
- };
495
- const safeParse$1 = /* @__PURE__*/ _safeParse($ZodRealError);
496
- const _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
497
- const ctx = _ctx ? {
498
- ..._ctx,
499
- async: true
500
- } : { async: true };
501
- let result = schema._zod.run({
502
- value,
503
- issues: []
504
- }, ctx);
505
- if (result instanceof Promise) result = await result;
506
- return result.issues.length ? {
507
- success: false,
508
- error: new _Err(result.issues.map((iss) => finalizeIssue(iss, ctx, config())))
509
- } : {
510
- success: true,
511
- data: result.value
512
- };
513
- };
514
- const safeParseAsync$1 = /* @__PURE__*/ _safeParseAsync($ZodRealError);
515
- const _encode = (_Err) => (schema, value, _ctx) => {
516
- const ctx = _ctx ? {
517
- ..._ctx,
518
- direction: "backward"
519
- } : { direction: "backward" };
520
- return _parse(_Err)(schema, value, ctx);
521
- };
522
- const _decode = (_Err) => (schema, value, _ctx) => {
523
- return _parse(_Err)(schema, value, _ctx);
524
- };
525
- const _encodeAsync = (_Err) => async (schema, value, _ctx) => {
526
- const ctx = _ctx ? {
527
- ..._ctx,
528
- direction: "backward"
529
- } : { direction: "backward" };
530
- return _parseAsync(_Err)(schema, value, ctx);
531
- };
532
- const _decodeAsync = (_Err) => async (schema, value, _ctx) => {
533
- return _parseAsync(_Err)(schema, value, _ctx);
534
- };
535
- const _safeEncode = (_Err) => (schema, value, _ctx) => {
536
- const ctx = _ctx ? {
537
- ..._ctx,
538
- direction: "backward"
539
- } : { direction: "backward" };
540
- return _safeParse(_Err)(schema, value, ctx);
541
- };
542
- const _safeDecode = (_Err) => (schema, value, _ctx) => {
543
- return _safeParse(_Err)(schema, value, _ctx);
544
- };
545
- const _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
546
- const ctx = _ctx ? {
547
- ..._ctx,
548
- direction: "backward"
549
- } : { direction: "backward" };
550
- return _safeParseAsync(_Err)(schema, value, ctx);
551
- };
552
- const _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
553
- return _safeParseAsync(_Err)(schema, value, _ctx);
554
- };
555
- //#endregion
556
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js
557
- /**
558
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
559
- * (timestamps embedded in the id). Use {@link cuid2} instead.
560
- * See https://github.com/paralleldrive/cuid.
561
- */
562
- const cuid = /^[cC][0-9a-z]{6,}$/;
563
- const cuid2 = /^[0-9a-z]+$/;
564
- const ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
565
- const xid = /^[0-9a-vA-V]{20}$/;
566
- const ksuid = /^[A-Za-z0-9]{27}$/;
567
- const nanoid = /^[a-zA-Z0-9_-]{21}$/;
568
- /** ISO 8601-1 duration regex. Does not support the 8601-2 extensions like negative durations or fractional/negative components. */
569
- const duration$1 = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;
570
- /** A regex for any UUID-like identifier: 8-4-4-4-12 hex pattern */
571
- const guid = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/;
572
- /** Returns a regex for validating an RFC 9562/4122 UUID.
573
- *
574
- * @param version Optionally specify a version 1-8. If no version is specified, all versions are supported. */
575
- const uuid = (version) => {
576
- if (!version) return /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;
577
- return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${version}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`);
578
- };
579
- /** Practical email validation */
580
- const email = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;
581
- const _emoji$1 = `^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;
582
- function emoji() {
583
- return new RegExp(_emoji$1, "u");
584
- }
585
- const ipv4 = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/;
586
- const ipv6 = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/;
587
- const cidrv4 = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/;
588
- const cidrv6 = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/;
589
- const base64 = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/;
590
- const base64url = /^[A-Za-z0-9_-]*$/;
591
- const httpProtocol = /^https?$/;
592
- const e164 = /^\+[1-9]\d{6,14}$/;
593
- const dateSource = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;
594
- const date$1 = /*@__PURE__*/ new RegExp(`^${dateSource}$`);
595
- function timeSource(args) {
596
- const hhmm = `(?:[01]\\d|2[0-3]):[0-5]\\d`;
597
- return typeof args.precision === "number" ? args.precision === -1 ? `${hhmm}` : args.precision === 0 ? `${hhmm}:[0-5]\\d` : `${hhmm}:[0-5]\\d\\.\\d{${args.precision}}` : `${hhmm}(?::[0-5]\\d(?:\\.\\d+)?)?`;
598
- }
599
- function time$1(args) {
600
- return new RegExp(`^${timeSource(args)}$`);
601
- }
602
- function datetime$1(args) {
603
- const time = timeSource({ precision: args.precision });
604
- const opts = ["Z"];
605
- if (args.local) opts.push("");
606
- if (args.offset) opts.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);
607
- const timeRegex = `${time}(?:${opts.join("|")})`;
608
- return new RegExp(`^${dateSource}T(?:${timeRegex})$`);
609
- }
610
- const string$1 = (params) => {
611
- const regex = params ? `[\\s\\S]{${params?.minimum ?? 0},${params?.maximum ?? ""}}` : `[\\s\\S]*`;
612
- return new RegExp(`^${regex}$`);
613
- };
614
- const integer = /^-?\d+$/;
615
- const number$1 = /^-?\d+(?:\.\d+)?$/;
616
- const lowercase = /^[^A-Z]*$/;
617
- const uppercase = /^[^a-z]*$/;
618
- //#endregion
619
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.js
620
- const $ZodCheck = /*@__PURE__*/ $constructor("$ZodCheck", (inst, def) => {
621
- var _a;
622
- inst._zod ?? (inst._zod = {});
623
- inst._zod.def = def;
624
- (_a = inst._zod).onattach ?? (_a.onattach = []);
625
- });
626
- const numericOriginMap = {
627
- number: "number",
628
- bigint: "bigint",
629
- object: "date"
630
- };
631
- const $ZodCheckLessThan = /*@__PURE__*/ $constructor("$ZodCheckLessThan", (inst, def) => {
632
- $ZodCheck.init(inst, def);
633
- const origin = numericOriginMap[typeof def.value];
634
- inst._zod.onattach.push((inst) => {
635
- const bag = inst._zod.bag;
636
- const curr = (def.inclusive ? bag.maximum : bag.exclusiveMaximum) ?? Number.POSITIVE_INFINITY;
637
- if (def.value < curr) if (def.inclusive) bag.maximum = def.value;
638
- else bag.exclusiveMaximum = def.value;
639
- });
640
- inst._zod.check = (payload) => {
641
- if (def.inclusive ? payload.value <= def.value : payload.value < def.value) return;
642
- payload.issues.push({
643
- origin,
644
- code: "too_big",
645
- maximum: typeof def.value === "object" ? def.value.getTime() : def.value,
646
- input: payload.value,
647
- inclusive: def.inclusive,
648
- inst,
649
- continue: !def.abort
650
- });
651
- };
652
- });
653
- const $ZodCheckGreaterThan = /*@__PURE__*/ $constructor("$ZodCheckGreaterThan", (inst, def) => {
654
- $ZodCheck.init(inst, def);
655
- const origin = numericOriginMap[typeof def.value];
656
- inst._zod.onattach.push((inst) => {
657
- const bag = inst._zod.bag;
658
- const curr = (def.inclusive ? bag.minimum : bag.exclusiveMinimum) ?? Number.NEGATIVE_INFINITY;
659
- if (def.value > curr) if (def.inclusive) bag.minimum = def.value;
660
- else bag.exclusiveMinimum = def.value;
661
- });
662
- inst._zod.check = (payload) => {
663
- if (def.inclusive ? payload.value >= def.value : payload.value > def.value) return;
664
- payload.issues.push({
665
- origin,
666
- code: "too_small",
667
- minimum: typeof def.value === "object" ? def.value.getTime() : def.value,
668
- input: payload.value,
669
- inclusive: def.inclusive,
670
- inst,
671
- continue: !def.abort
672
- });
673
- };
674
- });
675
- const $ZodCheckMultipleOf = /*@__PURE__*/ $constructor("$ZodCheckMultipleOf", (inst, def) => {
676
- $ZodCheck.init(inst, def);
677
- inst._zod.onattach.push((inst) => {
678
- var _a;
679
- (_a = inst._zod.bag).multipleOf ?? (_a.multipleOf = def.value);
680
- });
681
- inst._zod.check = (payload) => {
682
- if (typeof payload.value !== typeof def.value) throw new Error("Cannot mix number and bigint in multiple_of check.");
683
- if (typeof payload.value === "bigint" ? payload.value % def.value === BigInt(0) : floatSafeRemainder(payload.value, def.value) === 0) return;
684
- payload.issues.push({
685
- origin: typeof payload.value,
686
- code: "not_multiple_of",
687
- divisor: def.value,
688
- input: payload.value,
689
- inst,
690
- continue: !def.abort
691
- });
692
- };
693
- });
694
- const $ZodCheckNumberFormat = /*@__PURE__*/ $constructor("$ZodCheckNumberFormat", (inst, def) => {
695
- $ZodCheck.init(inst, def);
696
- def.format = def.format || "float64";
697
- const isInt = def.format?.includes("int");
698
- const origin = isInt ? "int" : "number";
699
- const [minimum, maximum] = NUMBER_FORMAT_RANGES[def.format];
700
- inst._zod.onattach.push((inst) => {
701
- const bag = inst._zod.bag;
702
- bag.format = def.format;
703
- bag.minimum = minimum;
704
- bag.maximum = maximum;
705
- if (isInt) bag.pattern = integer;
706
- });
707
- inst._zod.check = (payload) => {
708
- const input = payload.value;
709
- if (isInt) {
710
- if (!Number.isInteger(input)) {
711
- payload.issues.push({
712
- expected: origin,
713
- format: def.format,
714
- code: "invalid_type",
715
- continue: false,
716
- input,
717
- inst
718
- });
719
- return;
720
- }
721
- if (!Number.isSafeInteger(input)) {
722
- if (input > 0) payload.issues.push({
723
- input,
724
- code: "too_big",
725
- maximum: Number.MAX_SAFE_INTEGER,
726
- note: "Integers must be within the safe integer range.",
727
- inst,
728
- origin,
729
- inclusive: true,
730
- continue: !def.abort
731
- });
732
- else payload.issues.push({
733
- input,
734
- code: "too_small",
735
- minimum: Number.MIN_SAFE_INTEGER,
736
- note: "Integers must be within the safe integer range.",
737
- inst,
738
- origin,
739
- inclusive: true,
740
- continue: !def.abort
741
- });
742
- return;
743
- }
744
- }
745
- if (input < minimum) payload.issues.push({
746
- origin: "number",
747
- input,
748
- code: "too_small",
749
- minimum,
750
- inclusive: true,
751
- inst,
752
- continue: !def.abort
753
- });
754
- if (input > maximum) payload.issues.push({
755
- origin: "number",
756
- input,
757
- code: "too_big",
758
- maximum,
759
- inclusive: true,
760
- inst,
761
- continue: !def.abort
762
- });
763
- };
764
- });
765
- const $ZodCheckMaxLength = /*@__PURE__*/ $constructor("$ZodCheckMaxLength", (inst, def) => {
766
- var _a;
767
- $ZodCheck.init(inst, def);
768
- (_a = inst._zod.def).when ?? (_a.when = (payload) => {
769
- const val = payload.value;
770
- return !nullish(val) && val.length !== void 0;
771
- });
772
- inst._zod.onattach.push((inst) => {
773
- const curr = inst._zod.bag.maximum ?? Number.POSITIVE_INFINITY;
774
- if (def.maximum < curr) inst._zod.bag.maximum = def.maximum;
775
- });
776
- inst._zod.check = (payload) => {
777
- const input = payload.value;
778
- if (input.length <= def.maximum) return;
779
- const origin = getLengthableOrigin(input);
780
- payload.issues.push({
781
- origin,
782
- code: "too_big",
783
- maximum: def.maximum,
784
- inclusive: true,
785
- input,
786
- inst,
787
- continue: !def.abort
788
- });
789
- };
790
- });
791
- const $ZodCheckMinLength = /*@__PURE__*/ $constructor("$ZodCheckMinLength", (inst, def) => {
792
- var _a;
793
- $ZodCheck.init(inst, def);
794
- (_a = inst._zod.def).when ?? (_a.when = (payload) => {
795
- const val = payload.value;
796
- return !nullish(val) && val.length !== void 0;
797
- });
798
- inst._zod.onattach.push((inst) => {
799
- const curr = inst._zod.bag.minimum ?? Number.NEGATIVE_INFINITY;
800
- if (def.minimum > curr) inst._zod.bag.minimum = def.minimum;
801
- });
802
- inst._zod.check = (payload) => {
803
- const input = payload.value;
804
- if (input.length >= def.minimum) return;
805
- const origin = getLengthableOrigin(input);
806
- payload.issues.push({
807
- origin,
808
- code: "too_small",
809
- minimum: def.minimum,
810
- inclusive: true,
811
- input,
812
- inst,
813
- continue: !def.abort
814
- });
815
- };
816
- });
817
- const $ZodCheckLengthEquals = /*@__PURE__*/ $constructor("$ZodCheckLengthEquals", (inst, def) => {
818
- var _a;
819
- $ZodCheck.init(inst, def);
820
- (_a = inst._zod.def).when ?? (_a.when = (payload) => {
821
- const val = payload.value;
822
- return !nullish(val) && val.length !== void 0;
823
- });
824
- inst._zod.onattach.push((inst) => {
825
- const bag = inst._zod.bag;
826
- bag.minimum = def.length;
827
- bag.maximum = def.length;
828
- bag.length = def.length;
829
- });
830
- inst._zod.check = (payload) => {
831
- const input = payload.value;
832
- const length = input.length;
833
- if (length === def.length) return;
834
- const origin = getLengthableOrigin(input);
835
- const tooBig = length > def.length;
836
- payload.issues.push({
837
- origin,
838
- ...tooBig ? {
839
- code: "too_big",
840
- maximum: def.length
841
- } : {
842
- code: "too_small",
843
- minimum: def.length
844
- },
845
- inclusive: true,
846
- exact: true,
847
- input: payload.value,
848
- inst,
849
- continue: !def.abort
850
- });
851
- };
852
- });
853
- const $ZodCheckStringFormat = /*@__PURE__*/ $constructor("$ZodCheckStringFormat", (inst, def) => {
854
- var _a, _b;
855
- $ZodCheck.init(inst, def);
856
- inst._zod.onattach.push((inst) => {
857
- const bag = inst._zod.bag;
858
- bag.format = def.format;
859
- if (def.pattern) {
860
- bag.patterns ?? (bag.patterns = /* @__PURE__ */ new Set());
861
- bag.patterns.add(def.pattern);
862
- }
863
- });
864
- if (def.pattern) (_a = inst._zod).check ?? (_a.check = (payload) => {
865
- def.pattern.lastIndex = 0;
866
- if (def.pattern.test(payload.value)) return;
867
- payload.issues.push({
868
- origin: "string",
869
- code: "invalid_format",
870
- format: def.format,
871
- input: payload.value,
872
- ...def.pattern ? { pattern: def.pattern.toString() } : {},
873
- inst,
874
- continue: !def.abort
875
- });
876
- });
877
- else (_b = inst._zod).check ?? (_b.check = () => {});
878
- });
879
- const $ZodCheckRegex = /*@__PURE__*/ $constructor("$ZodCheckRegex", (inst, def) => {
880
- $ZodCheckStringFormat.init(inst, def);
881
- inst._zod.check = (payload) => {
882
- def.pattern.lastIndex = 0;
883
- if (def.pattern.test(payload.value)) return;
884
- payload.issues.push({
885
- origin: "string",
886
- code: "invalid_format",
887
- format: "regex",
888
- input: payload.value,
889
- pattern: def.pattern.toString(),
890
- inst,
891
- continue: !def.abort
892
- });
893
- };
894
- });
895
- const $ZodCheckLowerCase = /*@__PURE__*/ $constructor("$ZodCheckLowerCase", (inst, def) => {
896
- def.pattern ?? (def.pattern = lowercase);
897
- $ZodCheckStringFormat.init(inst, def);
898
- });
899
- const $ZodCheckUpperCase = /*@__PURE__*/ $constructor("$ZodCheckUpperCase", (inst, def) => {
900
- def.pattern ?? (def.pattern = uppercase);
901
- $ZodCheckStringFormat.init(inst, def);
902
- });
903
- const $ZodCheckIncludes = /*@__PURE__*/ $constructor("$ZodCheckIncludes", (inst, def) => {
904
- $ZodCheck.init(inst, def);
905
- const escapedRegex = escapeRegex(def.includes);
906
- const pattern = new RegExp(typeof def.position === "number" ? `^.{${def.position}}${escapedRegex}` : escapedRegex);
907
- def.pattern = pattern;
908
- inst._zod.onattach.push((inst) => {
909
- const bag = inst._zod.bag;
910
- bag.patterns ?? (bag.patterns = /* @__PURE__ */ new Set());
911
- bag.patterns.add(pattern);
912
- });
913
- inst._zod.check = (payload) => {
914
- if (payload.value.includes(def.includes, def.position)) return;
915
- payload.issues.push({
916
- origin: "string",
917
- code: "invalid_format",
918
- format: "includes",
919
- includes: def.includes,
920
- input: payload.value,
921
- inst,
922
- continue: !def.abort
923
- });
924
- };
925
- });
926
- const $ZodCheckStartsWith = /*@__PURE__*/ $constructor("$ZodCheckStartsWith", (inst, def) => {
927
- $ZodCheck.init(inst, def);
928
- const pattern = new RegExp(`^${escapeRegex(def.prefix)}.*`);
929
- def.pattern ?? (def.pattern = pattern);
930
- inst._zod.onattach.push((inst) => {
931
- const bag = inst._zod.bag;
932
- bag.patterns ?? (bag.patterns = /* @__PURE__ */ new Set());
933
- bag.patterns.add(pattern);
934
- });
935
- inst._zod.check = (payload) => {
936
- if (payload.value.startsWith(def.prefix)) return;
937
- payload.issues.push({
938
- origin: "string",
939
- code: "invalid_format",
940
- format: "starts_with",
941
- prefix: def.prefix,
942
- input: payload.value,
943
- inst,
944
- continue: !def.abort
945
- });
946
- };
947
- });
948
- const $ZodCheckEndsWith = /*@__PURE__*/ $constructor("$ZodCheckEndsWith", (inst, def) => {
949
- $ZodCheck.init(inst, def);
950
- const pattern = new RegExp(`.*${escapeRegex(def.suffix)}$`);
951
- def.pattern ?? (def.pattern = pattern);
952
- inst._zod.onattach.push((inst) => {
953
- const bag = inst._zod.bag;
954
- bag.patterns ?? (bag.patterns = /* @__PURE__ */ new Set());
955
- bag.patterns.add(pattern);
956
- });
957
- inst._zod.check = (payload) => {
958
- if (payload.value.endsWith(def.suffix)) return;
959
- payload.issues.push({
960
- origin: "string",
961
- code: "invalid_format",
962
- format: "ends_with",
963
- suffix: def.suffix,
964
- input: payload.value,
965
- inst,
966
- continue: !def.abort
967
- });
968
- };
969
- });
970
- const $ZodCheckOverwrite = /*@__PURE__*/ $constructor("$ZodCheckOverwrite", (inst, def) => {
971
- $ZodCheck.init(inst, def);
972
- inst._zod.check = (payload) => {
973
- payload.value = def.tx(payload.value);
974
- };
975
- });
976
- //#endregion
977
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.js
978
- var Doc = class {
979
- constructor(args = []) {
980
- this.content = [];
981
- this.indent = 0;
982
- if (this) this.args = args;
147
+ get encode() {
148
+ return this.spec.encode;
983
149
  }
984
- indented(fn) {
985
- this.indent += 1;
986
- fn(this);
987
- this.indent -= 1;
150
+ get description() {
151
+ return this.spec.description;
988
152
  }
989
- write(arg) {
990
- if (typeof arg === "function") {
991
- arg(this, { execution: "sync" });
992
- arg(this, { execution: "async" });
993
- return;
994
- }
995
- const lines = arg.split("\n").filter((x) => x);
996
- const minIndent = Math.min(...lines.map((x) => x.length - x.trimStart().length));
997
- const dedented = lines.map((x) => x.slice(minIndent)).map((x) => " ".repeat(this.indent * 2) + x);
998
- for (const line of dedented) this.content.push(line);
153
+ get jsonSchemaError() {
154
+ return this.spec.jsonSchemaError;
999
155
  }
1000
- compile() {
1001
- const F = Function;
1002
- const args = this?.args;
1003
- const lines = [...(this?.content ?? [``]).map((x) => ` ${x}`)];
1004
- return new F(...args, lines.join("\n"));
156
+ get jsonSchema() {
157
+ if (this.projection === void 0) {
158
+ const schema = this.spec.jsonSchema;
159
+ this.projection = { value: schema === void 0 ? void 0 : {
160
+ ...schema,
161
+ description: this.spec.description
162
+ } };
163
+ }
164
+ return this.projection.value;
1005
165
  }
1006
166
  };
1007
167
  //#endregion
1008
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.js
1009
- const version = {
1010
- major: 4,
1011
- minor: 4,
1012
- patch: 3
1013
- };
1014
- //#endregion
1015
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.js
1016
- const $ZodType = /*@__PURE__*/ $constructor("$ZodType", (inst, def) => {
1017
- var _a;
1018
- inst ?? (inst = {});
1019
- inst._zod.def = def;
1020
- inst._zod.bag = inst._zod.bag || {};
1021
- inst._zod.version = version;
1022
- const checks = [...inst._zod.def.checks ?? []];
1023
- if (inst._zod.traits.has("$ZodCheck")) checks.unshift(inst);
1024
- for (const ch of checks) for (const fn of ch._zod.onattach) fn(inst);
1025
- if (checks.length === 0) {
1026
- (_a = inst._zod).deferred ?? (_a.deferred = []);
1027
- inst._zod.deferred?.push(() => {
1028
- inst._zod.run = inst._zod.parse;
1029
- });
1030
- } else {
1031
- const runChecks = (payload, checks, ctx) => {
1032
- let isAborted = aborted(payload);
1033
- let asyncResult;
1034
- for (const ch of checks) {
1035
- if (ch._zod.def.when) {
1036
- if (explicitlyAborted(payload)) continue;
1037
- if (!ch._zod.def.when(payload)) continue;
1038
- } else if (isAborted) continue;
1039
- const currLen = payload.issues.length;
1040
- const _ = ch._zod.check(payload);
1041
- if (_ instanceof Promise && ctx?.async === false) throw new $ZodAsyncError();
1042
- if (asyncResult || _ instanceof Promise) asyncResult = (asyncResult ?? Promise.resolve()).then(async () => {
1043
- await _;
1044
- if (payload.issues.length === currLen) return;
1045
- if (!isAborted) isAborted = aborted(payload, currLen);
1046
- });
1047
- else {
1048
- if (payload.issues.length === currLen) continue;
1049
- if (!isAborted) isAborted = aborted(payload, currLen);
1050
- }
1051
- }
1052
- if (asyncResult) return asyncResult.then(() => {
1053
- return payload;
1054
- });
1055
- return payload;
1056
- };
1057
- const handleCanaryResult = (canary, payload, ctx) => {
1058
- if (aborted(canary)) {
1059
- canary.aborted = true;
1060
- return canary;
1061
- }
1062
- const checkResult = runChecks(payload, checks, ctx);
1063
- if (checkResult instanceof Promise) {
1064
- if (ctx.async === false) throw new $ZodAsyncError();
1065
- return checkResult.then((checkResult) => inst._zod.parse(checkResult, ctx));
1066
- }
1067
- return inst._zod.parse(checkResult, ctx);
1068
- };
1069
- inst._zod.run = (payload, ctx) => {
1070
- if (ctx.skipChecks) return inst._zod.parse(payload, ctx);
1071
- if (ctx.direction === "backward") {
1072
- const canary = inst._zod.parse({
1073
- value: payload.value,
1074
- issues: []
1075
- }, {
1076
- ...ctx,
1077
- skipChecks: true
1078
- });
1079
- if (canary instanceof Promise) return canary.then((canary) => {
1080
- return handleCanaryResult(canary, payload, ctx);
1081
- });
1082
- return handleCanaryResult(canary, payload, ctx);
1083
- }
1084
- const result = inst._zod.parse(payload, ctx);
1085
- if (result instanceof Promise) {
1086
- if (ctx.async === false) throw new $ZodAsyncError();
1087
- return result.then((result) => runChecks(result, checks, ctx));
1088
- }
1089
- return runChecks(result, checks, ctx);
1090
- };
1091
- }
1092
- defineLazy(inst, "~standard", () => ({
1093
- validate: (value) => {
1094
- try {
1095
- const r = safeParse$1(inst, value);
1096
- return r.success ? { value: r.data } : { issues: r.error?.issues };
1097
- } catch (_) {
1098
- return safeParseAsync$1(inst, value).then((r) => r.success ? { value: r.data } : { issues: r.error?.issues });
1099
- }
1100
- },
1101
- vendor: "zod",
1102
- version: 1
1103
- }));
1104
- });
1105
- const $ZodString = /*@__PURE__*/ $constructor("$ZodString", (inst, def) => {
1106
- $ZodType.init(inst, def);
1107
- inst._zod.pattern = [...inst?._zod.bag?.patterns ?? []].pop() ?? string$1(inst._zod.bag);
1108
- inst._zod.parse = (payload, _) => {
1109
- if (def.coerce) try {
1110
- payload.value = String(payload.value);
1111
- } catch (_) {}
1112
- if (typeof payload.value === "string") return payload;
1113
- payload.issues.push({
1114
- expected: "string",
1115
- code: "invalid_type",
1116
- input: payload.value,
1117
- inst
1118
- });
1119
- return payload;
1120
- };
1121
- });
1122
- const $ZodStringFormat = /*@__PURE__*/ $constructor("$ZodStringFormat", (inst, def) => {
1123
- $ZodCheckStringFormat.init(inst, def);
1124
- $ZodString.init(inst, def);
1125
- });
1126
- const $ZodGUID = /*@__PURE__*/ $constructor("$ZodGUID", (inst, def) => {
1127
- def.pattern ?? (def.pattern = guid);
1128
- $ZodStringFormat.init(inst, def);
1129
- });
1130
- const $ZodUUID = /*@__PURE__*/ $constructor("$ZodUUID", (inst, def) => {
1131
- if (def.version) {
1132
- const v = {
1133
- v1: 1,
1134
- v2: 2,
1135
- v3: 3,
1136
- v4: 4,
1137
- v5: 5,
1138
- v6: 6,
1139
- v7: 7,
1140
- v8: 8
1141
- }[def.version];
1142
- if (v === void 0) throw new Error(`Invalid UUID version: "${def.version}"`);
1143
- def.pattern ?? (def.pattern = uuid(v));
1144
- } else def.pattern ?? (def.pattern = uuid());
1145
- $ZodStringFormat.init(inst, def);
168
+ //#region lib/typert.remote-client.js
169
+ let _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_limits_result$schema$value;
170
+ const _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_limits_result$schema = () => _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_limits_result$schema$value ??= zod.z.object({
171
+ "maxTextChars": zod.z.number().describe("Maximum UTF-16 text length accepted by one translation request."),
172
+ "preferences": zod.z.object({
173
+ "provider": zod.z.union([
174
+ zod.z.literal("google"),
175
+ zod.z.literal("bing"),
176
+ zod.z.literal("deepseek-account"),
177
+ zod.z.literal("deepseek-official")
178
+ ]).describe("Explicit provider selection; requests never fall back to another provider."),
179
+ "targetLanguage": zod.z.string().describe("BCP 47 language code, or auto to follow the UI language.")
180
+ }).describe("Current accepted provider and target-language preferences."),
181
+ "availableProviders": zod.z.array(zod.z.union([
182
+ zod.z.literal("google"),
183
+ zod.z.literal("bing"),
184
+ zod.z.literal("deepseek-account"),
185
+ zod.z.literal("deepseek-official")
186
+ ])).describe("Anonymous endpoints and native paid routes currently eligible for translation.")
1146
187
  });
1147
- const $ZodEmail = /*@__PURE__*/ $constructor("$ZodEmail", (inst, def) => {
1148
- def.pattern ?? (def.pattern = email);
1149
- $ZodStringFormat.init(inst, def);
188
+ let _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_parameter_0$schema$value;
189
+ const _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_parameter_0$schema = () => _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_parameter_0$schema$value ??= zod.z.object({
190
+ "text": zod.z.string().readonly().describe("Complete text submitted to the selected provider."),
191
+ "targetLanguage": zod.z.string().readonly().describe("Destination language; common Chinese locale tags are normalized per provider."),
192
+ "sourceLanguage": zod.z.string().readonly().optional().describe("Source language; omission uses automatic detection."),
193
+ "provider": zod.z.union([
194
+ zod.z.literal("google"),
195
+ zod.z.literal("bing"),
196
+ zod.z.literal("deepseek-account"),
197
+ zod.z.literal("deepseek-official")
198
+ ]).readonly().optional().describe("Endpoint selection; omission uses the service's configured provider."),
199
+ "sessionId": zod.z.string().readonly().optional().describe("Existing Session for durable results; a cache miss requires it to be active. Omission keeps the call stateless.")
1150
200
  });
1151
- const $ZodURL = /*@__PURE__*/ $constructor("$ZodURL", (inst, def) => {
1152
- $ZodStringFormat.init(inst, def);
1153
- inst._zod.check = (payload) => {
1154
- try {
1155
- const trimmed = payload.value.trim();
1156
- if (!def.normalize && def.protocol?.source === httpProtocol.source) {
1157
- if (!/^https?:\/\//i.test(trimmed)) {
1158
- payload.issues.push({
1159
- code: "invalid_format",
1160
- format: "url",
1161
- note: "Invalid URL format",
1162
- input: payload.value,
1163
- inst,
1164
- continue: !def.abort
1165
- });
1166
- return;
201
+ let _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_result$schema$value;
202
+ const _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_result$schema = () => _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_result$schema$value ??= zod.z.string();
203
+ let _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_parameter_0_strict$schema$value;
204
+ const _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_parameter_0_strict$schema = () => _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_parameter_0_strict$schema$value ??= zod.z.strictObject({
205
+ "text": zod.z.string().readonly().describe("Complete text submitted to the selected provider."),
206
+ "targetLanguage": zod.z.string().readonly().describe("Destination language; common Chinese locale tags are normalized per provider."),
207
+ "sourceLanguage": zod.z.string().readonly().optional().describe("Source language; omission uses automatic detection."),
208
+ "provider": zod.z.union([
209
+ zod.z.literal("google"),
210
+ zod.z.literal("bing"),
211
+ zod.z.literal("deepseek-account"),
212
+ zod.z.literal("deepseek-official")
213
+ ]).readonly().optional().describe("Endpoint selection; omission uses the service's configured provider."),
214
+ "sessionId": zod.z.string().readonly().optional().describe("Existing Session for durable results; a cache miss requires it to be active. Omission keeps the call stateless.")
215
+ });
216
+ const TYPERT_REMOTE = createTypertRemoteInfo({
217
+ package: "@deepseek-ai/dsh-experimental-client-ui-cot-translation",
218
+ methods: {
219
+ "cotTranslation/limits": {
220
+ service: "cotTranslation",
221
+ description: "Read accepted translation preferences and the current request limit without sending text.",
222
+ invocation: { kind: "direct" },
223
+ parameters: [],
224
+ cancellation: { parameter: "signal" },
225
+ result: {
226
+ mode: "strict",
227
+ typeSymbol: "@deepseek-ai/dsh-experimental-client-ui-cot-translation/types#CotTranslationSnapshot",
228
+ create: _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_limits_result$schema,
229
+ description: "authoritative preferences, eligible routes, and maximum UTF-16 text length per request.",
230
+ jsonSchema: {
231
+ "type": "object",
232
+ "properties": {
233
+ "maxTextChars": {
234
+ "type": "number",
235
+ "description": "Maximum UTF-16 text length accepted by one translation request."
236
+ },
237
+ "preferences": {
238
+ "type": "object",
239
+ "properties": {
240
+ "provider": {
241
+ "type": "string",
242
+ "enum": [
243
+ "google",
244
+ "bing",
245
+ "deepseek-account",
246
+ "deepseek-official"
247
+ ],
248
+ "description": "Explicit provider selection; requests never fall back to another provider."
249
+ },
250
+ "targetLanguage": {
251
+ "type": "string",
252
+ "description": "BCP 47 language code, or auto to follow the UI language."
253
+ }
254
+ },
255
+ "required": ["provider", "targetLanguage"],
256
+ "additionalProperties": true,
257
+ "description": "Current accepted provider and target-language preferences."
258
+ },
259
+ "availableProviders": {
260
+ "type": "array",
261
+ "items": {
262
+ "type": "string",
263
+ "enum": [
264
+ "google",
265
+ "bing",
266
+ "deepseek-account",
267
+ "deepseek-official"
268
+ ]
269
+ },
270
+ "description": "Anonymous endpoints and native paid routes currently eligible for translation."
271
+ }
272
+ },
273
+ "required": [
274
+ "maxTextChars",
275
+ "preferences",
276
+ "availableProviders"
277
+ ],
278
+ "additionalProperties": true
1167
279
  }
280
+ },
281
+ sourceLocation: {
282
+ "file": "packages/experimental/client-ui-cot-translation/src/index.ts",
283
+ "line": 47,
284
+ "column": 9
1168
285
  }
1169
- const url = new URL(trimmed);
1170
- if (def.hostname) {
1171
- def.hostname.lastIndex = 0;
1172
- if (!def.hostname.test(url.hostname)) payload.issues.push({
1173
- code: "invalid_format",
1174
- format: "url",
1175
- note: "Invalid hostname",
1176
- pattern: def.hostname.source,
1177
- input: payload.value,
1178
- inst,
1179
- continue: !def.abort
1180
- });
1181
- }
1182
- if (def.protocol) {
1183
- def.protocol.lastIndex = 0;
1184
- if (!def.protocol.test(url.protocol.endsWith(":") ? url.protocol.slice(0, -1) : url.protocol)) payload.issues.push({
1185
- code: "invalid_format",
1186
- format: "url",
1187
- note: "Invalid protocol",
1188
- pattern: def.protocol.source,
1189
- input: payload.value,
1190
- inst,
1191
- continue: !def.abort
1192
- });
286
+ },
287
+ "cotTranslation/translate": {
288
+ service: "cotTranslation",
289
+ description: "Translate one displayed fragment through the reader's selected provider.",
290
+ invocation: { kind: "direct" },
291
+ parameters: [{
292
+ name: "request",
293
+ description: "original text and Session identity supplied by the Client; provider and explicit target language match accepted preferences, while auto uses the browser locale.",
294
+ source: "json",
295
+ codec: {
296
+ mode: "strict",
297
+ typeSymbol: "@deepseek-ai/dsh-experimental-translator/types#TranslationRequest",
298
+ create: _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_parameter_0$schema,
299
+ jsonSchema: {
300
+ "type": "object",
301
+ "properties": {
302
+ "text": {
303
+ "type": "string",
304
+ "description": "Complete text submitted to the selected provider."
305
+ },
306
+ "targetLanguage": {
307
+ "type": "string",
308
+ "description": "Destination language; common Chinese locale tags are normalized per provider."
309
+ },
310
+ "sourceLanguage": {
311
+ "type": "string",
312
+ "description": "Source language; omission uses automatic detection."
313
+ },
314
+ "provider": {
315
+ "type": "string",
316
+ "enum": [
317
+ "google",
318
+ "bing",
319
+ "deepseek-account",
320
+ "deepseek-official"
321
+ ],
322
+ "description": "Endpoint selection; omission uses the service's configured provider."
323
+ },
324
+ "sessionId": {
325
+ "type": "string",
326
+ "description": "Existing Session for durable results; a cache miss requires it to be active. Omission keeps the call stateless."
327
+ }
328
+ },
329
+ "required": ["text", "targetLanguage"],
330
+ "additionalProperties": true
331
+ }
332
+ },
333
+ strictCodec: {
334
+ mode: "strict",
335
+ typeSymbol: "@deepseek-ai/dsh-experimental-translator/types#TranslationRequest",
336
+ create: _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_parameter_0_strict$schema,
337
+ jsonSchema: {
338
+ "type": "object",
339
+ "properties": {
340
+ "text": {
341
+ "type": "string",
342
+ "description": "Complete text submitted to the selected provider."
343
+ },
344
+ "targetLanguage": {
345
+ "type": "string",
346
+ "description": "Destination language; common Chinese locale tags are normalized per provider."
347
+ },
348
+ "sourceLanguage": {
349
+ "type": "string",
350
+ "description": "Source language; omission uses automatic detection."
351
+ },
352
+ "provider": {
353
+ "type": "string",
354
+ "enum": [
355
+ "google",
356
+ "bing",
357
+ "deepseek-account",
358
+ "deepseek-official"
359
+ ],
360
+ "description": "Endpoint selection; omission uses the service's configured provider."
361
+ },
362
+ "sessionId": {
363
+ "type": "string",
364
+ "description": "Existing Session for durable results; a cache miss requires it to be active. Omission keeps the call stateless."
365
+ }
366
+ },
367
+ "required": ["text", "targetLanguage"],
368
+ "additionalProperties": false
369
+ }
370
+ }
371
+ }],
372
+ cancellation: { parameter: "signal" },
373
+ result: {
374
+ mode: "strict",
375
+ typeSymbol: "@deepseek-ai/dsh-experimental-client-ui-cot-translation#cotTranslation/translate:result",
376
+ create: _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_result$schema,
377
+ description: "translated text; an uncached inactive Session joins ordinary GUI activation before retry. Failures omit the source and provider response. Cancellation stops this caller's wait, not shared activation.",
378
+ jsonSchema: { "type": "string" }
379
+ },
380
+ sourceLocation: {
381
+ "file": "packages/experimental/client-ui-cot-translation/src/index.ts",
382
+ "line": 64,
383
+ "column": 9
1193
384
  }
1194
- if (def.normalize) payload.value = url.href;
1195
- else payload.value = trimmed;
1196
- return;
1197
- } catch (_) {
1198
- payload.issues.push({
1199
- code: "invalid_format",
1200
- format: "url",
1201
- input: payload.value,
1202
- inst,
1203
- continue: !def.abort
1204
- });
1205
385
  }
1206
- };
1207
- });
1208
- const $ZodEmoji = /*@__PURE__*/ $constructor("$ZodEmoji", (inst, def) => {
1209
- def.pattern ?? (def.pattern = emoji());
1210
- $ZodStringFormat.init(inst, def);
1211
- });
1212
- const $ZodNanoID = /*@__PURE__*/ $constructor("$ZodNanoID", (inst, def) => {
1213
- def.pattern ?? (def.pattern = nanoid);
1214
- $ZodStringFormat.init(inst, def);
1215
- });
1216
- /**
1217
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
1218
- * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
1219
- * See https://github.com/paralleldrive/cuid.
1220
- */
1221
- const $ZodCUID = /*@__PURE__*/ $constructor("$ZodCUID", (inst, def) => {
1222
- def.pattern ?? (def.pattern = cuid);
1223
- $ZodStringFormat.init(inst, def);
1224
- });
1225
- const $ZodCUID2 = /*@__PURE__*/ $constructor("$ZodCUID2", (inst, def) => {
1226
- def.pattern ?? (def.pattern = cuid2);
1227
- $ZodStringFormat.init(inst, def);
1228
- });
1229
- const $ZodULID = /*@__PURE__*/ $constructor("$ZodULID", (inst, def) => {
1230
- def.pattern ?? (def.pattern = ulid);
1231
- $ZodStringFormat.init(inst, def);
1232
- });
1233
- const $ZodXID = /*@__PURE__*/ $constructor("$ZodXID", (inst, def) => {
1234
- def.pattern ?? (def.pattern = xid);
1235
- $ZodStringFormat.init(inst, def);
1236
- });
1237
- const $ZodKSUID = /*@__PURE__*/ $constructor("$ZodKSUID", (inst, def) => {
1238
- def.pattern ?? (def.pattern = ksuid);
1239
- $ZodStringFormat.init(inst, def);
1240
- });
1241
- const $ZodISODateTime = /*@__PURE__*/ $constructor("$ZodISODateTime", (inst, def) => {
1242
- def.pattern ?? (def.pattern = datetime$1(def));
1243
- $ZodStringFormat.init(inst, def);
1244
- });
1245
- const $ZodISODate = /*@__PURE__*/ $constructor("$ZodISODate", (inst, def) => {
1246
- def.pattern ?? (def.pattern = date$1);
1247
- $ZodStringFormat.init(inst, def);
1248
- });
1249
- const $ZodISOTime = /*@__PURE__*/ $constructor("$ZodISOTime", (inst, def) => {
1250
- def.pattern ?? (def.pattern = time$1(def));
1251
- $ZodStringFormat.init(inst, def);
1252
- });
1253
- const $ZodISODuration = /*@__PURE__*/ $constructor("$ZodISODuration", (inst, def) => {
1254
- def.pattern ?? (def.pattern = duration$1);
1255
- $ZodStringFormat.init(inst, def);
1256
- });
1257
- const $ZodIPv4 = /*@__PURE__*/ $constructor("$ZodIPv4", (inst, def) => {
1258
- def.pattern ?? (def.pattern = ipv4);
1259
- $ZodStringFormat.init(inst, def);
1260
- inst._zod.bag.format = `ipv4`;
1261
- });
1262
- const $ZodIPv6 = /*@__PURE__*/ $constructor("$ZodIPv6", (inst, def) => {
1263
- def.pattern ?? (def.pattern = ipv6);
1264
- $ZodStringFormat.init(inst, def);
1265
- inst._zod.bag.format = `ipv6`;
1266
- inst._zod.check = (payload) => {
1267
- try {
1268
- new URL(`http://[${payload.value}]`);
1269
- } catch {
1270
- payload.issues.push({
1271
- code: "invalid_format",
1272
- format: "ipv6",
1273
- input: payload.value,
1274
- inst,
1275
- continue: !def.abort
1276
- });
1277
- }
1278
- };
1279
- });
1280
- const $ZodCIDRv4 = /*@__PURE__*/ $constructor("$ZodCIDRv4", (inst, def) => {
1281
- def.pattern ?? (def.pattern = cidrv4);
1282
- $ZodStringFormat.init(inst, def);
1283
- });
1284
- const $ZodCIDRv6 = /*@__PURE__*/ $constructor("$ZodCIDRv6", (inst, def) => {
1285
- def.pattern ?? (def.pattern = cidrv6);
1286
- $ZodStringFormat.init(inst, def);
1287
- inst._zod.check = (payload) => {
1288
- const parts = payload.value.split("/");
1289
- try {
1290
- if (parts.length !== 2) throw new Error();
1291
- const [address, prefix] = parts;
1292
- if (!prefix) throw new Error();
1293
- const prefixNum = Number(prefix);
1294
- if (`${prefixNum}` !== prefix) throw new Error();
1295
- if (prefixNum < 0 || prefixNum > 128) throw new Error();
1296
- new URL(`http://[${address}]`);
1297
- } catch {
1298
- payload.issues.push({
1299
- code: "invalid_format",
1300
- format: "cidrv6",
1301
- input: payload.value,
1302
- inst,
1303
- continue: !def.abort
1304
- });
1305
- }
1306
- };
1307
- });
1308
- function isValidBase64(data) {
1309
- if (data === "") return true;
1310
- if (/\s/.test(data)) return false;
1311
- if (data.length % 4 !== 0) return false;
1312
- try {
1313
- atob(data);
1314
- return true;
1315
- } catch {
1316
- return false;
1317
- }
1318
- }
1319
- const $ZodBase64 = /*@__PURE__*/ $constructor("$ZodBase64", (inst, def) => {
1320
- def.pattern ?? (def.pattern = base64);
1321
- $ZodStringFormat.init(inst, def);
1322
- inst._zod.bag.contentEncoding = "base64";
1323
- inst._zod.check = (payload) => {
1324
- if (isValidBase64(payload.value)) return;
1325
- payload.issues.push({
1326
- code: "invalid_format",
1327
- format: "base64",
1328
- input: payload.value,
1329
- inst,
1330
- continue: !def.abort
1331
- });
1332
- };
1333
- });
1334
- function isValidBase64URL(data) {
1335
- if (!base64url.test(data)) return false;
1336
- const base64 = data.replace(/[-_]/g, (c) => c === "-" ? "+" : "/");
1337
- return isValidBase64(base64.padEnd(Math.ceil(base64.length / 4) * 4, "="));
1338
- }
1339
- const $ZodBase64URL = /*@__PURE__*/ $constructor("$ZodBase64URL", (inst, def) => {
1340
- def.pattern ?? (def.pattern = base64url);
1341
- $ZodStringFormat.init(inst, def);
1342
- inst._zod.bag.contentEncoding = "base64url";
1343
- inst._zod.check = (payload) => {
1344
- if (isValidBase64URL(payload.value)) return;
1345
- payload.issues.push({
1346
- code: "invalid_format",
1347
- format: "base64url",
1348
- input: payload.value,
1349
- inst,
1350
- continue: !def.abort
1351
- });
1352
- };
1353
- });
1354
- const $ZodE164 = /*@__PURE__*/ $constructor("$ZodE164", (inst, def) => {
1355
- def.pattern ?? (def.pattern = e164);
1356
- $ZodStringFormat.init(inst, def);
1357
- });
1358
- function isValidJWT(token, algorithm = null) {
1359
- try {
1360
- const tokensParts = token.split(".");
1361
- if (tokensParts.length !== 3) return false;
1362
- const [header] = tokensParts;
1363
- if (!header) return false;
1364
- const parsedHeader = JSON.parse(atob(header));
1365
- if ("typ" in parsedHeader && parsedHeader?.typ !== "JWT") return false;
1366
- if (!parsedHeader.alg) return false;
1367
- if (algorithm && (!("alg" in parsedHeader) || parsedHeader.alg !== algorithm)) return false;
1368
- return true;
1369
- } catch {
1370
- return false;
1371
- }
1372
- }
1373
- const $ZodJWT = /*@__PURE__*/ $constructor("$ZodJWT", (inst, def) => {
1374
- $ZodStringFormat.init(inst, def);
1375
- inst._zod.check = (payload) => {
1376
- if (isValidJWT(payload.value, def.alg)) return;
1377
- payload.issues.push({
1378
- code: "invalid_format",
1379
- format: "jwt",
1380
- input: payload.value,
1381
- inst,
1382
- continue: !def.abort
1383
- });
1384
- };
1385
- });
1386
- const $ZodNumber = /*@__PURE__*/ $constructor("$ZodNumber", (inst, def) => {
1387
- $ZodType.init(inst, def);
1388
- inst._zod.pattern = inst._zod.bag.pattern ?? number$1;
1389
- inst._zod.parse = (payload, _ctx) => {
1390
- if (def.coerce) try {
1391
- payload.value = Number(payload.value);
1392
- } catch (_) {}
1393
- const input = payload.value;
1394
- if (typeof input === "number" && !Number.isNaN(input) && Number.isFinite(input)) return payload;
1395
- const received = typeof input === "number" ? Number.isNaN(input) ? "NaN" : !Number.isFinite(input) ? "Infinity" : void 0 : void 0;
1396
- payload.issues.push({
1397
- expected: "number",
1398
- code: "invalid_type",
1399
- input,
1400
- inst,
1401
- ...received ? { received } : {}
1402
- });
1403
- return payload;
1404
- };
1405
- });
1406
- const $ZodNumberFormat = /*@__PURE__*/ $constructor("$ZodNumberFormat", (inst, def) => {
1407
- $ZodCheckNumberFormat.init(inst, def);
1408
- $ZodNumber.init(inst, def);
1409
- });
1410
- const $ZodUnknown = /*@__PURE__*/ $constructor("$ZodUnknown", (inst, def) => {
1411
- $ZodType.init(inst, def);
1412
- inst._zod.parse = (payload) => payload;
1413
- });
1414
- const $ZodNever = /*@__PURE__*/ $constructor("$ZodNever", (inst, def) => {
1415
- $ZodType.init(inst, def);
1416
- inst._zod.parse = (payload, _ctx) => {
1417
- payload.issues.push({
1418
- expected: "never",
1419
- code: "invalid_type",
1420
- input: payload.value,
1421
- inst
1422
- });
1423
- return payload;
1424
- };
1425
- });
1426
- function handleArrayResult(result, final, index) {
1427
- if (result.issues.length) final.issues.push(...prefixIssues(index, result.issues));
1428
- final.value[index] = result.value;
1429
- }
1430
- const $ZodArray = /*@__PURE__*/ $constructor("$ZodArray", (inst, def) => {
1431
- $ZodType.init(inst, def);
1432
- inst._zod.parse = (payload, ctx) => {
1433
- const input = payload.value;
1434
- if (!Array.isArray(input)) {
1435
- payload.issues.push({
1436
- expected: "array",
1437
- code: "invalid_type",
1438
- input,
1439
- inst
1440
- });
1441
- return payload;
1442
- }
1443
- payload.value = Array(input.length);
1444
- const proms = [];
1445
- for (let i = 0; i < input.length; i++) {
1446
- const item = input[i];
1447
- const result = def.element._zod.run({
1448
- value: item,
1449
- issues: []
1450
- }, ctx);
1451
- if (result instanceof Promise) proms.push(result.then((result) => handleArrayResult(result, payload, i)));
1452
- else handleArrayResult(result, payload, i);
1453
- }
1454
- if (proms.length) return Promise.all(proms).then(() => payload);
1455
- return payload;
1456
- };
1457
- });
1458
- function handlePropertyResult(result, final, key, input, isOptionalIn, isOptionalOut) {
1459
- const isPresent = key in input;
1460
- if (result.issues.length) {
1461
- if (isOptionalIn && isOptionalOut && !isPresent) return;
1462
- final.issues.push(...prefixIssues(key, result.issues));
1463
- }
1464
- if (!isPresent && !isOptionalIn) {
1465
- if (!result.issues.length) final.issues.push({
1466
- code: "invalid_type",
1467
- expected: "nonoptional",
1468
- input: void 0,
1469
- path: [key]
1470
- });
1471
- return;
1472
- }
1473
- if (result.value === void 0) {
1474
- if (isPresent) final.value[key] = void 0;
1475
- } else final.value[key] = result.value;
1476
- }
1477
- function normalizeDef(def) {
1478
- const keys = Object.keys(def.shape);
1479
- for (const k of keys) if (!def.shape?.[k]?._zod?.traits?.has("$ZodType")) throw new Error(`Invalid element at key "${k}": expected a Zod schema`);
1480
- const okeys = optionalKeys(def.shape);
1481
- return {
1482
- ...def,
1483
- keys,
1484
- keySet: new Set(keys),
1485
- numKeys: keys.length,
1486
- optionalKeys: new Set(okeys)
1487
- };
1488
- }
1489
- function handleCatchall(proms, input, payload, ctx, def, inst) {
1490
- const unrecognized = [];
1491
- const keySet = def.keySet;
1492
- const _catchall = def.catchall._zod;
1493
- const t = _catchall.def.type;
1494
- const isOptionalIn = _catchall.optin === "optional";
1495
- const isOptionalOut = _catchall.optout === "optional";
1496
- for (const key in input) {
1497
- if (key === "__proto__") continue;
1498
- if (keySet.has(key)) continue;
1499
- if (t === "never") {
1500
- unrecognized.push(key);
1501
- continue;
1502
- }
1503
- const r = _catchall.run({
1504
- value: input[key],
1505
- issues: []
1506
- }, ctx);
1507
- if (r instanceof Promise) proms.push(r.then((r) => handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut)));
1508
- else handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
1509
- }
1510
- if (unrecognized.length) payload.issues.push({
1511
- code: "unrecognized_keys",
1512
- keys: unrecognized,
1513
- input,
1514
- inst
1515
- });
1516
- if (!proms.length) return payload;
1517
- return Promise.all(proms).then(() => {
1518
- return payload;
1519
- });
1520
- }
1521
- const $ZodObject = /*@__PURE__*/ $constructor("$ZodObject", (inst, def) => {
1522
- $ZodType.init(inst, def);
1523
- if (!Object.getOwnPropertyDescriptor(def, "shape")?.get) {
1524
- const sh = def.shape;
1525
- Object.defineProperty(def, "shape", { get: () => {
1526
- const newSh = { ...sh };
1527
- Object.defineProperty(def, "shape", { value: newSh });
1528
- return newSh;
1529
- } });
1530
- }
1531
- const _normalized = cached(() => normalizeDef(def));
1532
- defineLazy(inst._zod, "propValues", () => {
1533
- const shape = def.shape;
1534
- const propValues = {};
1535
- for (const key in shape) {
1536
- const field = shape[key]._zod;
1537
- if (field.values) {
1538
- propValues[key] ?? (propValues[key] = /* @__PURE__ */ new Set());
1539
- for (const v of field.values) propValues[key].add(v);
1540
- }
1541
- }
1542
- return propValues;
1543
- });
1544
- const isObject$1 = isObject;
1545
- const catchall = def.catchall;
1546
- let value;
1547
- inst._zod.parse = (payload, ctx) => {
1548
- value ?? (value = _normalized.value);
1549
- const input = payload.value;
1550
- if (!isObject$1(input)) {
1551
- payload.issues.push({
1552
- expected: "object",
1553
- code: "invalid_type",
1554
- input,
1555
- inst
1556
- });
1557
- return payload;
1558
- }
1559
- payload.value = {};
1560
- const proms = [];
1561
- const shape = value.shape;
1562
- for (const key of value.keys) {
1563
- const el = shape[key];
1564
- const isOptionalIn = el._zod.optin === "optional";
1565
- const isOptionalOut = el._zod.optout === "optional";
1566
- const r = el._zod.run({
1567
- value: input[key],
1568
- issues: []
1569
- }, ctx);
1570
- if (r instanceof Promise) proms.push(r.then((r) => handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut)));
1571
- else handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
1572
- }
1573
- if (!catchall) return proms.length ? Promise.all(proms).then(() => payload) : payload;
1574
- return handleCatchall(proms, input, payload, ctx, _normalized.value, inst);
1575
- };
1576
- });
1577
- const $ZodObjectJIT = /*@__PURE__*/ $constructor("$ZodObjectJIT", (inst, def) => {
1578
- $ZodObject.init(inst, def);
1579
- const superParse = inst._zod.parse;
1580
- const _normalized = cached(() => normalizeDef(def));
1581
- const generateFastpass = (shape) => {
1582
- const doc = new Doc([
1583
- "shape",
1584
- "payload",
1585
- "ctx"
1586
- ]);
1587
- const normalized = _normalized.value;
1588
- const parseStr = (key) => {
1589
- const k = esc(key);
1590
- return `shape[${k}]._zod.run({ value: input[${k}], issues: [] }, ctx)`;
1591
- };
1592
- doc.write(`const input = payload.value;`);
1593
- const ids = Object.create(null);
1594
- let counter = 0;
1595
- for (const key of normalized.keys) ids[key] = `key_${counter++}`;
1596
- doc.write(`const newResult = {};`);
1597
- for (const key of normalized.keys) {
1598
- const id = ids[key];
1599
- const k = esc(key);
1600
- const schema = shape[key];
1601
- const isOptionalIn = schema?._zod?.optin === "optional";
1602
- const isOptionalOut = schema?._zod?.optout === "optional";
1603
- doc.write(`const ${id} = ${parseStr(key)};`);
1604
- if (isOptionalIn && isOptionalOut) doc.write(`
1605
- if (${id}.issues.length) {
1606
- if (${k} in input) {
1607
- payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
1608
- ...iss,
1609
- path: iss.path ? [${k}, ...iss.path] : [${k}]
1610
- })));
1611
- }
1612
- }
1613
-
1614
- if (${id}.value === undefined) {
1615
- if (${k} in input) {
1616
- newResult[${k}] = undefined;
1617
- }
1618
- } else {
1619
- newResult[${k}] = ${id}.value;
1620
- }
1621
-
1622
- `);
1623
- else if (!isOptionalIn) doc.write(`
1624
- const ${id}_present = ${k} in input;
1625
- if (${id}.issues.length) {
1626
- payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
1627
- ...iss,
1628
- path: iss.path ? [${k}, ...iss.path] : [${k}]
1629
- })));
1630
- }
1631
- if (!${id}_present && !${id}.issues.length) {
1632
- payload.issues.push({
1633
- code: "invalid_type",
1634
- expected: "nonoptional",
1635
- input: undefined,
1636
- path: [${k}]
1637
- });
1638
- }
1639
-
1640
- if (${id}_present) {
1641
- if (${id}.value === undefined) {
1642
- newResult[${k}] = undefined;
1643
- } else {
1644
- newResult[${k}] = ${id}.value;
1645
- }
1646
- }
1647
-
1648
- `);
1649
- else doc.write(`
1650
- if (${id}.issues.length) {
1651
- payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
1652
- ...iss,
1653
- path: iss.path ? [${k}, ...iss.path] : [${k}]
1654
- })));
1655
- }
1656
-
1657
- if (${id}.value === undefined) {
1658
- if (${k} in input) {
1659
- newResult[${k}] = undefined;
1660
- }
1661
- } else {
1662
- newResult[${k}] = ${id}.value;
1663
- }
1664
-
1665
- `);
1666
- }
1667
- doc.write(`payload.value = newResult;`);
1668
- doc.write(`return payload;`);
1669
- const fn = doc.compile();
1670
- return (payload, ctx) => fn(shape, payload, ctx);
1671
- };
1672
- let fastpass;
1673
- const isObject$2 = isObject;
1674
- const jit = !globalConfig.jitless;
1675
- const fastEnabled = jit && allowsEval.value;
1676
- const catchall = def.catchall;
1677
- let value;
1678
- inst._zod.parse = (payload, ctx) => {
1679
- value ?? (value = _normalized.value);
1680
- const input = payload.value;
1681
- if (!isObject$2(input)) {
1682
- payload.issues.push({
1683
- expected: "object",
1684
- code: "invalid_type",
1685
- input,
1686
- inst
1687
- });
1688
- return payload;
1689
- }
1690
- if (jit && fastEnabled && ctx?.async === false && ctx.jitless !== true) {
1691
- if (!fastpass) fastpass = generateFastpass(def.shape);
1692
- payload = fastpass(payload, ctx);
1693
- if (!catchall) return payload;
1694
- return handleCatchall([], input, payload, ctx, value, inst);
1695
- }
1696
- return superParse(payload, ctx);
1697
- };
1698
- });
1699
- function handleUnionResults(results, final, inst, ctx) {
1700
- for (const result of results) if (result.issues.length === 0) {
1701
- final.value = result.value;
1702
- return final;
1703
- }
1704
- const nonaborted = results.filter((r) => !aborted(r));
1705
- if (nonaborted.length === 1) {
1706
- final.value = nonaborted[0].value;
1707
- return nonaborted[0];
1708
- }
1709
- final.issues.push({
1710
- code: "invalid_union",
1711
- input: final.value,
1712
- inst,
1713
- errors: results.map((result) => result.issues.map((iss) => finalizeIssue(iss, ctx, config())))
1714
- });
1715
- return final;
1716
- }
1717
- const $ZodUnion = /*@__PURE__*/ $constructor("$ZodUnion", (inst, def) => {
1718
- $ZodType.init(inst, def);
1719
- defineLazy(inst._zod, "optin", () => def.options.some((o) => o._zod.optin === "optional") ? "optional" : void 0);
1720
- defineLazy(inst._zod, "optout", () => def.options.some((o) => o._zod.optout === "optional") ? "optional" : void 0);
1721
- defineLazy(inst._zod, "values", () => {
1722
- if (def.options.every((o) => o._zod.values)) return new Set(def.options.flatMap((option) => Array.from(option._zod.values)));
1723
- });
1724
- defineLazy(inst._zod, "pattern", () => {
1725
- if (def.options.every((o) => o._zod.pattern)) {
1726
- const patterns = def.options.map((o) => o._zod.pattern);
1727
- return new RegExp(`^(${patterns.map((p) => cleanRegex(p.source)).join("|")})$`);
1728
- }
1729
- });
1730
- const first = def.options.length === 1 ? def.options[0]._zod.run : null;
1731
- inst._zod.parse = (payload, ctx) => {
1732
- if (first) return first(payload, ctx);
1733
- let async = false;
1734
- const results = [];
1735
- for (const option of def.options) {
1736
- const result = option._zod.run({
1737
- value: payload.value,
1738
- issues: []
1739
- }, ctx);
1740
- if (result instanceof Promise) {
1741
- results.push(result);
1742
- async = true;
1743
- } else {
1744
- if (result.issues.length === 0) return result;
1745
- results.push(result);
1746
- }
1747
- }
1748
- if (!async) return handleUnionResults(results, payload, inst, ctx);
1749
- return Promise.all(results).then((results) => {
1750
- return handleUnionResults(results, payload, inst, ctx);
1751
- });
1752
- };
1753
- });
1754
- const $ZodIntersection = /*@__PURE__*/ $constructor("$ZodIntersection", (inst, def) => {
1755
- $ZodType.init(inst, def);
1756
- inst._zod.parse = (payload, ctx) => {
1757
- const input = payload.value;
1758
- const left = def.left._zod.run({
1759
- value: input,
1760
- issues: []
1761
- }, ctx);
1762
- const right = def.right._zod.run({
1763
- value: input,
1764
- issues: []
1765
- }, ctx);
1766
- if (left instanceof Promise || right instanceof Promise) return Promise.all([left, right]).then(([left, right]) => {
1767
- return handleIntersectionResults(payload, left, right);
1768
- });
1769
- return handleIntersectionResults(payload, left, right);
1770
- };
1771
- });
1772
- function mergeValues(a, b) {
1773
- if (a === b) return {
1774
- valid: true,
1775
- data: a
1776
- };
1777
- if (a instanceof Date && b instanceof Date && +a === +b) return {
1778
- valid: true,
1779
- data: a
1780
- };
1781
- if (isPlainObject(a) && isPlainObject(b)) {
1782
- const bKeys = Object.keys(b);
1783
- const sharedKeys = Object.keys(a).filter((key) => bKeys.indexOf(key) !== -1);
1784
- const newObj = {
1785
- ...a,
1786
- ...b
1787
- };
1788
- for (const key of sharedKeys) {
1789
- const sharedValue = mergeValues(a[key], b[key]);
1790
- if (!sharedValue.valid) return {
1791
- valid: false,
1792
- mergeErrorPath: [key, ...sharedValue.mergeErrorPath]
1793
- };
1794
- newObj[key] = sharedValue.data;
1795
- }
1796
- return {
1797
- valid: true,
1798
- data: newObj
1799
- };
1800
- }
1801
- if (Array.isArray(a) && Array.isArray(b)) {
1802
- if (a.length !== b.length) return {
1803
- valid: false,
1804
- mergeErrorPath: []
1805
- };
1806
- const newArray = [];
1807
- for (let index = 0; index < a.length; index++) {
1808
- const itemA = a[index];
1809
- const itemB = b[index];
1810
- const sharedValue = mergeValues(itemA, itemB);
1811
- if (!sharedValue.valid) return {
1812
- valid: false,
1813
- mergeErrorPath: [index, ...sharedValue.mergeErrorPath]
1814
- };
1815
- newArray.push(sharedValue.data);
1816
- }
1817
- return {
1818
- valid: true,
1819
- data: newArray
1820
- };
1821
- }
1822
- return {
1823
- valid: false,
1824
- mergeErrorPath: []
1825
- };
1826
- }
1827
- function handleIntersectionResults(result, left, right) {
1828
- const unrecKeys = /* @__PURE__ */ new Map();
1829
- let unrecIssue;
1830
- for (const iss of left.issues) if (iss.code === "unrecognized_keys") {
1831
- unrecIssue ?? (unrecIssue = iss);
1832
- for (const k of iss.keys) {
1833
- if (!unrecKeys.has(k)) unrecKeys.set(k, {});
1834
- unrecKeys.get(k).l = true;
1835
- }
1836
- } else result.issues.push(iss);
1837
- for (const iss of right.issues) if (iss.code === "unrecognized_keys") for (const k of iss.keys) {
1838
- if (!unrecKeys.has(k)) unrecKeys.set(k, {});
1839
- unrecKeys.get(k).r = true;
1840
- }
1841
- else result.issues.push(iss);
1842
- const bothKeys = [...unrecKeys].filter(([, f]) => f.l && f.r).map(([k]) => k);
1843
- if (bothKeys.length && unrecIssue) result.issues.push({
1844
- ...unrecIssue,
1845
- keys: bothKeys
1846
- });
1847
- if (aborted(result)) return result;
1848
- const merged = mergeValues(left.value, right.value);
1849
- if (!merged.valid) throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(merged.mergeErrorPath)}`);
1850
- result.value = merged.data;
1851
- return result;
1852
- }
1853
- const $ZodEnum = /*@__PURE__*/ $constructor("$ZodEnum", (inst, def) => {
1854
- $ZodType.init(inst, def);
1855
- const values = getEnumValues(def.entries);
1856
- const valuesSet = new Set(values);
1857
- inst._zod.values = valuesSet;
1858
- inst._zod.pattern = new RegExp(`^(${values.filter((k) => propertyKeyTypes.has(typeof k)).map((o) => typeof o === "string" ? escapeRegex(o) : o.toString()).join("|")})$`);
1859
- inst._zod.parse = (payload, _ctx) => {
1860
- const input = payload.value;
1861
- if (valuesSet.has(input)) return payload;
1862
- payload.issues.push({
1863
- code: "invalid_value",
1864
- values,
1865
- input,
1866
- inst
1867
- });
1868
- return payload;
1869
- };
1870
- });
1871
- const $ZodLiteral = /*@__PURE__*/ $constructor("$ZodLiteral", (inst, def) => {
1872
- $ZodType.init(inst, def);
1873
- if (def.values.length === 0) throw new Error("Cannot create literal schema with no valid values");
1874
- const values = new Set(def.values);
1875
- inst._zod.values = values;
1876
- inst._zod.pattern = new RegExp(`^(${def.values.map((o) => typeof o === "string" ? escapeRegex(o) : o ? escapeRegex(o.toString()) : String(o)).join("|")})$`);
1877
- inst._zod.parse = (payload, _ctx) => {
1878
- const input = payload.value;
1879
- if (values.has(input)) return payload;
1880
- payload.issues.push({
1881
- code: "invalid_value",
1882
- values: def.values,
1883
- input,
1884
- inst
1885
- });
1886
- return payload;
1887
- };
1888
- });
1889
- const $ZodTransform = /*@__PURE__*/ $constructor("$ZodTransform", (inst, def) => {
1890
- $ZodType.init(inst, def);
1891
- inst._zod.optin = "optional";
1892
- inst._zod.parse = (payload, ctx) => {
1893
- if (ctx.direction === "backward") throw new $ZodEncodeError(inst.constructor.name);
1894
- const _out = def.transform(payload.value, payload);
1895
- if (ctx.async) return (_out instanceof Promise ? _out : Promise.resolve(_out)).then((output) => {
1896
- payload.value = output;
1897
- payload.fallback = true;
1898
- return payload;
1899
- });
1900
- if (_out instanceof Promise) throw new $ZodAsyncError();
1901
- payload.value = _out;
1902
- payload.fallback = true;
1903
- return payload;
1904
- };
1905
- });
1906
- function handleOptionalResult(result, input) {
1907
- if (input === void 0 && (result.issues.length || result.fallback)) return {
1908
- issues: [],
1909
- value: void 0
1910
- };
1911
- return result;
1912
- }
1913
- const $ZodOptional = /*@__PURE__*/ $constructor("$ZodOptional", (inst, def) => {
1914
- $ZodType.init(inst, def);
1915
- inst._zod.optin = "optional";
1916
- inst._zod.optout = "optional";
1917
- defineLazy(inst._zod, "values", () => {
1918
- return def.innerType._zod.values ? new Set([...def.innerType._zod.values, void 0]) : void 0;
1919
- });
1920
- defineLazy(inst._zod, "pattern", () => {
1921
- const pattern = def.innerType._zod.pattern;
1922
- return pattern ? new RegExp(`^(${cleanRegex(pattern.source)})?$`) : void 0;
1923
- });
1924
- inst._zod.parse = (payload, ctx) => {
1925
- if (def.innerType._zod.optin === "optional") {
1926
- const input = payload.value;
1927
- const result = def.innerType._zod.run(payload, ctx);
1928
- if (result instanceof Promise) return result.then((r) => handleOptionalResult(r, input));
1929
- return handleOptionalResult(result, input);
1930
- }
1931
- if (payload.value === void 0) return payload;
1932
- return def.innerType._zod.run(payload, ctx);
1933
- };
1934
- });
1935
- const $ZodExactOptional = /*@__PURE__*/ $constructor("$ZodExactOptional", (inst, def) => {
1936
- $ZodOptional.init(inst, def);
1937
- defineLazy(inst._zod, "values", () => def.innerType._zod.values);
1938
- defineLazy(inst._zod, "pattern", () => def.innerType._zod.pattern);
1939
- inst._zod.parse = (payload, ctx) => {
1940
- return def.innerType._zod.run(payload, ctx);
1941
- };
1942
- });
1943
- const $ZodNullable = /*@__PURE__*/ $constructor("$ZodNullable", (inst, def) => {
1944
- $ZodType.init(inst, def);
1945
- defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
1946
- defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
1947
- defineLazy(inst._zod, "pattern", () => {
1948
- const pattern = def.innerType._zod.pattern;
1949
- return pattern ? new RegExp(`^(${cleanRegex(pattern.source)}|null)$`) : void 0;
1950
- });
1951
- defineLazy(inst._zod, "values", () => {
1952
- return def.innerType._zod.values ? new Set([...def.innerType._zod.values, null]) : void 0;
1953
- });
1954
- inst._zod.parse = (payload, ctx) => {
1955
- if (payload.value === null) return payload;
1956
- return def.innerType._zod.run(payload, ctx);
1957
- };
1958
- });
1959
- const $ZodDefault = /*@__PURE__*/ $constructor("$ZodDefault", (inst, def) => {
1960
- $ZodType.init(inst, def);
1961
- inst._zod.optin = "optional";
1962
- defineLazy(inst._zod, "values", () => def.innerType._zod.values);
1963
- inst._zod.parse = (payload, ctx) => {
1964
- if (ctx.direction === "backward") return def.innerType._zod.run(payload, ctx);
1965
- if (payload.value === void 0) {
1966
- payload.value = def.defaultValue;
1967
- /**
1968
- * $ZodDefault returns the default value immediately in forward direction.
1969
- * It doesn't pass the default value into the validator ("prefault"). There's no reason to pass the default value through validation. The validity of the default is enforced by TypeScript statically. Otherwise, it's the responsibility of the user to ensure the default is valid. In the case of pipes with divergent in/out types, you can specify the default on the `in` schema of your ZodPipe to set a "prefault" for the pipe. */
1970
- return payload;
1971
- }
1972
- const result = def.innerType._zod.run(payload, ctx);
1973
- if (result instanceof Promise) return result.then((result) => handleDefaultResult(result, def));
1974
- return handleDefaultResult(result, def);
1975
- };
1976
- });
1977
- function handleDefaultResult(payload, def) {
1978
- if (payload.value === void 0) payload.value = def.defaultValue;
1979
- return payload;
1980
- }
1981
- const $ZodPrefault = /*@__PURE__*/ $constructor("$ZodPrefault", (inst, def) => {
1982
- $ZodType.init(inst, def);
1983
- inst._zod.optin = "optional";
1984
- defineLazy(inst._zod, "values", () => def.innerType._zod.values);
1985
- inst._zod.parse = (payload, ctx) => {
1986
- if (ctx.direction === "backward") return def.innerType._zod.run(payload, ctx);
1987
- if (payload.value === void 0) payload.value = def.defaultValue;
1988
- return def.innerType._zod.run(payload, ctx);
1989
- };
1990
- });
1991
- const $ZodNonOptional = /*@__PURE__*/ $constructor("$ZodNonOptional", (inst, def) => {
1992
- $ZodType.init(inst, def);
1993
- defineLazy(inst._zod, "values", () => {
1994
- const v = def.innerType._zod.values;
1995
- return v ? new Set([...v].filter((x) => x !== void 0)) : void 0;
1996
- });
1997
- inst._zod.parse = (payload, ctx) => {
1998
- const result = def.innerType._zod.run(payload, ctx);
1999
- if (result instanceof Promise) return result.then((result) => handleNonOptionalResult(result, inst));
2000
- return handleNonOptionalResult(result, inst);
2001
- };
2002
- });
2003
- function handleNonOptionalResult(payload, inst) {
2004
- if (!payload.issues.length && payload.value === void 0) payload.issues.push({
2005
- code: "invalid_type",
2006
- expected: "nonoptional",
2007
- input: payload.value,
2008
- inst
2009
- });
2010
- return payload;
2011
- }
2012
- const $ZodCatch = /*@__PURE__*/ $constructor("$ZodCatch", (inst, def) => {
2013
- $ZodType.init(inst, def);
2014
- inst._zod.optin = "optional";
2015
- defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
2016
- defineLazy(inst._zod, "values", () => def.innerType._zod.values);
2017
- inst._zod.parse = (payload, ctx) => {
2018
- if (ctx.direction === "backward") return def.innerType._zod.run(payload, ctx);
2019
- const result = def.innerType._zod.run(payload, ctx);
2020
- if (result instanceof Promise) return result.then((result) => {
2021
- payload.value = result.value;
2022
- if (result.issues.length) {
2023
- payload.value = def.catchValue({
2024
- ...payload,
2025
- error: { issues: result.issues.map((iss) => finalizeIssue(iss, ctx, config())) },
2026
- input: payload.value
2027
- });
2028
- payload.issues = [];
2029
- payload.fallback = true;
2030
- }
2031
- return payload;
2032
- });
2033
- payload.value = result.value;
2034
- if (result.issues.length) {
2035
- payload.value = def.catchValue({
2036
- ...payload,
2037
- error: { issues: result.issues.map((iss) => finalizeIssue(iss, ctx, config())) },
2038
- input: payload.value
2039
- });
2040
- payload.issues = [];
2041
- payload.fallback = true;
2042
- }
2043
- return payload;
2044
- };
2045
- });
2046
- const $ZodPipe = /*@__PURE__*/ $constructor("$ZodPipe", (inst, def) => {
2047
- $ZodType.init(inst, def);
2048
- defineLazy(inst._zod, "values", () => def.in._zod.values);
2049
- defineLazy(inst._zod, "optin", () => def.in._zod.optin);
2050
- defineLazy(inst._zod, "optout", () => def.out._zod.optout);
2051
- defineLazy(inst._zod, "propValues", () => def.in._zod.propValues);
2052
- inst._zod.parse = (payload, ctx) => {
2053
- if (ctx.direction === "backward") {
2054
- const right = def.out._zod.run(payload, ctx);
2055
- if (right instanceof Promise) return right.then((right) => handlePipeResult(right, def.in, ctx));
2056
- return handlePipeResult(right, def.in, ctx);
2057
- }
2058
- const left = def.in._zod.run(payload, ctx);
2059
- if (left instanceof Promise) return left.then((left) => handlePipeResult(left, def.out, ctx));
2060
- return handlePipeResult(left, def.out, ctx);
2061
- };
2062
- });
2063
- function handlePipeResult(left, next, ctx) {
2064
- if (left.issues.length) {
2065
- left.aborted = true;
2066
- return left;
2067
- }
2068
- return next._zod.run({
2069
- value: left.value,
2070
- issues: left.issues,
2071
- fallback: left.fallback
2072
- }, ctx);
2073
- }
2074
- const $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
2075
- $ZodType.init(inst, def);
2076
- defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
2077
- defineLazy(inst._zod, "values", () => def.innerType._zod.values);
2078
- defineLazy(inst._zod, "optin", () => def.innerType?._zod?.optin);
2079
- defineLazy(inst._zod, "optout", () => def.innerType?._zod?.optout);
2080
- inst._zod.parse = (payload, ctx) => {
2081
- if (ctx.direction === "backward") return def.innerType._zod.run(payload, ctx);
2082
- const result = def.innerType._zod.run(payload, ctx);
2083
- if (result instanceof Promise) return result.then(handleReadonlyResult);
2084
- return handleReadonlyResult(result);
2085
- };
2086
- });
2087
- function handleReadonlyResult(payload) {
2088
- payload.value = Object.freeze(payload.value);
2089
- return payload;
2090
- }
2091
- const $ZodCustom = /*@__PURE__*/ $constructor("$ZodCustom", (inst, def) => {
2092
- $ZodCheck.init(inst, def);
2093
- $ZodType.init(inst, def);
2094
- inst._zod.parse = (payload, _) => {
2095
- return payload;
2096
- };
2097
- inst._zod.check = (payload) => {
2098
- const input = payload.value;
2099
- const r = def.fn(input);
2100
- if (r instanceof Promise) return r.then((r) => handleRefineResult(r, payload, input, inst));
2101
- handleRefineResult(r, payload, input, inst);
2102
- };
2103
- });
2104
- function handleRefineResult(result, payload, input, inst) {
2105
- if (!result) {
2106
- const _iss = {
2107
- code: "custom",
2108
- input,
2109
- inst,
2110
- path: [...inst._zod.def.path ?? []],
2111
- continue: !inst._zod.def.abort
2112
- };
2113
- if (inst._zod.def.params) _iss.params = inst._zod.def.params;
2114
- payload.issues.push(issue(_iss));
2115
- }
2116
- }
2117
- //#endregion
2118
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js
2119
- var _a;
2120
- var $ZodRegistry = class {
2121
- constructor() {
2122
- this._map = /* @__PURE__ */ new WeakMap();
2123
- this._idmap = /* @__PURE__ */ new Map();
2124
- }
2125
- add(schema, ..._meta) {
2126
- const meta = _meta[0];
2127
- this._map.set(schema, meta);
2128
- if (meta && typeof meta === "object" && "id" in meta) this._idmap.set(meta.id, schema);
2129
- return this;
2130
- }
2131
- clear() {
2132
- this._map = /* @__PURE__ */ new WeakMap();
2133
- this._idmap = /* @__PURE__ */ new Map();
2134
- return this;
2135
- }
2136
- remove(schema) {
2137
- const meta = this._map.get(schema);
2138
- if (meta && typeof meta === "object" && "id" in meta) this._idmap.delete(meta.id);
2139
- this._map.delete(schema);
2140
- return this;
2141
- }
2142
- get(schema) {
2143
- const p = schema._zod.parent;
2144
- if (p) {
2145
- const pm = { ...this.get(p) ?? {} };
2146
- delete pm.id;
2147
- const f = {
2148
- ...pm,
2149
- ...this._map.get(schema)
2150
- };
2151
- return Object.keys(f).length ? f : void 0;
2152
- }
2153
- return this._map.get(schema);
2154
- }
2155
- has(schema) {
2156
- return this._map.has(schema);
2157
- }
2158
- };
2159
- function registry() {
2160
- return new $ZodRegistry();
2161
- }
2162
- (_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
2163
- const globalRegistry = globalThis.__zod_globalRegistry;
2164
- //#endregion
2165
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.js
2166
- // @__NO_SIDE_EFFECTS__
2167
- function _string(Class, params) {
2168
- return new Class({
2169
- type: "string",
2170
- ...normalizeParams(params)
2171
- });
2172
- }
2173
- // @__NO_SIDE_EFFECTS__
2174
- function _email(Class, params) {
2175
- return new Class({
2176
- type: "string",
2177
- format: "email",
2178
- check: "string_format",
2179
- abort: false,
2180
- ...normalizeParams(params)
2181
- });
2182
- }
2183
- // @__NO_SIDE_EFFECTS__
2184
- function _guid(Class, params) {
2185
- return new Class({
2186
- type: "string",
2187
- format: "guid",
2188
- check: "string_format",
2189
- abort: false,
2190
- ...normalizeParams(params)
2191
- });
2192
- }
2193
- // @__NO_SIDE_EFFECTS__
2194
- function _uuid(Class, params) {
2195
- return new Class({
2196
- type: "string",
2197
- format: "uuid",
2198
- check: "string_format",
2199
- abort: false,
2200
- ...normalizeParams(params)
2201
- });
2202
- }
2203
- // @__NO_SIDE_EFFECTS__
2204
- function _uuidv4(Class, params) {
2205
- return new Class({
2206
- type: "string",
2207
- format: "uuid",
2208
- check: "string_format",
2209
- abort: false,
2210
- version: "v4",
2211
- ...normalizeParams(params)
2212
- });
2213
- }
2214
- // @__NO_SIDE_EFFECTS__
2215
- function _uuidv6(Class, params) {
2216
- return new Class({
2217
- type: "string",
2218
- format: "uuid",
2219
- check: "string_format",
2220
- abort: false,
2221
- version: "v6",
2222
- ...normalizeParams(params)
2223
- });
2224
- }
2225
- // @__NO_SIDE_EFFECTS__
2226
- function _uuidv7(Class, params) {
2227
- return new Class({
2228
- type: "string",
2229
- format: "uuid",
2230
- check: "string_format",
2231
- abort: false,
2232
- version: "v7",
2233
- ...normalizeParams(params)
2234
- });
2235
- }
2236
- // @__NO_SIDE_EFFECTS__
2237
- function _url(Class, params) {
2238
- return new Class({
2239
- type: "string",
2240
- format: "url",
2241
- check: "string_format",
2242
- abort: false,
2243
- ...normalizeParams(params)
2244
- });
2245
- }
2246
- // @__NO_SIDE_EFFECTS__
2247
- function _emoji(Class, params) {
2248
- return new Class({
2249
- type: "string",
2250
- format: "emoji",
2251
- check: "string_format",
2252
- abort: false,
2253
- ...normalizeParams(params)
2254
- });
2255
- }
2256
- // @__NO_SIDE_EFFECTS__
2257
- function _nanoid(Class, params) {
2258
- return new Class({
2259
- type: "string",
2260
- format: "nanoid",
2261
- check: "string_format",
2262
- abort: false,
2263
- ...normalizeParams(params)
2264
- });
2265
- }
2266
- /**
2267
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
2268
- * (timestamps embedded in the id). Use {@link _cuid2} instead.
2269
- * See https://github.com/paralleldrive/cuid.
2270
- */
2271
- // @__NO_SIDE_EFFECTS__
2272
- function _cuid(Class, params) {
2273
- return new Class({
2274
- type: "string",
2275
- format: "cuid",
2276
- check: "string_format",
2277
- abort: false,
2278
- ...normalizeParams(params)
2279
- });
2280
- }
2281
- // @__NO_SIDE_EFFECTS__
2282
- function _cuid2(Class, params) {
2283
- return new Class({
2284
- type: "string",
2285
- format: "cuid2",
2286
- check: "string_format",
2287
- abort: false,
2288
- ...normalizeParams(params)
2289
- });
2290
- }
2291
- // @__NO_SIDE_EFFECTS__
2292
- function _ulid(Class, params) {
2293
- return new Class({
2294
- type: "string",
2295
- format: "ulid",
2296
- check: "string_format",
2297
- abort: false,
2298
- ...normalizeParams(params)
2299
- });
2300
- }
2301
- // @__NO_SIDE_EFFECTS__
2302
- function _xid(Class, params) {
2303
- return new Class({
2304
- type: "string",
2305
- format: "xid",
2306
- check: "string_format",
2307
- abort: false,
2308
- ...normalizeParams(params)
2309
- });
2310
- }
2311
- // @__NO_SIDE_EFFECTS__
2312
- function _ksuid(Class, params) {
2313
- return new Class({
2314
- type: "string",
2315
- format: "ksuid",
2316
- check: "string_format",
2317
- abort: false,
2318
- ...normalizeParams(params)
2319
- });
2320
- }
2321
- // @__NO_SIDE_EFFECTS__
2322
- function _ipv4(Class, params) {
2323
- return new Class({
2324
- type: "string",
2325
- format: "ipv4",
2326
- check: "string_format",
2327
- abort: false,
2328
- ...normalizeParams(params)
2329
- });
2330
- }
2331
- // @__NO_SIDE_EFFECTS__
2332
- function _ipv6(Class, params) {
2333
- return new Class({
2334
- type: "string",
2335
- format: "ipv6",
2336
- check: "string_format",
2337
- abort: false,
2338
- ...normalizeParams(params)
2339
- });
2340
- }
2341
- // @__NO_SIDE_EFFECTS__
2342
- function _cidrv4(Class, params) {
2343
- return new Class({
2344
- type: "string",
2345
- format: "cidrv4",
2346
- check: "string_format",
2347
- abort: false,
2348
- ...normalizeParams(params)
2349
- });
2350
- }
2351
- // @__NO_SIDE_EFFECTS__
2352
- function _cidrv6(Class, params) {
2353
- return new Class({
2354
- type: "string",
2355
- format: "cidrv6",
2356
- check: "string_format",
2357
- abort: false,
2358
- ...normalizeParams(params)
2359
- });
2360
- }
2361
- // @__NO_SIDE_EFFECTS__
2362
- function _base64(Class, params) {
2363
- return new Class({
2364
- type: "string",
2365
- format: "base64",
2366
- check: "string_format",
2367
- abort: false,
2368
- ...normalizeParams(params)
2369
- });
2370
- }
2371
- // @__NO_SIDE_EFFECTS__
2372
- function _base64url(Class, params) {
2373
- return new Class({
2374
- type: "string",
2375
- format: "base64url",
2376
- check: "string_format",
2377
- abort: false,
2378
- ...normalizeParams(params)
2379
- });
2380
- }
2381
- // @__NO_SIDE_EFFECTS__
2382
- function _e164(Class, params) {
2383
- return new Class({
2384
- type: "string",
2385
- format: "e164",
2386
- check: "string_format",
2387
- abort: false,
2388
- ...normalizeParams(params)
2389
- });
2390
- }
2391
- // @__NO_SIDE_EFFECTS__
2392
- function _jwt(Class, params) {
2393
- return new Class({
2394
- type: "string",
2395
- format: "jwt",
2396
- check: "string_format",
2397
- abort: false,
2398
- ...normalizeParams(params)
2399
- });
2400
- }
2401
- // @__NO_SIDE_EFFECTS__
2402
- function _isoDateTime(Class, params) {
2403
- return new Class({
2404
- type: "string",
2405
- format: "datetime",
2406
- check: "string_format",
2407
- offset: false,
2408
- local: false,
2409
- precision: null,
2410
- ...normalizeParams(params)
2411
- });
2412
- }
2413
- // @__NO_SIDE_EFFECTS__
2414
- function _isoDate(Class, params) {
2415
- return new Class({
2416
- type: "string",
2417
- format: "date",
2418
- check: "string_format",
2419
- ...normalizeParams(params)
2420
- });
2421
- }
2422
- // @__NO_SIDE_EFFECTS__
2423
- function _isoTime(Class, params) {
2424
- return new Class({
2425
- type: "string",
2426
- format: "time",
2427
- check: "string_format",
2428
- precision: null,
2429
- ...normalizeParams(params)
2430
- });
2431
- }
2432
- // @__NO_SIDE_EFFECTS__
2433
- function _isoDuration(Class, params) {
2434
- return new Class({
2435
- type: "string",
2436
- format: "duration",
2437
- check: "string_format",
2438
- ...normalizeParams(params)
2439
- });
2440
- }
2441
- // @__NO_SIDE_EFFECTS__
2442
- function _number(Class, params) {
2443
- return new Class({
2444
- type: "number",
2445
- checks: [],
2446
- ...normalizeParams(params)
2447
- });
2448
- }
2449
- // @__NO_SIDE_EFFECTS__
2450
- function _int(Class, params) {
2451
- return new Class({
2452
- type: "number",
2453
- check: "number_format",
2454
- abort: false,
2455
- format: "safeint",
2456
- ...normalizeParams(params)
2457
- });
2458
- }
2459
- // @__NO_SIDE_EFFECTS__
2460
- function _unknown(Class) {
2461
- return new Class({ type: "unknown" });
2462
- }
2463
- // @__NO_SIDE_EFFECTS__
2464
- function _never(Class, params) {
2465
- return new Class({
2466
- type: "never",
2467
- ...normalizeParams(params)
2468
- });
2469
- }
2470
- // @__NO_SIDE_EFFECTS__
2471
- function _lt(value, params) {
2472
- return new $ZodCheckLessThan({
2473
- check: "less_than",
2474
- ...normalizeParams(params),
2475
- value,
2476
- inclusive: false
2477
- });
2478
- }
2479
- // @__NO_SIDE_EFFECTS__
2480
- function _lte(value, params) {
2481
- return new $ZodCheckLessThan({
2482
- check: "less_than",
2483
- ...normalizeParams(params),
2484
- value,
2485
- inclusive: true
2486
- });
2487
- }
2488
- // @__NO_SIDE_EFFECTS__
2489
- function _gt(value, params) {
2490
- return new $ZodCheckGreaterThan({
2491
- check: "greater_than",
2492
- ...normalizeParams(params),
2493
- value,
2494
- inclusive: false
2495
- });
2496
- }
2497
- // @__NO_SIDE_EFFECTS__
2498
- function _gte(value, params) {
2499
- return new $ZodCheckGreaterThan({
2500
- check: "greater_than",
2501
- ...normalizeParams(params),
2502
- value,
2503
- inclusive: true
2504
- });
2505
- }
2506
- // @__NO_SIDE_EFFECTS__
2507
- function _multipleOf(value, params) {
2508
- return new $ZodCheckMultipleOf({
2509
- check: "multiple_of",
2510
- ...normalizeParams(params),
2511
- value
2512
- });
2513
- }
2514
- // @__NO_SIDE_EFFECTS__
2515
- function _maxLength(maximum, params) {
2516
- return new $ZodCheckMaxLength({
2517
- check: "max_length",
2518
- ...normalizeParams(params),
2519
- maximum
2520
- });
2521
- }
2522
- // @__NO_SIDE_EFFECTS__
2523
- function _minLength(minimum, params) {
2524
- return new $ZodCheckMinLength({
2525
- check: "min_length",
2526
- ...normalizeParams(params),
2527
- minimum
2528
- });
2529
- }
2530
- // @__NO_SIDE_EFFECTS__
2531
- function _length(length, params) {
2532
- return new $ZodCheckLengthEquals({
2533
- check: "length_equals",
2534
- ...normalizeParams(params),
2535
- length
2536
- });
2537
- }
2538
- // @__NO_SIDE_EFFECTS__
2539
- function _regex(pattern, params) {
2540
- return new $ZodCheckRegex({
2541
- check: "string_format",
2542
- format: "regex",
2543
- ...normalizeParams(params),
2544
- pattern
2545
- });
2546
- }
2547
- // @__NO_SIDE_EFFECTS__
2548
- function _lowercase(params) {
2549
- return new $ZodCheckLowerCase({
2550
- check: "string_format",
2551
- format: "lowercase",
2552
- ...normalizeParams(params)
2553
- });
2554
- }
2555
- // @__NO_SIDE_EFFECTS__
2556
- function _uppercase(params) {
2557
- return new $ZodCheckUpperCase({
2558
- check: "string_format",
2559
- format: "uppercase",
2560
- ...normalizeParams(params)
2561
- });
2562
- }
2563
- // @__NO_SIDE_EFFECTS__
2564
- function _includes(includes, params) {
2565
- return new $ZodCheckIncludes({
2566
- check: "string_format",
2567
- format: "includes",
2568
- ...normalizeParams(params),
2569
- includes
2570
- });
2571
- }
2572
- // @__NO_SIDE_EFFECTS__
2573
- function _startsWith(prefix, params) {
2574
- return new $ZodCheckStartsWith({
2575
- check: "string_format",
2576
- format: "starts_with",
2577
- ...normalizeParams(params),
2578
- prefix
2579
- });
2580
- }
2581
- // @__NO_SIDE_EFFECTS__
2582
- function _endsWith(suffix, params) {
2583
- return new $ZodCheckEndsWith({
2584
- check: "string_format",
2585
- format: "ends_with",
2586
- ...normalizeParams(params),
2587
- suffix
2588
- });
2589
- }
2590
- // @__NO_SIDE_EFFECTS__
2591
- function _overwrite(tx) {
2592
- return new $ZodCheckOverwrite({
2593
- check: "overwrite",
2594
- tx
2595
- });
2596
- }
2597
- // @__NO_SIDE_EFFECTS__
2598
- function _normalize(form) {
2599
- return /* @__PURE__ */ _overwrite((input) => input.normalize(form));
2600
- }
2601
- // @__NO_SIDE_EFFECTS__
2602
- function _trim() {
2603
- return /* @__PURE__ */ _overwrite((input) => input.trim());
2604
- }
2605
- // @__NO_SIDE_EFFECTS__
2606
- function _toLowerCase() {
2607
- return /* @__PURE__ */ _overwrite((input) => input.toLowerCase());
2608
- }
2609
- // @__NO_SIDE_EFFECTS__
2610
- function _toUpperCase() {
2611
- return /* @__PURE__ */ _overwrite((input) => input.toUpperCase());
2612
- }
2613
- // @__NO_SIDE_EFFECTS__
2614
- function _slugify() {
2615
- return /* @__PURE__ */ _overwrite((input) => slugify(input));
2616
- }
2617
- // @__NO_SIDE_EFFECTS__
2618
- function _array(Class, element, params) {
2619
- return new Class({
2620
- type: "array",
2621
- element,
2622
- ...normalizeParams(params)
2623
- });
2624
- }
2625
- // @__NO_SIDE_EFFECTS__
2626
- function _refine(Class, fn, _params) {
2627
- return new Class({
2628
- type: "custom",
2629
- check: "custom",
2630
- fn,
2631
- ...normalizeParams(_params)
2632
- });
2633
- }
2634
- // @__NO_SIDE_EFFECTS__
2635
- function _superRefine(fn, params) {
2636
- const ch = /* @__PURE__ */ _check((payload) => {
2637
- payload.addIssue = (issue$2) => {
2638
- if (typeof issue$2 === "string") payload.issues.push(issue(issue$2, payload.value, ch._zod.def));
2639
- else {
2640
- const _issue = issue$2;
2641
- if (_issue.fatal) _issue.continue = false;
2642
- _issue.code ?? (_issue.code = "custom");
2643
- _issue.input ?? (_issue.input = payload.value);
2644
- _issue.inst ?? (_issue.inst = ch);
2645
- _issue.continue ?? (_issue.continue = !ch._zod.def.abort);
2646
- payload.issues.push(issue(_issue));
2647
- }
2648
- };
2649
- return fn(payload.value, payload);
2650
- }, params);
2651
- return ch;
2652
- }
2653
- // @__NO_SIDE_EFFECTS__
2654
- function _check(fn, params) {
2655
- const ch = new $ZodCheck({
2656
- check: "custom",
2657
- ...normalizeParams(params)
2658
- });
2659
- ch._zod.check = fn;
2660
- return ch;
2661
- }
2662
- //#endregion
2663
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.js
2664
- function initializeContext(params) {
2665
- let target = params?.target ?? "draft-2020-12";
2666
- if (target === "draft-4") target = "draft-04";
2667
- if (target === "draft-7") target = "draft-07";
2668
- return {
2669
- processors: params.processors ?? {},
2670
- metadataRegistry: params?.metadata ?? globalRegistry,
2671
- target,
2672
- unrepresentable: params?.unrepresentable ?? "throw",
2673
- override: params?.override ?? (() => {}),
2674
- io: params?.io ?? "output",
2675
- counter: 0,
2676
- seen: /* @__PURE__ */ new Map(),
2677
- cycles: params?.cycles ?? "ref",
2678
- reused: params?.reused ?? "inline",
2679
- external: params?.external ?? void 0
2680
- };
2681
- }
2682
- function process(schema, ctx, _params = {
2683
- path: [],
2684
- schemaPath: []
2685
- }) {
2686
- var _a;
2687
- const def = schema._zod.def;
2688
- const seen = ctx.seen.get(schema);
2689
- if (seen) {
2690
- seen.count++;
2691
- if (_params.schemaPath.includes(schema)) seen.cycle = _params.path;
2692
- return seen.schema;
2693
- }
2694
- const result = {
2695
- schema: {},
2696
- count: 1,
2697
- cycle: void 0,
2698
- path: _params.path
2699
- };
2700
- ctx.seen.set(schema, result);
2701
- const overrideSchema = schema._zod.toJSONSchema?.();
2702
- if (overrideSchema) result.schema = overrideSchema;
2703
- else {
2704
- const params = {
2705
- ..._params,
2706
- schemaPath: [..._params.schemaPath, schema],
2707
- path: _params.path
2708
- };
2709
- if (schema._zod.processJSONSchema) schema._zod.processJSONSchema(ctx, result.schema, params);
2710
- else {
2711
- const _json = result.schema;
2712
- const processor = ctx.processors[def.type];
2713
- if (!processor) throw new Error(`[toJSONSchema]: Non-representable type encountered: ${def.type}`);
2714
- processor(schema, ctx, _json, params);
2715
- }
2716
- const parent = schema._zod.parent;
2717
- if (parent) {
2718
- if (!result.ref) result.ref = parent;
2719
- process(parent, ctx, params);
2720
- ctx.seen.get(parent).isParent = true;
2721
- }
2722
- }
2723
- const meta = ctx.metadataRegistry.get(schema);
2724
- if (meta) Object.assign(result.schema, meta);
2725
- if (ctx.io === "input" && isTransforming(schema)) {
2726
- delete result.schema.examples;
2727
- delete result.schema.default;
2728
- }
2729
- if (ctx.io === "input" && "_prefault" in result.schema) (_a = result.schema).default ?? (_a.default = result.schema._prefault);
2730
- delete result.schema._prefault;
2731
- return ctx.seen.get(schema).schema;
2732
- }
2733
- function extractDefs(ctx, schema) {
2734
- const root = ctx.seen.get(schema);
2735
- if (!root) throw new Error("Unprocessed schema. This is a bug in Zod.");
2736
- const idToSchema = /* @__PURE__ */ new Map();
2737
- for (const entry of ctx.seen.entries()) {
2738
- const id = ctx.metadataRegistry.get(entry[0])?.id;
2739
- if (id) {
2740
- const existing = idToSchema.get(id);
2741
- if (existing && existing !== entry[0]) throw new Error(`Duplicate schema id "${id}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);
2742
- idToSchema.set(id, entry[0]);
2743
- }
2744
- }
2745
- const makeURI = (entry) => {
2746
- const defsSegment = ctx.target === "draft-2020-12" ? "$defs" : "definitions";
2747
- if (ctx.external) {
2748
- const externalId = ctx.external.registry.get(entry[0])?.id;
2749
- const uriGenerator = ctx.external.uri ?? ((id) => id);
2750
- if (externalId) return { ref: uriGenerator(externalId) };
2751
- const id = entry[1].defId ?? entry[1].schema.id ?? `schema${ctx.counter++}`;
2752
- entry[1].defId = id;
2753
- return {
2754
- defId: id,
2755
- ref: `${uriGenerator("__shared")}#/${defsSegment}/${id}`
2756
- };
2757
- }
2758
- if (entry[1] === root) return { ref: "#" };
2759
- const defUriPrefix = `#/${defsSegment}/`;
2760
- const defId = entry[1].schema.id ?? `__schema${ctx.counter++}`;
2761
- return {
2762
- defId,
2763
- ref: defUriPrefix + defId
2764
- };
2765
- };
2766
- const extractToDef = (entry) => {
2767
- if (entry[1].schema.$ref) return;
2768
- const seen = entry[1];
2769
- const { ref, defId } = makeURI(entry);
2770
- seen.def = { ...seen.schema };
2771
- if (defId) seen.defId = defId;
2772
- const schema = seen.schema;
2773
- for (const key in schema) delete schema[key];
2774
- schema.$ref = ref;
2775
- };
2776
- if (ctx.cycles === "throw") for (const entry of ctx.seen.entries()) {
2777
- const seen = entry[1];
2778
- if (seen.cycle) throw new Error(`Cycle detected: #/${seen.cycle?.join("/")}/<root>
2779
-
2780
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`);
2781
- }
2782
- for (const entry of ctx.seen.entries()) {
2783
- const seen = entry[1];
2784
- if (schema === entry[0]) {
2785
- extractToDef(entry);
2786
- continue;
2787
- }
2788
- if (ctx.external) {
2789
- const ext = ctx.external.registry.get(entry[0])?.id;
2790
- if (schema !== entry[0] && ext) {
2791
- extractToDef(entry);
2792
- continue;
2793
- }
2794
- }
2795
- if (ctx.metadataRegistry.get(entry[0])?.id) {
2796
- extractToDef(entry);
2797
- continue;
2798
- }
2799
- if (seen.cycle) {
2800
- extractToDef(entry);
2801
- continue;
2802
- }
2803
- if (seen.count > 1) {
2804
- if (ctx.reused === "ref") {
2805
- extractToDef(entry);
2806
- continue;
2807
- }
2808
- }
2809
- }
2810
- }
2811
- function finalize(ctx, schema) {
2812
- const root = ctx.seen.get(schema);
2813
- if (!root) throw new Error("Unprocessed schema. This is a bug in Zod.");
2814
- const flattenRef = (zodSchema) => {
2815
- const seen = ctx.seen.get(zodSchema);
2816
- if (seen.ref === null) return;
2817
- const schema = seen.def ?? seen.schema;
2818
- const _cached = { ...schema };
2819
- const ref = seen.ref;
2820
- seen.ref = null;
2821
- if (ref) {
2822
- flattenRef(ref);
2823
- const refSeen = ctx.seen.get(ref);
2824
- const refSchema = refSeen.schema;
2825
- if (refSchema.$ref && (ctx.target === "draft-07" || ctx.target === "draft-04" || ctx.target === "openapi-3.0")) {
2826
- schema.allOf = schema.allOf ?? [];
2827
- schema.allOf.push(refSchema);
2828
- } else Object.assign(schema, refSchema);
2829
- Object.assign(schema, _cached);
2830
- if (zodSchema._zod.parent === ref) for (const key in schema) {
2831
- if (key === "$ref" || key === "allOf") continue;
2832
- if (!(key in _cached)) delete schema[key];
2833
- }
2834
- if (refSchema.$ref && refSeen.def) for (const key in schema) {
2835
- if (key === "$ref" || key === "allOf") continue;
2836
- if (key in refSeen.def && JSON.stringify(schema[key]) === JSON.stringify(refSeen.def[key])) delete schema[key];
2837
- }
2838
- }
2839
- const parent = zodSchema._zod.parent;
2840
- if (parent && parent !== ref) {
2841
- flattenRef(parent);
2842
- const parentSeen = ctx.seen.get(parent);
2843
- if (parentSeen?.schema.$ref) {
2844
- schema.$ref = parentSeen.schema.$ref;
2845
- if (parentSeen.def) for (const key in schema) {
2846
- if (key === "$ref" || key === "allOf") continue;
2847
- if (key in parentSeen.def && JSON.stringify(schema[key]) === JSON.stringify(parentSeen.def[key])) delete schema[key];
2848
- }
2849
- }
2850
- }
2851
- ctx.override({
2852
- zodSchema,
2853
- jsonSchema: schema,
2854
- path: seen.path ?? []
2855
- });
2856
- };
2857
- for (const entry of [...ctx.seen.entries()].reverse()) flattenRef(entry[0]);
2858
- const result = {};
2859
- if (ctx.target === "draft-2020-12") result.$schema = "https://json-schema.org/draft/2020-12/schema";
2860
- else if (ctx.target === "draft-07") result.$schema = "http://json-schema.org/draft-07/schema#";
2861
- else if (ctx.target === "draft-04") result.$schema = "http://json-schema.org/draft-04/schema#";
2862
- else if (ctx.target === "openapi-3.0") {}
2863
- if (ctx.external?.uri) {
2864
- const id = ctx.external.registry.get(schema)?.id;
2865
- if (!id) throw new Error("Schema is missing an `id` property");
2866
- result.$id = ctx.external.uri(id);
2867
- }
2868
- Object.assign(result, root.def ?? root.schema);
2869
- const rootMetaId = ctx.metadataRegistry.get(schema)?.id;
2870
- if (rootMetaId !== void 0 && result.id === rootMetaId) delete result.id;
2871
- const defs = ctx.external?.defs ?? {};
2872
- for (const entry of ctx.seen.entries()) {
2873
- const seen = entry[1];
2874
- if (seen.def && seen.defId) {
2875
- if (seen.def.id === seen.defId) delete seen.def.id;
2876
- defs[seen.defId] = seen.def;
2877
- }
2878
- }
2879
- if (ctx.external) {} else if (Object.keys(defs).length > 0) if (ctx.target === "draft-2020-12") result.$defs = defs;
2880
- else result.definitions = defs;
2881
- try {
2882
- const finalized = JSON.parse(JSON.stringify(result));
2883
- Object.defineProperty(finalized, "~standard", {
2884
- value: {
2885
- ...schema["~standard"],
2886
- jsonSchema: {
2887
- input: createStandardJSONSchemaMethod(schema, "input", ctx.processors),
2888
- output: createStandardJSONSchemaMethod(schema, "output", ctx.processors)
2889
- }
2890
- },
2891
- enumerable: false,
2892
- writable: false
2893
- });
2894
- return finalized;
2895
- } catch (_err) {
2896
- throw new Error("Error converting schema to JSON.");
2897
- }
2898
- }
2899
- function isTransforming(_schema, _ctx) {
2900
- const ctx = _ctx ?? { seen: /* @__PURE__ */ new Set() };
2901
- if (ctx.seen.has(_schema)) return false;
2902
- ctx.seen.add(_schema);
2903
- const def = _schema._zod.def;
2904
- if (def.type === "transform") return true;
2905
- if (def.type === "array") return isTransforming(def.element, ctx);
2906
- if (def.type === "set") return isTransforming(def.valueType, ctx);
2907
- if (def.type === "lazy") return isTransforming(def.getter(), ctx);
2908
- if (def.type === "promise" || def.type === "optional" || def.type === "nonoptional" || def.type === "nullable" || def.type === "readonly" || def.type === "default" || def.type === "prefault") return isTransforming(def.innerType, ctx);
2909
- if (def.type === "intersection") return isTransforming(def.left, ctx) || isTransforming(def.right, ctx);
2910
- if (def.type === "record" || def.type === "map") return isTransforming(def.keyType, ctx) || isTransforming(def.valueType, ctx);
2911
- if (def.type === "pipe") {
2912
- if (_schema._zod.traits.has("$ZodCodec")) return true;
2913
- return isTransforming(def.in, ctx) || isTransforming(def.out, ctx);
2914
- }
2915
- if (def.type === "object") {
2916
- for (const key in def.shape) if (isTransforming(def.shape[key], ctx)) return true;
2917
- return false;
2918
- }
2919
- if (def.type === "union") {
2920
- for (const option of def.options) if (isTransforming(option, ctx)) return true;
2921
- return false;
2922
- }
2923
- if (def.type === "tuple") {
2924
- for (const item of def.items) if (isTransforming(item, ctx)) return true;
2925
- if (def.rest && isTransforming(def.rest, ctx)) return true;
2926
- return false;
2927
- }
2928
- return false;
2929
- }
2930
- /**
2931
- * Creates a toJSONSchema method for a schema instance.
2932
- * This encapsulates the logic of initializing context, processing, extracting defs, and finalizing.
2933
- */
2934
- const createToJSONSchemaMethod = (schema, processors = {}) => (params) => {
2935
- const ctx = initializeContext({
2936
- ...params,
2937
- processors
2938
- });
2939
- process(schema, ctx);
2940
- extractDefs(ctx, schema);
2941
- return finalize(ctx, schema);
2942
- };
2943
- const createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) => {
2944
- const { libraryOptions, target } = params ?? {};
2945
- const ctx = initializeContext({
2946
- ...libraryOptions ?? {},
2947
- target,
2948
- io,
2949
- processors
2950
- });
2951
- process(schema, ctx);
2952
- extractDefs(ctx, schema);
2953
- return finalize(ctx, schema);
2954
- };
2955
- //#endregion
2956
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.js
2957
- const formatMap = {
2958
- guid: "uuid",
2959
- url: "uri",
2960
- datetime: "date-time",
2961
- json_string: "json-string",
2962
- regex: ""
2963
- };
2964
- const stringProcessor = (schema, ctx, _json, _params) => {
2965
- const json = _json;
2966
- json.type = "string";
2967
- const { minimum, maximum, format, patterns, contentEncoding } = schema._zod.bag;
2968
- if (typeof minimum === "number") json.minLength = minimum;
2969
- if (typeof maximum === "number") json.maxLength = maximum;
2970
- if (format) {
2971
- json.format = formatMap[format] ?? format;
2972
- if (json.format === "") delete json.format;
2973
- if (format === "time") delete json.format;
2974
- }
2975
- if (contentEncoding) json.contentEncoding = contentEncoding;
2976
- if (patterns && patterns.size > 0) {
2977
- const regexes = [...patterns];
2978
- if (regexes.length === 1) json.pattern = regexes[0].source;
2979
- else if (regexes.length > 1) json.allOf = [...regexes.map((regex) => ({
2980
- ...ctx.target === "draft-07" || ctx.target === "draft-04" || ctx.target === "openapi-3.0" ? { type: "string" } : {},
2981
- pattern: regex.source
2982
- }))];
2983
- }
2984
- };
2985
- const numberProcessor = (schema, ctx, _json, _params) => {
2986
- const json = _json;
2987
- const { minimum, maximum, format, multipleOf, exclusiveMaximum, exclusiveMinimum } = schema._zod.bag;
2988
- if (typeof format === "string" && format.includes("int")) json.type = "integer";
2989
- else json.type = "number";
2990
- const exMin = typeof exclusiveMinimum === "number" && exclusiveMinimum >= (minimum ?? Number.NEGATIVE_INFINITY);
2991
- const exMax = typeof exclusiveMaximum === "number" && exclusiveMaximum <= (maximum ?? Number.POSITIVE_INFINITY);
2992
- const legacy = ctx.target === "draft-04" || ctx.target === "openapi-3.0";
2993
- if (exMin) if (legacy) {
2994
- json.minimum = exclusiveMinimum;
2995
- json.exclusiveMinimum = true;
2996
- } else json.exclusiveMinimum = exclusiveMinimum;
2997
- else if (typeof minimum === "number") json.minimum = minimum;
2998
- if (exMax) if (legacy) {
2999
- json.maximum = exclusiveMaximum;
3000
- json.exclusiveMaximum = true;
3001
- } else json.exclusiveMaximum = exclusiveMaximum;
3002
- else if (typeof maximum === "number") json.maximum = maximum;
3003
- if (typeof multipleOf === "number") json.multipleOf = multipleOf;
3004
- };
3005
- const neverProcessor = (_schema, _ctx, json, _params) => {
3006
- json.not = {};
3007
- };
3008
- const enumProcessor = (schema, _ctx, json, _params) => {
3009
- const def = schema._zod.def;
3010
- const values = getEnumValues(def.entries);
3011
- if (values.every((v) => typeof v === "number")) json.type = "number";
3012
- if (values.every((v) => typeof v === "string")) json.type = "string";
3013
- json.enum = values;
3014
- };
3015
- const literalProcessor = (schema, ctx, json, _params) => {
3016
- const def = schema._zod.def;
3017
- const vals = [];
3018
- for (const val of def.values) if (val === void 0) {
3019
- if (ctx.unrepresentable === "throw") throw new Error("Literal `undefined` cannot be represented in JSON Schema");
3020
- } else if (typeof val === "bigint") if (ctx.unrepresentable === "throw") throw new Error("BigInt literals cannot be represented in JSON Schema");
3021
- else vals.push(Number(val));
3022
- else vals.push(val);
3023
- if (vals.length === 0) {} else if (vals.length === 1) {
3024
- const val = vals[0];
3025
- json.type = val === null ? "null" : typeof val;
3026
- if (ctx.target === "draft-04" || ctx.target === "openapi-3.0") json.enum = [val];
3027
- else json.const = val;
3028
- } else {
3029
- if (vals.every((v) => typeof v === "number")) json.type = "number";
3030
- if (vals.every((v) => typeof v === "string")) json.type = "string";
3031
- if (vals.every((v) => typeof v === "boolean")) json.type = "boolean";
3032
- if (vals.every((v) => v === null)) json.type = "null";
3033
- json.enum = vals;
3034
- }
3035
- };
3036
- const customProcessor = (_schema, ctx, _json, _params) => {
3037
- if (ctx.unrepresentable === "throw") throw new Error("Custom types cannot be represented in JSON Schema");
3038
- };
3039
- const transformProcessor = (_schema, ctx, _json, _params) => {
3040
- if (ctx.unrepresentable === "throw") throw new Error("Transforms cannot be represented in JSON Schema");
3041
- };
3042
- const arrayProcessor = (schema, ctx, _json, params) => {
3043
- const json = _json;
3044
- const def = schema._zod.def;
3045
- const { minimum, maximum } = schema._zod.bag;
3046
- if (typeof minimum === "number") json.minItems = minimum;
3047
- if (typeof maximum === "number") json.maxItems = maximum;
3048
- json.type = "array";
3049
- json.items = process(def.element, ctx, {
3050
- ...params,
3051
- path: [...params.path, "items"]
3052
- });
3053
- };
3054
- const objectProcessor = (schema, ctx, _json, params) => {
3055
- const json = _json;
3056
- const def = schema._zod.def;
3057
- json.type = "object";
3058
- json.properties = {};
3059
- const shape = def.shape;
3060
- for (const key in shape) json.properties[key] = process(shape[key], ctx, {
3061
- ...params,
3062
- path: [
3063
- ...params.path,
3064
- "properties",
3065
- key
3066
- ]
3067
- });
3068
- const allKeys = new Set(Object.keys(shape));
3069
- const requiredKeys = new Set([...allKeys].filter((key) => {
3070
- const v = def.shape[key]._zod;
3071
- if (ctx.io === "input") return v.optin === void 0;
3072
- else return v.optout === void 0;
3073
- }));
3074
- if (requiredKeys.size > 0) json.required = Array.from(requiredKeys);
3075
- if (def.catchall?._zod.def.type === "never") json.additionalProperties = false;
3076
- else if (!def.catchall) {
3077
- if (ctx.io === "output") json.additionalProperties = false;
3078
- } else if (def.catchall) json.additionalProperties = process(def.catchall, ctx, {
3079
- ...params,
3080
- path: [...params.path, "additionalProperties"]
3081
- });
3082
- };
3083
- const unionProcessor = (schema, ctx, json, params) => {
3084
- const def = schema._zod.def;
3085
- const isExclusive = def.inclusive === false;
3086
- const options = def.options.map((x, i) => process(x, ctx, {
3087
- ...params,
3088
- path: [
3089
- ...params.path,
3090
- isExclusive ? "oneOf" : "anyOf",
3091
- i
3092
- ]
3093
- }));
3094
- if (isExclusive) json.oneOf = options;
3095
- else json.anyOf = options;
3096
- };
3097
- const intersectionProcessor = (schema, ctx, json, params) => {
3098
- const def = schema._zod.def;
3099
- const a = process(def.left, ctx, {
3100
- ...params,
3101
- path: [
3102
- ...params.path,
3103
- "allOf",
3104
- 0
3105
- ]
3106
- });
3107
- const b = process(def.right, ctx, {
3108
- ...params,
3109
- path: [
3110
- ...params.path,
3111
- "allOf",
3112
- 1
3113
- ]
3114
- });
3115
- const isSimpleIntersection = (val) => "allOf" in val && Object.keys(val).length === 1;
3116
- json.allOf = [...isSimpleIntersection(a) ? a.allOf : [a], ...isSimpleIntersection(b) ? b.allOf : [b]];
3117
- };
3118
- const nullableProcessor = (schema, ctx, json, params) => {
3119
- const def = schema._zod.def;
3120
- const inner = process(def.innerType, ctx, params);
3121
- const seen = ctx.seen.get(schema);
3122
- if (ctx.target === "openapi-3.0") {
3123
- seen.ref = def.innerType;
3124
- json.nullable = true;
3125
- } else json.anyOf = [inner, { type: "null" }];
3126
- };
3127
- const nonoptionalProcessor = (schema, ctx, _json, params) => {
3128
- const def = schema._zod.def;
3129
- process(def.innerType, ctx, params);
3130
- const seen = ctx.seen.get(schema);
3131
- seen.ref = def.innerType;
3132
- };
3133
- const defaultProcessor = (schema, ctx, json, params) => {
3134
- const def = schema._zod.def;
3135
- process(def.innerType, ctx, params);
3136
- const seen = ctx.seen.get(schema);
3137
- seen.ref = def.innerType;
3138
- json.default = JSON.parse(JSON.stringify(def.defaultValue));
3139
- };
3140
- const prefaultProcessor = (schema, ctx, json, params) => {
3141
- const def = schema._zod.def;
3142
- process(def.innerType, ctx, params);
3143
- const seen = ctx.seen.get(schema);
3144
- seen.ref = def.innerType;
3145
- if (ctx.io === "input") json._prefault = JSON.parse(JSON.stringify(def.defaultValue));
3146
- };
3147
- const catchProcessor = (schema, ctx, json, params) => {
3148
- const def = schema._zod.def;
3149
- process(def.innerType, ctx, params);
3150
- const seen = ctx.seen.get(schema);
3151
- seen.ref = def.innerType;
3152
- let catchValue;
3153
- try {
3154
- catchValue = def.catchValue(void 0);
3155
- } catch {
3156
- throw new Error("Dynamic catch values are not supported in JSON Schema");
3157
- }
3158
- json.default = catchValue;
3159
- };
3160
- const pipeProcessor = (schema, ctx, _json, params) => {
3161
- const def = schema._zod.def;
3162
- const inIsTransform = def.in._zod.traits.has("$ZodTransform");
3163
- const innerType = ctx.io === "input" ? inIsTransform ? def.out : def.in : def.out;
3164
- process(innerType, ctx, params);
3165
- const seen = ctx.seen.get(schema);
3166
- seen.ref = innerType;
3167
- };
3168
- const readonlyProcessor = (schema, ctx, json, params) => {
3169
- const def = schema._zod.def;
3170
- process(def.innerType, ctx, params);
3171
- const seen = ctx.seen.get(schema);
3172
- seen.ref = def.innerType;
3173
- json.readOnly = true;
3174
- };
3175
- const optionalProcessor = (schema, ctx, _json, params) => {
3176
- const def = schema._zod.def;
3177
- process(def.innerType, ctx, params);
3178
- const seen = ctx.seen.get(schema);
3179
- seen.ref = def.innerType;
3180
- };
3181
- //#endregion
3182
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
3183
- const ZodISODateTime = /*@__PURE__*/ $constructor("ZodISODateTime", (inst, def) => {
3184
- $ZodISODateTime.init(inst, def);
3185
- ZodStringFormat.init(inst, def);
3186
- });
3187
- function datetime(params) {
3188
- return /* @__PURE__ */ _isoDateTime(ZodISODateTime, params);
3189
- }
3190
- const ZodISODate = /*@__PURE__*/ $constructor("ZodISODate", (inst, def) => {
3191
- $ZodISODate.init(inst, def);
3192
- ZodStringFormat.init(inst, def);
3193
- });
3194
- function date(params) {
3195
- return /* @__PURE__ */ _isoDate(ZodISODate, params);
3196
- }
3197
- const ZodISOTime = /*@__PURE__*/ $constructor("ZodISOTime", (inst, def) => {
3198
- $ZodISOTime.init(inst, def);
3199
- ZodStringFormat.init(inst, def);
3200
- });
3201
- function time(params) {
3202
- return /* @__PURE__ */ _isoTime(ZodISOTime, params);
3203
- }
3204
- const ZodISODuration = /*@__PURE__*/ $constructor("ZodISODuration", (inst, def) => {
3205
- $ZodISODuration.init(inst, def);
3206
- ZodStringFormat.init(inst, def);
3207
- });
3208
- function duration(params) {
3209
- return /* @__PURE__ */ _isoDuration(ZodISODuration, params);
3210
- }
3211
- //#endregion
3212
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.js
3213
- const initializer = (inst, issues) => {
3214
- $ZodError.init(inst, issues);
3215
- inst.name = "ZodError";
3216
- Object.defineProperties(inst, {
3217
- format: { value: (mapper) => formatError(inst, mapper) },
3218
- flatten: { value: (mapper) => flattenError(inst, mapper) },
3219
- addIssue: { value: (issue) => {
3220
- inst.issues.push(issue);
3221
- inst.message = JSON.stringify(inst.issues, jsonStringifyReplacer, 2);
3222
- } },
3223
- addIssues: { value: (issues) => {
3224
- inst.issues.push(...issues);
3225
- inst.message = JSON.stringify(inst.issues, jsonStringifyReplacer, 2);
3226
- } },
3227
- isEmpty: { get() {
3228
- return inst.issues.length === 0;
3229
- } }
3230
- });
3231
- };
3232
- const ZodRealError = /*@__PURE__*/ $constructor("ZodError", initializer, { Parent: Error });
3233
- //#endregion
3234
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.js
3235
- const parse = /* @__PURE__ */ _parse(ZodRealError);
3236
- const parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
3237
- const safeParse = /* @__PURE__ */ _safeParse(ZodRealError);
3238
- const safeParseAsync = /* @__PURE__ */ _safeParseAsync(ZodRealError);
3239
- const encode = /* @__PURE__ */ _encode(ZodRealError);
3240
- const decode = /* @__PURE__ */ _decode(ZodRealError);
3241
- const encodeAsync = /* @__PURE__ */ _encodeAsync(ZodRealError);
3242
- const decodeAsync = /* @__PURE__ */ _decodeAsync(ZodRealError);
3243
- const safeEncode = /* @__PURE__ */ _safeEncode(ZodRealError);
3244
- const safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
3245
- const safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
3246
- const safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
3247
- //#endregion
3248
- //#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
3249
- const _installedGroups = /* @__PURE__ */ new WeakMap();
3250
- function _installLazyMethods(inst, group, methods) {
3251
- const proto = Object.getPrototypeOf(inst);
3252
- let installed = _installedGroups.get(proto);
3253
- if (!installed) {
3254
- installed = /* @__PURE__ */ new Set();
3255
- _installedGroups.set(proto, installed);
3256
- }
3257
- if (installed.has(group)) return;
3258
- installed.add(group);
3259
- for (const key in methods) {
3260
- const fn = methods[key];
3261
- Object.defineProperty(proto, key, {
3262
- configurable: true,
3263
- enumerable: false,
3264
- get() {
3265
- const bound = fn.bind(this);
3266
- Object.defineProperty(this, key, {
3267
- configurable: true,
3268
- writable: true,
3269
- enumerable: true,
3270
- value: bound
3271
- });
3272
- return bound;
3273
- },
3274
- set(v) {
3275
- Object.defineProperty(this, key, {
3276
- configurable: true,
3277
- writable: true,
3278
- enumerable: true,
3279
- value: v
3280
- });
3281
- }
3282
- });
3283
386
  }
3284
- }
3285
- const ZodType = /*@__PURE__*/ $constructor("ZodType", (inst, def) => {
3286
- $ZodType.init(inst, def);
3287
- Object.assign(inst["~standard"], { jsonSchema: {
3288
- input: createStandardJSONSchemaMethod(inst, "input"),
3289
- output: createStandardJSONSchemaMethod(inst, "output")
3290
- } });
3291
- inst.toJSONSchema = createToJSONSchemaMethod(inst, {});
3292
- inst.def = def;
3293
- inst.type = def.type;
3294
- Object.defineProperty(inst, "_def", { value: def });
3295
- inst.parse = (data, params) => parse(inst, data, params, { callee: inst.parse });
3296
- inst.safeParse = (data, params) => safeParse(inst, data, params);
3297
- inst.parseAsync = async (data, params) => parseAsync(inst, data, params, { callee: inst.parseAsync });
3298
- inst.safeParseAsync = async (data, params) => safeParseAsync(inst, data, params);
3299
- inst.spa = inst.safeParseAsync;
3300
- inst.encode = (data, params) => encode(inst, data, params);
3301
- inst.decode = (data, params) => decode(inst, data, params);
3302
- inst.encodeAsync = async (data, params) => encodeAsync(inst, data, params);
3303
- inst.decodeAsync = async (data, params) => decodeAsync(inst, data, params);
3304
- inst.safeEncode = (data, params) => safeEncode(inst, data, params);
3305
- inst.safeDecode = (data, params) => safeDecode(inst, data, params);
3306
- inst.safeEncodeAsync = async (data, params) => safeEncodeAsync(inst, data, params);
3307
- inst.safeDecodeAsync = async (data, params) => safeDecodeAsync(inst, data, params);
3308
- _installLazyMethods(inst, "ZodType", {
3309
- check(...chks) {
3310
- const def = this.def;
3311
- return this.clone(mergeDefs(def, { checks: [...def.checks ?? [], ...chks.map((ch) => typeof ch === "function" ? { _zod: {
3312
- check: ch,
3313
- def: { check: "custom" },
3314
- onattach: []
3315
- } } : ch)] }), { parent: true });
3316
- },
3317
- with(...chks) {
3318
- return this.check(...chks);
3319
- },
3320
- clone(def, params) {
3321
- return clone(this, def, params);
3322
- },
3323
- brand() {
3324
- return this;
3325
- },
3326
- register(reg, meta) {
3327
- reg.add(this, meta);
3328
- return this;
3329
- },
3330
- refine(check, params) {
3331
- return this.check(refine(check, params));
3332
- },
3333
- superRefine(refinement, params) {
3334
- return this.check(superRefine(refinement, params));
3335
- },
3336
- overwrite(fn) {
3337
- return this.check(/* @__PURE__ */ _overwrite(fn));
3338
- },
3339
- optional() {
3340
- return optional(this);
3341
- },
3342
- exactOptional() {
3343
- return exactOptional(this);
3344
- },
3345
- nullable() {
3346
- return nullable(this);
3347
- },
3348
- nullish() {
3349
- return optional(nullable(this));
3350
- },
3351
- nonoptional(params) {
3352
- return nonoptional(this, params);
3353
- },
3354
- array() {
3355
- return array(this);
3356
- },
3357
- or(arg) {
3358
- return union([this, arg]);
3359
- },
3360
- and(arg) {
3361
- return intersection(this, arg);
3362
- },
3363
- transform(tx) {
3364
- return pipe(this, transform(tx));
3365
- },
3366
- default(d) {
3367
- return _default(this, d);
3368
- },
3369
- prefault(d) {
3370
- return prefault(this, d);
3371
- },
3372
- catch(params) {
3373
- return _catch(this, params);
3374
- },
3375
- pipe(target) {
3376
- return pipe(this, target);
3377
- },
3378
- readonly() {
3379
- return readonly(this);
3380
- },
3381
- describe(description) {
3382
- const cl = this.clone();
3383
- globalRegistry.add(cl, { description });
3384
- return cl;
3385
- },
3386
- meta(...args) {
3387
- if (args.length === 0) return globalRegistry.get(this);
3388
- const cl = this.clone();
3389
- globalRegistry.add(cl, args[0]);
3390
- return cl;
3391
- },
3392
- isOptional() {
3393
- return this.safeParse(void 0).success;
3394
- },
3395
- isNullable() {
3396
- return this.safeParse(null).success;
3397
- },
3398
- apply(fn) {
3399
- return fn(this);
3400
- }
3401
- });
3402
- Object.defineProperty(inst, "description", {
3403
- get() {
3404
- return globalRegistry.get(inst)?.description;
3405
- },
3406
- configurable: true
3407
- });
3408
- return inst;
3409
- });
3410
- /** @internal */
3411
- const _ZodString = /*@__PURE__*/ $constructor("_ZodString", (inst, def) => {
3412
- $ZodString.init(inst, def);
3413
- ZodType.init(inst, def);
3414
- inst._zod.processJSONSchema = (ctx, json, params) => stringProcessor(inst, ctx, json, params);
3415
- const bag = inst._zod.bag;
3416
- inst.format = bag.format ?? null;
3417
- inst.minLength = bag.minimum ?? null;
3418
- inst.maxLength = bag.maximum ?? null;
3419
- _installLazyMethods(inst, "_ZodString", {
3420
- regex(...args) {
3421
- return this.check(/* @__PURE__ */ _regex(...args));
3422
- },
3423
- includes(...args) {
3424
- return this.check(/* @__PURE__ */ _includes(...args));
3425
- },
3426
- startsWith(...args) {
3427
- return this.check(/* @__PURE__ */ _startsWith(...args));
3428
- },
3429
- endsWith(...args) {
3430
- return this.check(/* @__PURE__ */ _endsWith(...args));
3431
- },
3432
- min(...args) {
3433
- return this.check(/* @__PURE__ */ _minLength(...args));
3434
- },
3435
- max(...args) {
3436
- return this.check(/* @__PURE__ */ _maxLength(...args));
3437
- },
3438
- length(...args) {
3439
- return this.check(/* @__PURE__ */ _length(...args));
3440
- },
3441
- nonempty(...args) {
3442
- return this.check(/* @__PURE__ */ _minLength(1, ...args));
3443
- },
3444
- lowercase(params) {
3445
- return this.check(/* @__PURE__ */ _lowercase(params));
3446
- },
3447
- uppercase(params) {
3448
- return this.check(/* @__PURE__ */ _uppercase(params));
3449
- },
3450
- trim() {
3451
- return this.check(/* @__PURE__ */ _trim());
3452
- },
3453
- normalize(...args) {
3454
- return this.check(/* @__PURE__ */ _normalize(...args));
3455
- },
3456
- toLowerCase() {
3457
- return this.check(/* @__PURE__ */ _toLowerCase());
3458
- },
3459
- toUpperCase() {
3460
- return this.check(/* @__PURE__ */ _toUpperCase());
3461
- },
3462
- slugify() {
3463
- return this.check(/* @__PURE__ */ _slugify());
3464
- }
3465
- });
3466
- });
3467
- const ZodString = /*@__PURE__*/ $constructor("ZodString", (inst, def) => {
3468
- $ZodString.init(inst, def);
3469
- _ZodString.init(inst, def);
3470
- inst.email = (params) => inst.check(/* @__PURE__ */ _email(ZodEmail, params));
3471
- inst.url = (params) => inst.check(/* @__PURE__ */ _url(ZodURL, params));
3472
- inst.jwt = (params) => inst.check(/* @__PURE__ */ _jwt(ZodJWT, params));
3473
- inst.emoji = (params) => inst.check(/* @__PURE__ */ _emoji(ZodEmoji, params));
3474
- inst.guid = (params) => inst.check(/* @__PURE__ */ _guid(ZodGUID, params));
3475
- inst.uuid = (params) => inst.check(/* @__PURE__ */ _uuid(ZodUUID, params));
3476
- inst.uuidv4 = (params) => inst.check(/* @__PURE__ */ _uuidv4(ZodUUID, params));
3477
- inst.uuidv6 = (params) => inst.check(/* @__PURE__ */ _uuidv6(ZodUUID, params));
3478
- inst.uuidv7 = (params) => inst.check(/* @__PURE__ */ _uuidv7(ZodUUID, params));
3479
- inst.nanoid = (params) => inst.check(/* @__PURE__ */ _nanoid(ZodNanoID, params));
3480
- inst.guid = (params) => inst.check(/* @__PURE__ */ _guid(ZodGUID, params));
3481
- inst.cuid = (params) => inst.check(/* @__PURE__ */ _cuid(ZodCUID, params));
3482
- inst.cuid2 = (params) => inst.check(/* @__PURE__ */ _cuid2(ZodCUID2, params));
3483
- inst.ulid = (params) => inst.check(/* @__PURE__ */ _ulid(ZodULID, params));
3484
- inst.base64 = (params) => inst.check(/* @__PURE__ */ _base64(ZodBase64, params));
3485
- inst.base64url = (params) => inst.check(/* @__PURE__ */ _base64url(ZodBase64URL, params));
3486
- inst.xid = (params) => inst.check(/* @__PURE__ */ _xid(ZodXID, params));
3487
- inst.ksuid = (params) => inst.check(/* @__PURE__ */ _ksuid(ZodKSUID, params));
3488
- inst.ipv4 = (params) => inst.check(/* @__PURE__ */ _ipv4(ZodIPv4, params));
3489
- inst.ipv6 = (params) => inst.check(/* @__PURE__ */ _ipv6(ZodIPv6, params));
3490
- inst.cidrv4 = (params) => inst.check(/* @__PURE__ */ _cidrv4(ZodCIDRv4, params));
3491
- inst.cidrv6 = (params) => inst.check(/* @__PURE__ */ _cidrv6(ZodCIDRv6, params));
3492
- inst.e164 = (params) => inst.check(/* @__PURE__ */ _e164(ZodE164, params));
3493
- inst.datetime = (params) => inst.check(datetime(params));
3494
- inst.date = (params) => inst.check(date(params));
3495
- inst.time = (params) => inst.check(time(params));
3496
- inst.duration = (params) => inst.check(duration(params));
3497
- });
3498
- function string(params) {
3499
- return /* @__PURE__ */ _string(ZodString, params);
3500
- }
3501
- const ZodStringFormat = /*@__PURE__*/ $constructor("ZodStringFormat", (inst, def) => {
3502
- $ZodStringFormat.init(inst, def);
3503
- _ZodString.init(inst, def);
3504
- });
3505
- const ZodEmail = /*@__PURE__*/ $constructor("ZodEmail", (inst, def) => {
3506
- $ZodEmail.init(inst, def);
3507
- ZodStringFormat.init(inst, def);
3508
- });
3509
- const ZodGUID = /*@__PURE__*/ $constructor("ZodGUID", (inst, def) => {
3510
- $ZodGUID.init(inst, def);
3511
- ZodStringFormat.init(inst, def);
3512
- });
3513
- const ZodUUID = /*@__PURE__*/ $constructor("ZodUUID", (inst, def) => {
3514
- $ZodUUID.init(inst, def);
3515
- ZodStringFormat.init(inst, def);
3516
- });
3517
- const ZodURL = /*@__PURE__*/ $constructor("ZodURL", (inst, def) => {
3518
- $ZodURL.init(inst, def);
3519
- ZodStringFormat.init(inst, def);
3520
- });
3521
- const ZodEmoji = /*@__PURE__*/ $constructor("ZodEmoji", (inst, def) => {
3522
- $ZodEmoji.init(inst, def);
3523
- ZodStringFormat.init(inst, def);
3524
- });
3525
- const ZodNanoID = /*@__PURE__*/ $constructor("ZodNanoID", (inst, def) => {
3526
- $ZodNanoID.init(inst, def);
3527
- ZodStringFormat.init(inst, def);
3528
- });
3529
- /**
3530
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
3531
- * (timestamps embedded in the id). Use {@link ZodCUID2} instead.
3532
- * See https://github.com/paralleldrive/cuid.
3533
- */
3534
- const ZodCUID = /*@__PURE__*/ $constructor("ZodCUID", (inst, def) => {
3535
- $ZodCUID.init(inst, def);
3536
- ZodStringFormat.init(inst, def);
3537
- });
3538
- const ZodCUID2 = /*@__PURE__*/ $constructor("ZodCUID2", (inst, def) => {
3539
- $ZodCUID2.init(inst, def);
3540
- ZodStringFormat.init(inst, def);
3541
- });
3542
- const ZodULID = /*@__PURE__*/ $constructor("ZodULID", (inst, def) => {
3543
- $ZodULID.init(inst, def);
3544
- ZodStringFormat.init(inst, def);
3545
- });
3546
- const ZodXID = /*@__PURE__*/ $constructor("ZodXID", (inst, def) => {
3547
- $ZodXID.init(inst, def);
3548
- ZodStringFormat.init(inst, def);
3549
- });
3550
- const ZodKSUID = /*@__PURE__*/ $constructor("ZodKSUID", (inst, def) => {
3551
- $ZodKSUID.init(inst, def);
3552
- ZodStringFormat.init(inst, def);
3553
- });
3554
- const ZodIPv4 = /*@__PURE__*/ $constructor("ZodIPv4", (inst, def) => {
3555
- $ZodIPv4.init(inst, def);
3556
- ZodStringFormat.init(inst, def);
3557
- });
3558
- const ZodIPv6 = /*@__PURE__*/ $constructor("ZodIPv6", (inst, def) => {
3559
- $ZodIPv6.init(inst, def);
3560
- ZodStringFormat.init(inst, def);
3561
- });
3562
- const ZodCIDRv4 = /*@__PURE__*/ $constructor("ZodCIDRv4", (inst, def) => {
3563
- $ZodCIDRv4.init(inst, def);
3564
- ZodStringFormat.init(inst, def);
3565
- });
3566
- const ZodCIDRv6 = /*@__PURE__*/ $constructor("ZodCIDRv6", (inst, def) => {
3567
- $ZodCIDRv6.init(inst, def);
3568
- ZodStringFormat.init(inst, def);
3569
- });
3570
- const ZodBase64 = /*@__PURE__*/ $constructor("ZodBase64", (inst, def) => {
3571
- $ZodBase64.init(inst, def);
3572
- ZodStringFormat.init(inst, def);
3573
- });
3574
- const ZodBase64URL = /*@__PURE__*/ $constructor("ZodBase64URL", (inst, def) => {
3575
- $ZodBase64URL.init(inst, def);
3576
- ZodStringFormat.init(inst, def);
3577
- });
3578
- const ZodE164 = /*@__PURE__*/ $constructor("ZodE164", (inst, def) => {
3579
- $ZodE164.init(inst, def);
3580
- ZodStringFormat.init(inst, def);
3581
- });
3582
- const ZodJWT = /*@__PURE__*/ $constructor("ZodJWT", (inst, def) => {
3583
- $ZodJWT.init(inst, def);
3584
- ZodStringFormat.init(inst, def);
3585
- });
3586
- const ZodNumber = /*@__PURE__*/ $constructor("ZodNumber", (inst, def) => {
3587
- $ZodNumber.init(inst, def);
3588
- ZodType.init(inst, def);
3589
- inst._zod.processJSONSchema = (ctx, json, params) => numberProcessor(inst, ctx, json, params);
3590
- _installLazyMethods(inst, "ZodNumber", {
3591
- gt(value, params) {
3592
- return this.check(/* @__PURE__ */ _gt(value, params));
3593
- },
3594
- gte(value, params) {
3595
- return this.check(/* @__PURE__ */ _gte(value, params));
3596
- },
3597
- min(value, params) {
3598
- return this.check(/* @__PURE__ */ _gte(value, params));
3599
- },
3600
- lt(value, params) {
3601
- return this.check(/* @__PURE__ */ _lt(value, params));
3602
- },
3603
- lte(value, params) {
3604
- return this.check(/* @__PURE__ */ _lte(value, params));
3605
- },
3606
- max(value, params) {
3607
- return this.check(/* @__PURE__ */ _lte(value, params));
3608
- },
3609
- int(params) {
3610
- return this.check(int(params));
3611
- },
3612
- safe(params) {
3613
- return this.check(int(params));
3614
- },
3615
- positive(params) {
3616
- return this.check(/* @__PURE__ */ _gt(0, params));
3617
- },
3618
- nonnegative(params) {
3619
- return this.check(/* @__PURE__ */ _gte(0, params));
3620
- },
3621
- negative(params) {
3622
- return this.check(/* @__PURE__ */ _lt(0, params));
3623
- },
3624
- nonpositive(params) {
3625
- return this.check(/* @__PURE__ */ _lte(0, params));
3626
- },
3627
- multipleOf(value, params) {
3628
- return this.check(/* @__PURE__ */ _multipleOf(value, params));
3629
- },
3630
- step(value, params) {
3631
- return this.check(/* @__PURE__ */ _multipleOf(value, params));
3632
- },
3633
- finite() {
3634
- return this;
3635
- }
3636
- });
3637
- const bag = inst._zod.bag;
3638
- inst.minValue = Math.max(bag.minimum ?? Number.NEGATIVE_INFINITY, bag.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null;
3639
- inst.maxValue = Math.min(bag.maximum ?? Number.POSITIVE_INFINITY, bag.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null;
3640
- inst.isInt = (bag.format ?? "").includes("int") || Number.isSafeInteger(bag.multipleOf ?? .5);
3641
- inst.isFinite = true;
3642
- inst.format = bag.format ?? null;
3643
- });
3644
- function number(params) {
3645
- return /* @__PURE__ */ _number(ZodNumber, params);
3646
- }
3647
- const ZodNumberFormat = /*@__PURE__*/ $constructor("ZodNumberFormat", (inst, def) => {
3648
- $ZodNumberFormat.init(inst, def);
3649
- ZodNumber.init(inst, def);
3650
- });
3651
- function int(params) {
3652
- return /* @__PURE__ */ _int(ZodNumberFormat, params);
3653
- }
3654
- const ZodUnknown = /*@__PURE__*/ $constructor("ZodUnknown", (inst, def) => {
3655
- $ZodUnknown.init(inst, def);
3656
- ZodType.init(inst, def);
3657
- inst._zod.processJSONSchema = (ctx, json, params) => void 0;
3658
- });
3659
- function unknown() {
3660
- return /* @__PURE__ */ _unknown(ZodUnknown);
3661
- }
3662
- const ZodNever = /*@__PURE__*/ $constructor("ZodNever", (inst, def) => {
3663
- $ZodNever.init(inst, def);
3664
- ZodType.init(inst, def);
3665
- inst._zod.processJSONSchema = (ctx, json, params) => neverProcessor(inst, ctx, json, params);
3666
- });
3667
- function never(params) {
3668
- return /* @__PURE__ */ _never(ZodNever, params);
3669
- }
3670
- const ZodArray = /*@__PURE__*/ $constructor("ZodArray", (inst, def) => {
3671
- $ZodArray.init(inst, def);
3672
- ZodType.init(inst, def);
3673
- inst._zod.processJSONSchema = (ctx, json, params) => arrayProcessor(inst, ctx, json, params);
3674
- inst.element = def.element;
3675
- _installLazyMethods(inst, "ZodArray", {
3676
- min(n, params) {
3677
- return this.check(/* @__PURE__ */ _minLength(n, params));
3678
- },
3679
- nonempty(params) {
3680
- return this.check(/* @__PURE__ */ _minLength(1, params));
3681
- },
3682
- max(n, params) {
3683
- return this.check(/* @__PURE__ */ _maxLength(n, params));
3684
- },
3685
- length(n, params) {
3686
- return this.check(/* @__PURE__ */ _length(n, params));
3687
- },
3688
- unwrap() {
3689
- return this.element;
3690
- }
3691
- });
3692
- });
3693
- function array(element, params) {
3694
- return /* @__PURE__ */ _array(ZodArray, element, params);
3695
- }
3696
- const ZodObject = /*@__PURE__*/ $constructor("ZodObject", (inst, def) => {
3697
- $ZodObjectJIT.init(inst, def);
3698
- ZodType.init(inst, def);
3699
- inst._zod.processJSONSchema = (ctx, json, params) => objectProcessor(inst, ctx, json, params);
3700
- defineLazy(inst, "shape", () => {
3701
- return def.shape;
3702
- });
3703
- _installLazyMethods(inst, "ZodObject", {
3704
- keyof() {
3705
- return _enum(Object.keys(this._zod.def.shape));
3706
- },
3707
- catchall(catchall) {
3708
- return this.clone({
3709
- ...this._zod.def,
3710
- catchall
3711
- });
3712
- },
3713
- passthrough() {
3714
- return this.clone({
3715
- ...this._zod.def,
3716
- catchall: unknown()
3717
- });
3718
- },
3719
- loose() {
3720
- return this.clone({
3721
- ...this._zod.def,
3722
- catchall: unknown()
3723
- });
3724
- },
3725
- strict() {
3726
- return this.clone({
3727
- ...this._zod.def,
3728
- catchall: never()
3729
- });
3730
- },
3731
- strip() {
3732
- return this.clone({
3733
- ...this._zod.def,
3734
- catchall: void 0
3735
- });
3736
- },
3737
- extend(incoming) {
3738
- return extend(this, incoming);
3739
- },
3740
- safeExtend(incoming) {
3741
- return safeExtend(this, incoming);
3742
- },
3743
- merge(other) {
3744
- return merge(this, other);
3745
- },
3746
- pick(mask) {
3747
- return pick(this, mask);
3748
- },
3749
- omit(mask) {
3750
- return omit(this, mask);
3751
- },
3752
- partial(...args) {
3753
- return partial(ZodOptional, this, args[0]);
3754
- },
3755
- required(...args) {
3756
- return required(ZodNonOptional, this, args[0]);
3757
- }
3758
- });
3759
- });
3760
- function object(shape, params) {
3761
- return new ZodObject({
3762
- type: "object",
3763
- shape: shape ?? {},
3764
- ...normalizeParams(params)
3765
- });
3766
- }
3767
- const ZodUnion = /*@__PURE__*/ $constructor("ZodUnion", (inst, def) => {
3768
- $ZodUnion.init(inst, def);
3769
- ZodType.init(inst, def);
3770
- inst._zod.processJSONSchema = (ctx, json, params) => unionProcessor(inst, ctx, json, params);
3771
- inst.options = def.options;
3772
- });
3773
- function union(options, params) {
3774
- return new ZodUnion({
3775
- type: "union",
3776
- options,
3777
- ...normalizeParams(params)
3778
- });
3779
- }
3780
- const ZodIntersection = /*@__PURE__*/ $constructor("ZodIntersection", (inst, def) => {
3781
- $ZodIntersection.init(inst, def);
3782
- ZodType.init(inst, def);
3783
- inst._zod.processJSONSchema = (ctx, json, params) => intersectionProcessor(inst, ctx, json, params);
3784
- });
3785
- function intersection(left, right) {
3786
- return new ZodIntersection({
3787
- type: "intersection",
3788
- left,
3789
- right
3790
- });
3791
- }
3792
- const ZodEnum = /*@__PURE__*/ $constructor("ZodEnum", (inst, def) => {
3793
- $ZodEnum.init(inst, def);
3794
- ZodType.init(inst, def);
3795
- inst._zod.processJSONSchema = (ctx, json, params) => enumProcessor(inst, ctx, json, params);
3796
- inst.enum = def.entries;
3797
- inst.options = Object.values(def.entries);
3798
- const keys = new Set(Object.keys(def.entries));
3799
- inst.extract = (values, params) => {
3800
- const newEntries = {};
3801
- for (const value of values) if (keys.has(value)) newEntries[value] = def.entries[value];
3802
- else throw new Error(`Key ${value} not found in enum`);
3803
- return new ZodEnum({
3804
- ...def,
3805
- checks: [],
3806
- ...normalizeParams(params),
3807
- entries: newEntries
3808
- });
3809
- };
3810
- inst.exclude = (values, params) => {
3811
- const newEntries = { ...def.entries };
3812
- for (const value of values) if (keys.has(value)) delete newEntries[value];
3813
- else throw new Error(`Key ${value} not found in enum`);
3814
- return new ZodEnum({
3815
- ...def,
3816
- checks: [],
3817
- ...normalizeParams(params),
3818
- entries: newEntries
3819
- });
3820
- };
3821
- });
3822
- function _enum(values, params) {
3823
- return new ZodEnum({
3824
- type: "enum",
3825
- entries: Array.isArray(values) ? Object.fromEntries(values.map((v) => [v, v])) : values,
3826
- ...normalizeParams(params)
3827
- });
3828
- }
3829
- const ZodLiteral = /*@__PURE__*/ $constructor("ZodLiteral", (inst, def) => {
3830
- $ZodLiteral.init(inst, def);
3831
- ZodType.init(inst, def);
3832
- inst._zod.processJSONSchema = (ctx, json, params) => literalProcessor(inst, ctx, json, params);
3833
- inst.values = new Set(def.values);
3834
- Object.defineProperty(inst, "value", { get() {
3835
- if (def.values.length > 1) throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");
3836
- return def.values[0];
3837
- } });
3838
- });
3839
- function literal(value, params) {
3840
- return new ZodLiteral({
3841
- type: "literal",
3842
- values: Array.isArray(value) ? value : [value],
3843
- ...normalizeParams(params)
3844
- });
3845
- }
3846
- const ZodTransform = /*@__PURE__*/ $constructor("ZodTransform", (inst, def) => {
3847
- $ZodTransform.init(inst, def);
3848
- ZodType.init(inst, def);
3849
- inst._zod.processJSONSchema = (ctx, json, params) => transformProcessor(inst, ctx, json, params);
3850
- inst._zod.parse = (payload, _ctx) => {
3851
- if (_ctx.direction === "backward") throw new $ZodEncodeError(inst.constructor.name);
3852
- payload.addIssue = (issue$1) => {
3853
- if (typeof issue$1 === "string") payload.issues.push(issue(issue$1, payload.value, def));
3854
- else {
3855
- const _issue = issue$1;
3856
- if (_issue.fatal) _issue.continue = false;
3857
- _issue.code ?? (_issue.code = "custom");
3858
- _issue.input ?? (_issue.input = payload.value);
3859
- _issue.inst ?? (_issue.inst = inst);
3860
- payload.issues.push(issue(_issue));
3861
- }
3862
- };
3863
- const output = def.transform(payload.value, payload);
3864
- if (output instanceof Promise) return output.then((output) => {
3865
- payload.value = output;
3866
- payload.fallback = true;
3867
- return payload;
3868
- });
3869
- payload.value = output;
3870
- payload.fallback = true;
3871
- return payload;
3872
- };
3873
- });
3874
- function transform(fn) {
3875
- return new ZodTransform({
3876
- type: "transform",
3877
- transform: fn
3878
- });
3879
- }
3880
- const ZodOptional = /*@__PURE__*/ $constructor("ZodOptional", (inst, def) => {
3881
- $ZodOptional.init(inst, def);
3882
- ZodType.init(inst, def);
3883
- inst._zod.processJSONSchema = (ctx, json, params) => optionalProcessor(inst, ctx, json, params);
3884
- inst.unwrap = () => inst._zod.def.innerType;
3885
- });
3886
- function optional(innerType) {
3887
- return new ZodOptional({
3888
- type: "optional",
3889
- innerType
3890
- });
3891
- }
3892
- const ZodExactOptional = /*@__PURE__*/ $constructor("ZodExactOptional", (inst, def) => {
3893
- $ZodExactOptional.init(inst, def);
3894
- ZodType.init(inst, def);
3895
- inst._zod.processJSONSchema = (ctx, json, params) => optionalProcessor(inst, ctx, json, params);
3896
- inst.unwrap = () => inst._zod.def.innerType;
3897
- });
3898
- function exactOptional(innerType) {
3899
- return new ZodExactOptional({
3900
- type: "optional",
3901
- innerType
3902
- });
3903
- }
3904
- const ZodNullable = /*@__PURE__*/ $constructor("ZodNullable", (inst, def) => {
3905
- $ZodNullable.init(inst, def);
3906
- ZodType.init(inst, def);
3907
- inst._zod.processJSONSchema = (ctx, json, params) => nullableProcessor(inst, ctx, json, params);
3908
- inst.unwrap = () => inst._zod.def.innerType;
3909
- });
3910
- function nullable(innerType) {
3911
- return new ZodNullable({
3912
- type: "nullable",
3913
- innerType
3914
- });
3915
- }
3916
- const ZodDefault = /*@__PURE__*/ $constructor("ZodDefault", (inst, def) => {
3917
- $ZodDefault.init(inst, def);
3918
- ZodType.init(inst, def);
3919
- inst._zod.processJSONSchema = (ctx, json, params) => defaultProcessor(inst, ctx, json, params);
3920
- inst.unwrap = () => inst._zod.def.innerType;
3921
- inst.removeDefault = inst.unwrap;
3922
- });
3923
- function _default(innerType, defaultValue) {
3924
- return new ZodDefault({
3925
- type: "default",
3926
- innerType,
3927
- get defaultValue() {
3928
- return typeof defaultValue === "function" ? defaultValue() : shallowClone(defaultValue);
3929
- }
3930
- });
3931
- }
3932
- const ZodPrefault = /*@__PURE__*/ $constructor("ZodPrefault", (inst, def) => {
3933
- $ZodPrefault.init(inst, def);
3934
- ZodType.init(inst, def);
3935
- inst._zod.processJSONSchema = (ctx, json, params) => prefaultProcessor(inst, ctx, json, params);
3936
- inst.unwrap = () => inst._zod.def.innerType;
3937
- });
3938
- function prefault(innerType, defaultValue) {
3939
- return new ZodPrefault({
3940
- type: "prefault",
3941
- innerType,
3942
- get defaultValue() {
3943
- return typeof defaultValue === "function" ? defaultValue() : shallowClone(defaultValue);
3944
- }
3945
- });
3946
- }
3947
- const ZodNonOptional = /*@__PURE__*/ $constructor("ZodNonOptional", (inst, def) => {
3948
- $ZodNonOptional.init(inst, def);
3949
- ZodType.init(inst, def);
3950
- inst._zod.processJSONSchema = (ctx, json, params) => nonoptionalProcessor(inst, ctx, json, params);
3951
- inst.unwrap = () => inst._zod.def.innerType;
3952
- });
3953
- function nonoptional(innerType, params) {
3954
- return new ZodNonOptional({
3955
- type: "nonoptional",
3956
- innerType,
3957
- ...normalizeParams(params)
3958
- });
3959
- }
3960
- const ZodCatch = /*@__PURE__*/ $constructor("ZodCatch", (inst, def) => {
3961
- $ZodCatch.init(inst, def);
3962
- ZodType.init(inst, def);
3963
- inst._zod.processJSONSchema = (ctx, json, params) => catchProcessor(inst, ctx, json, params);
3964
- inst.unwrap = () => inst._zod.def.innerType;
3965
- inst.removeCatch = inst.unwrap;
3966
- });
3967
- function _catch(innerType, catchValue) {
3968
- return new ZodCatch({
3969
- type: "catch",
3970
- innerType,
3971
- catchValue: typeof catchValue === "function" ? catchValue : () => catchValue
3972
- });
3973
- }
3974
- const ZodPipe = /*@__PURE__*/ $constructor("ZodPipe", (inst, def) => {
3975
- $ZodPipe.init(inst, def);
3976
- ZodType.init(inst, def);
3977
- inst._zod.processJSONSchema = (ctx, json, params) => pipeProcessor(inst, ctx, json, params);
3978
- inst.in = def.in;
3979
- inst.out = def.out;
3980
- });
3981
- function pipe(in_, out) {
3982
- return new ZodPipe({
3983
- type: "pipe",
3984
- in: in_,
3985
- out
3986
- });
3987
- }
3988
- const ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
3989
- $ZodReadonly.init(inst, def);
3990
- ZodType.init(inst, def);
3991
- inst._zod.processJSONSchema = (ctx, json, params) => readonlyProcessor(inst, ctx, json, params);
3992
- inst.unwrap = () => inst._zod.def.innerType;
3993
- });
3994
- function readonly(innerType) {
3995
- return new ZodReadonly({
3996
- type: "readonly",
3997
- innerType
3998
- });
3999
- }
4000
- const ZodCustom = /*@__PURE__*/ $constructor("ZodCustom", (inst, def) => {
4001
- $ZodCustom.init(inst, def);
4002
- ZodType.init(inst, def);
4003
- inst._zod.processJSONSchema = (ctx, json, params) => customProcessor(inst, ctx, json, params);
4004
- });
4005
- function refine(fn, _params = {}) {
4006
- return /* @__PURE__ */ _refine(ZodCustom, fn, _params);
4007
- }
4008
- function superRefine(fn, params) {
4009
- return /* @__PURE__ */ _superRefine(fn, params);
4010
- }
4011
- //#endregion
4012
- //#region lib/typert.remote-client.js
4013
- let _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_limits_result$schema$value;
4014
- const _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_limits_result$schema = () => _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_limits_result$schema$value ??= object({
4015
- "maxTextChars": number(),
4016
- "preferences": object({
4017
- "provider": union([
4018
- literal("google"),
4019
- literal("bing"),
4020
- literal("deepseek-account"),
4021
- literal("deepseek-official")
4022
- ]),
4023
- "targetLanguage": string()
4024
- }),
4025
- "availableProviders": array(union([
4026
- literal("google"),
4027
- literal("bing"),
4028
- literal("deepseek-account"),
4029
- literal("deepseek-official")
4030
- ]))
4031
- });
4032
- let _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_parameter_0$schema$value;
4033
- const _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_parameter_0$schema = () => _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_parameter_0$schema$value ??= object({
4034
- "text": string().readonly(),
4035
- "targetLanguage": string().readonly(),
4036
- "sourceLanguage": string().readonly().optional(),
4037
- "provider": union([
4038
- literal("google"),
4039
- literal("bing"),
4040
- literal("deepseek-account"),
4041
- literal("deepseek-official")
4042
- ]).readonly().optional(),
4043
- "sessionId": intersection(string(), unknown()).readonly().optional()
4044
- });
4045
- let _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_result$schema$value;
4046
- const _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_result$schema = () => _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_result$schema$value ??= string();
4047
- const TYPERT_REMOTE = {
4048
- package: "@deepseek-ai/dsh-experimental-client-ui-cot-translation",
4049
- descriptors: [{
4050
- id: "@deepseek-ai/dsh-experimental-client-ui-cot-translation#cotTranslation/limits",
4051
- service: "cotTranslation",
4052
- namespace: "cotTranslation",
4053
- method: "limits",
4054
- invocation: { kind: "direct" },
4055
- parameters: [],
4056
- cancellation: { parameter: "signal" },
4057
- result: {
4058
- mode: "strict",
4059
- typeSymbol: "@deepseek-ai/dsh-experimental-client-ui-cot-translation/types#CotTranslationSnapshot",
4060
- create: _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_limits_result$schema
4061
- },
4062
- sourceLocation: {
4063
- "file": "packages/experimental/client-ui-cot-translation/src/index.ts",
4064
- "line": 47,
4065
- "column": 9
4066
- }
4067
- }, {
4068
- id: "@deepseek-ai/dsh-experimental-client-ui-cot-translation#cotTranslation/translate",
4069
- service: "cotTranslation",
4070
- namespace: "cotTranslation",
4071
- method: "translate",
4072
- invocation: { kind: "direct" },
4073
- parameters: [{
4074
- name: "request",
4075
- wire: "request",
4076
- source: "json",
4077
- codec: {
4078
- mode: "strict",
4079
- typeSymbol: "@deepseek-ai/dsh-experimental-translator/types#TranslationRequest",
4080
- create: _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_parameter_0$schema
4081
- }
4082
- }],
4083
- cancellation: { parameter: "signal" },
4084
- result: {
4085
- mode: "strict",
4086
- typeSymbol: "@deepseek-ai/dsh-experimental-client-ui-cot-translation#cotTranslation/translate:result",
4087
- create: _deepseek_ai_dsh_experimental_client_ui_cot_translation_cotTranslation_translate_result$schema
4088
- },
4089
- sourceLocation: {
4090
- "file": "packages/experimental/client-ui-cot-translation/src/index.ts",
4091
- "line": 64,
4092
- "column": 9
4093
- }
4094
- }]
4095
- };
387
+ }, zod.z);
4096
388
  //#endregion
4097
389
  //#region lib/types/client/translation.js
4098
390
  /**