@songtonyli/dsh-cli 0.1.53 → 0.1.54

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 (1032) 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 +1 -1
  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/lib/client.js +7 -7
  205. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +10 -10
  206. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +5 -5
  207. package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +11 -11
  208. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +5 -5
  209. package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.i18n.yaml +2 -2
  210. package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.md +1 -1
  211. package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.zh.md +1 -1
  212. package/node_modules/@deepseek-ai/dsh-client-shortcuts/lib/client.js +12 -7
  213. package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +8 -8
  214. package/node_modules/@deepseek-ai/dsh-client-store/package.json +1 -1
  215. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.i18n.yaml +2 -2
  216. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.md +1 -1
  217. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.zh.md +1 -1
  218. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +69 -80
  219. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +16 -16
  220. package/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/client.js +10 -10
  221. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +13 -13
  222. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +49 -49
  223. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +9 -9
  224. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +4 -4
  225. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +9 -9
  226. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +8 -3
  227. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +7 -2
  228. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +289 -325
  229. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +37 -37
  230. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +4 -4
  231. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +7 -1
  232. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +7 -1
  233. package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +126 -65
  234. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +15 -15
  235. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +167 -154
  236. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +33 -33
  237. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +74 -74
  238. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +12 -12
  239. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +2 -2
  240. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +1 -1
  241. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +1 -1
  242. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +80 -80
  243. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +27 -27
  244. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +39 -39
  245. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +7 -7
  246. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +3 -3
  247. package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +16 -16
  248. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +14 -14
  249. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +23 -23
  250. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +12 -12
  251. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +37 -37
  252. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +10 -10
  253. package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +9 -9
  254. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +9 -9
  255. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +12 -12
  256. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +16 -16
  257. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +6 -6
  258. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +9 -3
  259. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +9 -3
  260. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +240 -87
  261. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +16 -16
  262. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.i18n.yaml +6 -6
  263. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +3 -3
  264. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +3 -3
  265. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +45 -31
  266. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +19 -18
  267. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +18 -18
  268. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +15 -15
  269. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.i18n.yaml +2 -2
  270. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.md +1 -1
  271. package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.zh.md +1 -1
  272. package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +26 -26
  273. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +20 -20
  274. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +4 -4
  275. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +2 -2
  276. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +2 -2
  277. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +219 -238
  278. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +16 -16
  279. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +4 -4
  280. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +10 -3
  281. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +10 -3
  282. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DisclosureRow.module.css +14 -2
  283. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuGroup.module.css +37 -0
  284. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +349 -226
  285. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DisclosureRow.d.ts +1 -1
  286. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Input.d.ts +4 -3
  287. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuGroup.d.ts +22 -0
  288. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +1 -0
  289. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +4 -4
  290. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +13 -13
  291. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/lib/client.js +1 -1
  292. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -3
  293. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +182 -182
  294. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +19 -19
  295. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +8 -8
  296. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +6 -6
  297. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +2 -2
  298. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +1 -1
  299. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +1 -1
  300. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +139 -143
  301. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +16 -16
  302. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +9 -9
  303. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +2 -2
  304. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +1 -1
  305. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +1 -1
  306. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +56 -56
  307. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +13 -13
  308. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +87 -87
  309. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +11 -11
  310. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +41 -41
  311. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +12 -12
  312. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +13 -13
  313. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +6 -6
  314. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/lib/client.js +5 -5
  315. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +9 -9
  316. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +9 -9
  317. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/lib/client.js +24 -24
  318. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +7 -7
  319. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/lib/client.js +27 -27
  320. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +9 -9
  321. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +9 -9
  322. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.i18n.yaml +2 -2
  323. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.md +1 -1
  324. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.zh.md +1 -1
  325. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/lib/client.js +43 -43
  326. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +10 -10
  327. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +2 -2
  328. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +1 -1
  329. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +1 -1
  330. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +53 -58
  331. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +12 -12
  332. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/client.js +25 -25
  333. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +11 -11
  334. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.excel.js +9 -9
  335. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +70 -70
  336. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +9 -9
  337. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +18 -18
  338. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.i18n.yaml +2 -2
  339. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.md +1 -1
  340. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.zh.md +1 -1
  341. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/client.js +27 -22
  342. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +14 -14
  343. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.i18n.yaml +6 -6
  344. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.md +4 -4
  345. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +4 -4
  346. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +209 -182
  347. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +15 -15
  348. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.js +16 -16
  349. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.terminal.js +11 -11
  350. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +15 -15
  351. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.i18n.yaml +2 -2
  352. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.md +1 -1
  353. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.zh.md +1 -1
  354. package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +19 -19
  355. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +13 -13
  356. package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +3 -3
  357. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +37 -37
  358. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +17 -17
  359. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +8 -8
  360. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +5 -3
  361. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +5 -3
  362. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +33 -33
  363. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/index.js +4 -4
  364. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +11 -11
  365. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +9 -6
  366. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +12 -2
  367. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +12 -2
  368. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +393 -143
  369. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +24 -23
  370. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +197 -197
  371. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +16 -16
  372. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.i18n.yaml +26 -20
  373. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.md +37 -13
  374. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.zh.md +37 -13
  375. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +1303 -264
  376. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +23 -19
  377. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.i18n.yaml +2 -2
  378. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.md +1 -1
  379. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.zh.md +1 -1
  380. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +26 -26
  381. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +14 -14
  382. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +2 -2
  383. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +1 -1
  384. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +1 -1
  385. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +95 -94
  386. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +24 -24
  387. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
  388. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +8 -8
  389. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +11 -11
  390. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +11 -11
  391. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +1 -1
  392. package/node_modules/@deepseek-ai/dsh-commands/package.json +18 -18
  393. package/node_modules/@deepseek-ai/dsh-compaction/package.json +11 -11
  394. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +22 -22
  395. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +16 -16
  396. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +13 -13
  397. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +6 -6
  398. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +59 -4
  399. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +6 -6
  400. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.i18n.yaml +5 -2
  401. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.md +8 -0
  402. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.zh.md +8 -0
  403. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/index.js +58 -20
  404. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +18 -18
  405. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.remote-client.js +12 -12
  406. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/index.js +5 -3
  407. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/inspect-registry.js +62 -17
  408. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +17 -16
  409. package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
  410. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +9 -9
  411. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +7 -7
  412. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +9 -9
  413. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +1 -1
  414. package/node_modules/@deepseek-ai/dsh-deque/package.json +1 -1
  415. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +21 -21
  416. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +4 -4
  417. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +5 -5
  418. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +35 -35
  419. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +32 -32
  420. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +22 -22
  421. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/client.js +24 -24
  422. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +31 -31
  423. package/node_modules/@deepseek-ai/dsh-experimental-schedule-bundle/package.json +4 -4
  424. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +6 -6
  425. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +7 -7
  426. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +22 -22
  427. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +5 -5
  428. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +3 -3
  429. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +9 -9
  430. package/node_modules/@deepseek-ai/dsh-fs/package.json +9 -9
  431. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +4 -4
  432. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +4 -4
  433. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +10 -10
  434. package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +1 -1
  435. package/node_modules/@deepseek-ai/dsh-goal/package.json +22 -22
  436. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +15 -15
  437. package/node_modules/@deepseek-ai/dsh-headless/package.json +17 -17
  438. package/node_modules/@deepseek-ai/dsh-hmr/README.i18n.yaml +2 -2
  439. package/node_modules/@deepseek-ai/dsh-hmr/README.md +1 -0
  440. package/node_modules/@deepseek-ai/dsh-hmr/README.zh.md +1 -0
  441. package/node_modules/@deepseek-ai/dsh-hmr/package.json +6 -6
  442. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
  443. package/node_modules/@deepseek-ai/dsh-hook-protocol/package.json +7 -7
  444. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/package.json +20 -20
  445. package/node_modules/@deepseek-ai/dsh-hooks-codex/package.json +18 -18
  446. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +1 -1
  447. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +13 -13
  448. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +2 -2
  449. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +3 -3
  450. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +6 -6
  451. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +5 -5
  452. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +9 -9
  453. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +4 -4
  454. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +1 -1
  455. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +2 -2
  456. package/node_modules/@deepseek-ai/dsh-invariants/package.json +1 -1
  457. package/node_modules/@deepseek-ai/dsh-jobs/package.json +11 -11
  458. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +11 -11
  459. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
  460. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +1 -1
  461. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +1 -1
  462. package/node_modules/@deepseek-ai/dsh-llm/package.json +8 -8
  463. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +20 -20
  464. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +37 -37
  465. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +10 -10
  466. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +9 -9
  467. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +4 -4
  468. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +3 -3
  469. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +3 -3
  470. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +10 -6
  471. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +22 -22
  472. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +21 -21
  473. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +20 -20
  474. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +12 -12
  475. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +14 -14
  476. package/node_modules/@deepseek-ai/dsh-native-command/package.json +2 -2
  477. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +10 -10
  478. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +6 -6
  479. package/node_modules/@deepseek-ai/dsh-otel/package.json +3 -3
  480. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
  481. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +1 -1
  482. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +1 -1
  483. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +20 -20
  484. package/node_modules/@deepseek-ai/dsh-persona/package.json +4 -4
  485. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +22 -22
  486. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +27 -27
  487. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +13 -13
  488. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +3 -3
  489. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +20 -20
  490. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +8 -8
  491. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +12 -12
  492. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +9 -9
  493. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +6 -6
  494. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +9 -9
  495. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +13 -13
  496. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.i18n.yaml +2 -2
  497. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.md +3 -3
  498. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.zh.md +3 -3
  499. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/assets/diagnose-windows-sandbox-acl/SKILL.md +39 -22
  500. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/assets/diagnose-windows-sandbox-acl/scripts/diagnose-windows-sandbox-acl.ps1 +308 -231
  501. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
  502. package/node_modules/@deepseek-ai/dsh-schedule/README.i18n.yaml +2 -2
  503. package/node_modules/@deepseek-ai/dsh-schedule/README.md +3 -3
  504. package/node_modules/@deepseek-ai/dsh-schedule/README.zh.md +3 -3
  505. package/node_modules/@deepseek-ai/dsh-schedule/lib/index.js +6 -4
  506. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/domain.js +6 -4
  507. package/node_modules/@deepseek-ai/dsh-schedule/package.json +30 -30
  508. package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
  509. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +5 -5
  510. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +21 -21
  511. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +28 -28
  512. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +7 -7
  513. package/node_modules/@deepseek-ai/dsh-session/package.json +9 -9
  514. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +15 -15
  515. package/node_modules/@deepseek-ai/dsh-session-format/package.json +2 -2
  516. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +9 -9
  517. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +4 -4
  518. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +6 -6
  519. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +4 -4
  520. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +3 -3
  521. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +15 -15
  522. package/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +3 -3
  523. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +21 -21
  524. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +9 -9
  525. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +10 -10
  526. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +3 -3
  527. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +10 -10
  528. package/node_modules/@deepseek-ai/dsh-session-query/package.json +18 -18
  529. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +9 -9
  530. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +1 -1
  531. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +34 -34
  532. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +7 -7
  533. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +5 -5
  534. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +21 -21
  535. package/node_modules/@deepseek-ai/dsh-session-title/package.json +16 -16
  536. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +13 -13
  537. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +10 -10
  538. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +7 -7
  539. package/node_modules/@deepseek-ai/dsh-settings/package.json +12 -12
  540. package/node_modules/@deepseek-ai/dsh-shell/package.json +5 -5
  541. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +11 -11
  542. package/node_modules/@deepseek-ai/dsh-skill/package.json +6 -6
  543. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +3 -3
  544. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +7 -7
  545. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +3 -3
  546. package/node_modules/@deepseek-ai/dsh-spill/package.json +7 -7
  547. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +6 -6
  548. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +30 -30
  549. package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
  550. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +5 -5
  551. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +3 -3
  552. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +1 -1
  553. package/node_modules/@deepseek-ai/dsh-subagent/package.json +48 -48
  554. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +20 -20
  555. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +14 -14
  556. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +22 -22
  557. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +17 -17
  558. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +4 -4
  559. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +7 -7
  560. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +7 -7
  561. package/node_modules/@deepseek-ai/dsh-terminal/package.json +6 -6
  562. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +17 -17
  563. package/node_modules/@deepseek-ai/dsh-time-context/package.json +20 -20
  564. package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
  565. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +11 -11
  566. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +14 -14
  567. package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.i18n.yaml +22 -22
  568. package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.md +27 -11
  569. package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.zh.md +27 -11
  570. package/node_modules/@deepseek-ai/dsh-tool-ask-user/lib/index.js +211 -3
  571. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +12 -9
  572. package/node_modules/@deepseek-ai/dsh-tool-bash/README.i18n.yaml +2 -2
  573. package/node_modules/@deepseek-ai/dsh-tool-bash/README.md +1 -1
  574. package/node_modules/@deepseek-ai/dsh-tool-bash/README.zh.md +1 -1
  575. package/node_modules/@deepseek-ai/dsh-tool-bash/lib/index.js +1 -1
  576. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +29 -29
  577. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +19 -19
  578. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +7 -7
  579. package/node_modules/@deepseek-ai/dsh-tool-cordis/README.i18n.yaml +2 -2
  580. package/node_modules/@deepseek-ai/dsh-tool-cordis/README.md +1 -1
  581. package/node_modules/@deepseek-ai/dsh-tool-cordis/README.zh.md +1 -1
  582. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/index.js +1 -1
  583. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +31 -1
  584. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/index.js +3 -3
  585. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +10 -10
  586. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +29 -29
  587. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +20 -20
  588. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +16 -16
  589. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +15 -15
  590. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +17 -17
  591. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.i18n.yaml +2 -2
  592. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.md +1 -1
  593. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.zh.md +1 -1
  594. package/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/index.js +2 -2
  595. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +28 -28
  596. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.i18n.yaml +4 -4
  597. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.md +2 -2
  598. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.zh.md +2 -2
  599. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/lib/index.js +1 -1
  600. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +20 -20
  601. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +19 -19
  602. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +12 -12
  603. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +19 -19
  604. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +26 -26
  605. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +19 -19
  606. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +15 -15
  607. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +19 -19
  608. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +22 -22
  609. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +6 -6
  610. package/node_modules/@deepseek-ai/dsh-tools/package.json +24 -24
  611. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +75 -75
  612. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +4 -4
  613. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +2 -2
  614. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +2 -2
  615. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +15 -15
  616. package/node_modules/@deepseek-ai/dsh-user-questions/README.i18n.yaml +19 -22
  617. package/node_modules/@deepseek-ai/dsh-user-questions/README.md +13 -10
  618. package/node_modules/@deepseek-ai/dsh-user-questions/README.zh.md +13 -10
  619. package/node_modules/@deepseek-ai/dsh-user-questions/lib/index.js +659 -46
  620. package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +770 -0
  621. package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.remote-client.js +125 -0
  622. package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/index.js +289 -58
  623. package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/projection.js +298 -0
  624. package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/timed-wait.js +85 -0
  625. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +35 -11
  626. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +1 -1
  627. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +1 -1
  628. package/node_modules/@deepseek-ai/dsh-util-time/package.json +1 -1
  629. package/node_modules/@deepseek-ai/dsh-util-values/package.json +1 -1
  630. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +1 -1
  631. package/node_modules/@deepseek-ai/dsh-web/package.json +3 -3
  632. package/node_modules/@deepseek-ai/dsh-web-app/package.json +136 -136
  633. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +7 -7
  634. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-5SrrfWpU.js +127 -0
  635. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BPHePDI_.css +1 -0
  636. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
  637. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +16 -16
  638. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +15 -15
  639. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +6 -6
  640. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +6 -6
  641. package/node_modules/@deepseek-ai/dsh-webhook/package.json +21 -21
  642. package/node_modules/@deepseek-ai/dsh-webhook-github/package.json +10 -10
  643. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +2 -2
  644. package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
  645. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +34 -34
  646. package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
  647. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +11 -11
  648. package/node_modules/@earendil-works/pi-ai/README.md +52 -8
  649. package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +131 -87
  650. package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js +17 -5
  651. package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +13 -12
  652. package/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.js +21 -73
  653. package/node_modules/@earendil-works/pi-ai/dist/api/google-shared.js +55 -4
  654. package/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.js +25 -65
  655. package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +19 -12
  656. package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +26 -23
  657. package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +44 -59
  658. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +56 -56
  659. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +14 -19
  660. package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js +2 -2
  661. package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.js +21 -7
  662. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/load.js +5 -0
  663. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/meta.js +190 -0
  664. package/node_modules/@earendil-works/pi-ai/dist/bun-oauth.js +2 -0
  665. package/node_modules/@earendil-works/pi-ai/dist/compat.js +9 -6
  666. package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +1 -0
  667. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js +49 -4
  668. package/node_modules/@earendil-works/pi-ai/dist/index.js +2 -1
  669. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +4 -0
  670. package/node_modules/@earendil-works/pi-ai/dist/models.js +5 -2
  671. package/node_modules/@earendil-works/pi-ai/dist/providers/all.js +2 -0
  672. package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  673. package/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
  674. package/node_modules/@earendil-works/pi-ai/dist/providers/data/ant-ling.json +1 -1
  675. package/node_modules/@earendil-works/pi-ai/dist/providers/data/anthropic.json +1 -1
  676. package/node_modules/@earendil-works/pi-ai/dist/providers/data/azure-openai-responses.json +1 -1
  677. package/node_modules/@earendil-works/pi-ai/dist/providers/data/baseten.json +1 -1
  678. package/node_modules/@earendil-works/pi-ai/dist/providers/data/cerebras.json +1 -1
  679. package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
  680. package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-workers-ai.json +1 -1
  681. package/node_modules/@earendil-works/pi-ai/dist/providers/data/deepseek.json +1 -1
  682. package/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.json +1 -1
  683. package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
  684. package/node_modules/@earendil-works/pi-ai/dist/providers/data/google-vertex.json +1 -1
  685. package/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
  686. package/node_modules/@earendil-works/pi-ai/dist/providers/data/groq.json +1 -1
  687. package/node_modules/@earendil-works/pi-ai/dist/providers/data/huggingface.json +1 -1
  688. package/node_modules/@earendil-works/pi-ai/dist/providers/data/kimi-coding.json +1 -1
  689. package/node_modules/@earendil-works/pi-ai/dist/providers/data/meta.json +1 -0
  690. package/node_modules/@earendil-works/pi-ai/dist/providers/data/minimax-cn.json +1 -1
  691. package/node_modules/@earendil-works/pi-ai/dist/providers/data/minimax.json +1 -1
  692. package/node_modules/@earendil-works/pi-ai/dist/providers/data/mistral.json +1 -1
  693. package/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai-cn.json +1 -1
  694. package/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai.json +1 -1
  695. package/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
  696. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai-codex.json +1 -1
  697. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
  698. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
  699. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
  700. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  701. package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-cn.json +1 -1
  702. package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-individual.json +1 -1
  703. package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan.json +1 -1
  704. package/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -0
  705. package/node_modules/@earendil-works/pi-ai/dist/providers/data/together.json +1 -1
  706. package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
  707. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xai.json +1 -1
  708. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-ams.json +1 -1
  709. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-cn.json +1 -1
  710. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-sgp.json +1 -1
  711. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi.json +1 -1
  712. package/node_modules/@earendil-works/pi-ai/dist/providers/data/zai-coding-cn.json +1 -1
  713. package/node_modules/@earendil-works/pi-ai/dist/providers/data/zai.json +1 -1
  714. package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js +12 -11
  715. package/node_modules/@earendil-works/pi-ai/dist/providers/meta.js +24 -0
  716. package/node_modules/@earendil-works/pi-ai/dist/providers/meta.models.js +6 -0
  717. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.js +4 -3
  718. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-headers.js +22 -0
  719. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.js +5 -4
  720. package/node_modules/@earendil-works/pi-ai/dist/providers/radius.js +19 -5
  721. package/node_modules/@earendil-works/pi-ai/dist/providers/radius.models.js +6 -0
  722. package/node_modules/@earendil-works/pi-ai/dist/utils/estimate.js +8 -29
  723. package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js +25 -7
  724. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js +11 -5
  725. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +9 -1
  726. package/node_modules/@earendil-works/pi-ai/dist/utils/text.js +26 -0
  727. package/node_modules/@earendil-works/pi-ai/dist/utils/transcript.js +204 -0
  728. package/node_modules/@earendil-works/pi-ai/node_modules/https-proxy-agent/LICENSE +22 -0
  729. package/node_modules/@earendil-works/pi-ai/node_modules/https-proxy-agent/README.md +70 -0
  730. package/node_modules/@earendil-works/pi-ai/node_modules/https-proxy-agent/dist/index.js +234 -0
  731. package/node_modules/@earendil-works/pi-ai/node_modules/https-proxy-agent/dist/parse-proxy-response.js +94 -0
  732. package/node_modules/@earendil-works/pi-ai/node_modules/https-proxy-agent/package.json +51 -0
  733. package/node_modules/@earendil-works/pi-ai/package.json +9 -9
  734. package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
  735. package/node_modules/@google/genai/README.md +19 -4
  736. package/node_modules/@google/genai/dist/index.cjs +7737 -2768
  737. package/node_modules/@google/genai/dist/index.mjs +7730 -2769
  738. package/node_modules/@google/genai/dist/node/index.cjs +7741 -2763
  739. package/node_modules/@google/genai/dist/node/index.mjs +7734 -2764
  740. package/node_modules/@google/genai/dist/tokenizer/node.cjs +424 -117
  741. package/node_modules/@google/genai/dist/tokenizer/node.mjs +424 -117
  742. package/node_modules/@google/genai/dist/vertex_internal/index.cjs +560 -181
  743. package/node_modules/@google/genai/dist/vertex_internal/index.js +561 -182
  744. package/node_modules/@google/genai/dist/web/index.mjs +7717 -2757
  745. package/node_modules/@google/genai/package.json +3 -3
  746. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +41 -70
  747. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
  748. package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +1 -0
  749. package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -3
  750. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +19 -8
  751. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -3
  752. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +10 -2
  753. package/node_modules/@smithy/node-http-handler/package.json +23 -30
  754. package/node_modules/agent-base/dist/helpers.js +5 -34
  755. package/node_modules/agent-base/dist/index.js +8 -40
  756. package/node_modules/agent-base/package.json +11 -11
  757. package/node_modules/http-proxy-agent/dist/index.js +26 -42
  758. package/node_modules/http-proxy-agent/package.json +14 -13
  759. package/node_modules/https-proxy-agent/node_modules/agent-base/LICENSE +22 -0
  760. package/node_modules/https-proxy-agent/node_modules/agent-base/README.md +69 -0
  761. package/node_modules/https-proxy-agent/node_modules/agent-base/dist/helpers.js +66 -0
  762. package/node_modules/https-proxy-agent/node_modules/agent-base/dist/index.js +178 -0
  763. package/node_modules/https-proxy-agent/node_modules/agent-base/package.json +46 -0
  764. package/node_modules/proxy-agent-negotiate/dist/index.js +35 -0
  765. package/node_modules/proxy-agent-negotiate/package.json +43 -0
  766. package/node_modules/typebox/build/compile/validator.mjs +1 -1
  767. package/node_modules/typebox/build/format/date.mjs +1 -1
  768. package/node_modules/typebox/build/format/date_time.mjs +3 -3
  769. package/node_modules/typebox/build/format/email.mjs +2 -2
  770. package/node_modules/typebox/build/format/hostname.mjs +2 -10
  771. package/node_modules/typebox/build/format/idn_email.mjs +3 -3
  772. package/node_modules/typebox/build/format/idn_hostname.mjs +3 -11
  773. package/node_modules/typebox/build/format/idna/format/bidi.mjs +98 -0
  774. package/node_modules/typebox/build/format/idna/format/puny.mjs +144 -0
  775. package/node_modules/typebox/build/format/idna/hostname.mjs +16 -0
  776. package/node_modules/typebox/build/format/idna/idn-hostname.mjs +43 -0
  777. package/node_modules/typebox/build/format/idna/index.mjs +2 -0
  778. package/node_modules/typebox/build/format/idna/label/ascii.mjs +9 -0
  779. package/node_modules/typebox/build/format/idna/label/puny.mjs +28 -0
  780. package/node_modules/typebox/build/format/idna/label/unicode.mjs +106 -0
  781. package/node_modules/typebox/build/format/idna/pattern/pattern.mjs +70 -0
  782. package/node_modules/typebox/build/format/ipv4.mjs +2 -32
  783. package/node_modules/typebox/build/format/ipv6.mjs +2 -61
  784. package/node_modules/typebox/build/format/iri.mjs +30 -8
  785. package/node_modules/typebox/build/format/iri_reference.mjs +9 -55
  786. package/node_modules/typebox/build/format/json_pointer.mjs +2 -2
  787. package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +2 -2
  788. package/node_modules/typebox/build/format/regex.mjs +2 -6
  789. package/node_modules/typebox/build/format/relative_json_pointer.mjs +2 -2
  790. package/node_modules/typebox/build/format/time.mjs +19 -14
  791. package/node_modules/typebox/build/format/uri.mjs +3 -130
  792. package/node_modules/typebox/build/format/uri_reference.mjs +2 -3
  793. package/node_modules/typebox/build/format/uri_template.mjs +4 -5
  794. package/node_modules/typebox/build/format/url.mjs +4 -5
  795. package/node_modules/typebox/build/guard/emit.mjs +13 -8
  796. package/node_modules/typebox/build/guard/guard.mjs +22 -13
  797. package/node_modules/typebox/build/guard/string.mjs +23 -31
  798. package/node_modules/typebox/build/schema/compile.mjs +8 -8
  799. package/node_modules/typebox/build/schema/engine/_context.mjs +12 -17
  800. package/node_modules/typebox/build/schema/engine/_functions.mjs +2 -3
  801. package/node_modules/typebox/build/schema/engine/_regexp.mjs +4 -0
  802. package/node_modules/typebox/build/schema/engine/_stack.mjs +138 -36
  803. package/node_modules/typebox/build/schema/engine/additionalItems.mjs +17 -7
  804. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +20 -7
  805. package/node_modules/typebox/build/schema/engine/allOf.mjs +2 -2
  806. package/node_modules/typebox/build/schema/engine/anyOf.mjs +2 -2
  807. package/node_modules/typebox/build/schema/engine/contains.mjs +18 -6
  808. package/node_modules/typebox/build/schema/engine/enum.mjs +1 -1
  809. package/node_modules/typebox/build/schema/engine/if.mjs +2 -2
  810. package/node_modules/typebox/build/schema/engine/items.mjs +26 -6
  811. package/node_modules/typebox/build/schema/engine/maxContains.mjs +3 -3
  812. package/node_modules/typebox/build/schema/engine/minContains.mjs +14 -4
  813. package/node_modules/typebox/build/schema/engine/not.mjs +4 -2
  814. package/node_modules/typebox/build/schema/engine/oneOf.mjs +9 -8
  815. package/node_modules/typebox/build/schema/engine/pattern.mjs +3 -2
  816. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +4 -3
  817. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +1 -3
  818. package/node_modules/typebox/build/schema/engine/ref.mjs +3 -9
  819. package/node_modules/typebox/build/schema/engine/schema.mjs +19 -4
  820. package/node_modules/typebox/build/schema/engine/type.mjs +1 -1
  821. package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +2 -2
  822. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +2 -2
  823. package/node_modules/typebox/build/schema/errors.mjs +7 -13
  824. package/node_modules/typebox/build/schema/intern/index.mjs +1 -0
  825. package/node_modules/typebox/build/schema/intern/intern.mjs +259 -0
  826. package/node_modules/typebox/build/schema/parse.mjs +10 -5
  827. package/node_modules/typebox/build/schema/resolve/resolve.mjs +327 -1
  828. package/node_modules/typebox/build/schema/schema.mjs +1 -0
  829. package/node_modules/typebox/build/schema/static/propertyNames.mjs +3 -0
  830. package/node_modules/typebox/build/schema/types/index.mjs +0 -2
  831. package/node_modules/typebox/build/system/memory/assign.mjs +2 -1
  832. package/node_modules/typebox/build/system/memory/clone.mjs +14 -11
  833. package/node_modules/typebox/build/system/memory/create.mjs +3 -4
  834. package/node_modules/typebox/build/system/memory/discard.mjs +8 -7
  835. package/node_modules/typebox/build/system/memory/freeze.mjs +6 -0
  836. package/node_modules/typebox/build/system/memory/update.mjs +3 -2
  837. package/node_modules/typebox/build/system/settings/settings.mjs +2 -0
  838. package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +16 -3
  839. package/node_modules/typebox/build/type/engine/call/instantiate.mjs +34 -4
  840. package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +20 -26
  841. package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +9 -13
  842. package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +12 -19
  843. package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +8 -20
  844. package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +11 -8
  845. package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +3 -4
  846. package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +26 -6
  847. package/node_modules/typebox/build/type/engine/exclude/operation.mjs +3 -4
  848. package/node_modules/typebox/build/type/engine/extract/operation.mjs +3 -4
  849. package/node_modules/typebox/build/type/engine/priority/priority.mjs +3 -4
  850. package/node_modules/typebox/build/type/script/mapping.mjs +18 -25
  851. package/node_modules/typebox/build/type/script/parser.mjs +27 -23
  852. package/node_modules/typebox/build/value/errors/errors.mjs +2 -7
  853. package/node_modules/typebox/package.json +29 -29
  854. package/node_modules/typebox/readme.md +84 -83
  855. package/package.json +294 -308
  856. package/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +0 -118
  857. package/node_modules/@aws-crypto/sha256-browser/LICENSE +0 -202
  858. package/node_modules/@aws-crypto/sha256-browser/README.md +0 -31
  859. package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js +0 -43
  860. package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js +0 -30
  861. package/node_modules/@aws-crypto/sha256-browser/build/main/index.js +0 -8
  862. package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js +0 -11
  863. package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js +0 -56
  864. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js +0 -40
  865. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js +0 -27
  866. package/node_modules/@aws-crypto/sha256-browser/build/module/index.js +0 -3
  867. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js +0 -7
  868. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js +0 -53
  869. package/node_modules/@aws-crypto/sha256-browser/package.json +0 -28
  870. package/node_modules/@aws-crypto/sha256-browser/src/constants.ts +0 -41
  871. package/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +0 -30
  872. package/node_modules/@aws-crypto/sha256-browser/src/index.ts +0 -2
  873. package/node_modules/@aws-crypto/sha256-browser/src/isEmptyData.ts +0 -9
  874. package/node_modules/@aws-crypto/sha256-browser/src/webCryptoSha256.ts +0 -71
  875. package/node_modules/@aws-crypto/sha256-browser/tsconfig.json +0 -10
  876. package/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json +0 -7
  877. package/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +0 -106
  878. package/node_modules/@aws-crypto/sha256-js/LICENSE +0 -201
  879. package/node_modules/@aws-crypto/sha256-js/README.md +0 -29
  880. package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js +0 -124
  881. package/node_modules/@aws-crypto/sha256-js/build/main/constants.js +0 -98
  882. package/node_modules/@aws-crypto/sha256-js/build/main/index.js +0 -5
  883. package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js +0 -85
  884. package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js +0 -322
  885. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js +0 -121
  886. package/node_modules/@aws-crypto/sha256-js/build/module/constants.js +0 -95
  887. package/node_modules/@aws-crypto/sha256-js/build/module/index.js +0 -2
  888. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js +0 -82
  889. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js +0 -319
  890. package/node_modules/@aws-crypto/sha256-js/package.json +0 -27
  891. package/node_modules/@aws-crypto/sha256-js/src/RawSha256.ts +0 -164
  892. package/node_modules/@aws-crypto/sha256-js/src/constants.ts +0 -98
  893. package/node_modules/@aws-crypto/sha256-js/src/index.ts +0 -1
  894. package/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts +0 -94
  895. package/node_modules/@aws-crypto/sha256-js/src/knownHashes.fixture.ts +0 -401
  896. package/node_modules/@aws-crypto/sha256-js/tsconfig.json +0 -10
  897. package/node_modules/@aws-crypto/sha256-js/tsconfig.module.json +0 -7
  898. package/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +0 -66
  899. package/node_modules/@aws-crypto/supports-web-crypto/LICENSE +0 -202
  900. package/node_modules/@aws-crypto/supports-web-crypto/README.md +0 -32
  901. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js +0 -5
  902. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js +0 -69
  903. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js +0 -2
  904. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js +0 -62
  905. package/node_modules/@aws-crypto/supports-web-crypto/package.json +0 -23
  906. package/node_modules/@aws-crypto/supports-web-crypto/src/index.ts +0 -1
  907. package/node_modules/@aws-crypto/supports-web-crypto/src/supportsWebCrypto.ts +0 -76
  908. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json +0 -10
  909. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json +0 -7
  910. package/node_modules/@aws-crypto/util/CHANGELOG.md +0 -71
  911. package/node_modules/@aws-crypto/util/LICENSE +0 -201
  912. package/node_modules/@aws-crypto/util/README.md +0 -16
  913. package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +0 -24
  914. package/node_modules/@aws-crypto/util/build/main/index.js +0 -14
  915. package/node_modules/@aws-crypto/util/build/main/isEmptyData.js +0 -13
  916. package/node_modules/@aws-crypto/util/build/main/numToUint8.js +0 -15
  917. package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +0 -20
  918. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js +0 -20
  919. package/node_modules/@aws-crypto/util/build/module/index.js +0 -7
  920. package/node_modules/@aws-crypto/util/build/module/isEmptyData.js +0 -9
  921. package/node_modules/@aws-crypto/util/build/module/numToUint8.js +0 -11
  922. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js +0 -16
  923. package/node_modules/@aws-crypto/util/package.json +0 -27
  924. package/node_modules/@aws-crypto/util/src/convertToBuffer.ts +0 -30
  925. package/node_modules/@aws-crypto/util/src/index.ts +0 -7
  926. package/node_modules/@aws-crypto/util/src/isEmptyData.ts +0 -12
  927. package/node_modules/@aws-crypto/util/src/numToUint8.ts +0 -11
  928. package/node_modules/@aws-crypto/util/src/uint32ArrayFrom.ts +0 -16
  929. package/node_modules/@aws-crypto/util/tsconfig.json +0 -9
  930. package/node_modules/@aws-crypto/util/tsconfig.module.json +0 -7
  931. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/auth/httpAuthSchemeProvider.js +0 -63
  932. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/bdd.js +0 -49
  933. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/endpointResolver.js +0 -18
  934. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/models/BedrockRuntimeServiceException.js +0 -12
  935. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/models/errors.js +0 -169
  936. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.browser.js +0 -41
  937. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.js +0 -78
  938. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.native.js +0 -19
  939. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.shared.js +0 -48
  940. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/schemas/schemas_0.js +0 -1500
  941. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/LICENSE +0 -201
  942. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/README.md +0 -9
  943. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +0 -859
  944. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +0 -19
  945. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/constants.js +0 -1
  946. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +0 -12
  947. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +0 -51
  948. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/index.js +0 -3
  949. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +0 -251
  950. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +0 -135
  951. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +0 -46
  952. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +0 -180
  953. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -36
  954. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +0 -21
  955. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -22
  956. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -23
  957. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/timing.js +0 -4
  958. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +0 -63
  959. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +0 -56
  960. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/LICENSE +0 -201
  961. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/README.md +0 -9
  962. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +0 -859
  963. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +0 -19
  964. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/constants.js +0 -1
  965. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +0 -12
  966. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +0 -51
  967. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/index.js +0 -3
  968. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +0 -251
  969. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +0 -135
  970. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +0 -46
  971. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +0 -180
  972. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +0 -2
  973. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-https.js +0 -2
  974. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -36
  975. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +0 -21
  976. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -22
  977. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -23
  978. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/timing.js +0 -4
  979. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +0 -63
  980. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +0 -56
  981. package/node_modules/@aws-sdk/util-locate-window/LICENSE +0 -201
  982. package/node_modules/@aws-sdk/util-locate-window/README.md +0 -4
  983. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -12
  984. package/node_modules/@aws-sdk/util-locate-window/dist-es/index.js +0 -10
  985. package/node_modules/@aws-sdk/util-locate-window/package.json +0 -43
  986. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/OnboardingSurface.module.css +0 -28
  987. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/OnboardingSurface.d.ts +0 -11
  988. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/types-DxezulnA.js +0 -1324
  989. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/persistence.js +0 -30
  990. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/projection.js +0 -68
  991. package/node_modules/@deepseek-ai/dsh-schedule/lib/types/transaction.js +0 -22
  992. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-DGV26RBf.js +0 -1525
  993. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Cq6ljTv2.css +0 -1
  994. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Dy0OhsZ5.js +0 -127
  995. package/node_modules/@earendil-works/pi-ai/dist/utils/deferred-tools.js +0 -36
  996. package/node_modules/@smithy/is-array-buffer/LICENSE +0 -201
  997. package/node_modules/@smithy/is-array-buffer/README.md +0 -10
  998. package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +0 -32
  999. package/node_modules/@smithy/is-array-buffer/dist-es/index.js +0 -2
  1000. package/node_modules/@smithy/is-array-buffer/package.json +0 -48
  1001. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +0 -21
  1002. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +0 -88
  1003. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
  1004. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
  1005. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -21
  1006. package/node_modules/@smithy/util-buffer-from/LICENSE +0 -201
  1007. package/node_modules/@smithy/util-buffer-from/README.md +0 -10
  1008. package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +0 -47
  1009. package/node_modules/@smithy/util-buffer-from/dist-es/index.js +0 -14
  1010. package/node_modules/@smithy/util-buffer-from/package.json +0 -49
  1011. package/node_modules/@smithy/util-utf8/LICENSE +0 -201
  1012. package/node_modules/@smithy/util-utf8/README.md +0 -4
  1013. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
  1014. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
  1015. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
  1016. package/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
  1017. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
  1018. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
  1019. package/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +0 -1
  1020. package/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
  1021. package/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
  1022. package/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +0 -10
  1023. package/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +0 -9
  1024. package/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
  1025. package/node_modules/@smithy/util-utf8/package.json +0 -54
  1026. package/node_modules/typebox/build/format/_idna.mjs +0 -246
  1027. package/node_modules/typebox/build/format/_puny.mjs +0 -77
  1028. package/node_modules/typebox/build/schema/resolve/ref.mjs +0 -146
  1029. package/node_modules/typebox/build/schema/types/contentEncoding.mjs +0 -13
  1030. package/node_modules/typebox/build/schema/types/contentMediaType.mjs +0 -13
  1031. /package/node_modules/{@aws-sdk/credential-provider-http/node_modules/@smithy → @smithy}/node-http-handler/dist-es/node-http2.js +0 -0
  1032. /package/node_modules/{@aws-sdk/credential-provider-http/node_modules/@smithy → @smithy}/node-http-handler/dist-es/node-https.js +0 -0
@@ -39,17 +39,14 @@ function IntrinsicOrCall(ref, parameters) {
39
39
  function Unreachable() {
40
40
  throw Error('Unreachable');
41
41
  }
42
- const DelimitedDecode = (input, result = []) => {
43
- return input.reduce((result, left) => {
44
- return Guard.IsArray(left) && Guard.IsEqual(left.length, 2)
45
- ? [...result, left[0]]
46
- : [...result, left];
47
- }, []);
48
- };
49
- const Delimited = (input) => {
50
- const [left, right] = input;
51
- return DelimitedDecode([...left, ...right]);
52
- };
42
+ function DelimitedDecode(input, result = []) {
43
+ return Guard.ShiftLeft(input, (left, right) => DelimitedDecode(right, [...result, left[1]]), () => result);
44
+ }
45
+ function Delimited(input) {
46
+ return Guard.IsEqual(input.length, 3)
47
+ ? [input[0], ...DelimitedDecode(input[1])]
48
+ : [];
49
+ }
53
50
  export function GenericParameterExtendsEqualsMapping(input) {
54
51
  return T.Parameter(input[0], input[2], input[4]);
55
52
  }
@@ -322,17 +319,14 @@ export function ElementNamedMapping(input) {
322
319
  Guard.IsEqual(input.length, 4) ? (Guard.IsEqual(input[2], 'readonly') ? S.AddReadonlyDeferred(input[3]) : S.AddOptionalDeferred(input[3])) :
323
320
  Unreachable());
324
321
  }
325
- export function ElementReadonlyOptionalMapping(input) {
326
- return S.AddReadonlyDeferred(S.AddOptionalDeferred(input[1]));
327
- }
328
- export function ElementReadonlyMapping(input) {
329
- return S.AddReadonlyDeferred(input[1]);
330
- }
331
- export function ElementOptionalMapping(input) {
332
- return S.AddOptionalDeferred(input[0]);
333
- }
334
322
  export function ElementBaseMapping(input) {
335
- return input;
323
+ if (!Guard.IsArray(input) || !Guard.IsEqual(input.length, 3))
324
+ return input;
325
+ const [isReadonly, type, isOptional] = input;
326
+ return (isReadonly && isOptional ? S.AddReadonlyDeferred(S.AddOptionalDeferred(type)) :
327
+ isReadonly && !isOptional ? S.AddReadonlyDeferred(type) :
328
+ !isReadonly && isOptional ? S.AddOptionalDeferred(type) :
329
+ type);
336
330
  }
337
331
  // deno-coverage-ignore-start
338
332
  export function ElementMapping(input) {
@@ -520,15 +514,14 @@ export function ModuleDeclarationDelimiterMapping(input) {
520
514
  return input;
521
515
  }
522
516
  export function ModuleDeclarationListMapping(input) {
523
- return PropertiesReduce(Delimited(input));
517
+ return Delimited(input);
524
518
  }
525
519
  export function ModuleDeclarationMapping(input) {
526
520
  return input[1];
527
521
  }
528
522
  export function ModuleMapping(input) {
529
- const moduleDeclaration = input[0];
530
- const moduleDeclarationList = input[1];
531
- return S.ModuleDeferred(Memory.Assign(moduleDeclaration, moduleDeclarationList[0]));
523
+ const [moduleDeclaration, moduleDeclarationList] = [input[0], input[1]];
524
+ return S.ModuleDeferred(Memory.Assign(moduleDeclaration, PropertiesReduce(moduleDeclarationList)[0]));
532
525
  }
533
526
  export function ScriptMapping(input) {
534
527
  return input;
@@ -1,6 +1,13 @@
1
1
  // deno-fmt-ignore-file
2
2
  // deno-lint-ignore-file
3
- // auto-generated: design/syntax/syntax.ts
3
+ // ------------------------------------------------------------------
4
+ //
5
+ // This module was auto-generated by TypeBox's parser compiler
6
+ // infrastructure (ParseBox). The source grammar is located at:
7
+ //
8
+ // Source: ./design/syntax/syntax.ts
9
+ //
10
+ // ------------------------------------------------------------------
4
11
  import * as S from './mapping.mjs';
5
12
  import * as Token from './token/index.mjs';
6
13
  const If = (result, left, right = () => []) => result.length === 2 ? left(result) : right();
@@ -9,11 +16,11 @@ export const GenericParameterExtends = (input) => If(If(Token.Ident(input), ([_0
9
16
  export const GenericParameterEquals = (input) => If(If(Token.Ident(input), ([_0, input]) => If(Token.Const('=', input), ([_1, input]) => If(Type(input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [S.GenericParameterEqualsMapping(_0), input]);
10
17
  export const GenericParameterIdentifier = (input) => If(Token.Ident(input), ([_0, input]) => [S.GenericParameterIdentifierMapping(_0), input]);
11
18
  export const GenericParameter = (input) => If(If(GenericParameterExtendsEquals(input), ([_0, input]) => [_0, input], () => If(GenericParameterExtends(input), ([_0, input]) => [_0, input], () => If(GenericParameterEquals(input), ([_0, input]) => [_0, input], () => If(GenericParameterIdentifier(input), ([_0, input]) => [_0, input], () => [])))), ([_0, input]) => [S.GenericParameterMapping(_0), input]);
12
- export const GenericParameterList_0 = (input, result = []) => If(If(GenericParameter(input), ([_0, input]) => If(Token.Const(',', input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => GenericParameterList_0(input, [...result, _0]), () => [result, input]);
13
- export const GenericParameterList = (input) => If(If(GenericParameterList_0(input), ([_0, input]) => If(If(If(GenericParameter(input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [S.GenericParameterListMapping(_0), input]);
19
+ export const GenericParameterList_0 = (input, result = []) => If(If(Token.Const(',', input), ([_0, input]) => If(GenericParameter(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => GenericParameterList_0(input, [...result, _0]), () => [result, input]);
20
+ export const GenericParameterList = (input) => If(If(If(GenericParameter(input), ([_0, input]) => If(GenericParameterList_0(input), ([_1, input]) => If(If(Token.Const(',', input), ([_0, input]) => [[_0], input], () => [[], input]), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.GenericParameterListMapping(_0), input]);
14
21
  export const GenericParameters = (input) => If(If(Token.Const('<', input), ([_0, input]) => If(GenericParameterList(input), ([_1, input]) => If(Token.Const('>', input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [S.GenericParametersMapping(_0), input]);
15
- export const GenericCallArgumentList_0 = (input, result = []) => If(If(Type(input), ([_0, input]) => If(Token.Const(',', input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => GenericCallArgumentList_0(input, [...result, _0]), () => [result, input]);
16
- export const GenericCallArgumentList = (input) => If(If(GenericCallArgumentList_0(input), ([_0, input]) => If(If(If(Type(input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [S.GenericCallArgumentListMapping(_0), input]);
22
+ export const GenericCallArgumentList_0 = (input, result = []) => If(If(Token.Const(',', input), ([_0, input]) => If(Type(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => GenericCallArgumentList_0(input, [...result, _0]), () => [result, input]);
23
+ export const GenericCallArgumentList = (input) => If(If(If(Type(input), ([_0, input]) => If(GenericCallArgumentList_0(input), ([_1, input]) => If(If(Token.Const(',', input), ([_0, input]) => [[_0], input], () => [[], input]), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.GenericCallArgumentListMapping(_0), input]);
17
24
  export const GenericCallArguments = (input) => If(If(Token.Const('<', input), ([_0, input]) => If(GenericCallArgumentList(input), ([_1, input]) => If(Token.Const('>', input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [S.GenericCallArgumentsMapping(_0), input]);
18
25
  export const GenericCall = (input) => If(If(Token.Ident(input), ([_0, input]) => If(GenericCallArguments(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [S.GenericCallMapping(_0), input]);
19
26
  export const OptionalSemiColon = (input) => If(If(If(Token.Const(';', input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.OptionalSemiColonMapping(_0), input]);
@@ -66,18 +73,15 @@ export const Readonly = (input) => If(If(If(Token.Const('readonly', input), ([_0
66
73
  export const Optional = (input) => If(If(If(Token.Const('?', input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.OptionalMapping(_0), input]);
67
74
  export const Property = (input) => If(If(Readonly(input), ([_0, input]) => If(PropertyKey(input), ([_1, input]) => If(Optional(input), ([_2, input]) => If(Token.Const(':', input), ([_3, input]) => If(Type(input), ([_4, input]) => [[_0, _1, _2, _3, _4], input]))))), ([_0, input]) => [S.PropertyMapping(_0), input]);
68
75
  export const PropertyDelimiter = (input) => If(If(If(Token.Const(',', input), ([_0, input]) => If(Token.Const('\n', input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [_0, input], () => If(If(Token.Const(';', input), ([_0, input]) => If(Token.Const('\n', input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [_0, input], () => If(If(Token.Const(',', input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If(If(Token.Const(';', input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If(If(Token.Const('\n', input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => []))))), ([_0, input]) => [S.PropertyDelimiterMapping(_0), input]);
69
- export const PropertyList_0 = (input, result = []) => If(If(Property(input), ([_0, input]) => If(PropertyDelimiter(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => PropertyList_0(input, [...result, _0]), () => [result, input]);
70
- export const PropertyList = (input) => If(If(PropertyList_0(input), ([_0, input]) => If(If(If(Property(input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [S.PropertyListMapping(_0), input]);
76
+ export const PropertyList_0 = (input, result = []) => If(If(PropertyDelimiter(input), ([_0, input]) => If(Property(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => PropertyList_0(input, [...result, _0]), () => [result, input]);
77
+ export const PropertyList = (input) => If(If(If(Property(input), ([_0, input]) => If(PropertyList_0(input), ([_1, input]) => If(If(PropertyDelimiter(input), ([_0, input]) => [[_0], input], () => [[], input]), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.PropertyListMapping(_0), input]);
71
78
  export const Properties = (input) => If(If(Token.Const('{', input), ([_0, input]) => If(PropertyList(input), ([_1, input]) => If(Token.Const('}', input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [S.PropertiesMapping(_0), input]);
72
79
  export const _Object_ = (input) => If(Properties(input), ([_0, input]) => [S._Object_Mapping(_0), input]);
73
80
  export const ElementNamed = (input) => If(If(If(Token.Ident(input), ([_0, input]) => If(Token.Const('?', input), ([_1, input]) => If(Token.Const(':', input), ([_2, input]) => If(Token.Const('readonly', input), ([_3, input]) => If(Type(input), ([_4, input]) => [[_0, _1, _2, _3, _4], input]))))), ([_0, input]) => [_0, input], () => If(If(Token.Ident(input), ([_0, input]) => If(Token.Const(':', input), ([_1, input]) => If(Token.Const('readonly', input), ([_2, input]) => If(Type(input), ([_3, input]) => [[_0, _1, _2, _3], input])))), ([_0, input]) => [_0, input], () => If(If(Token.Ident(input), ([_0, input]) => If(Token.Const('?', input), ([_1, input]) => If(Token.Const(':', input), ([_2, input]) => If(Type(input), ([_3, input]) => [[_0, _1, _2, _3], input])))), ([_0, input]) => [_0, input], () => If(If(Token.Ident(input), ([_0, input]) => If(Token.Const(':', input), ([_1, input]) => If(Type(input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [_0, input], () => [])))), ([_0, input]) => [S.ElementNamedMapping(_0), input]);
74
- export const ElementReadonlyOptional = (input) => If(If(Token.Const('readonly', input), ([_0, input]) => If(Type(input), ([_1, input]) => If(Token.Const('?', input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [S.ElementReadonlyOptionalMapping(_0), input]);
75
- export const ElementReadonly = (input) => If(If(Token.Const('readonly', input), ([_0, input]) => If(Type(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [S.ElementReadonlyMapping(_0), input]);
76
- export const ElementOptional = (input) => If(If(Type(input), ([_0, input]) => If(Token.Const('?', input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [S.ElementOptionalMapping(_0), input]);
77
- export const ElementBase = (input) => If(If(ElementNamed(input), ([_0, input]) => [_0, input], () => If(ElementReadonlyOptional(input), ([_0, input]) => [_0, input], () => If(ElementReadonly(input), ([_0, input]) => [_0, input], () => If(ElementOptional(input), ([_0, input]) => [_0, input], () => If(Type(input), ([_0, input]) => [_0, input], () => []))))), ([_0, input]) => [S.ElementBaseMapping(_0), input]);
81
+ export const ElementBase = (input) => If(If(ElementNamed(input), ([_0, input]) => [_0, input], () => If(If(Readonly(input), ([_0, input]) => If(Type(input), ([_1, input]) => If(Optional(input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.ElementBaseMapping(_0), input]);
78
82
  export const Element = (input) => If(If(If(Token.Const('...', input), ([_0, input]) => If(ElementBase(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [_0, input], () => If(If(ElementBase(input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.ElementMapping(_0), input]);
79
- export const ElementList_0 = (input, result = []) => If(If(Element(input), ([_0, input]) => If(Token.Const(',', input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => ElementList_0(input, [...result, _0]), () => [result, input]);
80
- export const ElementList = (input) => If(If(ElementList_0(input), ([_0, input]) => If(If(If(Element(input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [S.ElementListMapping(_0), input]);
83
+ export const ElementList_0 = (input, result = []) => If(If(Token.Const(',', input), ([_0, input]) => If(Element(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => ElementList_0(input, [...result, _0]), () => [result, input]);
84
+ export const ElementList = (input) => If(If(If(Element(input), ([_0, input]) => If(ElementList_0(input), ([_1, input]) => If(If(Token.Const(',', input), ([_0, input]) => [[_0], input], () => [[], input]), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.ElementListMapping(_0), input]);
81
85
  export const _Tuple_ = (input) => If(If(Token.Const('[', input), ([_0, input]) => If(ElementList(input), ([_1, input]) => If(Token.Const(']', input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [S._Tuple_Mapping(_0), input]);
82
86
  export const ParameterReadonlyOptional = (input) => If(If(Token.Ident(input), ([_0, input]) => If(Token.Const('?', input), ([_1, input]) => If(Token.Const(':', input), ([_2, input]) => If(Token.Const('readonly', input), ([_3, input]) => If(Type(input), ([_4, input]) => [[_0, _1, _2, _3, _4], input]))))), ([_0, input]) => [S.ParameterReadonlyOptionalMapping(_0), input]);
83
87
  export const ParameterReadonly = (input) => If(If(Token.Ident(input), ([_0, input]) => If(Token.Const(':', input), ([_1, input]) => If(Token.Const('readonly', input), ([_2, input]) => If(Type(input), ([_3, input]) => [[_0, _1, _2, _3], input])))), ([_0, input]) => [S.ParameterReadonlyMapping(_0), input]);
@@ -85,8 +89,8 @@ export const ParameterOptional = (input) => If(If(Token.Ident(input), ([_0, inpu
85
89
  export const ParameterType = (input) => If(If(Token.Ident(input), ([_0, input]) => If(Token.Const(':', input), ([_1, input]) => If(Type(input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [S.ParameterTypeMapping(_0), input]);
86
90
  export const ParameterBase = (input) => If(If(ParameterReadonlyOptional(input), ([_0, input]) => [_0, input], () => If(ParameterReadonly(input), ([_0, input]) => [_0, input], () => If(ParameterOptional(input), ([_0, input]) => [_0, input], () => If(ParameterType(input), ([_0, input]) => [_0, input], () => [])))), ([_0, input]) => [S.ParameterBaseMapping(_0), input]);
87
91
  export const Parameter = (input) => If(If(If(Token.Const('...', input), ([_0, input]) => If(ParameterBase(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [_0, input], () => If(If(ParameterBase(input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.ParameterMapping(_0), input]);
88
- export const ParameterList_0 = (input, result = []) => If(If(Parameter(input), ([_0, input]) => If(Token.Const(',', input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => ParameterList_0(input, [...result, _0]), () => [result, input]);
89
- export const ParameterList = (input) => If(If(ParameterList_0(input), ([_0, input]) => If(If(If(Parameter(input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [S.ParameterListMapping(_0), input]);
92
+ export const ParameterList_0 = (input, result = []) => If(If(Token.Const(',', input), ([_0, input]) => If(Parameter(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => ParameterList_0(input, [...result, _0]), () => [result, input]);
93
+ export const ParameterList = (input) => If(If(If(Parameter(input), ([_0, input]) => If(ParameterList_0(input), ([_1, input]) => If(If(Token.Const(',', input), ([_0, input]) => [[_0], input], () => [[], input]), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.ParameterListMapping(_0), input]);
90
94
  export const _Function_ = (input) => If(If(Token.Const('(', input), ([_0, input]) => If(ParameterList(input), ([_1, input]) => If(Token.Const(')', input), ([_2, input]) => If(Token.Const('=>', input), ([_3, input]) => If(Type(input), ([_4, input]) => [[_0, _1, _2, _3, _4], input]))))), ([_0, input]) => [S._Function_Mapping(_0), input]);
91
95
  export const _Constructor_ = (input) => If(If(Token.Const('new', input), ([_0, input]) => If(Token.Const('(', input), ([_1, input]) => If(ParameterList(input), ([_2, input]) => If(Token.Const(')', input), ([_3, input]) => If(Token.Const('=>', input), ([_4, input]) => If(Type(input), ([_5, input]) => [[_0, _1, _2, _3, _4, _5], input])))))), ([_0, input]) => [S._Constructor_Mapping(_0), input]);
92
96
  export const MappedReadonly = (input) => If(If(If(Token.Const('+', input), ([_0, input]) => If(Token.Const('readonly', input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [_0, input], () => If(If(Token.Const('-', input), ([_0, input]) => If(Token.Const('readonly', input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [_0, input], () => If(If(Token.Const('readonly', input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])))), ([_0, input]) => [S.MappedReadonlyMapping(_0), input]);
@@ -101,11 +105,11 @@ export const WithString = (input) => If(Token.String(['\"', '\''], input), ([_0,
101
105
  export const WithNull = (input) => If(Token.Const('null', input), ([_0, input]) => [S.WithNullMapping(_0), input]);
102
106
  export const WithUndefined = (input) => If(Token.Const('undefined', input), ([_0, input]) => [S.WithUndefinedMapping(_0), input]);
103
107
  export const WithProperty = (input) => If(If(PropertyKey(input), ([_0, input]) => If(Token.Const(':', input), ([_1, input]) => If(WithValue(input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [S.WithPropertyMapping(_0), input]);
104
- export const WithPropertyList_0 = (input, result = []) => If(If(WithProperty(input), ([_0, input]) => If(PropertyDelimiter(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => WithPropertyList_0(input, [...result, _0]), () => [result, input]);
105
- export const WithPropertyList = (input) => If(If(WithPropertyList_0(input), ([_0, input]) => If(If(If(WithProperty(input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [S.WithPropertyListMapping(_0), input]);
108
+ export const WithPropertyList_0 = (input, result = []) => If(If(PropertyDelimiter(input), ([_0, input]) => If(WithProperty(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => WithPropertyList_0(input, [...result, _0]), () => [result, input]);
109
+ export const WithPropertyList = (input) => If(If(If(WithProperty(input), ([_0, input]) => If(WithPropertyList_0(input), ([_1, input]) => If(If(PropertyDelimiter(input), ([_0, input]) => [[_0], input], () => [[], input]), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.WithPropertyListMapping(_0), input]);
106
110
  export const WithObject = (input) => If(If(Token.Const('{', input), ([_0, input]) => If(WithPropertyList(input), ([_1, input]) => If(Token.Const('}', input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [S.WithObjectMapping(_0), input]);
107
- export const WithElementList_0 = (input, result = []) => If(If(WithValue(input), ([_0, input]) => If(Token.Const(',', input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => WithElementList_0(input, [...result, _0]), () => [result, input]);
108
- export const WithElementList = (input) => If(If(WithElementList_0(input), ([_0, input]) => If(If(If(WithValue(input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [S.WithElementListMapping(_0), input]);
111
+ export const WithElementList_0 = (input, result = []) => If(If(Token.Const(',', input), ([_0, input]) => If(WithValue(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => WithElementList_0(input, [...result, _0]), () => [result, input]);
112
+ export const WithElementList = (input) => If(If(If(WithValue(input), ([_0, input]) => If(WithElementList_0(input), ([_1, input]) => If(If(Token.Const(',', input), ([_0, input]) => [[_0], input], () => [[], input]), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.WithElementListMapping(_0), input]);
109
113
  export const WithArray = (input) => If(If(Token.Const('[', input), ([_0, input]) => If(WithElementList(input), ([_1, input]) => If(Token.Const(']', input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [S.WithArrayMapping(_0), input]);
110
114
  export const WithValue = (input) => If(If(WithBigInt(input), ([_0, input]) => [_0, input], () => If(WithNumber(input), ([_0, input]) => [_0, input], () => If(WithBoolean(input), ([_0, input]) => [_0, input], () => If(WithString(input), ([_0, input]) => [_0, input], () => If(WithNull(input), ([_0, input]) => [_0, input], () => If(WithUndefined(input), ([_0, input]) => [_0, input], () => If(WithObject(input), ([_0, input]) => [_0, input], () => If(WithArray(input), ([_0, input]) => [_0, input], () => [])))))))), ([_0, input]) => [S.WithValueMapping(_0), input]);
111
115
  export const PatternBigInt = (input) => If(Token.Const('-?(?:0|[1-9][0-9]*)n', input), ([_0, input]) => [S.PatternBigIntMapping(_0), input]);
@@ -120,8 +124,8 @@ export const PatternUnion = (input) => If(If(If(PatternTerm(input), ([_0, input]
120
124
  export const PatternTerm = (input) => If(If(PatternBase(input), ([_0, input]) => If(PatternBody(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [S.PatternTermMapping(_0), input]);
121
125
  export const PatternBody = (input) => If(If(PatternUnion(input), ([_0, input]) => [_0, input], () => If(PatternTerm(input), ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.PatternBodyMapping(_0), input]);
122
126
  export const Pattern = (input) => If(If(Token.Const('^', input), ([_0, input]) => If(PatternBody(input), ([_1, input]) => If(Token.Const('$', input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [S.PatternMapping(_0), input]);
123
- export const InterfaceDeclarationHeritageList_0 = (input, result = []) => If(If(Type(input), ([_0, input]) => If(Token.Const(',', input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => InterfaceDeclarationHeritageList_0(input, [...result, _0]), () => [result, input]);
124
- export const InterfaceDeclarationHeritageList = (input) => If(If(InterfaceDeclarationHeritageList_0(input), ([_0, input]) => If(If(If(Type(input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [S.InterfaceDeclarationHeritageListMapping(_0), input]);
127
+ export const InterfaceDeclarationHeritageList_0 = (input, result = []) => If(If(Token.Const(',', input), ([_0, input]) => If(Type(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => InterfaceDeclarationHeritageList_0(input, [...result, _0]), () => [result, input]);
128
+ export const InterfaceDeclarationHeritageList = (input) => If(If(If(Type(input), ([_0, input]) => If(InterfaceDeclarationHeritageList_0(input), ([_1, input]) => If(If(Token.Const(',', input), ([_0, input]) => [[_0], input], () => [[], input]), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.InterfaceDeclarationHeritageListMapping(_0), input]);
125
129
  export const InterfaceDeclarationHeritage = (input) => If(If(If(Token.Const('extends', input), ([_0, input]) => If(InterfaceDeclarationHeritageList(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.InterfaceDeclarationHeritageMapping(_0), input]);
126
130
  export const InterfaceDeclarationGeneric = (input) => If(If(Token.Const('interface', input), ([_0, input]) => If(Token.Ident(input), ([_1, input]) => If(GenericParameters(input), ([_2, input]) => If(InterfaceDeclarationHeritage(input), ([_3, input]) => If(Properties(input), ([_4, input]) => [[_0, _1, _2, _3, _4], input]))))), ([_0, input]) => [S.InterfaceDeclarationGenericMapping(_0), input]);
127
131
  export const InterfaceDeclaration = (input) => If(If(Token.Const('interface', input), ([_0, input]) => If(Token.Ident(input), ([_1, input]) => If(InterfaceDeclarationHeritage(input), ([_2, input]) => If(Properties(input), ([_3, input]) => [[_0, _1, _2, _3], input])))), ([_0, input]) => [S.InterfaceDeclarationMapping(_0), input]);
@@ -129,8 +133,8 @@ export const TypeAliasDeclarationGeneric = (input) => If(If(Token.Const('type',
129
133
  export const TypeAliasDeclaration = (input) => If(If(Token.Const('type', input), ([_0, input]) => If(Token.Ident(input), ([_1, input]) => If(Token.Const('=', input), ([_2, input]) => If(Type(input), ([_3, input]) => [[_0, _1, _2, _3], input])))), ([_0, input]) => [S.TypeAliasDeclarationMapping(_0), input]);
130
134
  export const ExportKeyword = (input) => If(If(If(Token.Const('export', input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.ExportKeywordMapping(_0), input]);
131
135
  export const ModuleDeclarationDelimiter = (input) => If(If(If(Token.Const(';', input), ([_0, input]) => If(Token.Const('\n', input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [_0, input], () => If(If(Token.Const(';', input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If(If(Token.Const('\n', input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => []))), ([_0, input]) => [S.ModuleDeclarationDelimiterMapping(_0), input]);
132
- export const ModuleDeclarationList_0 = (input, result = []) => If(If(ModuleDeclaration(input), ([_0, input]) => If(ModuleDeclarationDelimiter(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => ModuleDeclarationList_0(input, [...result, _0]), () => [result, input]);
133
- export const ModuleDeclarationList = (input) => If(If(ModuleDeclarationList_0(input), ([_0, input]) => If(If(If(ModuleDeclaration(input), ([_0, input]) => [[_0], input]), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [S.ModuleDeclarationListMapping(_0), input]);
136
+ export const ModuleDeclarationList_0 = (input, result = []) => If(If(ModuleDeclarationDelimiter(input), ([_0, input]) => If(ModuleDeclaration(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => ModuleDeclarationList_0(input, [...result, _0]), () => [result, input]);
137
+ export const ModuleDeclarationList = (input) => If(If(If(ModuleDeclaration(input), ([_0, input]) => If(ModuleDeclarationList_0(input), ([_1, input]) => If(If(ModuleDeclarationDelimiter(input), ([_0, input]) => [[_0], input], () => [[], input]), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.ModuleDeclarationListMapping(_0), input]);
134
138
  export const ModuleDeclaration = (input) => If(If(ExportKeyword(input), ([_0, input]) => If(If(InterfaceDeclarationGeneric(input), ([_0, input]) => [_0, input], () => If(InterfaceDeclaration(input), ([_0, input]) => [_0, input], () => If(TypeAliasDeclarationGeneric(input), ([_0, input]) => [_0, input], () => If(TypeAliasDeclaration(input), ([_0, input]) => [_0, input], () => [])))), ([_1, input]) => If(OptionalSemiColon(input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [S.ModuleDeclarationMapping(_0), input]);
135
139
  export const Module = (input) => If(If(ModuleDeclaration(input), ([_0, input]) => If(ModuleDeclarationList(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [S.ModuleMapping(_0), input]);
136
140
  export const Script = (input) => If(If(Module(input), ([_0, input]) => [_0, input], () => If(GenericType(input), ([_0, input]) => [_0, input], () => If(Type(input), ([_0, input]) => [_0, input], () => []))), ([_0, input]) => [S.ScriptMapping(_0), input]);
@@ -1,12 +1,7 @@
1
1
  // deno-fmt-ignore-file
2
2
  import { Arguments } from '../../system/arguments/index.mjs';
3
- import { Errors as SchemaErrors, } from '../../schema/index.mjs';
4
- /**
5
- * Performs an exhaustive Check on the specified value and reports any errors found.
6
- * If no errors are found, an empty array is returned. Unlike Check, this function
7
- * does not terminate at the first occurrence of an error. For best performance, call
8
- * Check first and call Errors only if Check returns false.
9
- */
3
+ import { Errors as SchemaErrors } from '../../schema/index.mjs';
4
+ /** Returns an array of validation errors for the given value. */
10
5
  export function Errors(...args) {
11
6
  const [context, type, value] = Arguments.Match(args, {
12
7
  3: (context, type, value) => [context, type, value],
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "typebox",
3
3
  "description": "Json Schema Type Builder with Static Type Resolution for TypeScript",
4
- "version": "1.3.7",
4
+ "version": "1.3.27",
5
5
  "keywords": [
6
6
  "typescript",
7
7
  "jsonschema"
@@ -16,26 +16,10 @@
16
16
  "types": "./build/index.d.mts",
17
17
  "module": "./build/index.mjs",
18
18
  "exports": {
19
- "./schema": {
20
- "import": "./build/schema/index.mjs",
21
- "default": "./build/schema/index.mjs"
22
- },
23
- "./system": {
24
- "import": "./build/system/index.mjs",
25
- "default": "./build/system/index.mjs"
26
- },
27
19
  "./compile": {
28
20
  "import": "./build/compile/index.mjs",
29
21
  "default": "./build/compile/index.mjs"
30
22
  },
31
- "./value": {
32
- "import": "./build/value/index.mjs",
33
- "default": "./build/value/index.mjs"
34
- },
35
- "./type": {
36
- "import": "./build/type/index.mjs",
37
- "default": "./build/type/index.mjs"
38
- },
39
23
  "./error": {
40
24
  "import": "./build/error/index.mjs",
41
25
  "default": "./build/error/index.mjs"
@@ -48,6 +32,22 @@
48
32
  "import": "./build/guard/index.mjs",
49
33
  "default": "./build/guard/index.mjs"
50
34
  },
35
+ "./schema": {
36
+ "import": "./build/schema/index.mjs",
37
+ "default": "./build/schema/index.mjs"
38
+ },
39
+ "./system": {
40
+ "import": "./build/system/index.mjs",
41
+ "default": "./build/system/index.mjs"
42
+ },
43
+ "./type": {
44
+ "import": "./build/type/index.mjs",
45
+ "default": "./build/type/index.mjs"
46
+ },
47
+ "./value": {
48
+ "import": "./build/value/index.mjs",
49
+ "default": "./build/value/index.mjs"
50
+ },
51
51
  ".": {
52
52
  "import": "./build/index.mjs",
53
53
  "default": "./build/index.mjs"
@@ -55,21 +55,9 @@
55
55
  },
56
56
  "typesVersions": {
57
57
  "*": {
58
- "schema": [
59
- "./build/schema/index.d.mts"
60
- ],
61
- "system": [
62
- "./build/system/index.d.mts"
63
- ],
64
58
  "compile": [
65
59
  "./build/compile/index.d.mts"
66
60
  ],
67
- "value": [
68
- "./build/value/index.d.mts"
69
- ],
70
- "type": [
71
- "./build/type/index.d.mts"
72
- ],
73
61
  "error": [
74
62
  "./build/error/index.d.mts"
75
63
  ],
@@ -79,6 +67,18 @@
79
67
  "guard": [
80
68
  "./build/guard/index.d.mts"
81
69
  ],
70
+ "schema": [
71
+ "./build/schema/index.d.mts"
72
+ ],
73
+ "system": [
74
+ "./build/system/index.d.mts"
75
+ ],
76
+ "type": [
77
+ "./build/type/index.d.mts"
78
+ ],
79
+ "value": [
80
+ "./build/value/index.d.mts"
81
+ ],
82
82
  ".": [
83
83
  "./build/index.d.mts"
84
84
  ]
@@ -91,7 +91,7 @@ const User = Type.Object({ // const User = {
91
91
  // type: 'string',
92
92
  // format: 'email'
93
93
  // }
94
- // }
94
+ // },
95
95
  // required: [
96
96
  // 'id',
97
97
  // 'name',
@@ -111,24 +111,28 @@ type User = Type.Static<typeof User> // type User = {
111
111
 
112
112
  ## Script
113
113
 
114
- [Documentation](https://sinclairzx81.github.io/typebox/#/docs/script/overview) | [Example 1](https://www.typescriptlang.org/play/?target=99&module=7#code/JYWwDg9gTgLgBAFQJ5gKZwGZQiOByGFVAIwgA88AoSgehrgFkIATAVwBtVKBjCAOwDO8BgEMYACzgBeREQB0AZW5RgYGAAoABpThxCaOADVU3GNABM0uAG84ZAFxw+rEMVRQANHCSPnr93AAvjp6REYmZlAAzFa2Dk4ubp7evonuXgBeqf5QQSH66Mam0AAssXbZSV4+CTmZlelwAO4NucGaAJTUdHAAIqhofMyofMIsHFy8gvC2DKgCkoFWyGiKyqoaohJemrr5YcawqGSxIbqQAsAwwPyORZElHmdO0CAi7HcR0FFPurqsADdPsUoOYQsFdAU4ABxVA4VAwKBIU5-OAA9zXbjzT5HMgAbQAur8-sAhsAsQJWoTwfsDFt3MB3ii-iJXMARjBgQ9ibpmMAMBhWAJUFzSjy4AI0NwOCIoKKoCUaZCwnMFszdABzOEgBFIxyw+GIpDit4wBnvRz0lTvGmdbr0ABKrFGoHQDtQGE4phufEoqvEcjA2DQsHZAjkWsNSMDwYxYbk6NDFLkV1QIHDQYgIeu80DEEu134MazcdzZD98wDmez8cjOqNxZrucTmNzqfTjdL4b4r3endDZYrC37OfDdd1SBH8Zb5LbZo71a7ckBU8H-tX4dN5vYG7kfIFQtQu-L68XA83Ym3u9ZxHZo2PQ6rsfPci31p3Z9HcklJhlUAftD0AoMBiOScAAJJ8Bg7gjFilCCnw3r8HAUAjMMUDqDqCyOCsR7AaB3AADwFBAGCMJWAB8HQ2CEWEBuODYzhSeIAAwEnmBY+nI5a6HREbahOCZxsxbFyD2UBvDuPFwHxDHRkx8ysexK7SXxb6Mju+6CsK3G0ZWr6Xu+cg3neMC6bx+nqX2P7Suwsq6YEQA) | [Example 2](https://www.typescriptlang.org/play/?target=99&module=7#code/JYWwDg9gTgLgBAFQJ5gKZwGZQiOByGFVAIwgA88AoSgehrgFkIATAVwBtVKA7AQxFQBnMLwDG6BrxgALOAG9KcOKjKRYcURG6D4ANVSiY0AExwAvIiIA6APLEAVgZgAKOXDIAuS2isA5ViDEqFDOAJQANHBIXsg+-oHBYXAAvqGKyqrQ8Jraek7QAMzm3qi2Dk6u7jHW8UEhEVHVcQF1YZEAXk2ltYmhKWlKKmrZWjpw+obQACzFsaV2joaVniV+Lb2R0as99R1dawm7cADu+ztJqZTJ1HRwACKoaNzMqNzwTGyclDlj+rAqs2sCwqCiUkEEwBgwC0XkkMisEyMUCm4XS3GgIF47FhUmkCPyUAKqKUrAAbjj4YiTFc0j94ABxVA4VAwKBIQE+YFLUFwUnBKHiQT7ACCUCgvCQzj+MBUEXSwGewEFIrFEuccwOrVCaUudMYUmCwCxHPm5W56X4xGArxgFLxVORxLgzGAGAwrEEqDt+MmjvSwgMHF4UG9DqmNO+o3eQlkFg1XJcPIA5kyBKytozmemnZiZVAjdj9XmCxHaPQAEqsN6gdDl1AYTiGaHcSgMGNWMDYNCwa2CKwprNsjtd-m9qx8nuCqyQ1AgPudiDdqFCDsQCFQrTDxejldkVvthdLscDtNDw87vsTgUrmdzrdHlfoqCY9j3i9WPdtwR4889lcnlkzxHP9L1HKdb3nYDlz7Mk3xAj992-ODoKsXNDSxZCxxdN0PVKX8UM-A8oLHND8ww-Cx0ta03kw3dEJ-YiV1IgtaL7ANRCDKBWIQss4AAZRgKQlTgABJbgMGCV5xEod1uCbLQ4CgV4XhCARv32AShNEAAeQg0AgDBGBjAA+PoeTUvEAPTccwKEABtAAGABdVd12bBClAs-tU0ApAbMneznKsJ8Xw8uAvKsocryVQKXNgvdPPbZiMOw91PTCrzktfKibQypKDTI192M4hDkiAA) | [Challenge](test/typescript/readme.md)
114
+ [Documentation](https://sinclairzx81.github.io/typebox/#/docs/script/overview) | [Example 1](https://www.typescriptlang.org/play/?target=99&module=7#code/JYWwDg9gTgLgBAFQJ5gKZwGZQiOByGFVAIwgA88AoSgehrgFkBDGAC0YgBMBXAG1WoBjCADsAzvGZs4AXkREAdAGVBUYGBgAKAAaU4cQmjgA1VIJjQALLLgBvOGQBccEdxDFUUADRwkz1+6ePgBe-m4e3nAA7mGBUHAAvnoGRCZmFlAAzDb2Ti7hQb6xESHFnonJhuim5tAATDkOZZF++XEV2gCU1HRwAOJQTGCswIJiHDz8QqIS-YPDo+NyyGjKqupaUqw+uvpVabCoZDnJ+pBiwDDAos41GZZepy7QIEy8t+nQmY-6+twAbh9alA6skkntUn1UDhUDAoEgTr84P9PFdBKgxB9DmQANoAXR+v2AIk4owxzXxYMqqSknmAb0RvyY7mAqBEMCB90J+lJGAw3DEqE5Vm5cDEaEEfCYUGFUEsVIhRgYGPYclsTwA5tCQLD4c4oTC4UhRa8YHS3s5aWo3lSutR9sqxKr5KslDAWKMADxVCAYOZDEZjHF4R2sPB4gB8+l6DpVjKRCcTSeTKZTvX0WsNerscAUecSotTReLJfTcFN5veObzCgqJfrDeTvQSQA) | [Example 2](https://www.typescriptlang.org/play/?target=99&module=7#code/JYWwDg9gTgLgBAFQJ5gKZwGZQiOByGFVAIwgA88AoSgehrgFkBDGAC0YgBMBXAG1WoBjCADsAzvABqqQTGgAWOAF5ERAHQB5YgCsZMABQBvOGQBcqtGoBy3EMVRR9ASgA0cJOeSWbdh87cAXp7qPvaOrnAA7sHetmHOcAC+TpTC4lJ60ADMyhaomjp6RiYx+aF+ER551nEVgaU1vuFJKWkScNKy0ABMuV75WrqyxWbV5eFuVf2N8U4t1HRwAOJQTGCswIJiHDz8QqLt0rCoZH3qg0WGlHBwkGLAMMCi5p1yUPIu13Ai0CBMvC9MlAsp8btwAG6ArpQbqUZKpA7wJaoHCoGBQJBnSwXYZXG7ghyPQSoMQNACCUFWSH0RxgJ1cX2AIk4mxJ5MpTGp03GzhS8La8GYdKgwH+WIGhVxXyYdmAqBEMChbw+XxZGAw3DEqCVClBcDEaEEfCYUB170+-MRjBJ7BU0xxBjxcAA5iiQGiMeZkaj0Ug9X9haKAYwWA4g3CUpRCGhrWJbdUAMowFibAA80ZRGFjrAAfDd8wXC4sM9nck7CxXK1XqzX84sbq6fZ64MY1G2knra13u1363AA2H-uZW+3El8exPJ3X6IkgA)
115
115
 
116
- TypeBox includes a runtime scripting engine that can transform TypeScript definitions into JSON Schema. The engine is implemented symmetrically at runtime and inside TypeScript's type system. It supports many programmable type-level constructs such as Conditional, Mapped, Indexed, Generic, Distributive Conditional, and more. The engine is designed for TypeScript 7 but is supported in TypeScript 5 and above.
116
+ TypeBox includes a micro TypeScript engine that can transform TypeScript definitions to JSON Schema. The engine is fully type-safe and supports many programmable constructs including Conditional, Mapped, Indexed, Generics, Distributive Generics, and more.
117
117
 
118
118
  ### Example
119
119
 
120
- Syntax highlighting is available via the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=sinclairzx81.typebox-script)
120
+ Syntax highlighting is available via the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=sinclairzx81.typebox-script).
121
121
 
122
122
  ```typescript
123
- // Module
123
+ import Type from 'typebox'
124
+
125
+ // Math Module
126
+
124
127
  const Math = Type.Script(`
125
- type Vector2 = { x: number, y: number }
126
- type Vector3 = { x: number, y: number, z: number }
127
128
  type Vector4 = { x: number, y: number, z: number, w: number }
129
+ type Vector3 = { x: number, y: number, z: number }
130
+ type Vector2 = { x: number, y: number }
128
131
  `)
129
132
 
130
- // Dependent Module
131
- const { Mesh } = Type.Script(Math, `
133
+ // Graphics Module
134
+
135
+ const Graphics = Type.Script(Math, `
132
136
  type Vertex = {
133
137
  position: Vector4,
134
138
  normal: Vector3,
@@ -149,23 +153,10 @@ const { Mesh } = Type.Script(Math, `
149
153
  }
150
154
  `)
151
155
 
152
- // Runtime Reflection
153
- Mesh.properties.geometry.properties.vertices.items.properties.position.properties.x
154
- Mesh.properties.geometry.properties.vertices.items.properties.normal.properties.x
155
- Mesh.properties.geometry.properties.vertices.items.properties.uv.properties.x
156
- Mesh.properties.material.properties.diffuse.properties.x
157
- Mesh.properties.material.properties.ambient.properties.x
158
- Mesh.properties.material.properties.specular.properties.x
159
-
160
- // Static Inference
161
- function render(mesh: Type.Static<typeof Mesh>) {
162
- mesh.geometry.vertices[0].position.x
163
- mesh.geometry.vertices[0].normal.x
164
- mesh.geometry.vertices[0].uv.x
165
- mesh.material.diffuse.x
166
- mesh.material.ambient.x
167
- mesh.material.specular.x
168
- }
156
+ type Mesh = Type.Static<typeof Graphics['Mesh']> // type Mesh = {
157
+ // geometry: { ... },
158
+ // material: { ... }
159
+ // }
169
160
  ```
170
161
 
171
162
  <a name="Schema"></a>
@@ -184,18 +175,21 @@ import Schema from 'typebox/schema'
184
175
 
185
176
  ### Compile
186
177
 
187
- The compiler accepts JSON Schema and returns Validator instances.
178
+ The compiler accepts either TypeBox types or native JSON Schema.
188
179
 
189
180
  ```typescript
190
- const Vector = Schema.Compile(Type.Object({ // const Vector: Validator<TObject<{
181
+
182
+ // Type
183
+
184
+ const VectorA = Schema.Compile(Type.Object({ // const VectorA: Validator<TObject<{
191
185
  x: Type.Number(), // x: TNumber
192
186
  y: Type.Number(), // y: TNumber
193
187
  z: Type.Number() // z: TNumber
194
188
  })) // }>>
195
- ```
196
- With JSON Schema
197
- ```typescript
198
- const Vector = Schema.Compile({ // const Vector: Validator<{
189
+
190
+ // Schema
191
+
192
+ const VectorB = Schema.Compile({ // const VectorB: Validator<{
199
193
  type: 'object', // type: "object";
200
194
  required: ['x', 'y', 'z'], // required: ["x", "y", "z"];
201
195
  properties: { // properties: { ... };
@@ -208,35 +202,36 @@ const Vector = Schema.Compile({ // const Vector: Validator<{
208
202
 
209
203
  ### Validate
210
204
 
211
- Validator instances provide functions to Check and Parse values.
205
+ Compiled validator instances provide functions to Check and Parse values.
212
206
 
213
207
  ```typescript
208
+
209
+ // Compile
210
+
214
211
  const Vector = Schema.Compile(Type.Script(`{
215
212
  x: number
216
213
  y: number
217
214
  z: number
218
215
  }`))
219
216
 
220
- const valid = Vector.Check({ // const valid: boolean
221
- x: 1,
222
- y: 0,
223
- z: 0
224
- })
225
-
226
- const value = Vector.Parse({ // const value: {
227
- x: 1, // x: number
228
- y: 0, // y: number
229
- z: 0 // z: number
230
- }) // }
231
- ```
217
+ // Check
218
+
219
+ const valid = Vector.Check({ x: 1, y: 0, z: 0 }) // const valid: boolean
232
220
 
221
+ // Parse
233
222
 
223
+ const result = Vector.Parse({ x: 1, y: 0, z: 0 }) // const result: {
224
+ // x: number
225
+ // y: number
226
+ // z: number
227
+ // }
228
+ ```
234
229
 
235
230
  ### Coverage
236
231
 
237
- The following table shows specification coverage implemented by TypeBox.
232
+ [JSON Schema Test Suite](https://github.com/json-schema-org/JSON-Schema-Test-Suite) | [JSON Schema Compliance Suite](https://github.com/sinclairzx81/json-schema-compliance-suite)
238
233
 
239
- Ref: [JSON Schema Test Suite](https://github.com/json-schema-org/JSON-Schema-Test-Suite)
234
+ TypeBox supports all major JSON Schema draft versions and tracks compliance against the official JSON Schema Test Suite. It also maintains a separate JavaScript compliance suite to track ecosystem adoption as JSON Schema moves toward the V1 candidate. The following table shows TypeBox specification coverage.
240
235
 
241
236
  | Spec | 3 | 4 | 6 | 7 | 2019-09 | 2020-12 | v1 |
242
237
  |:-----|:--|:--|:--|:--|:--|:--|:--|
@@ -250,13 +245,16 @@ Ref: [JSON Schema Test Suite](https://github.com/json-schema-org/JSON-Schema-Tes
250
245
  | contains | - | - | ✅ | ✅ | ✅ | ✅ | ✅ |
251
246
  | content | - | - | - | - | ✅ | ✅ | ✅ |
252
247
  | default | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
248
+ | definitions | - | 1/2 | ✅ | ✅ | - | - | - |
249
+ | defs | - | - | - | - | ✅ | ✅ | - |
253
250
  | dependencies | 17/18 | ✅ | ✅ | ✅ | - | - | - |
254
251
  | dependentRequired | - | - | - | - | ✅ | ✅ | ✅ |
255
252
  | dependentSchemas | - | - | - | - | ✅ | ✅ | ✅ |
256
- | dynamicRef | - | - | - | - | - | 38/44 | 19/27 |
257
- | enum | 14/16 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
253
+ | dynamicRef | - | - | - | - | - | ✅ | ✅ |
254
+ | enum | 16/18 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
258
255
  | exclusiveMaximum | - | - | ✅ | ✅ | ✅ | ✅ | ✅ |
259
256
  | exclusiveMinimum | - | - | ✅ | ✅ | ✅ | ✅ | ✅ |
257
+ | format | ✅ | ✅ | ✅ | ✅ | ✅ | 114/133 | - |
260
258
  | if-then-else | - | - | - | ✅ | ✅ | ✅ | ✅ |
261
259
  | infinite-loop-detection | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
262
260
  | items | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
@@ -279,50 +277,53 @@ Ref: [JSON Schema Test Suite](https://github.com/json-schema-org/JSON-Schema-Tes
279
277
  | properties | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
280
278
  | propertyNames | - | - | ✅ | ✅ | ✅ | ✅ | ✅ |
281
279
  | recursiveRef | - | - | - | - | ✅ | - | - |
282
- | ref | 23/27 | 37/45 | 67/70 | 75/78 | 79/81 | 77/79 | 77/79 |
280
+ | ref | 23/27 | 38/45 | 69/70 | 77/78 | ✅ | ✅ | ✅ |
281
+ | refRemote | 7/8 | 11/17 | ✅ | ✅ | ✅ | ✅ | ✅ |
283
282
  | required | 3/4 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
284
283
  | type | 73/80 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
285
- | unevaluatedItems | - | - | - | - | ✅ | 65/71 | 64/71 |
286
- | unevaluatedProperties | - | - | - | - | ✅ | ✅ | 124/125 |
284
+ | unevaluatedItems | - | - | - | - | ✅ | ✅ | ✅ |
285
+ | unevaluatedProperties | - | - | - | - | ✅ | ✅ | ✅ |
287
286
  | uniqueItems | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
288
287
 
289
-
290
288
  ### Performance
291
289
 
292
- The following table shows compile performance for various JSON Schema structures using AJV8 as a basis for comparison.
290
+ TypeBox tracks comparative performance against AJV8 as the de facto performance standard. For broader comparative benchmarks, refer to the community maintained projects below.
291
+
292
+ [Runtime Benchmarks](https://moltar.github.io/typescript-runtime-type-benchmarks/) | [Schema Benchmarks](https://schemabenchmarks.dev/)
293
+
294
+ The following table shows compilation performance for various JSON Schema structures. These benchmarks measure the time required to JIT compile schematics, with faster compilation resulting in faster application startup.
293
295
 
294
296
  ```python
295
- ┌──────────────────────┬─────────────┬─────────────┐
296
- │ Compile │ TB1X │ AJV8 │
297
- ├──────────────────────┼─────────────┼─────────────┤
298
- │ Boolean │ 39.7K ops/s │ 6.8K ops/s │
299
- │ Number │ 86.2K ops/s │ 7.5K ops/s │
300
- │ String │ 82.6K ops/s │ 8.2K ops/s │
301
- │ Null │ 62K ops/s │ 7.3K ops/s │
302
- │ Literal_String │ 72.1K ops/s │ 5.7K ops/s │
303
- │ Literal_Number │ 72.7K ops/s │ 6.9K ops/s │
304
- │ Literal_Boolean │ 80.9K ops/s │ 7K ops/s │
305
- │ Pattern │ 38.7K ops/s │ 5.7K ops/s │
306
- │ Object_Open │ 16.3K ops/s │ 1.3K ops/s │
307
- │ Object_Close │ 15.7K ops/s │ 952 ops/s │
308
- │ Object_Vector3 │ 40.2K ops/s │ 3.2K ops/s │
309
- │ Object_Basis3 │ 16.1K ops/s │ 834 ops/s │
310
- │ Intersect_And │ 45.7K ops/s │ 3.5K ops/s │
311
- │ Intersect_Structural │ 21K ops/s │ 1.6K ops/s │
312
- │ Union_Or │ 45.1K ops/s │ 3.4K ops/s │
313
- │ Union_Structural │ 27.6K ops/s │ 2K ops/s │
314
- │ Tuple_Values │ 14.7K ops/s │ 2K ops/s │
315
- │ Tuple_Objects │ 3.7K ops/s │ 380 ops/s │
316
- │ Array_Numbers_4 │ 73.6K ops/s │ 4.3K ops/s │
317
- │ Array_Numbers_8 │ 50.9K ops/s │ 3.8K ops/s │
318
- │ Array_Numbers_16 │ 85K ops/s │ 3.9K ops/s │
319
- │ Array_Objects_Open │ 18.9K ops/s │ 789 ops/s │
320
- │ Array_Objects_Close │ 17.9K ops/s │ 909 ops/s │
321
- └──────────────────────┴─────────────┴─────────────┘
297
+ ┌──────────────────────┬──────────────┬──────────────┐
298
+ │ Compile │ TB1X │ AJV8 │
299
+ ├──────────────────────┼──────────────┼──────────────┤
300
+ │ Boolean │ 50.4K ops/s │ 7.1K ops/s │
301
+ │ Number │ 129.9K ops/s │ 7.9K ops/s │
302
+ │ String │ 128.9K ops/s │ 9.1K ops/s │
303
+ │ Null │ 91.3K ops/s │ 8.4K ops/s │
304
+ │ Literal_String │ 63.1K ops/s │ 7.4K ops/s │
305
+ │ Literal_Number │ 74.5K ops/s │ 7.6K ops/s │
306
+ │ Literal_Boolean │ 143.3K ops/s │ 7.7K ops/s │
307
+ │ Pattern │ 94.2K ops/s │ 6.4K ops/s │
308
+ │ Object_Open │ 19.4K ops/s │ 1.3K ops/s │
309
+ │ Object_Close │ 17.6K ops/s │ 991 ops/s │
310
+ │ Object_Vector3 │ 46.1K ops/s │ 3.3K ops/s │
311
+ │ Object_Basis3 │ 16K ops/s │ 848 ops/s │
312
+ │ Intersect_And │ 41.3K ops/s │ 4.2K ops/s │
313
+ │ Intersect_Structural │ 25.3K ops/s │ 1.5K ops/s │
314
+ │ Union_Or │ 58.6K ops/s │ 2.4K ops/s │
315
+ │ Union_Structural │ 31.5K ops/s │ 1.8K ops/s │
316
+ │ Tuple_Values │ 18.2K ops/s │ 1.9K ops/s │
317
+ │ Tuple_Objects │ 3.9K ops/s │ 437 ops/s │
318
+ │ Array_Numbers_4 │ 114.5K ops/s │ 4.2K ops/s │
319
+ │ Array_Numbers_8 │ 128.3K ops/s │ 3.9K ops/s │
320
+ │ Array_Numbers_16 │ 128.4K ops/s │ 4K ops/s │
321
+ │ Array_Objects_Open │ 22K ops/s │ 780 ops/s │
322
+ │ Array_Objects_Close │ 22K ops/s │ 1K ops/s │
323
+ └──────────────────────┴──────────────┴──────────────┘
322
324
  ```
323
325
 
324
-
325
- The following tables shows validation performance for various JSON Schema structures using AJV8 as a basis for comparison.
326
+ The following tables shows validation performance for various JSON Schema structures. These benchmarks measure overall validation throughput for JIT compiled schematics.
326
327
 
327
328
  ```python
328
329
  ┌──────────────────────┬──────────────┬──────────────┐