@songtonyli/dsh-cli 0.1.53 → 0.1.55

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 (1001) hide show
  1. package/README.md +1 -1
  2. package/bin/dsh.mjs +1 -1
  3. package/node_modules/@anthropic-ai/sdk/CHANGELOG.md +28 -0
  4. package/node_modules/@anthropic-ai/sdk/client.js +2 -1
  5. package/node_modules/@anthropic-ai/sdk/client.mjs +2 -1
  6. package/node_modules/@anthropic-ai/sdk/core/streaming.js +4 -2
  7. package/node_modules/@anthropic-ai/sdk/core/streaming.mjs +4 -2
  8. package/node_modules/@anthropic-ai/sdk/package.json +1 -1
  9. package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.js +25 -10
  10. package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.mjs +25 -10
  11. package/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.js +5 -2
  12. package/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.mjs +5 -2
  13. package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.js +10 -4
  14. package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.mjs +10 -4
  15. package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.js +40 -16
  16. package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.mjs +40 -16
  17. package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.js +25 -10
  18. package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.mjs +25 -10
  19. package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.js +30 -12
  20. package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.mjs +30 -12
  21. package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.js +20 -8
  22. package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.mjs +20 -8
  23. package/node_modules/@anthropic-ai/sdk/resources/beta/files.js +22 -9
  24. package/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs +22 -9
  25. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.js +25 -10
  26. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.mjs +25 -10
  27. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.js +30 -12
  28. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.mjs +30 -12
  29. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.js +15 -6
  30. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.mjs +15 -6
  31. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js +25 -11
  32. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs +25 -11
  33. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js +4 -2
  34. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs +4 -2
  35. package/node_modules/@anthropic-ai/sdk/resources/beta/models.js +10 -4
  36. package/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs +10 -4
  37. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.js +15 -6
  38. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.mjs +15 -6
  39. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.js +25 -10
  40. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.mjs +25 -10
  41. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.js +30 -12
  42. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.mjs +30 -12
  43. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.js +10 -4
  44. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.mjs +10 -4
  45. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.js +15 -6
  46. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.mjs +15 -6
  47. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.js +20 -8
  48. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs +20 -8
  49. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.js +22 -9
  50. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs +22 -9
  51. package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.js +20 -8
  52. package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.mjs +20 -8
  53. package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.js +30 -12
  54. package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.mjs +30 -12
  55. package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.js +35 -14
  56. package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.mjs +35 -14
  57. package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.js +30 -12
  58. package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.mjs +30 -12
  59. package/node_modules/@anthropic-ai/sdk/resources/completions.js +5 -2
  60. package/node_modules/@anthropic-ai/sdk/resources/completions.mjs +5 -2
  61. package/node_modules/@anthropic-ai/sdk/resources/files.js +79 -10
  62. package/node_modules/@anthropic-ai/sdk/resources/files.mjs +79 -10
  63. package/node_modules/@anthropic-ai/sdk/resources/messages/batches.js +52 -13
  64. package/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs +52 -13
  65. package/node_modules/@anthropic-ai/sdk/resources/messages/messages.js +10 -4
  66. package/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs +10 -4
  67. package/node_modules/@anthropic-ai/sdk/resources/models.js +23 -4
  68. package/node_modules/@anthropic-ai/sdk/resources/models.mjs +23 -4
  69. package/node_modules/@anthropic-ai/sdk/resources/skills/skills.js +64 -8
  70. package/node_modules/@anthropic-ai/sdk/resources/skills/skills.mjs +64 -8
  71. package/node_modules/@anthropic-ai/sdk/resources/skills/versions.js +67 -7
  72. package/node_modules/@anthropic-ai/sdk/resources/skills/versions.mjs +67 -7
  73. package/node_modules/@anthropic-ai/sdk/src/client.ts +12 -1
  74. package/node_modules/@anthropic-ai/sdk/src/core/streaming.ts +4 -2
  75. package/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/agents.ts +75 -10
  76. package/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/versions.ts +15 -2
  77. package/node_modules/@anthropic-ai/sdk/src/resources/beta/deployment-runs.ts +30 -4
  78. package/node_modules/@anthropic-ai/sdk/src/resources/beta/deployments.ts +120 -16
  79. package/node_modules/@anthropic-ai/sdk/src/resources/beta/dreams.ts +75 -10
  80. package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/environments.ts +90 -12
  81. package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/work.ts +60 -8
  82. package/node_modules/@anthropic-ai/sdk/src/resources/beta/files.ts +75 -11
  83. package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memories.ts +75 -10
  84. package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memory-stores.ts +90 -12
  85. package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memory-versions.ts +49 -10
  86. package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/batches.ts +85 -11
  87. package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/messages.ts +24 -2
  88. package/node_modules/@anthropic-ai/sdk/src/resources/beta/models.ts +30 -4
  89. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/compliance-settings.ts +12 -2
  90. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/index.ts +2 -0
  91. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/organization.ts +4 -0
  92. package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/events.ts +45 -6
  93. package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/resources.ts +75 -10
  94. package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/sessions.ts +90 -12
  95. package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/events.ts +30 -4
  96. package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/threads.ts +45 -6
  97. package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/skills.ts +60 -8
  98. package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/versions.ts +72 -9
  99. package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels/certificates.ts +60 -8
  100. package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels/tunnels.ts +90 -12
  101. package/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/credentials.ts +105 -14
  102. package/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/vaults.ts +90 -12
  103. package/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +15 -2
  104. package/node_modules/@anthropic-ai/sdk/src/resources/files.ts +161 -18
  105. package/node_modules/@anthropic-ai/sdk/src/resources/index.ts +5 -0
  106. package/node_modules/@anthropic-ai/sdk/src/resources/messages/batches.ts +137 -13
  107. package/node_modules/@anthropic-ai/sdk/src/resources/messages/index.ts +4 -0
  108. package/node_modules/@anthropic-ai/sdk/src/resources/messages/messages.ts +38 -4
  109. package/node_modules/@anthropic-ai/sdk/src/resources/models.ts +43 -4
  110. package/node_modules/@anthropic-ai/sdk/src/resources/skills/index.ts +2 -0
  111. package/node_modules/@anthropic-ai/sdk/src/resources/skills/skills.ts +127 -13
  112. package/node_modules/@anthropic-ai/sdk/src/resources/skills/versions.ts +115 -11
  113. package/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/fs-util.ts +16 -4
  114. package/node_modules/@anthropic-ai/sdk/src/version.ts +1 -1
  115. package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.js +14 -4
  116. package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.mjs +14 -4
  117. package/node_modules/@anthropic-ai/sdk/version.js +1 -1
  118. package/node_modules/@anthropic-ai/sdk/version.mjs +1 -1
  119. package/node_modules/@aws-sdk/client-bedrock-runtime/README.md +7 -0
  120. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +2419 -185
  121. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntime.js +2 -0
  122. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commandBuilder.js +14 -0
  123. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ApplyGuardrailCommand.js +2 -14
  124. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseCommand.js +2 -14
  125. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseStreamCommand.js +2 -18
  126. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/CountTokensCommand.js +2 -14
  127. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/GetAsyncInvokeCommand.js +2 -14
  128. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeGuardrailChecksCommand.js +4 -0
  129. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelCommand.js +2 -14
  130. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js +2 -27
  131. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithResponseStreamCommand.js +2 -18
  132. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ListAsyncInvokesCommand.js +2 -14
  133. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/StartAsyncInvokeCommand.js +2 -14
  134. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/index.js +1 -0
  135. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/index.js +2 -1
  136. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/enums.js +51 -0
  137. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.browser.js +0 -2
  138. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.js +1 -2
  139. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.native.js +0 -2
  140. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.shared.js +2 -0
  141. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/schemas/schemas_0.js +244 -31
  142. package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +43 -45
  143. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +34 -32
  144. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -4
  145. package/node_modules/@aws-sdk/token-providers/dist-es/index.js +4 -4
  146. package/node_modules/@aws-sdk/token-providers/package.json +31 -31
  147. package/node_modules/@deepseek-ai/dsh/README.i18n.yaml +4 -4
  148. package/node_modules/@deepseek-ai/dsh/README.md +3 -1
  149. package/node_modules/@deepseek-ai/dsh/README.zh.md +3 -1
  150. package/node_modules/@deepseek-ai/dsh/lib/bin.js +12 -8
  151. package/node_modules/@deepseek-ai/dsh/lib/{plugin-DkYIj96-.js → plugin-BGnVfe_D.js} +26 -8
  152. package/node_modules/@deepseek-ai/dsh/package.json +111 -111
  153. package/node_modules/@deepseek-ai/dsh-acp/package.json +22 -22
  154. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +3 -3
  155. package/node_modules/@deepseek-ai/dsh-agent/package.json +20 -20
  156. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +7 -7
  157. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +22 -22
  158. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +24 -24
  159. package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +6 -6
  160. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +2 -2
  161. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +1 -1
  162. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +28 -28
  163. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +8 -8
  164. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +5 -5
  165. package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +7 -7
  166. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +9 -9
  167. package/node_modules/@deepseek-ai/dsh-api-gateway/README.i18n.yaml +2 -2
  168. package/node_modules/@deepseek-ai/dsh-api-gateway/README.md +2 -0
  169. package/node_modules/@deepseek-ai/dsh-api-gateway/README.zh.md +2 -0
  170. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/index.js +9 -0
  171. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/index.js +12 -0
  172. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +11 -11
  173. package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +10 -10
  174. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +260 -20
  175. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +2 -1
  176. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +41 -41
  177. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +160 -4
  178. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +120 -0
  179. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +69 -69
  180. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +13 -13
  181. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.i18n.yaml +2 -2
  182. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.md +1 -1
  183. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.zh.md +1 -1
  184. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/index.js +13 -7
  185. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +1 -1
  186. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/shells.js +14 -8
  187. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +17 -17
  188. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +18 -18
  189. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +12 -12
  190. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +9 -9
  191. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
  192. package/node_modules/@deepseek-ai/dsh-attachment/package.json +3 -3
  193. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +6 -6
  194. package/node_modules/@deepseek-ai/dsh-authorization/package.json +7 -7
  195. package/node_modules/@deepseek-ai/dsh-base/package.json +93 -93
  196. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +8 -8
  197. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +12 -12
  198. package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
  199. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +1 -1
  200. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +10 -10
  201. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +1 -1
  202. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +12 -12
  203. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +4 -4
  204. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +10 -10
  205. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +5 -5
  206. package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +11 -11
  207. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +5 -5
  208. package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.i18n.yaml +2 -2
  209. package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.md +1 -1
  210. package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.zh.md +1 -1
  211. package/node_modules/@deepseek-ai/dsh-client-shortcuts/lib/client.js +12 -7
  212. package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +8 -8
  213. package/node_modules/@deepseek-ai/dsh-client-store/package.json +1 -1
  214. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.i18n.yaml +2 -2
  215. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.md +1 -1
  216. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.zh.md +1 -1
  217. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +9 -20
  218. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +16 -16
  219. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +13 -13
  220. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +9 -9
  221. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +4 -4
  222. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +9 -9
  223. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +8 -3
  224. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +7 -2
  225. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +90 -126
  226. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +37 -37
  227. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +4 -4
  228. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +7 -1
  229. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +7 -1
  230. package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +111 -50
  231. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +15 -15
  232. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +14 -1
  233. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +33 -33
  234. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +12 -12
  235. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +2 -2
  236. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +1 -1
  237. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +1 -1
  238. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +3 -3
  239. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +27 -27
  240. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +7 -7
  241. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +3 -3
  242. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +14 -14
  243. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +12 -12
  244. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +10 -10
  245. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +9 -9
  246. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +16 -16
  247. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +6 -6
  248. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +9 -3
  249. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +9 -3
  250. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +216 -63
  251. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +16 -16
  252. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.i18n.yaml +6 -6
  253. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +3 -3
  254. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +3 -3
  255. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +37 -23
  256. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +19 -18
  257. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +15 -15
  258. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.i18n.yaml +2 -2
  259. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.md +1 -1
  260. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.zh.md +1 -1
  261. package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +4 -4
  262. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +20 -20
  263. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +4 -4
  264. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +2 -2
  265. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +2 -2
  266. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +82 -101
  267. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +16 -16
  268. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +4 -4
  269. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +10 -3
  270. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +10 -3
  271. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DisclosureRow.module.css +14 -2
  272. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuGroup.module.css +37 -0
  273. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +349 -226
  274. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DisclosureRow.d.ts +1 -1
  275. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Input.d.ts +4 -3
  276. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuGroup.d.ts +22 -0
  277. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +1 -0
  278. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +4 -4
  279. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +13 -13
  280. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/lib/client.js +1 -1
  281. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -3
  282. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +19 -19
  283. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +8 -8
  284. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +6 -6
  285. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +2 -2
  286. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +1 -1
  287. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +1 -1
  288. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +11 -15
  289. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +16 -16
  290. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +9 -9
  291. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +2 -2
  292. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +1 -1
  293. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +1 -1
  294. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +7 -7
  295. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +13 -13
  296. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +11 -11
  297. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +12 -12
  298. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +6 -6
  299. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +9 -9
  300. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +9 -9
  301. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +7 -7
  302. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +9 -9
  303. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +9 -9
  304. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.i18n.yaml +2 -2
  305. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.md +1 -1
  306. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.zh.md +1 -1
  307. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/lib/client.js +1 -1
  308. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +10 -10
  309. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +2 -2
  310. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +1 -1
  311. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +1 -1
  312. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +10 -15
  313. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +12 -12
  314. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +11 -11
  315. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +18 -18
  316. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.i18n.yaml +2 -2
  317. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.md +1 -1
  318. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.zh.md +1 -1
  319. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/client.js +9 -4
  320. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +14 -14
  321. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.i18n.yaml +6 -6
  322. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.md +4 -4
  323. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +4 -4
  324. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +183 -156
  325. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +15 -15
  326. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +15 -15
  327. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.i18n.yaml +2 -2
  328. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.md +1 -1
  329. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.zh.md +1 -1
  330. package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +1 -1
  331. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +13 -13
  332. package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +3 -3
  333. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +17 -17
  334. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +8 -8
  335. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +5 -3
  336. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +5 -3
  337. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +6 -6
  338. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/index.js +4 -4
  339. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +11 -11
  340. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +9 -6
  341. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +12 -2
  342. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +12 -2
  343. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +304 -54
  344. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +24 -23
  345. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +16 -16
  346. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.i18n.yaml +26 -20
  347. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.md +37 -13
  348. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.zh.md +37 -13
  349. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +1257 -218
  350. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +23 -19
  351. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.i18n.yaml +2 -2
  352. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.md +1 -1
  353. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.zh.md +1 -1
  354. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +1 -1
  355. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +14 -14
  356. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +2 -2
  357. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +1 -1
  358. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +1 -1
  359. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +3 -2
  360. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +24 -24
  361. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
  362. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +8 -8
  363. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +11 -11
  364. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +11 -11
  365. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +1 -1
  366. package/node_modules/@deepseek-ai/dsh-commands/package.json +18 -18
  367. package/node_modules/@deepseek-ai/dsh-compaction/package.json +11 -11
  368. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +22 -22
  369. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +16 -16
  370. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +13 -13
  371. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +6 -6
  372. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +59 -4
  373. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +6 -6
  374. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.i18n.yaml +5 -2
  375. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.md +8 -0
  376. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.zh.md +8 -0
  377. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/index.js +58 -20
  378. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +18 -18
  379. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.remote-client.js +12 -12
  380. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/index.js +5 -3
  381. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/inspect-registry.js +62 -17
  382. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +17 -16
  383. package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
  384. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +9 -9
  385. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +7 -7
  386. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +9 -9
  387. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +1 -1
  388. package/node_modules/@deepseek-ai/dsh-deque/package.json +1 -1
  389. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +21 -21
  390. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +4 -4
  391. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +5 -5
  392. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.i18n.yaml +2 -2
  393. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.md +1 -1
  394. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.zh.md +1 -1
  395. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/cordis.patch.yml +3 -0
  396. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/lib/index.js +11 -5
  397. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +39 -35
  398. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +22 -22
  399. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +31 -31
  400. package/node_modules/@deepseek-ai/dsh-experimental-schedule-bundle/package.json +4 -4
  401. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +6 -6
  402. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +7 -7
  403. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +22 -22
  404. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +5 -5
  405. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +3 -3
  406. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +9 -9
  407. package/node_modules/@deepseek-ai/dsh-fs/package.json +9 -9
  408. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +4 -4
  409. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +4 -4
  410. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +10 -10
  411. package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +1 -1
  412. package/node_modules/@deepseek-ai/dsh-goal/package.json +22 -22
  413. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +15 -15
  414. package/node_modules/@deepseek-ai/dsh-headless/package.json +17 -17
  415. package/node_modules/@deepseek-ai/dsh-hmr/README.i18n.yaml +2 -2
  416. package/node_modules/@deepseek-ai/dsh-hmr/README.md +1 -0
  417. package/node_modules/@deepseek-ai/dsh-hmr/README.zh.md +1 -0
  418. package/node_modules/@deepseek-ai/dsh-hmr/package.json +6 -6
  419. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
  420. package/node_modules/@deepseek-ai/dsh-hook-protocol/package.json +7 -7
  421. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/package.json +20 -20
  422. package/node_modules/@deepseek-ai/dsh-hooks-codex/package.json +18 -18
  423. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +1 -1
  424. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +13 -13
  425. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +2 -2
  426. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +3 -3
  427. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +6 -6
  428. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +5 -5
  429. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +9 -9
  430. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +4 -4
  431. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +1 -1
  432. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +2 -2
  433. package/node_modules/@deepseek-ai/dsh-invariants/package.json +1 -1
  434. package/node_modules/@deepseek-ai/dsh-jobs/package.json +11 -11
  435. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +11 -11
  436. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
  437. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +1 -1
  438. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +1 -1
  439. package/node_modules/@deepseek-ai/dsh-llm/package.json +8 -8
  440. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +20 -20
  441. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +37 -37
  442. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +10 -10
  443. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +9 -9
  444. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +4 -4
  445. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +3 -3
  446. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +3 -3
  447. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +10 -6
  448. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +22 -22
  449. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +21 -21
  450. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +20 -20
  451. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +12 -12
  452. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +14 -14
  453. package/node_modules/@deepseek-ai/dsh-native-command/package.json +2 -2
  454. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +10 -10
  455. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +6 -6
  456. package/node_modules/@deepseek-ai/dsh-otel/package.json +3 -3
  457. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
  458. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +1 -1
  459. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +1 -1
  460. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +20 -20
  461. package/node_modules/@deepseek-ai/dsh-persona/package.json +4 -4
  462. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +22 -22
  463. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +27 -27
  464. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +13 -13
  465. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +3 -3
  466. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +20 -20
  467. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +8 -8
  468. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +12 -12
  469. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +9 -9
  470. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +6 -6
  471. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +9 -9
  472. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +13 -13
  473. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.i18n.yaml +2 -2
  474. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.md +3 -3
  475. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.zh.md +3 -3
  476. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/assets/diagnose-windows-sandbox-acl/SKILL.md +39 -22
  477. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/assets/diagnose-windows-sandbox-acl/scripts/diagnose-windows-sandbox-acl.ps1 +308 -231
  478. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
  479. package/node_modules/@deepseek-ai/dsh-schedule/README.i18n.yaml +2 -2
  480. package/node_modules/@deepseek-ai/dsh-schedule/README.md +3 -3
  481. package/node_modules/@deepseek-ai/dsh-schedule/README.zh.md +3 -3
  482. package/node_modules/@deepseek-ai/dsh-schedule/lib/index.js +6 -4
  483. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/domain.js +6 -4
  484. package/node_modules/@deepseek-ai/dsh-schedule/package.json +30 -30
  485. package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
  486. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +5 -5
  487. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +21 -21
  488. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +28 -28
  489. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +7 -7
  490. package/node_modules/@deepseek-ai/dsh-session/package.json +9 -9
  491. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +15 -15
  492. package/node_modules/@deepseek-ai/dsh-session-format/package.json +2 -2
  493. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +9 -9
  494. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +4 -4
  495. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +6 -6
  496. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +4 -4
  497. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +3 -3
  498. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +15 -15
  499. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +21 -21
  500. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +9 -9
  501. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +10 -10
  502. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +3 -3
  503. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +10 -10
  504. package/node_modules/@deepseek-ai/dsh-session-query/package.json +18 -18
  505. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +9 -9
  506. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +1 -1
  507. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +34 -34
  508. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +7 -7
  509. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +5 -5
  510. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +21 -21
  511. package/node_modules/@deepseek-ai/dsh-session-title/package.json +16 -16
  512. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +13 -13
  513. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +10 -10
  514. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +7 -7
  515. package/node_modules/@deepseek-ai/dsh-settings/package.json +12 -12
  516. package/node_modules/@deepseek-ai/dsh-shell/package.json +5 -5
  517. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +11 -11
  518. package/node_modules/@deepseek-ai/dsh-skill/package.json +6 -6
  519. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +3 -3
  520. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +7 -7
  521. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +3 -3
  522. package/node_modules/@deepseek-ai/dsh-spill/package.json +7 -7
  523. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +6 -6
  524. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +30 -30
  525. package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
  526. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +5 -5
  527. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +3 -3
  528. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +1 -1
  529. package/node_modules/@deepseek-ai/dsh-subagent/package.json +48 -48
  530. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +20 -20
  531. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +14 -14
  532. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +22 -22
  533. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +17 -17
  534. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +4 -4
  535. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +7 -7
  536. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +7 -7
  537. package/node_modules/@deepseek-ai/dsh-terminal/package.json +6 -6
  538. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +17 -17
  539. package/node_modules/@deepseek-ai/dsh-time-context/package.json +20 -20
  540. package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
  541. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +11 -11
  542. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +14 -14
  543. package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.i18n.yaml +22 -22
  544. package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.md +27 -11
  545. package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.zh.md +27 -11
  546. package/node_modules/@deepseek-ai/dsh-tool-ask-user/lib/index.js +211 -3
  547. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +12 -9
  548. package/node_modules/@deepseek-ai/dsh-tool-bash/README.i18n.yaml +2 -2
  549. package/node_modules/@deepseek-ai/dsh-tool-bash/README.md +1 -1
  550. package/node_modules/@deepseek-ai/dsh-tool-bash/README.zh.md +1 -1
  551. package/node_modules/@deepseek-ai/dsh-tool-bash/lib/index.js +1 -1
  552. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +29 -29
  553. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +19 -19
  554. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +7 -7
  555. package/node_modules/@deepseek-ai/dsh-tool-cordis/README.i18n.yaml +2 -2
  556. package/node_modules/@deepseek-ai/dsh-tool-cordis/README.md +1 -1
  557. package/node_modules/@deepseek-ai/dsh-tool-cordis/README.zh.md +1 -1
  558. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/index.js +1 -1
  559. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +31 -1
  560. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/index.js +3 -3
  561. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +10 -10
  562. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +29 -29
  563. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +20 -20
  564. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +16 -16
  565. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +15 -15
  566. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +17 -17
  567. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.i18n.yaml +2 -2
  568. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.md +1 -1
  569. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.zh.md +1 -1
  570. package/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/index.js +2 -2
  571. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +28 -28
  572. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.i18n.yaml +4 -4
  573. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.md +2 -2
  574. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.zh.md +2 -2
  575. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/lib/index.js +1 -1
  576. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +20 -20
  577. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +19 -19
  578. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +12 -12
  579. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +19 -19
  580. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +26 -26
  581. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +19 -19
  582. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +15 -15
  583. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +19 -19
  584. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +22 -22
  585. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +6 -6
  586. package/node_modules/@deepseek-ai/dsh-tools/package.json +24 -24
  587. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +75 -75
  588. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +4 -4
  589. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +2 -2
  590. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +2 -2
  591. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +15 -15
  592. package/node_modules/@deepseek-ai/dsh-user-questions/README.i18n.yaml +19 -22
  593. package/node_modules/@deepseek-ai/dsh-user-questions/README.md +13 -10
  594. package/node_modules/@deepseek-ai/dsh-user-questions/README.zh.md +13 -10
  595. package/node_modules/@deepseek-ai/dsh-user-questions/lib/index.js +659 -46
  596. package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +770 -0
  597. package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.remote-client.js +125 -0
  598. package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/index.js +289 -58
  599. package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/projection.js +298 -0
  600. package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/timed-wait.js +85 -0
  601. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +35 -11
  602. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +1 -1
  603. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +1 -1
  604. package/node_modules/@deepseek-ai/dsh-util-time/package.json +1 -1
  605. package/node_modules/@deepseek-ai/dsh-util-values/package.json +1 -1
  606. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +1 -1
  607. package/node_modules/@deepseek-ai/dsh-web/package.json +3 -3
  608. package/node_modules/@deepseek-ai/dsh-web-app/package.json +136 -136
  609. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +7 -7
  610. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-5SrrfWpU.js +127 -0
  611. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BPHePDI_.css +1 -0
  612. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
  613. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +16 -16
  614. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +15 -15
  615. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +6 -6
  616. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +6 -6
  617. package/node_modules/@deepseek-ai/dsh-webhook/package.json +21 -21
  618. package/node_modules/@deepseek-ai/dsh-webhook-github/package.json +10 -10
  619. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +2 -2
  620. package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
  621. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +34 -34
  622. package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
  623. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +11 -11
  624. package/node_modules/@earendil-works/pi-ai/README.md +52 -8
  625. package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +131 -87
  626. package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js +17 -5
  627. package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +13 -12
  628. package/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.js +21 -73
  629. package/node_modules/@earendil-works/pi-ai/dist/api/google-shared.js +55 -4
  630. package/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.js +25 -65
  631. package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +19 -12
  632. package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +26 -23
  633. package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +44 -59
  634. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +56 -56
  635. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +14 -19
  636. package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js +2 -2
  637. package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.js +21 -7
  638. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/load.js +5 -0
  639. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/meta.js +190 -0
  640. package/node_modules/@earendil-works/pi-ai/dist/bun-oauth.js +2 -0
  641. package/node_modules/@earendil-works/pi-ai/dist/compat.js +9 -6
  642. package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +1 -0
  643. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js +49 -4
  644. package/node_modules/@earendil-works/pi-ai/dist/index.js +2 -1
  645. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +4 -0
  646. package/node_modules/@earendil-works/pi-ai/dist/models.js +5 -2
  647. package/node_modules/@earendil-works/pi-ai/dist/providers/all.js +2 -0
  648. package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  649. package/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
  650. package/node_modules/@earendil-works/pi-ai/dist/providers/data/ant-ling.json +1 -1
  651. package/node_modules/@earendil-works/pi-ai/dist/providers/data/anthropic.json +1 -1
  652. package/node_modules/@earendil-works/pi-ai/dist/providers/data/azure-openai-responses.json +1 -1
  653. package/node_modules/@earendil-works/pi-ai/dist/providers/data/baseten.json +1 -1
  654. package/node_modules/@earendil-works/pi-ai/dist/providers/data/cerebras.json +1 -1
  655. package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
  656. package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-workers-ai.json +1 -1
  657. package/node_modules/@earendil-works/pi-ai/dist/providers/data/deepseek.json +1 -1
  658. package/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.json +1 -1
  659. package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
  660. package/node_modules/@earendil-works/pi-ai/dist/providers/data/google-vertex.json +1 -1
  661. package/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
  662. package/node_modules/@earendil-works/pi-ai/dist/providers/data/groq.json +1 -1
  663. package/node_modules/@earendil-works/pi-ai/dist/providers/data/huggingface.json +1 -1
  664. package/node_modules/@earendil-works/pi-ai/dist/providers/data/kimi-coding.json +1 -1
  665. package/node_modules/@earendil-works/pi-ai/dist/providers/data/meta.json +1 -0
  666. package/node_modules/@earendil-works/pi-ai/dist/providers/data/minimax-cn.json +1 -1
  667. package/node_modules/@earendil-works/pi-ai/dist/providers/data/minimax.json +1 -1
  668. package/node_modules/@earendil-works/pi-ai/dist/providers/data/mistral.json +1 -1
  669. package/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai-cn.json +1 -1
  670. package/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai.json +1 -1
  671. package/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
  672. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai-codex.json +1 -1
  673. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
  674. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
  675. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
  676. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  677. package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-cn.json +1 -1
  678. package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-individual.json +1 -1
  679. package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan.json +1 -1
  680. package/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -0
  681. package/node_modules/@earendil-works/pi-ai/dist/providers/data/together.json +1 -1
  682. package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
  683. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xai.json +1 -1
  684. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-ams.json +1 -1
  685. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-cn.json +1 -1
  686. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-sgp.json +1 -1
  687. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi.json +1 -1
  688. package/node_modules/@earendil-works/pi-ai/dist/providers/data/zai-coding-cn.json +1 -1
  689. package/node_modules/@earendil-works/pi-ai/dist/providers/data/zai.json +1 -1
  690. package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js +12 -11
  691. package/node_modules/@earendil-works/pi-ai/dist/providers/meta.js +24 -0
  692. package/node_modules/@earendil-works/pi-ai/dist/providers/meta.models.js +6 -0
  693. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.js +4 -3
  694. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-headers.js +22 -0
  695. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.js +5 -4
  696. package/node_modules/@earendil-works/pi-ai/dist/providers/radius.js +19 -5
  697. package/node_modules/@earendil-works/pi-ai/dist/providers/radius.models.js +6 -0
  698. package/node_modules/@earendil-works/pi-ai/dist/utils/estimate.js +8 -29
  699. package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js +25 -7
  700. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js +11 -5
  701. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +9 -1
  702. package/node_modules/@earendil-works/pi-ai/dist/utils/text.js +26 -0
  703. package/node_modules/@earendil-works/pi-ai/dist/utils/transcript.js +204 -0
  704. package/node_modules/@earendil-works/pi-ai/node_modules/https-proxy-agent/LICENSE +22 -0
  705. package/node_modules/@earendil-works/pi-ai/node_modules/https-proxy-agent/README.md +70 -0
  706. package/node_modules/@earendil-works/pi-ai/node_modules/https-proxy-agent/dist/index.js +234 -0
  707. package/node_modules/@earendil-works/pi-ai/node_modules/https-proxy-agent/dist/parse-proxy-response.js +94 -0
  708. package/node_modules/@earendil-works/pi-ai/node_modules/https-proxy-agent/package.json +51 -0
  709. package/node_modules/@earendil-works/pi-ai/package.json +9 -9
  710. package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
  711. package/node_modules/@google/genai/README.md +19 -4
  712. package/node_modules/@google/genai/dist/index.cjs +7737 -2768
  713. package/node_modules/@google/genai/dist/index.mjs +7730 -2769
  714. package/node_modules/@google/genai/dist/node/index.cjs +7741 -2763
  715. package/node_modules/@google/genai/dist/node/index.mjs +7734 -2764
  716. package/node_modules/@google/genai/dist/tokenizer/node.cjs +424 -117
  717. package/node_modules/@google/genai/dist/tokenizer/node.mjs +424 -117
  718. package/node_modules/@google/genai/dist/vertex_internal/index.cjs +560 -181
  719. package/node_modules/@google/genai/dist/vertex_internal/index.js +561 -182
  720. package/node_modules/@google/genai/dist/web/index.mjs +7717 -2757
  721. package/node_modules/@google/genai/package.json +3 -3
  722. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +41 -70
  723. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
  724. package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +1 -0
  725. package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -3
  726. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +19 -8
  727. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -3
  728. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +10 -2
  729. package/node_modules/@smithy/node-http-handler/package.json +23 -30
  730. package/node_modules/agent-base/dist/helpers.js +5 -34
  731. package/node_modules/agent-base/dist/index.js +8 -40
  732. package/node_modules/agent-base/package.json +11 -11
  733. package/node_modules/http-proxy-agent/dist/index.js +26 -42
  734. package/node_modules/http-proxy-agent/package.json +14 -13
  735. package/node_modules/https-proxy-agent/node_modules/agent-base/LICENSE +22 -0
  736. package/node_modules/https-proxy-agent/node_modules/agent-base/README.md +69 -0
  737. package/node_modules/https-proxy-agent/node_modules/agent-base/dist/helpers.js +66 -0
  738. package/node_modules/https-proxy-agent/node_modules/agent-base/dist/index.js +178 -0
  739. package/node_modules/https-proxy-agent/node_modules/agent-base/package.json +46 -0
  740. package/node_modules/proxy-agent-negotiate/dist/index.js +35 -0
  741. package/node_modules/proxy-agent-negotiate/package.json +43 -0
  742. package/node_modules/typebox/build/compile/validator.mjs +1 -1
  743. package/node_modules/typebox/build/format/date.mjs +1 -1
  744. package/node_modules/typebox/build/format/date_time.mjs +3 -3
  745. package/node_modules/typebox/build/format/email.mjs +2 -2
  746. package/node_modules/typebox/build/format/hostname.mjs +2 -10
  747. package/node_modules/typebox/build/format/idn_email.mjs +3 -3
  748. package/node_modules/typebox/build/format/idn_hostname.mjs +3 -11
  749. package/node_modules/typebox/build/format/idna/format/bidi.mjs +98 -0
  750. package/node_modules/typebox/build/format/idna/format/puny.mjs +144 -0
  751. package/node_modules/typebox/build/format/idna/hostname.mjs +16 -0
  752. package/node_modules/typebox/build/format/idna/idn-hostname.mjs +43 -0
  753. package/node_modules/typebox/build/format/idna/index.mjs +2 -0
  754. package/node_modules/typebox/build/format/idna/label/ascii.mjs +9 -0
  755. package/node_modules/typebox/build/format/idna/label/puny.mjs +28 -0
  756. package/node_modules/typebox/build/format/idna/label/unicode.mjs +106 -0
  757. package/node_modules/typebox/build/format/idna/pattern/pattern.mjs +70 -0
  758. package/node_modules/typebox/build/format/ipv4.mjs +2 -32
  759. package/node_modules/typebox/build/format/ipv6.mjs +2 -61
  760. package/node_modules/typebox/build/format/iri.mjs +30 -8
  761. package/node_modules/typebox/build/format/iri_reference.mjs +9 -55
  762. package/node_modules/typebox/build/format/json_pointer.mjs +2 -2
  763. package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +2 -2
  764. package/node_modules/typebox/build/format/regex.mjs +2 -6
  765. package/node_modules/typebox/build/format/relative_json_pointer.mjs +2 -2
  766. package/node_modules/typebox/build/format/time.mjs +19 -14
  767. package/node_modules/typebox/build/format/uri.mjs +3 -130
  768. package/node_modules/typebox/build/format/uri_reference.mjs +2 -3
  769. package/node_modules/typebox/build/format/uri_template.mjs +4 -5
  770. package/node_modules/typebox/build/format/url.mjs +4 -5
  771. package/node_modules/typebox/build/guard/emit.mjs +13 -8
  772. package/node_modules/typebox/build/guard/guard.mjs +22 -13
  773. package/node_modules/typebox/build/guard/string.mjs +23 -31
  774. package/node_modules/typebox/build/schema/compile.mjs +8 -8
  775. package/node_modules/typebox/build/schema/engine/_context.mjs +12 -17
  776. package/node_modules/typebox/build/schema/engine/_functions.mjs +2 -3
  777. package/node_modules/typebox/build/schema/engine/_regexp.mjs +4 -0
  778. package/node_modules/typebox/build/schema/engine/_stack.mjs +138 -36
  779. package/node_modules/typebox/build/schema/engine/additionalItems.mjs +17 -7
  780. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +20 -7
  781. package/node_modules/typebox/build/schema/engine/allOf.mjs +2 -2
  782. package/node_modules/typebox/build/schema/engine/anyOf.mjs +2 -2
  783. package/node_modules/typebox/build/schema/engine/contains.mjs +18 -6
  784. package/node_modules/typebox/build/schema/engine/enum.mjs +1 -1
  785. package/node_modules/typebox/build/schema/engine/if.mjs +2 -2
  786. package/node_modules/typebox/build/schema/engine/items.mjs +26 -6
  787. package/node_modules/typebox/build/schema/engine/maxContains.mjs +3 -3
  788. package/node_modules/typebox/build/schema/engine/minContains.mjs +14 -4
  789. package/node_modules/typebox/build/schema/engine/not.mjs +4 -2
  790. package/node_modules/typebox/build/schema/engine/oneOf.mjs +9 -8
  791. package/node_modules/typebox/build/schema/engine/pattern.mjs +3 -2
  792. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +4 -3
  793. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +1 -3
  794. package/node_modules/typebox/build/schema/engine/ref.mjs +3 -9
  795. package/node_modules/typebox/build/schema/engine/schema.mjs +19 -4
  796. package/node_modules/typebox/build/schema/engine/type.mjs +1 -1
  797. package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +2 -2
  798. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +2 -2
  799. package/node_modules/typebox/build/schema/errors.mjs +7 -13
  800. package/node_modules/typebox/build/schema/intern/index.mjs +1 -0
  801. package/node_modules/typebox/build/schema/intern/intern.mjs +259 -0
  802. package/node_modules/typebox/build/schema/parse.mjs +10 -5
  803. package/node_modules/typebox/build/schema/resolve/resolve.mjs +327 -1
  804. package/node_modules/typebox/build/schema/schema.mjs +1 -0
  805. package/node_modules/typebox/build/schema/static/propertyNames.mjs +3 -0
  806. package/node_modules/typebox/build/schema/types/index.mjs +0 -2
  807. package/node_modules/typebox/build/system/memory/assign.mjs +2 -1
  808. package/node_modules/typebox/build/system/memory/clone.mjs +14 -11
  809. package/node_modules/typebox/build/system/memory/create.mjs +3 -4
  810. package/node_modules/typebox/build/system/memory/discard.mjs +8 -7
  811. package/node_modules/typebox/build/system/memory/freeze.mjs +6 -0
  812. package/node_modules/typebox/build/system/memory/update.mjs +3 -2
  813. package/node_modules/typebox/build/system/settings/settings.mjs +2 -0
  814. package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +16 -3
  815. package/node_modules/typebox/build/type/engine/call/instantiate.mjs +34 -4
  816. package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +20 -26
  817. package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +9 -13
  818. package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +12 -19
  819. package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +8 -20
  820. package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +11 -8
  821. package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +3 -4
  822. package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +26 -6
  823. package/node_modules/typebox/build/type/engine/exclude/operation.mjs +3 -4
  824. package/node_modules/typebox/build/type/engine/extract/operation.mjs +3 -4
  825. package/node_modules/typebox/build/type/engine/priority/priority.mjs +3 -4
  826. package/node_modules/typebox/build/type/script/mapping.mjs +18 -25
  827. package/node_modules/typebox/build/type/script/parser.mjs +27 -23
  828. package/node_modules/typebox/build/value/errors/errors.mjs +2 -7
  829. package/node_modules/typebox/package.json +29 -29
  830. package/node_modules/typebox/readme.md +84 -83
  831. package/package.json +294 -308
  832. package/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +0 -118
  833. package/node_modules/@aws-crypto/sha256-browser/LICENSE +0 -202
  834. package/node_modules/@aws-crypto/sha256-browser/README.md +0 -31
  835. package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js +0 -43
  836. package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js +0 -30
  837. package/node_modules/@aws-crypto/sha256-browser/build/main/index.js +0 -8
  838. package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js +0 -11
  839. package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js +0 -56
  840. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js +0 -40
  841. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js +0 -27
  842. package/node_modules/@aws-crypto/sha256-browser/build/module/index.js +0 -3
  843. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js +0 -7
  844. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js +0 -53
  845. package/node_modules/@aws-crypto/sha256-browser/package.json +0 -28
  846. package/node_modules/@aws-crypto/sha256-browser/src/constants.ts +0 -41
  847. package/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +0 -30
  848. package/node_modules/@aws-crypto/sha256-browser/src/index.ts +0 -2
  849. package/node_modules/@aws-crypto/sha256-browser/src/isEmptyData.ts +0 -9
  850. package/node_modules/@aws-crypto/sha256-browser/src/webCryptoSha256.ts +0 -71
  851. package/node_modules/@aws-crypto/sha256-browser/tsconfig.json +0 -10
  852. package/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json +0 -7
  853. package/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +0 -106
  854. package/node_modules/@aws-crypto/sha256-js/LICENSE +0 -201
  855. package/node_modules/@aws-crypto/sha256-js/README.md +0 -29
  856. package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js +0 -124
  857. package/node_modules/@aws-crypto/sha256-js/build/main/constants.js +0 -98
  858. package/node_modules/@aws-crypto/sha256-js/build/main/index.js +0 -5
  859. package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js +0 -85
  860. package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js +0 -322
  861. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js +0 -121
  862. package/node_modules/@aws-crypto/sha256-js/build/module/constants.js +0 -95
  863. package/node_modules/@aws-crypto/sha256-js/build/module/index.js +0 -2
  864. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js +0 -82
  865. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js +0 -319
  866. package/node_modules/@aws-crypto/sha256-js/package.json +0 -27
  867. package/node_modules/@aws-crypto/sha256-js/src/RawSha256.ts +0 -164
  868. package/node_modules/@aws-crypto/sha256-js/src/constants.ts +0 -98
  869. package/node_modules/@aws-crypto/sha256-js/src/index.ts +0 -1
  870. package/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts +0 -94
  871. package/node_modules/@aws-crypto/sha256-js/src/knownHashes.fixture.ts +0 -401
  872. package/node_modules/@aws-crypto/sha256-js/tsconfig.json +0 -10
  873. package/node_modules/@aws-crypto/sha256-js/tsconfig.module.json +0 -7
  874. package/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +0 -66
  875. package/node_modules/@aws-crypto/supports-web-crypto/LICENSE +0 -202
  876. package/node_modules/@aws-crypto/supports-web-crypto/README.md +0 -32
  877. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js +0 -5
  878. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js +0 -69
  879. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js +0 -2
  880. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js +0 -62
  881. package/node_modules/@aws-crypto/supports-web-crypto/package.json +0 -23
  882. package/node_modules/@aws-crypto/supports-web-crypto/src/index.ts +0 -1
  883. package/node_modules/@aws-crypto/supports-web-crypto/src/supportsWebCrypto.ts +0 -76
  884. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json +0 -10
  885. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json +0 -7
  886. package/node_modules/@aws-crypto/util/CHANGELOG.md +0 -71
  887. package/node_modules/@aws-crypto/util/LICENSE +0 -201
  888. package/node_modules/@aws-crypto/util/README.md +0 -16
  889. package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +0 -24
  890. package/node_modules/@aws-crypto/util/build/main/index.js +0 -14
  891. package/node_modules/@aws-crypto/util/build/main/isEmptyData.js +0 -13
  892. package/node_modules/@aws-crypto/util/build/main/numToUint8.js +0 -15
  893. package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +0 -20
  894. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js +0 -20
  895. package/node_modules/@aws-crypto/util/build/module/index.js +0 -7
  896. package/node_modules/@aws-crypto/util/build/module/isEmptyData.js +0 -9
  897. package/node_modules/@aws-crypto/util/build/module/numToUint8.js +0 -11
  898. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js +0 -16
  899. package/node_modules/@aws-crypto/util/package.json +0 -27
  900. package/node_modules/@aws-crypto/util/src/convertToBuffer.ts +0 -30
  901. package/node_modules/@aws-crypto/util/src/index.ts +0 -7
  902. package/node_modules/@aws-crypto/util/src/isEmptyData.ts +0 -12
  903. package/node_modules/@aws-crypto/util/src/numToUint8.ts +0 -11
  904. package/node_modules/@aws-crypto/util/src/uint32ArrayFrom.ts +0 -16
  905. package/node_modules/@aws-crypto/util/tsconfig.json +0 -9
  906. package/node_modules/@aws-crypto/util/tsconfig.module.json +0 -7
  907. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/auth/httpAuthSchemeProvider.js +0 -63
  908. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/bdd.js +0 -49
  909. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/endpointResolver.js +0 -18
  910. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/models/BedrockRuntimeServiceException.js +0 -12
  911. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/models/errors.js +0 -169
  912. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.browser.js +0 -41
  913. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.js +0 -78
  914. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.native.js +0 -19
  915. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.shared.js +0 -48
  916. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/schemas/schemas_0.js +0 -1500
  917. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/LICENSE +0 -201
  918. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/README.md +0 -9
  919. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +0 -859
  920. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +0 -19
  921. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/constants.js +0 -1
  922. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +0 -12
  923. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +0 -51
  924. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/index.js +0 -3
  925. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +0 -251
  926. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +0 -135
  927. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +0 -46
  928. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +0 -180
  929. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -36
  930. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +0 -21
  931. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -22
  932. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -23
  933. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/timing.js +0 -4
  934. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +0 -63
  935. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +0 -56
  936. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/LICENSE +0 -201
  937. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/README.md +0 -9
  938. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +0 -859
  939. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +0 -19
  940. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/constants.js +0 -1
  941. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +0 -12
  942. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +0 -51
  943. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/index.js +0 -3
  944. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +0 -251
  945. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +0 -135
  946. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +0 -46
  947. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +0 -180
  948. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +0 -2
  949. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-https.js +0 -2
  950. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -36
  951. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +0 -21
  952. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -22
  953. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -23
  954. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/timing.js +0 -4
  955. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +0 -63
  956. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +0 -56
  957. package/node_modules/@aws-sdk/util-locate-window/LICENSE +0 -201
  958. package/node_modules/@aws-sdk/util-locate-window/README.md +0 -4
  959. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -12
  960. package/node_modules/@aws-sdk/util-locate-window/dist-es/index.js +0 -10
  961. package/node_modules/@aws-sdk/util-locate-window/package.json +0 -43
  962. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Cq6ljTv2.css +0 -1
  963. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Dy0OhsZ5.js +0 -127
  964. package/node_modules/@earendil-works/pi-ai/dist/utils/deferred-tools.js +0 -36
  965. package/node_modules/@smithy/is-array-buffer/LICENSE +0 -201
  966. package/node_modules/@smithy/is-array-buffer/README.md +0 -10
  967. package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +0 -32
  968. package/node_modules/@smithy/is-array-buffer/dist-es/index.js +0 -2
  969. package/node_modules/@smithy/is-array-buffer/package.json +0 -48
  970. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +0 -21
  971. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +0 -88
  972. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
  973. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
  974. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -21
  975. package/node_modules/@smithy/util-buffer-from/LICENSE +0 -201
  976. package/node_modules/@smithy/util-buffer-from/README.md +0 -10
  977. package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +0 -47
  978. package/node_modules/@smithy/util-buffer-from/dist-es/index.js +0 -14
  979. package/node_modules/@smithy/util-buffer-from/package.json +0 -49
  980. package/node_modules/@smithy/util-utf8/LICENSE +0 -201
  981. package/node_modules/@smithy/util-utf8/README.md +0 -4
  982. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
  983. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
  984. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
  985. package/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
  986. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
  987. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
  988. package/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +0 -1
  989. package/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
  990. package/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
  991. package/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +0 -10
  992. package/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +0 -9
  993. package/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
  994. package/node_modules/@smithy/util-utf8/package.json +0 -54
  995. package/node_modules/typebox/build/format/_idna.mjs +0 -246
  996. package/node_modules/typebox/build/format/_puny.mjs +0 -77
  997. package/node_modules/typebox/build/schema/resolve/ref.mjs +0 -146
  998. package/node_modules/typebox/build/schema/types/contentEncoding.mjs +0 -13
  999. package/node_modules/typebox/build/schema/types/contentMediaType.mjs +0 -13
  1000. /package/node_modules/{@aws-sdk/credential-provider-http/node_modules/@smithy → @smithy}/node-http-handler/dist-es/node-http2.js +0 -0
  1001. /package/node_modules/{@aws-sdk/credential-provider-http/node_modules/@smithy → @smithy}/node-http-handler/dist-es/node-https.js +0 -0
@@ -67,7 +67,7 @@ function NextGraphemeClusterIndex(value, clusterStart) {
67
67
  // Consume combining marks & variation selectors
68
68
  clusterEnd = ConsumeModifiers(value, clusterEnd);
69
69
  // Handle multi-ZWJ sequences
70
- while (clusterEnd < value.length - 1 && value[clusterEnd] === '\u200D') {
70
+ while (clusterEnd < value.length - 1 && IsZeroWidthJoiner(value.codePointAt(clusterEnd))) {
71
71
  const nextCP = value.codePointAt(clusterEnd + 1);
72
72
  clusterEnd += 1 + CodePointLength(nextCP);
73
73
  clusterEnd = ConsumeModifiers(value, clusterEnd);
@@ -84,10 +84,11 @@ function NextGraphemeClusterIndex(value, clusterStart) {
84
84
  // IsGraphemeCodePoint
85
85
  // --------------------------------------------------------------------------
86
86
  function IsGraphemeCodePoint(value) {
87
- return (IsHighSurrogate(value) ||
87
+ return ((value >= 0x0300) && ( // above special range
88
+ IsHighSurrogate(value) ||
88
89
  IsCombiningMark(value) ||
89
90
  IsVariationSelector(value) ||
90
- IsZeroWidthJoiner(value));
91
+ IsZeroWidthJoiner(value)));
91
92
  }
92
93
  // --------------------------------------------------------------------------
93
94
  // GraphemeCount
@@ -103,39 +104,30 @@ export function GraphemeCount(value) {
103
104
  return count;
104
105
  }
105
106
  // --------------------------------------------------------------------------
106
- // IsMinLength
107
+ // IsMinLengthSegmented
107
108
  // --------------------------------------------------------------------------
108
109
  /** Checks if a string has at least a minimum number of grapheme clusters */
109
- function IsMinLength(value, minLength) {
110
- // ----------------------------------------------------------------
111
- // Inaccessible via public interface (review)
112
- //
113
- // deno-coverage-ignore-start
114
- // ----------------------------------------------------------------
115
- if (minLength === 0)
116
- return true; // 0-length
117
- // deno-coverage-ignore-stop
110
+ function IsMinLengthSegmented(value, minLength) {
111
+ // if (minLength === 0) return true // 0-length (unreachable)
118
112
  let count = 0;
119
113
  let index = 0;
120
114
  while (index < value.length) {
121
115
  index = NextGraphemeClusterIndex(value, index);
122
- count++;
123
- if (count >= minLength)
116
+ if ((++count) >= minLength)
124
117
  return true;
125
118
  }
126
119
  return false;
127
120
  }
128
121
  // --------------------------------------------------------------------------
129
- // IsMaxLength
122
+ // IsMaxLengthSegmented
130
123
  // --------------------------------------------------------------------------
131
124
  /** Checks if a string has at most a maximum number of grapheme clusters */
132
- function IsMaxLength(value, maxLength) {
125
+ function IsMaxLengthSegmented(value, maxLength) {
133
126
  let count = 0;
134
127
  let index = 0;
135
128
  while (index < value.length) {
136
129
  index = NextGraphemeClusterIndex(value, index);
137
- count++;
138
- if (count > maxLength)
130
+ if ((++count) > maxLength)
139
131
  return false;
140
132
  }
141
133
  return true;
@@ -144,33 +136,33 @@ function IsMaxLength(value, maxLength) {
144
136
  // IsMinLengthFast
145
137
  // --------------------------------------------------------------------------
146
138
  /** Fast check for minimum grapheme length, falls back to full check if needed */
147
- export function IsMinLengthFast(value, minLength) {
139
+ export function IsMinLength(value, minLength) {
148
140
  if (minLength === 0)
149
141
  return true; // 0-length
142
+ if (value.length < minLength)
143
+ return false; // length is upper bound on grapheme count
150
144
  let index = 0;
151
- while (index < value.length) {
145
+ while (true) {
152
146
  if (IsGraphemeCodePoint(value.charCodeAt(index))) {
153
- return IsMinLength(value, minLength);
147
+ return IsMinLengthSegmented(value, minLength);
154
148
  }
155
- index++;
156
- if (index >= minLength)
149
+ if ((++index) >= minLength)
157
150
  return true;
158
151
  }
159
- return false;
160
152
  }
161
153
  // --------------------------------------------------------------------------
162
154
  // IsMaxLengthFast
163
155
  // --------------------------------------------------------------------------
164
156
  /** Fast check for maximum grapheme length, falls back to full check if needed */
165
- export function IsMaxLengthFast(value, maxLength) {
157
+ export function IsMaxLength(value, maxLength) {
158
+ if (value.length <= maxLength)
159
+ return true; // length is upper bound on grapheme count
166
160
  let index = 0;
167
- while (index < value.length) {
161
+ while (true) {
168
162
  if (IsGraphemeCodePoint(value.charCodeAt(index))) {
169
- return IsMaxLength(value, maxLength);
163
+ return IsMaxLengthSegmented(value, maxLength);
170
164
  }
171
- index++;
172
- if (index > maxLength)
165
+ if ((++index) > maxLength)
173
166
  return false;
174
167
  }
175
- return true;
176
168
  }
@@ -3,14 +3,15 @@
3
3
  import { Arguments } from '../system/arguments/index.mjs';
4
4
  import * as Build from './build.mjs';
5
5
  import { Errors } from './errors.mjs';
6
- import { ParseError } from './parse.mjs';
6
+ import { ThrowParseError } from './parse.mjs';
7
7
  // ------------------------------------------------------------------
8
8
  // Validator
9
9
  // ------------------------------------------------------------------
10
10
  export class Validator {
11
11
  constructor(context, schema) {
12
- this.buildResult = Build.Build(context, schema);
13
- this.evaluateResult = this.buildResult.Evaluate();
12
+ this.evaluateResult = Build.Build(context, schema).Evaluate();
13
+ this.context = context;
14
+ this.schema = schema;
14
15
  }
15
16
  /** Returns true if this Validator is using JIT acceleration. */
16
17
  IsAccelerated() {
@@ -18,7 +19,7 @@ export class Validator {
18
19
  }
19
20
  /** Returns the underlying Schema used to construct this Validator. */
20
21
  Schema() {
21
- return this.buildResult.Schema();
22
+ return this.schema;
22
23
  }
23
24
  /** Performs a type-guard check on the provided value. */
24
25
  Check(value) {
@@ -28,12 +29,11 @@ export class Validator {
28
29
  Parse(value) {
29
30
  if (this.evaluateResult.Check(value))
30
31
  return value;
31
- const [_result, errors] = Errors(this.buildResult.Context(), this.buildResult.Schema(), value);
32
- throw new ParseError(this.buildResult.Schema(), value, errors);
32
+ ThrowParseError(this.context, this.schema, value);
33
33
  }
34
- /** Inspects a value and returns a detailed list of validation errors. */
34
+ /** Returns an array of validation errors for the given value. */
35
35
  Errors(value) {
36
- return Errors(this.buildResult.Context(), this.buildResult.Schema(), value);
36
+ return Errors(this.context, this.schema, value);
37
37
  }
38
38
  }
39
39
  /** Compiles this schema into a high performance Validator */
@@ -1,4 +1,5 @@
1
1
  // deno-fmt-ignore-file
2
+ import { Settings } from '../../system/settings/index.mjs';
2
3
  import * as Schema from '../types/index.mjs';
3
4
  import { Guard as G, EmitGuard as E } from '../../guard/index.mjs';
4
5
  // ------------------------------------------------------------------
@@ -7,10 +8,10 @@ import { Guard as G, EmitGuard as E } from '../../guard/index.mjs';
7
8
  function HasUnevaluatedFromObject(value) {
8
9
  return (Schema.IsUnevaluatedItems(value)
9
10
  || Schema.IsUnevaluatedProperties(value)
10
- || G.Keys(value).some(key => HasUnevaluatedFromUnknown(value[key])));
11
+ || G.Some(G.Keys(value), key => HasUnevaluatedFromUnknown(value[key])));
11
12
  }
12
13
  function HasUnevaluatedFromArray(value) {
13
- return value.some(value => HasUnevaluatedFromUnknown(value));
14
+ return G.Some(value, value => HasUnevaluatedFromUnknown(value));
14
15
  }
15
16
  function HasUnevaluatedFromUnknown(value) {
16
17
  return (G.IsArray(value) ? HasUnevaluatedFromArray(value) :
@@ -18,7 +19,7 @@ function HasUnevaluatedFromUnknown(value) {
18
19
  false);
19
20
  }
20
21
  export function HasUnevaluated(context, schema) {
21
- return HasUnevaluatedFromUnknown(schema) || G.Keys(context).some(key => HasUnevaluatedFromUnknown(context[key]));
22
+ return HasUnevaluatedFromUnknown(schema) || G.Some(G.Keys(context), key => HasUnevaluatedFromUnknown(context[key]));
22
23
  }
23
24
  // ------------------------------------------------------------------
24
25
  // BuildContext
@@ -101,26 +102,20 @@ export class CheckContext {
101
102
  return true;
102
103
  }
103
104
  }
104
- export class ErrorContext extends CheckContext {
105
- constructor(callback) {
106
- super();
107
- this.callback = callback;
108
- }
109
- AddError(error) {
110
- this.callback(error);
111
- return false;
112
- }
113
- }
114
105
  // ------------------------------------------------------------------
115
- // AccumulatedErrorContext
106
+ // ErrorContext
116
107
  // ------------------------------------------------------------------
117
- export class AccumulatedErrorContext extends ErrorContext {
108
+ export class ErrorContext extends CheckContext {
118
109
  constructor() {
119
- super(error => this.errors.push(error));
110
+ super();
120
111
  this.errors = [];
121
112
  }
113
+ AtCapacity() {
114
+ return this.errors.length >= Settings.Get().maxErrors;
115
+ }
122
116
  AddError(error) {
123
- this.errors.push(error);
117
+ if (!this.AtCapacity())
118
+ this.errors.push(error);
124
119
  return false;
125
120
  }
126
121
  GetErrors() {
@@ -1,5 +1,4 @@
1
1
  // deno-fmt-ignore-file
2
- import { Hashing } from '../../system/hashing/index.mjs';
3
2
  import { EmitGuard as E } from '../../guard/index.mjs';
4
3
  import { BuildSchema } from './schema.mjs';
5
4
  const index = [0];
@@ -9,7 +8,7 @@ const funcs = new Map();
9
8
  // CreateName
10
9
  // ------------------------------------------------------------------
11
10
  function NextName() {
12
- return Hashing.Hash(index[0]++);
11
+ return `${index[0]++}`;
13
12
  }
14
13
  function CreateName(schema, href) {
15
14
  if (!names.has(schema))
@@ -56,7 +55,7 @@ export function GetFunctions() {
56
55
  // CreateFunction
57
56
  // ------------------------------------------------------------------
58
57
  export function CreateFunction(stack, context, schema, value) {
59
- const name = CreateName(schema, stack.BaseURL().href);
58
+ const name = CreateName(schema, stack.LexicalBaseURL());
60
59
  const call = CreateCallExpression(context, schema, name, value);
61
60
  if (funcs.has(name))
62
61
  return call;
@@ -0,0 +1,4 @@
1
+ /** Standard RegExp with Unicode */
2
+ export function UnicodeRegExp(pattern) {
3
+ return new RegExp(pattern, 'u');
4
+ }
@@ -4,80 +4,163 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
4
4
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
5
5
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
6
6
  };
7
- var _Stack_instances, _Stack_PushResourceAnchors, _Stack_PopResourceAnchors, _Stack_FromContext, _Stack_FromRef;
7
+ var _Stack_instances, _Stack_StackFrame, _Stack_ApplyRefResult, _Stack_BuildBase, _Stack_ResourceBaseURL, _Stack_ReferenceBaseURL, _Stack_LexicalSchema, _Stack_RegisterResourceAnchorArray, _Stack_UnregisterResourceAnchorArray, _Stack_RegisterResourceAnchors, _Stack_UnregisterResourceAnchors, _Stack_RegisterResource, _Stack_UnregisterResource, _Stack_EnterResolvedResource, _Stack_ExitResolvedResource;
8
8
  import * as Schema from '../types/index.mjs';
9
- import { Guard as G } from '../../guard/index.mjs';
9
+ import { Guard } from '../../guard/index.mjs';
10
10
  import { Resolve } from '../resolve/index.mjs';
11
+ // --------------------------------------------------------------------------
12
+ // Stack
13
+ //
14
+ // Tracks traversal state ($ids, $anchors, stack frames) and applies scope
15
+ // updates. Reference resolution rules ($ref, $dynamicRef) are delegated to
16
+ // the Resolve functions using state snapshots (Resolve.Scope).
17
+ // --------------------------------------------------------------------------
11
18
  export class Stack {
12
19
  constructor(context, schema) {
13
20
  _Stack_instances.add(this);
14
21
  this.context = context;
15
22
  this.schema = schema;
16
23
  this.ids = [];
24
+ this.resourceIds = [];
17
25
  this.anchors = [];
18
26
  this.recursiveAnchors = [];
19
27
  this.dynamicAnchors = [];
28
+ this.retrievedResources = new Map();
29
+ this.retrievedFrames = [];
30
+ this.resolvedResources = new Map();
31
+ this.pendingResource = true;
20
32
  }
21
33
  // ----------------------------------------------------------------
22
- // Base
34
+ // LexicalBaseURL
23
35
  // ----------------------------------------------------------------
24
- BaseURL() {
25
- return this.ids.reduce((result, schema) => new URL(schema.$id, result), new URL('http://unknown'));
26
- }
27
- Base() {
28
- return this.ids[this.ids.length - 1] ?? this.schema;
36
+ LexicalBaseURL() {
37
+ return __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_BuildBase).call(this, this.ids);
29
38
  }
30
39
  // ----------------------------------------------------------------
31
- // Stack
40
+ // Push
32
41
  // ----------------------------------------------------------------
33
42
  Push(schema) {
34
43
  if (!Schema.IsSchemaObject(schema))
35
44
  return;
36
- if (Schema.IsId(schema)) {
37
- this.ids.push(schema);
38
- __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_PushResourceAnchors).call(this, schema);
39
- }
45
+ if (Schema.IsId(schema))
46
+ __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_RegisterResource).call(this, schema);
40
47
  if (Schema.IsAnchor(schema))
41
48
  this.anchors.push(schema);
42
49
  if (Schema.IsRecursiveAnchorTrue(schema))
43
50
  this.recursiveAnchors.push(schema);
44
51
  if (Schema.IsDynamicAnchor(schema))
45
52
  this.dynamicAnchors.push(schema);
53
+ const retrievedResource = this.retrievedResources.get(schema);
54
+ if (retrievedResource) {
55
+ this.retrievedFrames.push({
56
+ schema: retrievedResource.root,
57
+ base: retrievedResource.base,
58
+ idDepth: this.ids.length,
59
+ resourceDepth: this.resourceIds.length
60
+ });
61
+ }
46
62
  }
63
+ // ----------------------------------------------------------------
64
+ // Pop
65
+ // ----------------------------------------------------------------
47
66
  Pop(schema) {
48
67
  if (!Schema.IsSchemaObject(schema))
49
68
  return;
50
- if (Schema.IsId(schema)) {
51
- this.ids.pop();
52
- __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_PopResourceAnchors).call(this, schema);
53
- }
69
+ if (Schema.IsId(schema))
70
+ __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_UnregisterResource).call(this, schema);
54
71
  if (Schema.IsAnchor(schema))
55
72
  this.anchors.pop();
56
73
  if (Schema.IsRecursiveAnchorTrue(schema))
57
74
  this.recursiveAnchors.pop();
58
75
  if (Schema.IsDynamicAnchor(schema))
59
76
  this.dynamicAnchors.pop();
77
+ if (this.retrievedResources.has(schema))
78
+ this.retrievedFrames.pop();
79
+ __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_ExitResolvedResource).call(this, schema);
60
80
  }
81
+ // ----------------------------------------------------------------
82
+ // Ref
83
+ // ----------------------------------------------------------------
61
84
  Ref(ref) {
62
- return __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_FromContext).call(this, ref) ?? __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_FromRef).call(this, ref);
85
+ const result = Resolve.ResolveRef(__classPrivateFieldGet(this, _Stack_instances, "m", _Stack_StackFrame).call(this), ref);
86
+ __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_ApplyRefResult).call(this, result);
87
+ return result.schema;
63
88
  }
64
89
  // ----------------------------------------------------------------
65
90
  // RecursiveRef
66
91
  // ----------------------------------------------------------------
67
92
  RecursiveRef(recursiveRef) {
68
- return Schema.IsRecursiveAnchorTrue(this.Base())
69
- ? Resolve.Ref(this.recursiveAnchors[0], recursiveRef.$recursiveRef)
70
- : Resolve.Ref(this.Base(), recursiveRef.$recursiveRef);
93
+ const result = Resolve.ResolveRecursiveRef(__classPrivateFieldGet(this, _Stack_instances, "m", _Stack_StackFrame).call(this), recursiveRef);
94
+ if (result)
95
+ this.pendingResource = true;
96
+ return result;
71
97
  }
72
98
  // ----------------------------------------------------------------
73
99
  // DynamicRef
74
100
  // ----------------------------------------------------------------
75
101
  DynamicRef(dynamicRef) {
76
- const root = this.schema;
77
- return Resolve.DynamicRef(root, this.Base(), dynamicRef, this.dynamicAnchors);
102
+ const result = Resolve.ResolveDynamicRef(__classPrivateFieldGet(this, _Stack_instances, "m", _Stack_StackFrame).call(this), dynamicRef);
103
+ if (result)
104
+ this.pendingResource = true;
105
+ return result;
78
106
  }
79
107
  }
80
- _Stack_instances = new WeakSet(), _Stack_PushResourceAnchors = function _Stack_PushResourceAnchors(schema, isRoot = true) {
108
+ _Stack_instances = new WeakSet(), _Stack_StackFrame = function _Stack_StackFrame() {
109
+ return {
110
+ context: this.context,
111
+ root: this.schema,
112
+ ids: this.ids,
113
+ lexicalSchema: __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_LexicalSchema).call(this),
114
+ lexicalBase: this.LexicalBaseURL(),
115
+ referenceBase: __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_ReferenceBaseURL).call(this),
116
+ resourceBase: __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_ResourceBaseURL).call(this),
117
+ recursiveAnchors: this.recursiveAnchors,
118
+ dynamicAnchors: this.dynamicAnchors,
119
+ inRetrievedFrame: this.retrievedFrames.length > 0
120
+ };
121
+ }, _Stack_ApplyRefResult = function _Stack_ApplyRefResult(result) {
122
+ if (!Guard.IsUndefined(result.schema))
123
+ this.pendingResource = true;
124
+ if (!Guard.IsUndefined(result.resolvedResource)) {
125
+ __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_EnterResolvedResource).call(this, result.resolvedResource.target, result.resolvedResource.resource);
126
+ }
127
+ if (!Guard.IsUndefined(result.retrievedResource)) {
128
+ this.retrievedResources.set(result.retrievedResource.target, {
129
+ base: result.retrievedResource.base,
130
+ root: result.retrievedResource.root
131
+ });
132
+ }
133
+ }, _Stack_BuildBase = function _Stack_BuildBase(stack) {
134
+ const frame = this.retrievedFrames[this.retrievedFrames.length - 1];
135
+ const base = frame ? new URL(frame.base) : new URL(Resolve.DefaultBase);
136
+ const scoped = frame ? stack.slice(frame.idDepth) : stack;
137
+ return scoped.reduce((result, schema) => new URL(schema.$id, result), base).href;
138
+ }, _Stack_ResourceBaseURL = function _Stack_ResourceBaseURL() {
139
+ const frame = this.retrievedFrames[this.retrievedFrames.length - 1];
140
+ if (!frame)
141
+ return __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_BuildBase).call(this, this.resourceIds);
142
+ return this.resourceIds.slice(frame.resourceDepth).reduce((result, schema) => new URL(schema.$id, result), new URL(frame.base)).href;
143
+ }, _Stack_ReferenceBaseURL = function _Stack_ReferenceBaseURL() {
144
+ if (this.retrievedFrames.length > 0)
145
+ return __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_ResourceBaseURL).call(this);
146
+ const lexical = this.ids[this.ids.length - 1];
147
+ if (lexical && !/^[A-Za-z][A-Za-z0-9+.-]*:/.test(lexical.$id))
148
+ return this.LexicalBaseURL();
149
+ return __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_ResourceBaseURL).call(this);
150
+ }, _Stack_LexicalSchema = function _Stack_LexicalSchema() {
151
+ const frame = this.retrievedFrames[this.retrievedFrames.length - 1];
152
+ if (frame)
153
+ return this.ids.length > frame.idDepth ? this.ids[this.ids.length - 1] : frame.schema;
154
+ return this.ids.length > 0 ? this.ids[this.ids.length - 1] : this.schema;
155
+ }, _Stack_RegisterResourceAnchorArray = function _Stack_RegisterResourceAnchorArray(schema) {
156
+ schema.forEach((schema) => __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_RegisterResourceAnchors).call(this, schema, false));
157
+ }, _Stack_UnregisterResourceAnchorArray = function _Stack_UnregisterResourceAnchorArray(schema) {
158
+ schema.forEach((schema) => __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_UnregisterResourceAnchors).call(this, schema, false));
159
+ }, _Stack_RegisterResourceAnchors = function _Stack_RegisterResourceAnchors(schema, isRoot = true) {
160
+ if (Schema.IsSchemaBoolean(schema))
161
+ return;
162
+ if (Guard.IsArray(schema))
163
+ return __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_RegisterResourceAnchorArray).call(this, schema);
81
164
  if (!Schema.IsSchemaObject(schema))
82
165
  return;
83
166
  const current = schema;
@@ -85,9 +168,13 @@ _Stack_instances = new WeakSet(), _Stack_PushResourceAnchors = function _Stack_P
85
168
  return;
86
169
  if (!isRoot && Schema.IsDynamicAnchor(current))
87
170
  this.dynamicAnchors.push(current);
88
- for (const key of G.Keys(current))
89
- __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_PushResourceAnchors).call(this, current[key], false);
90
- }, _Stack_PopResourceAnchors = function _Stack_PopResourceAnchors(schema, isRoot = true) {
171
+ for (const key of Guard.Keys(current))
172
+ __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_RegisterResourceAnchors).call(this, current[key], false);
173
+ }, _Stack_UnregisterResourceAnchors = function _Stack_UnregisterResourceAnchors(schema, isRoot = true) {
174
+ if (Schema.IsSchemaBoolean(schema))
175
+ return;
176
+ if (Guard.IsArray(schema))
177
+ return __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_UnregisterResourceAnchorArray).call(this, schema);
91
178
  if (!Schema.IsSchemaObject(schema))
92
179
  return;
93
180
  const current = schema;
@@ -95,13 +182,28 @@ _Stack_instances = new WeakSet(), _Stack_PushResourceAnchors = function _Stack_P
95
182
  return;
96
183
  if (!isRoot && Schema.IsDynamicAnchor(current))
97
184
  this.dynamicAnchors.pop();
98
- for (const key of G.Keys(current))
99
- __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_PopResourceAnchors).call(this, current[key], false);
100
- }, _Stack_FromContext = function _Stack_FromContext(ref) {
101
- return G.HasPropertyKey(this.context, ref.$ref) ? this.context[ref.$ref] : undefined;
102
- }, _Stack_FromRef = function _Stack_FromRef(ref) {
103
- const root = this.schema;
104
- return !ref.$ref.startsWith('#')
105
- ? Resolve.Ref(root, ref.$ref)
106
- : Resolve.Ref(this.Base(), ref.$ref);
185
+ for (const key of Guard.Keys(current))
186
+ __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_UnregisterResourceAnchors).call(this, current[key], false);
187
+ }, _Stack_RegisterResource = function _Stack_RegisterResource(schema) {
188
+ this.ids.push(schema);
189
+ const isResource = this.pendingResource;
190
+ this.pendingResource = false;
191
+ if (isResource)
192
+ this.resourceIds.push(schema);
193
+ __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_RegisterResourceAnchors).call(this, schema, true);
194
+ }, _Stack_UnregisterResource = function _Stack_UnregisterResource(schema) {
195
+ this.ids.pop();
196
+ const isResource = this.resourceIds.length > 0 && Guard.IsEqual(this.resourceIds[this.resourceIds.length - 1], schema);
197
+ if (isResource)
198
+ this.resourceIds.pop();
199
+ __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_UnregisterResourceAnchors).call(this, schema, true);
200
+ }, _Stack_EnterResolvedResource = function _Stack_EnterResolvedResource(target, resource) {
201
+ __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_RegisterResource).call(this, resource);
202
+ this.resolvedResources.set(target, resource);
203
+ }, _Stack_ExitResolvedResource = function _Stack_ExitResolvedResource(target) {
204
+ if (!this.resolvedResources.has(target))
205
+ return;
206
+ const resource = this.resolvedResources.get(target);
207
+ __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_UnregisterResource).call(this, resource);
208
+ this.resolvedResources.delete(target);
107
209
  };
@@ -12,15 +12,25 @@ function IsValid(schema) {
12
12
  // ------------------------------------------------------------------
13
13
  // Build
14
14
  // ------------------------------------------------------------------
15
- export function BuildAdditionalItems(stack, context, schema, value) {
16
- if (!IsValid(schema))
17
- return E.Constant(true);
15
+ function BuildAdditionalItemsStandard(stack, context, schema, value) {
18
16
  const [item, index] = [Unique(), Unique()];
19
17
  const isSchema = BuildSchemaPushStack(stack, context, schema.additionalItems, item);
20
18
  const isLength = E.IsLessThan(index, E.Constant(schema.items.length));
21
19
  const addIndex = context.AddIndex(index);
22
- const guarded = context.UseUnevaluated() ? E.Or(isLength, E.And(isSchema, addIndex)) : E.Or(isLength, isSchema);
23
- return E.Call(E.Member(value, 'every'), [E.ArrowFunction([item, index], guarded)]);
20
+ return E.Every(value, E.Constant(0), [item, index], E.Or(isLength, E.And(isSchema, addIndex)));
21
+ }
22
+ function BuildAdditionalItemsFast(stack, context, schema, value) {
23
+ const [item, index] = [Unique(), Unique()];
24
+ const isSchema = BuildSchemaPushStack(stack, context, schema.additionalItems, item);
25
+ const isLength = E.IsLessThan(index, E.Constant(schema.items.length));
26
+ return E.Every(value, E.Constant(0), [item, index], E.Or(isLength, isSchema));
27
+ }
28
+ export function BuildAdditionalItems(stack, context, schema, value) {
29
+ if (!IsValid(schema))
30
+ return E.Constant(true);
31
+ return context.UseUnevaluated()
32
+ ? BuildAdditionalItemsStandard(stack, context, schema, value)
33
+ : BuildAdditionalItemsFast(stack, context, schema, value);
24
34
  }
25
35
  // ------------------------------------------------------------------
26
36
  // Check
@@ -28,7 +38,7 @@ export function BuildAdditionalItems(stack, context, schema, value) {
28
38
  export function CheckAdditionalItems(stack, context, schema, value) {
29
39
  if (!IsValid(schema))
30
40
  return true;
31
- const isAdditionalItems = value.every((item, index) => {
41
+ const isAdditionalItems = G.Every(value, 0, (item, index) => {
32
42
  return G.IsLessThan(index, schema.items.length)
33
43
  || (CheckSchemaPushStack(stack, context, schema.additionalItems, item) && context.AddIndex(index));
34
44
  });
@@ -40,7 +50,7 @@ export function CheckAdditionalItems(stack, context, schema, value) {
40
50
  export function ErrorAdditionalItems(stack, context, schemaPath, instancePath, schema, value) {
41
51
  if (!IsValid(schema))
42
52
  return true;
43
- const isAdditionalItems = value.every((item, index) => {
53
+ const isAdditionalItems = G.Every(value, 0, (item, index) => {
44
54
  const nextSchemaPath = `${schemaPath}/additionalItems`;
45
55
  const nextInstancePath = `${instancePath}/${index}`;
46
56
  return G.IsLessThan(index, schema.items.length) ||
@@ -2,11 +2,23 @@
2
2
  import * as S from '../types/index.mjs';
3
3
  import * as V from './_externals.mjs';
4
4
  import { Unique } from './_unique.mjs';
5
- import { AccumulatedErrorContext } from './_context.mjs';
5
+ import { UnicodeRegExp } from './_regexp.mjs';
6
6
  import { EmitGuard as E, Guard as G } from '../../guard/index.mjs';
7
7
  import { BuildSchemaPushStack, CheckSchemaPushStack, ErrorSchemaPushStack } from './schema.mjs';
8
8
  // ------------------------------------------------------------------
9
- // Common: GetPropertiesPattern
9
+ // Optimization: IsAdditionalPropertiesIgnored
10
+ //
11
+ // We can ignore additionalProperties if the schema is true-like and
12
+ // we are not in an unevaluated context, noting that additional
13
+ // properties are considered tracked, evaluated keys.
14
+ // ------------------------------------------------------------------
15
+ function IsAdditionalPropertiesIgnored(context, additionalProperties) {
16
+ return !context.UseUnevaluated() &&
17
+ (G.IsEqual(additionalProperties, true) ||
18
+ (G.IsObject(additionalProperties) && G.IsEqual(G.Keys(additionalProperties).length, 0)));
19
+ }
20
+ // ------------------------------------------------------------------
21
+ // Optimization: GetPropertiesPattern
10
22
  //
11
23
  // Constructs a regular expression that matches all property keys
12
24
  // and pattern properties defined in a schema. This approach unifies
@@ -58,7 +70,7 @@ export function BuildAdditionalPropertiesFast(_context, schema, value) {
58
70
  // ------------------------------------------------------------------
59
71
  export function BuildAdditionalPropertiesStandard(stack, context, schema, value) {
60
72
  const [key, _index] = [Unique(), Unique()];
61
- const regexp = V.CreateVariable(new RegExp(GetPropertiesPattern(schema)));
73
+ const regexp = V.CreateVariable(UnicodeRegExp(GetPropertiesPattern(schema)));
62
74
  const isSchema = BuildSchemaPushStack(stack, context, schema.additionalProperties, `${value}[${key}]`);
63
75
  const isKey = E.Call(E.Member(regexp, 'test'), [key]);
64
76
  const addKey = context.AddKey(key);
@@ -70,6 +82,8 @@ export function BuildAdditionalPropertiesStandard(stack, context, schema, value)
70
82
  // Build
71
83
  // ------------------------------------------------------------------
72
84
  export function BuildAdditionalProperties(stack, context, schema, value) {
85
+ if (IsAdditionalPropertiesIgnored(context, schema.additionalProperties))
86
+ return E.Constant(true);
73
87
  return CanAdditionalPropertiesFast(context, schema, value)
74
88
  ? BuildAdditionalPropertiesFast(context, schema, value)
75
89
  : BuildAdditionalPropertiesStandard(stack, context, schema, value);
@@ -78,7 +92,7 @@ export function BuildAdditionalProperties(stack, context, schema, value) {
78
92
  // Check
79
93
  // ------------------------------------------------------------------
80
94
  export function CheckAdditionalProperties(stack, context, schema, value) {
81
- const regexp = new RegExp(GetPropertiesPattern(schema));
95
+ const regexp = UnicodeRegExp(GetPropertiesPattern(schema));
82
96
  const isAdditionalProperties = G.Every(G.Keys(value), 0, (key, _index) => {
83
97
  return regexp.test(key) ||
84
98
  (CheckSchemaPushStack(stack, context, schema.additionalProperties, value[key]) && context.AddKey(key));
@@ -89,14 +103,13 @@ export function CheckAdditionalProperties(stack, context, schema, value) {
89
103
  // Error
90
104
  // ------------------------------------------------------------------
91
105
  export function ErrorAdditionalProperties(stack, context, schemaPath, instancePath, schema, value) {
92
- const regexp = new RegExp(GetPropertiesPattern(schema));
106
+ const regexp = UnicodeRegExp(GetPropertiesPattern(schema));
93
107
  const additionalProperties = [];
94
108
  const isAdditionalProperties = G.EveryAll(G.Keys(value), 0, (key, _index) => {
95
109
  const nextSchemaPath = `${schemaPath}/additionalProperties`;
96
110
  const nextInstancePath = `${instancePath}/${key}`;
97
- const nextContext = new AccumulatedErrorContext();
98
111
  const isAdditionalProperty = regexp.test(key) ||
99
- (ErrorSchemaPushStack(stack, nextContext, nextSchemaPath, nextInstancePath, schema.additionalProperties, value[key]) && context.AddKey(key));
112
+ (ErrorSchemaPushStack(stack, context, nextSchemaPath, nextInstancePath, schema.additionalProperties, value[key]) && context.AddKey(key));
100
113
  if (!isAdditionalProperty)
101
114
  additionalProperties.push(key);
102
115
  return isAdditionalProperty;
@@ -1,5 +1,5 @@
1
1
  // deno-fmt-ignore-file
2
- import { CheckContext, AccumulatedErrorContext } from './_context.mjs';
2
+ import { CheckContext, ErrorContext } from './_context.mjs';
3
3
  import { Reducer } from './_reducer.mjs';
4
4
  import { EmitGuard as E, Guard as G } from '../../guard/index.mjs';
5
5
  import { BuildSchema, CheckSchema, ErrorSchema } from './schema.mjs';
@@ -34,7 +34,7 @@ export function ErrorAllOf(stack, context, schemaPath, instancePath, schema, val
34
34
  const failedContexts = [];
35
35
  const results = schema.allOf.reduce((result, schema, index) => {
36
36
  const nextSchemaPath = `${schemaPath}/allOf/${index}`;
37
- const nextContext = new AccumulatedErrorContext();
37
+ const nextContext = new ErrorContext();
38
38
  const isSchema = ErrorSchema(stack, nextContext, nextSchemaPath, instancePath, schema, value);
39
39
  if (!isSchema)
40
40
  failedContexts.push(nextContext);
@@ -1,5 +1,5 @@
1
1
  // deno-fmt-ignore-file
2
- import { CheckContext, AccumulatedErrorContext } from './_context.mjs';
2
+ import { CheckContext, ErrorContext } from './_context.mjs';
3
3
  import { Reducer } from './_reducer.mjs';
4
4
  import { Guard as G, EmitGuard as E } from '../../guard/index.mjs';
5
5
  import { BuildSchema, CheckSchema, ErrorSchema } from './schema.mjs';
@@ -33,7 +33,7 @@ export function CheckAnyOf(stack, context, schema, value) {
33
33
  export function ErrorAnyOf(stack, context, schemaPath, instancePath, schema, value) {
34
34
  const failedContexts = [];
35
35
  const results = schema.anyOf.reduce((result, schema, index) => {
36
- const nextContext = new AccumulatedErrorContext();
36
+ const nextContext = new ErrorContext();
37
37
  const nextSchemaPath = `${schemaPath}/anyOf/${index}`;
38
38
  const isSchema = ErrorSchema(stack, nextContext, nextSchemaPath, instancePath, schema, value);
39
39
  if (!isSchema)