@oneie/claude 0.4.0 → 0.6.0

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 (2078) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/LICENSE +18 -0
  3. package/README.md +32 -22
  4. package/agents/w1-recon.md +7 -5
  5. package/agents/w2-decide.md +98 -20
  6. package/agents/w3-edit.md +128 -26
  7. package/agents/w4-verify.md +89 -30
  8. package/commands/cc-connect.md +43 -33
  9. package/commands/chat.md +35 -0
  10. package/commands/close.md +19 -9
  11. package/commands/create.md +1 -0
  12. package/commands/db-sync.md +51 -0
  13. package/commands/deploy.md +62 -52
  14. package/commands/do-autonomous.md +4 -2
  15. package/commands/do-old.md +283 -0
  16. package/commands/do-show.md +3 -2
  17. package/commands/do.md +225 -42
  18. package/commands/kill.md +41 -11
  19. package/commands/notify.md +24 -0
  20. package/commands/oo-push.md +37 -0
  21. package/commands/rag.md +144 -0
  22. package/commands/release.md +93 -93
  23. package/commands/restart.md +52 -0
  24. package/commands/see.md +2 -2
  25. package/commands/sync.md +53 -136
  26. package/hooks/hooks.json +104 -0
  27. package/hooks/lib/signal.sh +101 -18
  28. package/hooks/scripts/announce.ts +74 -0
  29. package/hooks/scripts/cleanup.ts +17 -0
  30. package/hooks/scripts/compact-hint.sh +1 -2
  31. package/hooks/scripts/config-protect.sh +1 -2
  32. package/hooks/scripts/design-check.sh +20 -0
  33. package/hooks/scripts/do-doc-check.sh +105 -0
  34. package/hooks/scripts/do-outcome-gate.sh +136 -0
  35. package/hooks/scripts/fable-fallback.sh +53 -0
  36. package/hooks/scripts/gate-guard.sh +1 -2
  37. package/hooks/scripts/git-add-guard.sh +80 -0
  38. package/hooks/scripts/inbox.ts +115 -0
  39. package/hooks/scripts/read-tracker.sh +1 -2
  40. package/hooks/scripts/session-start.sh +1 -0
  41. package/hooks/scripts/stop-reflect.sh +45 -12
  42. package/hooks/scripts/sync-priority-todo.sh +52 -0
  43. package/hooks/scripts/user-prompt-signal.sh +23 -0
  44. package/hooks/scripts/watcher.ts +193 -0
  45. package/package.json +7 -4
  46. package/rules/astro.md +5 -5
  47. package/rules/design.md +14 -7
  48. package/rules/documentation.md +32 -17
  49. package/rules/engine.md +96 -179
  50. package/rules/react.md +3 -3
  51. package/scripts/__pycache__/do-rank.cpython-313.pyc +0 -0
  52. package/scripts/browser-check.mjs +122 -0
  53. package/scripts/bun.lock +27 -0
  54. package/scripts/cc-connect.sh +261 -33
  55. package/scripts/cc-events-proof.sh +148 -0
  56. package/scripts/do-accept.sh +38 -0
  57. package/scripts/do-auto.sh +416 -7
  58. package/scripts/do-fleet.sh +337 -0
  59. package/scripts/do-killswitch-audit.py +177 -0
  60. package/scripts/do-learn-loop.sh +51 -0
  61. package/scripts/do-orchestrate.sh +305 -0
  62. package/scripts/do-promise-lint.sh +221 -0
  63. package/scripts/do-promise-settle.sh +213 -0
  64. package/scripts/do-rank.py +1160 -0
  65. package/scripts/do-recon-cache.sh +58 -8
  66. package/scripts/do-reconcile.sh +49 -4
  67. package/scripts/do-rubric.py +457 -0
  68. package/scripts/do-signal.sh +112 -0
  69. package/scripts/do-smoke.sh +8 -0
  70. package/scripts/do-tasks-bridge.py +366 -0
  71. package/scripts/do-tier.sh +19 -6
  72. package/scripts/do-validate-armed.py +93 -0
  73. package/scripts/fade-toxic.sh +55 -0
  74. package/scripts/hourly-brief.sh +93 -0
  75. package/scripts/node_modules/@anthropic-ai/sdk/.github/logo.svg +3 -0
  76. package/scripts/node_modules/@anthropic-ai/sdk/CHANGELOG.md +2634 -0
  77. package/scripts/node_modules/@anthropic-ai/sdk/LICENSE +8 -0
  78. package/scripts/node_modules/@anthropic-ai/sdk/README.md +45 -0
  79. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts +3 -0
  80. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts.map +1 -0
  81. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts +3 -0
  82. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts.map +1 -0
  83. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js +226 -0
  84. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js.map +1 -0
  85. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs +223 -0
  86. package/scripts/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs.map +1 -0
  87. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.d.mts +3 -0
  88. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.d.mts.map +1 -0
  89. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.d.ts +3 -0
  90. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.d.ts.map +1 -0
  91. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.js +6 -0
  92. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.js.map +1 -0
  93. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.mjs +3 -0
  94. package/scripts/node_modules/@anthropic-ai/sdk/api-promise.mjs.map +1 -0
  95. package/scripts/node_modules/@anthropic-ai/sdk/bin/cli +53 -0
  96. package/scripts/node_modules/@anthropic-ai/sdk/bin/migration-config.json +933 -0
  97. package/scripts/node_modules/@anthropic-ai/sdk/client.d.mts +323 -0
  98. package/scripts/node_modules/@anthropic-ai/sdk/client.d.mts.map +1 -0
  99. package/scripts/node_modules/@anthropic-ai/sdk/client.d.ts +323 -0
  100. package/scripts/node_modules/@anthropic-ai/sdk/client.d.ts.map +1 -0
  101. package/scripts/node_modules/@anthropic-ai/sdk/client.js +823 -0
  102. package/scripts/node_modules/@anthropic-ai/sdk/client.js.map +1 -0
  103. package/scripts/node_modules/@anthropic-ai/sdk/client.mjs +818 -0
  104. package/scripts/node_modules/@anthropic-ai/sdk/client.mjs.map +1 -0
  105. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts +49 -0
  106. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts.map +1 -0
  107. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts +49 -0
  108. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts.map +1 -0
  109. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.js +76 -0
  110. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.js.map +1 -0
  111. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.mjs +72 -0
  112. package/scripts/node_modules/@anthropic-ai/sdk/core/api-promise.mjs.map +1 -0
  113. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.d.mts +131 -0
  114. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.d.mts.map +1 -0
  115. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.d.ts +131 -0
  116. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.d.ts.map +1 -0
  117. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.js +317 -0
  118. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.js.map +1 -0
  119. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.mjs +277 -0
  120. package/scripts/node_modules/@anthropic-ai/sdk/core/credentials.mjs.map +1 -0
  121. package/scripts/node_modules/@anthropic-ai/sdk/core/error.d.mts +50 -0
  122. package/scripts/node_modules/@anthropic-ai/sdk/core/error.d.mts.map +1 -0
  123. package/scripts/node_modules/@anthropic-ai/sdk/core/error.d.ts +50 -0
  124. package/scripts/node_modules/@anthropic-ai/sdk/core/error.d.ts.map +1 -0
  125. package/scripts/node_modules/@anthropic-ai/sdk/core/error.js +116 -0
  126. package/scripts/node_modules/@anthropic-ai/sdk/core/error.js.map +1 -0
  127. package/scripts/node_modules/@anthropic-ai/sdk/core/error.mjs +100 -0
  128. package/scripts/node_modules/@anthropic-ai/sdk/core/error.mjs.map +1 -0
  129. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.d.mts +102 -0
  130. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.d.mts.map +1 -0
  131. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.d.ts +102 -0
  132. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.d.ts.map +1 -0
  133. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.js +178 -0
  134. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.js.map +1 -0
  135. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.mjs +170 -0
  136. package/scripts/node_modules/@anthropic-ai/sdk/core/pagination.mjs.map +1 -0
  137. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.d.mts +6 -0
  138. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.d.mts.map +1 -0
  139. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.d.ts +6 -0
  140. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.d.ts.map +1 -0
  141. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.js +11 -0
  142. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.js.map +1 -0
  143. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.mjs +7 -0
  144. package/scripts/node_modules/@anthropic-ai/sdk/core/resource.mjs.map +1 -0
  145. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.d.mts +33 -0
  146. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.d.mts.map +1 -0
  147. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.d.ts +33 -0
  148. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.d.ts.map +1 -0
  149. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.js +327 -0
  150. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.js.map +1 -0
  151. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.mjs +322 -0
  152. package/scripts/node_modules/@anthropic-ai/sdk/core/streaming.mjs.map +1 -0
  153. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.d.mts +3 -0
  154. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.d.mts.map +1 -0
  155. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.d.ts +3 -0
  156. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.d.ts.map +1 -0
  157. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.js +6 -0
  158. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.js.map +1 -0
  159. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.mjs +2 -0
  160. package/scripts/node_modules/@anthropic-ai/sdk/core/uploads.mjs.map +1 -0
  161. package/scripts/node_modules/@anthropic-ai/sdk/error.d.mts +3 -0
  162. package/scripts/node_modules/@anthropic-ai/sdk/error.d.mts.map +1 -0
  163. package/scripts/node_modules/@anthropic-ai/sdk/error.d.ts +3 -0
  164. package/scripts/node_modules/@anthropic-ai/sdk/error.d.ts.map +1 -0
  165. package/scripts/node_modules/@anthropic-ai/sdk/error.js +6 -0
  166. package/scripts/node_modules/@anthropic-ai/sdk/error.js.map +1 -0
  167. package/scripts/node_modules/@anthropic-ai/sdk/error.mjs +3 -0
  168. package/scripts/node_modules/@anthropic-ai/sdk/error.mjs.map +1 -0
  169. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.d.mts +22 -0
  170. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.d.mts.map +1 -0
  171. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.d.ts +22 -0
  172. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.d.ts.map +1 -0
  173. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.js +30 -0
  174. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.js.map +1 -0
  175. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.mjs +22 -0
  176. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/environments.mjs.map +1 -0
  177. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.mts +37 -0
  178. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.mts.map +1 -0
  179. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.ts +37 -0
  180. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.ts.map +1 -0
  181. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.js +57 -0
  182. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.js.map +1 -0
  183. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.mjs +53 -0
  184. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.mjs.map +1 -0
  185. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.mts +303 -0
  186. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.mts.map +1 -0
  187. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.ts +303 -0
  188. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.ts.map +1 -0
  189. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.js +419 -0
  190. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.js.map +1 -0
  191. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.mjs +406 -0
  192. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.mjs.map +1 -0
  193. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.d.mts +11 -0
  194. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.d.mts.map +1 -0
  195. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.d.ts +11 -0
  196. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.d.ts.map +1 -0
  197. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.js +18 -0
  198. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.js.map +1 -0
  199. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.mjs +15 -0
  200. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/memory.mjs.map +1 -0
  201. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.mts +33 -0
  202. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.mts.map +1 -0
  203. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.ts +33 -0
  204. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.ts.map +1 -0
  205. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.js +58 -0
  206. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.js.map +1 -0
  207. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.mjs +53 -0
  208. package/scripts/node_modules/@anthropic-ai/sdk/helpers/beta/zod.mjs.map +1 -0
  209. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.d.mts +3 -0
  210. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.d.mts.map +1 -0
  211. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.d.ts +3 -0
  212. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.d.ts.map +1 -0
  213. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.js +8 -0
  214. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.js.map +1 -0
  215. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.mjs +3 -0
  216. package/scripts/node_modules/@anthropic-ai/sdk/helpers/index.mjs.map +1 -0
  217. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.d.mts +18 -0
  218. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.d.mts.map +1 -0
  219. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.d.ts +18 -0
  220. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.d.ts.map +1 -0
  221. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.js +37 -0
  222. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.js.map +1 -0
  223. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.mjs +34 -0
  224. package/scripts/node_modules/@anthropic-ai/sdk/helpers/json-schema.mjs.map +1 -0
  225. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.d.mts +13 -0
  226. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.d.mts.map +1 -0
  227. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.d.ts +13 -0
  228. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.d.ts.map +1 -0
  229. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.js +47 -0
  230. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.js.map +1 -0
  231. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.mjs +43 -0
  232. package/scripts/node_modules/@anthropic-ai/sdk/helpers/zod.mjs.map +1 -0
  233. package/scripts/node_modules/@anthropic-ai/sdk/index.d.mts +8 -0
  234. package/scripts/node_modules/@anthropic-ai/sdk/index.d.mts.map +1 -0
  235. package/scripts/node_modules/@anthropic-ai/sdk/index.d.ts +8 -0
  236. package/scripts/node_modules/@anthropic-ai/sdk/index.d.ts.map +1 -0
  237. package/scripts/node_modules/@anthropic-ai/sdk/index.js +35 -0
  238. package/scripts/node_modules/@anthropic-ai/sdk/index.js.map +1 -0
  239. package/scripts/node_modules/@anthropic-ai/sdk/index.mjs +8 -0
  240. package/scripts/node_modules/@anthropic-ai/sdk/index.mjs.map +1 -0
  241. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts +73 -0
  242. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts.map +1 -0
  243. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts +73 -0
  244. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts.map +1 -0
  245. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.js +4 -0
  246. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.js.map +1 -0
  247. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs +3 -0
  248. package/scripts/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs.map +1 -0
  249. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.d.mts +5 -0
  250. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.d.mts.map +1 -0
  251. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.d.ts +5 -0
  252. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.d.ts.map +1 -0
  253. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.js +18 -0
  254. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.js.map +1 -0
  255. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.mjs +15 -0
  256. package/scripts/node_modules/@anthropic-ai/sdk/internal/constants.mjs.map +1 -0
  257. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts +10 -0
  258. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts.map +1 -0
  259. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts +10 -0
  260. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts.map +1 -0
  261. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js +39 -0
  262. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js.map +1 -0
  263. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs +35 -0
  264. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs.map +1 -0
  265. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts +17 -0
  266. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts.map +1 -0
  267. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts +17 -0
  268. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts.map +1 -0
  269. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.js +113 -0
  270. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.js.map +1 -0
  271. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs +108 -0
  272. package/scripts/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs.map +1 -0
  273. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts +15 -0
  274. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts.map +1 -0
  275. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts +15 -0
  276. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts.map +1 -0
  277. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.js +162 -0
  278. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.js.map +1 -0
  279. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs +157 -0
  280. package/scripts/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs.map +1 -0
  281. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.d.mts +3 -0
  282. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.d.mts.map +1 -0
  283. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.d.ts +3 -0
  284. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.d.ts.map +1 -0
  285. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.js +41 -0
  286. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.js.map +1 -0
  287. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.mjs +36 -0
  288. package/scripts/node_modules/@anthropic-ai/sdk/internal/errors.mjs.map +1 -0
  289. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.d.mts +22 -0
  290. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.d.mts.map +1 -0
  291. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.d.ts +22 -0
  292. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.d.ts.map +1 -0
  293. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.js +79 -0
  294. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.js.map +1 -0
  295. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.mjs +74 -0
  296. package/scripts/node_modules/@anthropic-ai/sdk/internal/headers.mjs.map +1 -0
  297. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.d.mts +17 -0
  298. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.d.mts.map +1 -0
  299. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.d.ts +17 -0
  300. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.d.ts.map +1 -0
  301. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.js +60 -0
  302. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.js.map +1 -0
  303. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.mjs +56 -0
  304. package/scripts/node_modules/@anthropic-ai/sdk/internal/parse.mjs.map +1 -0
  305. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.d.mts +7 -0
  306. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.d.mts.map +1 -0
  307. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.d.ts +7 -0
  308. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.d.ts.map +1 -0
  309. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.js +13 -0
  310. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.js.map +1 -0
  311. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.mjs +9 -0
  312. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/formats.mjs.map +1 -0
  313. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.d.mts +10 -0
  314. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.d.mts.map +1 -0
  315. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.d.ts +10 -0
  316. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.d.ts.map +1 -0
  317. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.js +14 -0
  318. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.js.map +1 -0
  319. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.mjs +10 -0
  320. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/index.mjs.map +1 -0
  321. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.d.mts +3 -0
  322. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.d.mts.map +1 -0
  323. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.d.ts +3 -0
  324. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.d.ts.map +1 -0
  325. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.js +277 -0
  326. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.js.map +1 -0
  327. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.mjs +274 -0
  328. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/stringify.mjs.map +1 -0
  329. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.d.mts +57 -0
  330. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.d.mts.map +1 -0
  331. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.d.ts +57 -0
  332. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.d.ts.map +1 -0
  333. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.js +3 -0
  334. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.js.map +1 -0
  335. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.mjs +2 -0
  336. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/types.mjs.map +1 -0
  337. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.d.mts +15 -0
  338. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.d.mts.map +1 -0
  339. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.d.ts +15 -0
  340. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.d.ts.map +1 -0
  341. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.js +230 -0
  342. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.js.map +1 -0
  343. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.mjs +217 -0
  344. package/scripts/node_modules/@anthropic-ai/sdk/internal/qs/utils.mjs.map +1 -0
  345. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts +77 -0
  346. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts.map +1 -0
  347. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts +77 -0
  348. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts.map +1 -0
  349. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.js +14 -0
  350. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.js.map +1 -0
  351. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.mjs +10 -0
  352. package/scripts/node_modules/@anthropic-ai/sdk/internal/request-options.mjs.map +1 -0
  353. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts +17 -0
  354. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts.map +1 -0
  355. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts +17 -0
  356. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts.map +1 -0
  357. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.js +4 -0
  358. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.js.map +1 -0
  359. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.mjs +3 -0
  360. package/scripts/node_modules/@anthropic-ai/sdk/internal/shim-types.mjs.map +1 -0
  361. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.d.mts +26 -0
  362. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.d.mts.map +1 -0
  363. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.d.ts +26 -0
  364. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.d.ts.map +1 -0
  365. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.js +92 -0
  366. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.js.map +1 -0
  367. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.mjs +85 -0
  368. package/scripts/node_modules/@anthropic-ai/sdk/internal/shims.mjs.map +1 -0
  369. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts +8 -0
  370. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts.map +1 -0
  371. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts +8 -0
  372. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts.map +1 -0
  373. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.js +38 -0
  374. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.js.map +1 -0
  375. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs +35 -0
  376. package/scripts/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs.map +1 -0
  377. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts +45 -0
  378. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts.map +1 -0
  379. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts +45 -0
  380. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts.map +1 -0
  381. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.js +96 -0
  382. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.js.map +1 -0
  383. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.mjs +93 -0
  384. package/scripts/node_modules/@anthropic-ai/sdk/internal/to-file.mjs.map +1 -0
  385. package/scripts/node_modules/@anthropic-ai/sdk/internal/tslib.js +81 -0
  386. package/scripts/node_modules/@anthropic-ai/sdk/internal/tslib.mjs +17 -0
  387. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.d.mts +69 -0
  388. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.d.mts.map +1 -0
  389. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.d.ts +69 -0
  390. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.d.ts.map +1 -0
  391. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.js +4 -0
  392. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.js.map +1 -0
  393. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.mjs +3 -0
  394. package/scripts/node_modules/@anthropic-ai/sdk/internal/types.mjs.map +1 -0
  395. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts +42 -0
  396. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts.map +1 -0
  397. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts +42 -0
  398. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts.map +1 -0
  399. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.js +145 -0
  400. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.js.map +1 -0
  401. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.mjs +135 -0
  402. package/scripts/node_modules/@anthropic-ai/sdk/internal/uploads.mjs.map +1 -0
  403. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.d.mts +13 -0
  404. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.d.mts.map +1 -0
  405. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.d.ts +13 -0
  406. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.d.ts.map +1 -0
  407. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.js +26 -0
  408. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.js.map +1 -0
  409. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.mjs +23 -0
  410. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/abort.mjs.map +1 -0
  411. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.d.mts +31 -0
  412. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.d.mts.map +1 -0
  413. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.d.ts +31 -0
  414. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.d.ts.map +1 -0
  415. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.js +75 -0
  416. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.js.map +1 -0
  417. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.mjs +71 -0
  418. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.mjs.map +1 -0
  419. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.d.mts +23 -0
  420. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.d.mts.map +1 -0
  421. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.d.ts +23 -0
  422. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.d.ts.map +1 -0
  423. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.js +44 -0
  424. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.js.map +1 -0
  425. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.mjs +36 -0
  426. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/backoff.mjs.map +1 -0
  427. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts +3 -0
  428. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts.map +1 -0
  429. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts +3 -0
  430. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts.map +1 -0
  431. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.js +38 -0
  432. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.js.map +1 -0
  433. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs +33 -0
  434. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs.map +1 -0
  435. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts +4 -0
  436. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts.map +1 -0
  437. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts +4 -0
  438. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts.map +1 -0
  439. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js +31 -0
  440. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js.map +1 -0
  441. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs +26 -0
  442. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs.map +1 -0
  443. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts +9 -0
  444. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts.map +1 -0
  445. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts +9 -0
  446. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts.map +1 -0
  447. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.js +22 -0
  448. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.js.map +1 -0
  449. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs +18 -0
  450. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs.map +1 -0
  451. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts +37 -0
  452. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts.map +1 -0
  453. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts +37 -0
  454. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts.map +1 -0
  455. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.js +87 -0
  456. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.js.map +1 -0
  457. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs +81 -0
  458. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs.map +1 -0
  459. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts +15 -0
  460. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts.map +1 -0
  461. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts +15 -0
  462. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts.map +1 -0
  463. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.js +79 -0
  464. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.js.map +1 -0
  465. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs +74 -0
  466. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs.map +1 -0
  467. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.d.mts +11 -0
  468. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.d.mts.map +1 -0
  469. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.d.ts +11 -0
  470. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.d.ts.map +1 -0
  471. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.js +18 -0
  472. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.js.map +1 -0
  473. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.mjs +15 -0
  474. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/promise.mjs.map +1 -0
  475. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.d.mts +2 -0
  476. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.d.mts.map +1 -0
  477. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.d.ts +2 -0
  478. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.d.ts.map +1 -0
  479. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.js +10 -0
  480. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.js.map +1 -0
  481. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.mjs +6 -0
  482. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/query.mjs.map +1 -0
  483. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts +10 -0
  484. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts.map +1 -0
  485. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts +10 -0
  486. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts.map +1 -0
  487. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js +28 -0
  488. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js.map +1 -0
  489. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs +24 -0
  490. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs.map +1 -0
  491. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.d.mts +3 -0
  492. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.d.mts.map +1 -0
  493. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.d.ts +3 -0
  494. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.d.ts.map +1 -0
  495. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.js +8 -0
  496. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.js.map +1 -0
  497. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.mjs +5 -0
  498. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/time.mjs.map +1 -0
  499. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts +5 -0
  500. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts.map +1 -0
  501. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts +5 -0
  502. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts.map +1 -0
  503. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js +19 -0
  504. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js.map +1 -0
  505. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs +15 -0
  506. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs.map +1 -0
  507. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts +19 -0
  508. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts.map +1 -0
  509. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts +19 -0
  510. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts.map +1 -0
  511. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.js +119 -0
  512. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.js.map +1 -0
  513. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs +100 -0
  514. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs.map +1 -0
  515. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.d.mts +8 -0
  516. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.d.mts.map +1 -0
  517. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.d.ts +8 -0
  518. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.d.ts.map +1 -0
  519. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.js +12 -0
  520. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.js.map +1 -0
  521. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.mjs +9 -0
  522. package/scripts/node_modules/@anthropic-ai/sdk/internal/utils.mjs.map +1 -0
  523. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts +122 -0
  524. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts.map +1 -0
  525. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts +122 -0
  526. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts.map +1 -0
  527. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js +621 -0
  528. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js.map +1 -0
  529. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs +617 -0
  530. package/scripts/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs.map +1 -0
  531. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts +121 -0
  532. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts.map +1 -0
  533. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts +121 -0
  534. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts.map +1 -0
  535. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +598 -0
  536. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.js.map +1 -0
  537. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs +594 -0
  538. package/scripts/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs.map +1 -0
  539. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.d.mts +37 -0
  540. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.d.mts.map +1 -0
  541. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.d.ts +37 -0
  542. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.d.ts.map +1 -0
  543. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.js +79 -0
  544. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.js.map +1 -0
  545. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.mjs +75 -0
  546. package/scripts/node_modules/@anthropic-ai/sdk/lib/beta-parser.mjs.map +1 -0
  547. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.d.mts +39 -0
  548. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.d.mts.map +1 -0
  549. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.d.ts +39 -0
  550. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.d.ts.map +1 -0
  551. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.js +245 -0
  552. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.js.map +1 -0
  553. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.mjs +208 -0
  554. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.mjs.map +1 -0
  555. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.d.mts +11 -0
  556. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.d.mts.map +1 -0
  557. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.d.ts +11 -0
  558. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.d.ts.map +1 -0
  559. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.js +72 -0
  560. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.js.map +1 -0
  561. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.mjs +35 -0
  562. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.mjs.map +1 -0
  563. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.d.mts +40 -0
  564. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.d.mts.map +1 -0
  565. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.d.ts +40 -0
  566. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.d.ts.map +1 -0
  567. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.js +82 -0
  568. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.js.map +1 -0
  569. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.mjs +79 -0
  570. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.mjs.map +1 -0
  571. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.d.mts +54 -0
  572. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.d.mts.map +1 -0
  573. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.d.ts +54 -0
  574. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.d.ts.map +1 -0
  575. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.js +112 -0
  576. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.js.map +1 -0
  577. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.mjs +108 -0
  578. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.mjs.map +1 -0
  579. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.d.mts +96 -0
  580. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.d.mts.map +1 -0
  581. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.d.ts +96 -0
  582. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.d.ts.map +1 -0
  583. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.js +266 -0
  584. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.js.map +1 -0
  585. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.mjs +224 -0
  586. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/types.mjs.map +1 -0
  587. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.d.mts +21 -0
  588. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.d.mts.map +1 -0
  589. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.d.ts +21 -0
  590. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.d.ts.map +1 -0
  591. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.js +130 -0
  592. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.js.map +1 -0
  593. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.mjs +94 -0
  594. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.mjs.map +1 -0
  595. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.d.mts +4 -0
  596. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.d.mts.map +1 -0
  597. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.d.ts +4 -0
  598. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.d.ts.map +1 -0
  599. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.js +8 -0
  600. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.js.map +1 -0
  601. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.mjs +3 -0
  602. package/scripts/node_modules/@anthropic-ai/sdk/lib/credentials.mjs.map +1 -0
  603. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.d.mts +4 -0
  604. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.d.mts.map +1 -0
  605. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.d.ts +4 -0
  606. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.d.ts.map +1 -0
  607. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.js +18 -0
  608. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.js.map +1 -0
  609. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.mjs +4 -0
  610. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/index.mjs.map +1 -0
  611. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.d.mts +89 -0
  612. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.d.mts.map +1 -0
  613. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.d.ts +89 -0
  614. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.d.ts.map +1 -0
  615. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.js +181 -0
  616. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.js.map +1 -0
  617. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.mjs +172 -0
  618. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/poller.mjs.map +1 -0
  619. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.d.mts +146 -0
  620. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.d.mts.map +1 -0
  621. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.d.ts +146 -0
  622. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.d.ts.map +1 -0
  623. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.js +267 -0
  624. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.js.map +1 -0
  625. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.mjs +263 -0
  626. package/scripts/node_modules/@anthropic-ai/sdk/lib/environments/worker.mjs.map +1 -0
  627. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.d.mts +49 -0
  628. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.d.mts.map +1 -0
  629. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.d.ts +49 -0
  630. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.d.ts.map +1 -0
  631. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.js +57 -0
  632. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.js.map +1 -0
  633. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.mjs +54 -0
  634. package/scripts/node_modules/@anthropic-ai/sdk/lib/helper-client.mjs.map +1 -0
  635. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.d.mts +32 -0
  636. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.d.mts.map +1 -0
  637. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.d.ts +32 -0
  638. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.d.ts.map +1 -0
  639. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.js +66 -0
  640. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.js.map +1 -0
  641. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.mjs +62 -0
  642. package/scripts/node_modules/@anthropic-ai/sdk/lib/parser.mjs.map +1 -0
  643. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.mts +34 -0
  644. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.mts.map +1 -0
  645. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.ts +34 -0
  646. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.ts.map +1 -0
  647. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.js +70 -0
  648. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.js.map +1 -0
  649. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.mjs +63 -0
  650. package/scripts/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.mjs.map +1 -0
  651. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.mts +68 -0
  652. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.mts.map +1 -0
  653. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.ts +68 -0
  654. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.ts.map +1 -0
  655. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.js +40 -0
  656. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.js.map +1 -0
  657. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.mjs +35 -0
  658. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.mjs.map +1 -0
  659. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.mts +161 -0
  660. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.mts.map +1 -0
  661. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.ts +161 -0
  662. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.ts.map +1 -0
  663. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.js +386 -0
  664. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.js.map +1 -0
  665. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.mjs +382 -0
  666. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.mjs.map +1 -0
  667. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.d.mts +30 -0
  668. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.d.mts.map +1 -0
  669. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.d.ts +30 -0
  670. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.d.ts.map +1 -0
  671. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.js +28 -0
  672. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.js.map +1 -0
  673. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.mjs +25 -0
  674. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.mjs.map +1 -0
  675. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.d.mts +146 -0
  676. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.d.mts.map +1 -0
  677. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.d.ts +146 -0
  678. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.d.ts.map +1 -0
  679. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.js +471 -0
  680. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.js.map +1 -0
  681. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.mjs +467 -0
  682. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.mjs.map +1 -0
  683. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.d.mts +33 -0
  684. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.d.mts.map +1 -0
  685. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.d.ts +33 -0
  686. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.d.ts.map +1 -0
  687. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.js +42 -0
  688. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.js.map +1 -0
  689. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.mjs +38 -0
  690. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.mjs.map +1 -0
  691. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.mts +132 -0
  692. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.mts.map +1 -0
  693. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.ts +132 -0
  694. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.ts.map +1 -0
  695. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.js +294 -0
  696. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.js.map +1 -0
  697. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.mjs +290 -0
  698. package/scripts/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.mjs.map +1 -0
  699. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.d.mts +3 -0
  700. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.d.mts.map +1 -0
  701. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.d.ts +3 -0
  702. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.d.ts.map +1 -0
  703. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.js +114 -0
  704. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.js.map +1 -0
  705. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.mjs +111 -0
  706. package/scripts/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.mjs.map +1 -0
  707. package/scripts/node_modules/@anthropic-ai/sdk/package.json +233 -0
  708. package/scripts/node_modules/@anthropic-ai/sdk/pagination.d.mts +3 -0
  709. package/scripts/node_modules/@anthropic-ai/sdk/pagination.d.mts.map +1 -0
  710. package/scripts/node_modules/@anthropic-ai/sdk/pagination.d.ts +3 -0
  711. package/scripts/node_modules/@anthropic-ai/sdk/pagination.d.ts.map +1 -0
  712. package/scripts/node_modules/@anthropic-ai/sdk/pagination.js +6 -0
  713. package/scripts/node_modules/@anthropic-ai/sdk/pagination.js.map +1 -0
  714. package/scripts/node_modules/@anthropic-ai/sdk/pagination.mjs +3 -0
  715. package/scripts/node_modules/@anthropic-ai/sdk/pagination.mjs.map +1 -0
  716. package/scripts/node_modules/@anthropic-ai/sdk/resource.d.mts +3 -0
  717. package/scripts/node_modules/@anthropic-ai/sdk/resource.d.mts.map +1 -0
  718. package/scripts/node_modules/@anthropic-ai/sdk/resource.d.ts +3 -0
  719. package/scripts/node_modules/@anthropic-ai/sdk/resource.d.ts.map +1 -0
  720. package/scripts/node_modules/@anthropic-ai/sdk/resource.js +6 -0
  721. package/scripts/node_modules/@anthropic-ai/sdk/resource.js.map +1 -0
  722. package/scripts/node_modules/@anthropic-ai/sdk/resource.mjs +3 -0
  723. package/scripts/node_modules/@anthropic-ai/sdk/resource.mjs.map +1 -0
  724. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.d.mts +775 -0
  725. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.d.mts.map +1 -0
  726. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.d.ts +775 -0
  727. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.d.ts.map +1 -0
  728. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.js +131 -0
  729. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.js.map +1 -0
  730. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.mjs +126 -0
  731. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.mjs.map +1 -0
  732. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.d.mts +3 -0
  733. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.d.mts.map +1 -0
  734. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.d.ts +3 -0
  735. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.d.ts.map +1 -0
  736. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.js +9 -0
  737. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.js.map +1 -0
  738. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.mjs +4 -0
  739. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.mjs.map +1 -0
  740. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.d.mts +33 -0
  741. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.d.mts.map +1 -0
  742. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.d.ts +33 -0
  743. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.d.ts.map +1 -0
  744. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.js +36 -0
  745. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.js.map +1 -0
  746. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.mjs +32 -0
  747. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.mjs.map +1 -0
  748. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.d.mts +2 -0
  749. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.d.mts.map +1 -0
  750. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.d.ts +2 -0
  751. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.d.ts.map +1 -0
  752. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.js +6 -0
  753. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.js.map +1 -0
  754. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.mjs +3 -0
  755. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/agents.mjs.map +1 -0
  756. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts +94 -0
  757. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts.map +1 -0
  758. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts +94 -0
  759. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts.map +1 -0
  760. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.js +57 -0
  761. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.js.map +1 -0
  762. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs +52 -0
  763. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs.map +1 -0
  764. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.d.mts +425 -0
  765. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.d.mts.map +1 -0
  766. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.d.ts +425 -0
  767. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.d.ts.map +1 -0
  768. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.js +150 -0
  769. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.js.map +1 -0
  770. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.mjs +145 -0
  771. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.mjs.map +1 -0
  772. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.d.mts +3 -0
  773. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.d.mts.map +1 -0
  774. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.d.ts +3 -0
  775. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.d.ts.map +1 -0
  776. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.js +9 -0
  777. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.js.map +1 -0
  778. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.mjs +4 -0
  779. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.mjs.map +1 -0
  780. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.d.mts +496 -0
  781. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.d.mts.map +1 -0
  782. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.d.ts +496 -0
  783. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.d.ts.map +1 -0
  784. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.js +274 -0
  785. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.js.map +1 -0
  786. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.mjs +268 -0
  787. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.mjs.map +1 -0
  788. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.d.mts +2 -0
  789. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.d.mts.map +1 -0
  790. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.d.ts +2 -0
  791. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.d.ts.map +1 -0
  792. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.js +6 -0
  793. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.js.map +1 -0
  794. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.mjs +3 -0
  795. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/environments.mjs.map +1 -0
  796. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts +171 -0
  797. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts.map +1 -0
  798. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts +171 -0
  799. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts.map +1 -0
  800. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.js +124 -0
  801. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.js.map +1 -0
  802. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs +120 -0
  803. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs.map +1 -0
  804. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts +13 -0
  805. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts.map +1 -0
  806. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts +13 -0
  807. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts.map +1 -0
  808. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.js +29 -0
  809. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.js.map +1 -0
  810. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs +14 -0
  811. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs.map +1 -0
  812. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.d.mts +4 -0
  813. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.d.mts.map +1 -0
  814. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.d.ts +4 -0
  815. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.d.ts.map +1 -0
  816. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.js +11 -0
  817. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.js.map +1 -0
  818. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.mjs +5 -0
  819. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.mjs.map +1 -0
  820. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.d.mts +347 -0
  821. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.d.mts.map +1 -0
  822. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.d.ts +347 -0
  823. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.d.ts.map +1 -0
  824. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.js +130 -0
  825. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.js.map +1 -0
  826. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.mjs +126 -0
  827. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.mjs.map +1 -0
  828. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.d.mts +231 -0
  829. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.d.mts.map +1 -0
  830. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.d.ts +231 -0
  831. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.d.ts.map +1 -0
  832. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.js +145 -0
  833. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.js.map +1 -0
  834. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.mjs +140 -0
  835. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.mjs.map +1 -0
  836. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.d.mts +235 -0
  837. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.d.mts.map +1 -0
  838. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.d.ts +235 -0
  839. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.d.ts.map +1 -0
  840. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.js +81 -0
  841. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.js.map +1 -0
  842. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.mjs +77 -0
  843. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.mjs.map +1 -0
  844. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.d.mts +2 -0
  845. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.d.mts.map +1 -0
  846. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.d.ts +2 -0
  847. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.d.ts.map +1 -0
  848. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.js +6 -0
  849. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.js.map +1 -0
  850. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.mjs +3 -0
  851. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.mjs.map +1 -0
  852. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts +645 -0
  853. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts.map +1 -0
  854. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts +645 -0
  855. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts.map +1 -0
  856. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js +204 -0
  857. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js.map +1 -0
  858. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs +200 -0
  859. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs.map +1 -0
  860. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts +4 -0
  861. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts.map +1 -0
  862. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts +4 -0
  863. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts.map +1 -0
  864. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js +12 -0
  865. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js.map +1 -0
  866. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs +5 -0
  867. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs.map +1 -0
  868. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts +3380 -0
  869. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts.map +1 -0
  870. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts +3380 -0
  871. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts.map +1 -0
  872. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js +163 -0
  873. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js.map +1 -0
  874. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs +156 -0
  875. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs.map +1 -0
  876. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts +2 -0
  877. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts.map +1 -0
  878. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts +2 -0
  879. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts.map +1 -0
  880. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.js +6 -0
  881. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.js.map +1 -0
  882. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs +3 -0
  883. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs.map +1 -0
  884. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts +212 -0
  885. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts.map +1 -0
  886. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts +212 -0
  887. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts.map +1 -0
  888. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.js +60 -0
  889. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.js.map +1 -0
  890. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs +56 -0
  891. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs.map +1 -0
  892. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.d.mts +1409 -0
  893. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.d.mts.map +1 -0
  894. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.d.ts +1409 -0
  895. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.d.ts.map +1 -0
  896. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.js +119 -0
  897. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.js.map +1 -0
  898. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.mjs +114 -0
  899. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.mjs.map +1 -0
  900. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.d.mts +5 -0
  901. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.d.mts.map +1 -0
  902. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.d.ts +5 -0
  903. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.d.ts.map +1 -0
  904. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.js +13 -0
  905. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.js.map +1 -0
  906. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.mjs +6 -0
  907. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.mjs.map +1 -0
  908. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.d.mts +228 -0
  909. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.d.mts.map +1 -0
  910. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.d.ts +228 -0
  911. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.d.ts.map +1 -0
  912. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.js +132 -0
  913. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.js.map +1 -0
  914. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.mjs +128 -0
  915. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.mjs.map +1 -0
  916. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.d.mts +613 -0
  917. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.d.mts.map +1 -0
  918. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.d.ts +613 -0
  919. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.d.ts.map +1 -0
  920. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.js +158 -0
  921. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.js.map +1 -0
  922. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.mjs +153 -0
  923. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.mjs.map +1 -0
  924. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.d.mts +64 -0
  925. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.d.mts.map +1 -0
  926. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.d.ts +64 -0
  927. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.d.ts.map +1 -0
  928. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.js +60 -0
  929. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.js.map +1 -0
  930. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.mjs +56 -0
  931. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.mjs.map +1 -0
  932. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.d.mts +3 -0
  933. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.d.mts.map +1 -0
  934. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.d.ts +3 -0
  935. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.d.ts.map +1 -0
  936. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.js +9 -0
  937. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.js.map +1 -0
  938. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.mjs +4 -0
  939. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.mjs.map +1 -0
  940. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.d.mts +183 -0
  941. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.d.mts.map +1 -0
  942. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.d.ts +183 -0
  943. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.d.ts.map +1 -0
  944. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.js +88 -0
  945. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.js.map +1 -0
  946. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.mjs +83 -0
  947. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.mjs.map +1 -0
  948. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.d.mts +2 -0
  949. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.d.mts.map +1 -0
  950. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.d.ts +2 -0
  951. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.d.ts.map +1 -0
  952. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.js +6 -0
  953. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.js.map +1 -0
  954. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.mjs +3 -0
  955. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.mjs.map +1 -0
  956. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.d.mts +2 -0
  957. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.d.mts.map +1 -0
  958. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.d.ts +2 -0
  959. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.d.ts.map +1 -0
  960. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.js +6 -0
  961. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.js.map +1 -0
  962. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.mjs +3 -0
  963. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/sessions.mjs.map +1 -0
  964. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.mts +3 -0
  965. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.mts.map +1 -0
  966. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.ts +3 -0
  967. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.ts.map +1 -0
  968. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.js +9 -0
  969. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.js.map +1 -0
  970. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.mjs +4 -0
  971. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.mjs.map +1 -0
  972. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.mts +249 -0
  973. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.mts.map +1 -0
  974. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.ts +249 -0
  975. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.ts.map +1 -0
  976. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.js +98 -0
  977. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.js.map +1 -0
  978. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs +93 -0
  979. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs.map +1 -0
  980. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.mts +284 -0
  981. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.mts.map +1 -0
  982. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.ts +284 -0
  983. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.ts.map +1 -0
  984. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.js +128 -0
  985. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.js.map +1 -0
  986. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs +124 -0
  987. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs.map +1 -0
  988. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.d.mts +2 -0
  989. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.d.mts.map +1 -0
  990. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.d.ts +2 -0
  991. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.d.ts.map +1 -0
  992. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.js +6 -0
  993. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.js.map +1 -0
  994. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.mjs +3 -0
  995. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/skills.mjs.map +1 -0
  996. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.d.mts +223 -0
  997. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.d.mts.map +1 -0
  998. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.d.ts +223 -0
  999. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.d.ts.map +1 -0
  1000. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.js +118 -0
  1001. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.js.map +1 -0
  1002. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.mjs +114 -0
  1003. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.mjs.map +1 -0
  1004. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.d.mts +572 -0
  1005. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.d.mts.map +1 -0
  1006. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.d.ts +572 -0
  1007. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.d.ts.map +1 -0
  1008. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.js +177 -0
  1009. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.js.map +1 -0
  1010. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.mjs +173 -0
  1011. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.mjs.map +1 -0
  1012. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.d.mts +3 -0
  1013. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.d.mts.map +1 -0
  1014. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.d.ts +3 -0
  1015. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.d.ts.map +1 -0
  1016. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.js +9 -0
  1017. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.js.map +1 -0
  1018. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.mjs +4 -0
  1019. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.mjs.map +1 -0
  1020. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.d.mts +192 -0
  1021. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.d.mts.map +1 -0
  1022. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.d.ts +192 -0
  1023. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.d.ts.map +1 -0
  1024. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.js +149 -0
  1025. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.js.map +1 -0
  1026. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.mjs +144 -0
  1027. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.mjs.map +1 -0
  1028. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.d.mts +2 -0
  1029. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.d.mts.map +1 -0
  1030. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.d.ts +2 -0
  1031. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.d.ts.map +1 -0
  1032. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.js +6 -0
  1033. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.js.map +1 -0
  1034. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.mjs +3 -0
  1035. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/vaults.mjs.map +1 -0
  1036. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.d.mts +256 -0
  1037. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.d.mts.map +1 -0
  1038. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.d.ts +256 -0
  1039. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.d.ts.map +1 -0
  1040. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.js +20 -0
  1041. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.js.map +1 -0
  1042. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.mjs +16 -0
  1043. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.mjs.map +1 -0
  1044. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.d.mts +2 -0
  1045. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.d.mts.map +1 -0
  1046. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.d.ts +2 -0
  1047. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.d.ts.map +1 -0
  1048. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.js +6 -0
  1049. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.js.map +1 -0
  1050. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.mjs +3 -0
  1051. package/scripts/node_modules/@anthropic-ai/sdk/resources/beta.mjs.map +1 -0
  1052. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.d.mts +168 -0
  1053. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.d.mts.map +1 -0
  1054. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.d.ts +168 -0
  1055. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.d.ts.map +1 -0
  1056. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.js +23 -0
  1057. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.js.map +1 -0
  1058. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.mjs +19 -0
  1059. package/scripts/node_modules/@anthropic-ai/sdk/resources/completions.mjs.map +1 -0
  1060. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.d.mts +6 -0
  1061. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.d.mts.map +1 -0
  1062. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.d.ts +6 -0
  1063. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.d.ts.map +1 -0
  1064. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.js +15 -0
  1065. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.js.map +1 -0
  1066. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.mjs +7 -0
  1067. package/scripts/node_modules/@anthropic-ai/sdk/resources/index.mjs.map +1 -0
  1068. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts +304 -0
  1069. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts.map +1 -0
  1070. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts +304 -0
  1071. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts.map +1 -0
  1072. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.js +153 -0
  1073. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.js.map +1 -0
  1074. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs +149 -0
  1075. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs.map +1 -0
  1076. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts +3 -0
  1077. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts.map +1 -0
  1078. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts +3 -0
  1079. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts.map +1 -0
  1080. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.js +9 -0
  1081. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.js.map +1 -0
  1082. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs +4 -0
  1083. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs.map +1 -0
  1084. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts +2414 -0
  1085. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts.map +1 -0
  1086. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts +2414 -0
  1087. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts.map +1 -0
  1088. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.js +132 -0
  1089. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.js.map +1 -0
  1090. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs +127 -0
  1091. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs.map +1 -0
  1092. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.d.mts +2 -0
  1093. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.d.mts.map +1 -0
  1094. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.d.ts +2 -0
  1095. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.d.ts.map +1 -0
  1096. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.js +6 -0
  1097. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.js.map +1 -0
  1098. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.mjs +3 -0
  1099. package/scripts/node_modules/@anthropic-ai/sdk/resources/messages.mjs.map +1 -0
  1100. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.d.mts +197 -0
  1101. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.d.mts.map +1 -0
  1102. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.d.ts +197 -0
  1103. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.d.ts.map +1 -0
  1104. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.js +45 -0
  1105. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.js.map +1 -0
  1106. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.mjs +41 -0
  1107. package/scripts/node_modules/@anthropic-ai/sdk/resources/models.mjs.map +1 -0
  1108. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.d.mts +44 -0
  1109. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.d.mts.map +1 -0
  1110. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.d.ts +44 -0
  1111. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.d.ts.map +1 -0
  1112. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.js +4 -0
  1113. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.js.map +1 -0
  1114. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.mjs +3 -0
  1115. package/scripts/node_modules/@anthropic-ai/sdk/resources/shared.mjs.map +1 -0
  1116. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts +2 -0
  1117. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts.map +1 -0
  1118. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts +2 -0
  1119. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts.map +1 -0
  1120. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.js +4 -0
  1121. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.js.map +1 -0
  1122. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.mjs +3 -0
  1123. package/scripts/node_modules/@anthropic-ai/sdk/resources/top-level.mjs.map +1 -0
  1124. package/scripts/node_modules/@anthropic-ai/sdk/resources.d.mts +2 -0
  1125. package/scripts/node_modules/@anthropic-ai/sdk/resources.d.mts.map +1 -0
  1126. package/scripts/node_modules/@anthropic-ai/sdk/resources.d.ts +2 -0
  1127. package/scripts/node_modules/@anthropic-ai/sdk/resources.d.ts.map +1 -0
  1128. package/scripts/node_modules/@anthropic-ai/sdk/resources.js +5 -0
  1129. package/scripts/node_modules/@anthropic-ai/sdk/resources.js.map +1 -0
  1130. package/scripts/node_modules/@anthropic-ai/sdk/resources.mjs +2 -0
  1131. package/scripts/node_modules/@anthropic-ai/sdk/resources.mjs.map +1 -0
  1132. package/scripts/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/README.md +3 -0
  1133. package/scripts/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/parser.ts +264 -0
  1134. package/scripts/node_modules/@anthropic-ai/sdk/src/api-promise.ts +2 -0
  1135. package/scripts/node_modules/@anthropic-ai/sdk/src/client.ts +1678 -0
  1136. package/scripts/node_modules/@anthropic-ai/sdk/src/core/README.md +3 -0
  1137. package/scripts/node_modules/@anthropic-ai/sdk/src/core/api-promise.ts +101 -0
  1138. package/scripts/node_modules/@anthropic-ai/sdk/src/core/credentials.ts +379 -0
  1139. package/scripts/node_modules/@anthropic-ai/sdk/src/core/error.ts +145 -0
  1140. package/scripts/node_modules/@anthropic-ai/sdk/src/core/pagination.ts +318 -0
  1141. package/scripts/node_modules/@anthropic-ai/sdk/src/core/resource.ts +11 -0
  1142. package/scripts/node_modules/@anthropic-ai/sdk/src/core/streaming.ts +385 -0
  1143. package/scripts/node_modules/@anthropic-ai/sdk/src/core/uploads.ts +2 -0
  1144. package/scripts/node_modules/@anthropic-ai/sdk/src/error.ts +2 -0
  1145. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/beta/environments.ts +33 -0
  1146. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/beta/json-schema.ts +85 -0
  1147. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/beta/mcp.ts +624 -0
  1148. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/beta/memory.ts +28 -0
  1149. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/beta/zod.ts +81 -0
  1150. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/index.ts +2 -0
  1151. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/json-schema.ts +48 -0
  1152. package/scripts/node_modules/@anthropic-ai/sdk/src/helpers/zod.ts +57 -0
  1153. package/scripts/node_modules/@anthropic-ai/sdk/src/index.ts +31 -0
  1154. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/README.md +3 -0
  1155. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/builtin-types.ts +93 -0
  1156. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/constants.ts +15 -0
  1157. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/decoders/jsonl.ts +48 -0
  1158. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/decoders/line.ts +135 -0
  1159. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/detect-platform.ts +196 -0
  1160. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/errors.ts +33 -0
  1161. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/headers.ts +99 -0
  1162. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/parse.ts +90 -0
  1163. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/qs/LICENSE.md +13 -0
  1164. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/qs/README.md +3 -0
  1165. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/qs/formats.ts +10 -0
  1166. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/qs/index.ts +13 -0
  1167. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/qs/stringify.ts +385 -0
  1168. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/qs/types.ts +71 -0
  1169. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/qs/utils.ts +265 -0
  1170. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/request-options.ts +93 -0
  1171. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/shim-types.ts +26 -0
  1172. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/shims.ts +107 -0
  1173. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/stream-utils.ts +32 -0
  1174. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/to-file.ts +159 -0
  1175. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/types.ts +93 -0
  1176. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/uploads.ts +204 -0
  1177. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/abort.ts +21 -0
  1178. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/async-queue.ts +66 -0
  1179. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/backoff.ts +41 -0
  1180. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/base64.ts +40 -0
  1181. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/bytes.ts +32 -0
  1182. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/env.ts +18 -0
  1183. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/log.ts +128 -0
  1184. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/path.ts +88 -0
  1185. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/promise.ts +18 -0
  1186. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/query.ts +7 -0
  1187. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/sleep.ts +26 -0
  1188. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/time.ts +4 -0
  1189. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/uuid.ts +17 -0
  1190. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils/values.ts +112 -0
  1191. package/scripts/node_modules/@anthropic-ai/sdk/src/internal/utils.ts +9 -0
  1192. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/.keep +4 -0
  1193. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/BetaMessageStream.ts +765 -0
  1194. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/MessageStream.ts +746 -0
  1195. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/beta-parser.ts +148 -0
  1196. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/credentials/credential-chain.ts +292 -0
  1197. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/credentials/identity-token.ts +37 -0
  1198. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/credentials/oidc-federation.ts +140 -0
  1199. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/credentials/token-cache.ts +130 -0
  1200. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/credentials/types.ts +295 -0
  1201. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/credentials/user-oauth.ts +144 -0
  1202. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/credentials.ts +3 -0
  1203. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/environments/index.ts +23 -0
  1204. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/environments/poller.ts +253 -0
  1205. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/environments/worker.ts +400 -0
  1206. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/helper-client.ts +89 -0
  1207. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/parser.ts +125 -0
  1208. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/stainless-helper-header.ts +80 -0
  1209. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/tools/BetaRunnableTool.ts +130 -0
  1210. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/tools/BetaToolRunner.ts +524 -0
  1211. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/tools/CompactionControl.ts +57 -0
  1212. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/tools/SessionToolRunner.ts +610 -0
  1213. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/tools/ToolError.ts +47 -0
  1214. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/tools/ToolRunner.ts +381 -0
  1215. package/scripts/node_modules/@anthropic-ai/sdk/src/lib/transform-json-schema.ts +124 -0
  1216. package/scripts/node_modules/@anthropic-ai/sdk/src/pagination.ts +2 -0
  1217. package/scripts/node_modules/@anthropic-ai/sdk/src/resource.ts +2 -0
  1218. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/agents.ts +1063 -0
  1219. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/index.ts +51 -0
  1220. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/versions.ts +58 -0
  1221. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/agents.ts +3 -0
  1222. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/beta.ts +1006 -0
  1223. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/environments.ts +625 -0
  1224. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/index.ts +42 -0
  1225. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/work.ts +697 -0
  1226. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/environments.ts +3 -0
  1227. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/files.ts +286 -0
  1228. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/index.ts +445 -0
  1229. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/index.ts +47 -0
  1230. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memories.ts +514 -0
  1231. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memory-stores.ts +418 -0
  1232. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memory-versions.ts +342 -0
  1233. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores.ts +3 -0
  1234. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/batches.ts +828 -0
  1235. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/index.ts +251 -0
  1236. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/messages.ts +4881 -0
  1237. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/messages.ts +3 -0
  1238. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/models.ts +289 -0
  1239. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/events.ts +1958 -0
  1240. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/index.ts +139 -0
  1241. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/resources.ts +370 -0
  1242. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/sessions.ts +1066 -0
  1243. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/events.ts +107 -0
  1244. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/index.ts +15 -0
  1245. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/threads.ts +311 -0
  1246. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads.ts +3 -0
  1247. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions.ts +3 -0
  1248. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/index.ts +27 -0
  1249. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/skills.ts +386 -0
  1250. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/versions.ts +419 -0
  1251. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/skills.ts +3 -0
  1252. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/user-profiles.ts +325 -0
  1253. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/credentials.ts +813 -0
  1254. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/index.ts +49 -0
  1255. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/vaults.ts +375 -0
  1256. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults.ts +3 -0
  1257. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta/webhooks.ts +417 -0
  1258. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/beta.ts +3 -0
  1259. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +216 -0
  1260. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/index.ts +208 -0
  1261. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/messages/batches.ts +396 -0
  1262. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/messages/index.ts +191 -0
  1263. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/messages/messages.ts +3506 -0
  1264. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/messages.ts +3 -0
  1265. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/models.ts +274 -0
  1266. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/shared.ts +85 -0
  1267. package/scripts/node_modules/@anthropic-ai/sdk/src/resources/top-level.ts +3 -0
  1268. package/scripts/node_modules/@anthropic-ai/sdk/src/resources.ts +1 -0
  1269. package/scripts/node_modules/@anthropic-ai/sdk/src/streaming.ts +2 -0
  1270. package/scripts/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/fs-util.ts +154 -0
  1271. package/scripts/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/node.ts +800 -0
  1272. package/scripts/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/skills.ts +256 -0
  1273. package/scripts/node_modules/@anthropic-ai/sdk/src/tools/memory/node.ts +400 -0
  1274. package/scripts/node_modules/@anthropic-ai/sdk/src/tsconfig.json +11 -0
  1275. package/scripts/node_modules/@anthropic-ai/sdk/src/uploads.ts +2 -0
  1276. package/scripts/node_modules/@anthropic-ai/sdk/src/version.ts +1 -0
  1277. package/scripts/node_modules/@anthropic-ai/sdk/streaming.d.mts +3 -0
  1278. package/scripts/node_modules/@anthropic-ai/sdk/streaming.d.mts.map +1 -0
  1279. package/scripts/node_modules/@anthropic-ai/sdk/streaming.d.ts +3 -0
  1280. package/scripts/node_modules/@anthropic-ai/sdk/streaming.d.ts.map +1 -0
  1281. package/scripts/node_modules/@anthropic-ai/sdk/streaming.js +6 -0
  1282. package/scripts/node_modules/@anthropic-ai/sdk/streaming.js.map +1 -0
  1283. package/scripts/node_modules/@anthropic-ai/sdk/streaming.mjs +3 -0
  1284. package/scripts/node_modules/@anthropic-ai/sdk/streaming.mjs.map +1 -0
  1285. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.d.mts +49 -0
  1286. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.d.mts.map +1 -0
  1287. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.d.ts +49 -0
  1288. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.d.ts.map +1 -0
  1289. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.js +159 -0
  1290. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.js.map +1 -0
  1291. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.mjs +151 -0
  1292. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.mjs.map +1 -0
  1293. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.d.mts +148 -0
  1294. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.d.mts.map +1 -0
  1295. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.d.ts +148 -0
  1296. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.d.ts.map +1 -0
  1297. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.js +749 -0
  1298. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.js.map +1 -0
  1299. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.mjs +734 -0
  1300. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.mjs.map +1 -0
  1301. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.d.mts +50 -0
  1302. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.d.mts.map +1 -0
  1303. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.d.ts +50 -0
  1304. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.d.ts.map +1 -0
  1305. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.js +249 -0
  1306. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.js.map +1 -0
  1307. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.mjs +243 -0
  1308. package/scripts/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.mjs.map +1 -0
  1309. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.d.mts +18 -0
  1310. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.d.mts.map +1 -0
  1311. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.d.ts +18 -0
  1312. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.d.ts.map +1 -0
  1313. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.js +331 -0
  1314. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.js.map +1 -0
  1315. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.mjs +325 -0
  1316. package/scripts/node_modules/@anthropic-ai/sdk/tools/memory/node.mjs.map +1 -0
  1317. package/scripts/node_modules/@anthropic-ai/sdk/uploads.d.mts +3 -0
  1318. package/scripts/node_modules/@anthropic-ai/sdk/uploads.d.mts.map +1 -0
  1319. package/scripts/node_modules/@anthropic-ai/sdk/uploads.d.ts +3 -0
  1320. package/scripts/node_modules/@anthropic-ai/sdk/uploads.d.ts.map +1 -0
  1321. package/scripts/node_modules/@anthropic-ai/sdk/uploads.js +6 -0
  1322. package/scripts/node_modules/@anthropic-ai/sdk/uploads.js.map +1 -0
  1323. package/scripts/node_modules/@anthropic-ai/sdk/uploads.mjs +3 -0
  1324. package/scripts/node_modules/@anthropic-ai/sdk/uploads.mjs.map +1 -0
  1325. package/scripts/node_modules/@anthropic-ai/sdk/version.d.mts +2 -0
  1326. package/scripts/node_modules/@anthropic-ai/sdk/version.d.mts.map +1 -0
  1327. package/scripts/node_modules/@anthropic-ai/sdk/version.d.ts +2 -0
  1328. package/scripts/node_modules/@anthropic-ai/sdk/version.d.ts.map +1 -0
  1329. package/scripts/node_modules/@anthropic-ai/sdk/version.js +5 -0
  1330. package/scripts/node_modules/@anthropic-ai/sdk/version.js.map +1 -0
  1331. package/scripts/node_modules/@anthropic-ai/sdk/version.mjs +2 -0
  1332. package/scripts/node_modules/@anthropic-ai/sdk/version.mjs.map +1 -0
  1333. package/scripts/node_modules/@babel/runtime/LICENSE +22 -0
  1334. package/scripts/node_modules/@babel/runtime/README.md +19 -0
  1335. package/scripts/node_modules/@babel/runtime/helpers/AwaitValue.js +4 -0
  1336. package/scripts/node_modules/@babel/runtime/helpers/OverloadYield.js +4 -0
  1337. package/scripts/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +9 -0
  1338. package/scripts/node_modules/@babel/runtime/helpers/applyDecs.js +236 -0
  1339. package/scripts/node_modules/@babel/runtime/helpers/applyDecs2203.js +184 -0
  1340. package/scripts/node_modules/@babel/runtime/helpers/applyDecs2203R.js +191 -0
  1341. package/scripts/node_modules/@babel/runtime/helpers/applyDecs2301.js +222 -0
  1342. package/scripts/node_modules/@babel/runtime/helpers/applyDecs2305.js +133 -0
  1343. package/scripts/node_modules/@babel/runtime/helpers/applyDecs2311.js +124 -0
  1344. package/scripts/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +6 -0
  1345. package/scripts/node_modules/@babel/runtime/helpers/arrayWithHoles.js +4 -0
  1346. package/scripts/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +5 -0
  1347. package/scripts/node_modules/@babel/runtime/helpers/assertClassBrand.js +5 -0
  1348. package/scripts/node_modules/@babel/runtime/helpers/assertThisInitialized.js +5 -0
  1349. package/scripts/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +24 -0
  1350. package/scripts/node_modules/@babel/runtime/helpers/asyncIterator.js +45 -0
  1351. package/scripts/node_modules/@babel/runtime/helpers/asyncToGenerator.js +26 -0
  1352. package/scripts/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +5 -0
  1353. package/scripts/node_modules/@babel/runtime/helpers/callSuper.js +7 -0
  1354. package/scripts/node_modules/@babel/runtime/helpers/checkInRHS.js +6 -0
  1355. package/scripts/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +4 -0
  1356. package/scripts/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +10 -0
  1357. package/scripts/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +4 -0
  1358. package/scripts/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +7 -0
  1359. package/scripts/node_modules/@babel/runtime/helpers/classCallCheck.js +4 -0
  1360. package/scripts/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +5 -0
  1361. package/scripts/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +4 -0
  1362. package/scripts/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +5 -0
  1363. package/scripts/node_modules/@babel/runtime/helpers/classNameTDZError.js +4 -0
  1364. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +7 -0
  1365. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +7 -0
  1366. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +5 -0
  1367. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +5 -0
  1368. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +5 -0
  1369. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +5 -0
  1370. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +7 -0
  1371. package/scripts/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +5 -0
  1372. package/scripts/node_modules/@babel/runtime/helpers/classPrivateGetter.js +5 -0
  1373. package/scripts/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +5 -0
  1374. package/scripts/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +5 -0
  1375. package/scripts/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +4 -0
  1376. package/scripts/node_modules/@babel/runtime/helpers/classPrivateSetter.js +5 -0
  1377. package/scripts/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +7 -0
  1378. package/scripts/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +7 -0
  1379. package/scripts/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +7 -0
  1380. package/scripts/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +5 -0
  1381. package/scripts/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +4 -0
  1382. package/scripts/node_modules/@babel/runtime/helpers/construct.js +10 -0
  1383. package/scripts/node_modules/@babel/runtime/helpers/createClass.js +13 -0
  1384. package/scripts/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +50 -0
  1385. package/scripts/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +19 -0
  1386. package/scripts/node_modules/@babel/runtime/helpers/createSuper.js +16 -0
  1387. package/scripts/node_modules/@babel/runtime/helpers/decorate.js +250 -0
  1388. package/scripts/node_modules/@babel/runtime/helpers/defaults.js +9 -0
  1389. package/scripts/node_modules/@babel/runtime/helpers/defineAccessor.js +8 -0
  1390. package/scripts/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +12 -0
  1391. package/scripts/node_modules/@babel/runtime/helpers/defineProperty.js +10 -0
  1392. package/scripts/node_modules/@babel/runtime/helpers/dispose.js +28 -0
  1393. package/scripts/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +4 -0
  1394. package/scripts/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +4 -0
  1395. package/scripts/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +9 -0
  1396. package/scripts/node_modules/@babel/runtime/helpers/esm/applyDecs.js +236 -0
  1397. package/scripts/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +184 -0
  1398. package/scripts/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +191 -0
  1399. package/scripts/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +222 -0
  1400. package/scripts/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +133 -0
  1401. package/scripts/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +124 -0
  1402. package/scripts/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +6 -0
  1403. package/scripts/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +4 -0
  1404. package/scripts/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +5 -0
  1405. package/scripts/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +5 -0
  1406. package/scripts/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +5 -0
  1407. package/scripts/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +24 -0
  1408. package/scripts/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +45 -0
  1409. package/scripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +26 -0
  1410. package/scripts/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +5 -0
  1411. package/scripts/node_modules/@babel/runtime/helpers/esm/callSuper.js +7 -0
  1412. package/scripts/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +6 -0
  1413. package/scripts/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +4 -0
  1414. package/scripts/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +10 -0
  1415. package/scripts/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +4 -0
  1416. package/scripts/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +7 -0
  1417. package/scripts/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +4 -0
  1418. package/scripts/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
  1419. package/scripts/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +4 -0
  1420. package/scripts/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +5 -0
  1421. package/scripts/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +4 -0
  1422. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +7 -0
  1423. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +7 -0
  1424. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +5 -0
  1425. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
  1426. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +5 -0
  1427. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +5 -0
  1428. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
  1429. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +5 -0
  1430. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +5 -0
  1431. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +5 -0
  1432. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
  1433. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +4 -0
  1434. package/scripts/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +5 -0
  1435. package/scripts/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +7 -0
  1436. package/scripts/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +7 -0
  1437. package/scripts/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +7 -0
  1438. package/scripts/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
  1439. package/scripts/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +4 -0
  1440. package/scripts/node_modules/@babel/runtime/helpers/esm/construct.js +10 -0
  1441. package/scripts/node_modules/@babel/runtime/helpers/esm/createClass.js +13 -0
  1442. package/scripts/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +50 -0
  1443. package/scripts/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +19 -0
  1444. package/scripts/node_modules/@babel/runtime/helpers/esm/createSuper.js +16 -0
  1445. package/scripts/node_modules/@babel/runtime/helpers/esm/decorate.js +250 -0
  1446. package/scripts/node_modules/@babel/runtime/helpers/esm/defaults.js +9 -0
  1447. package/scripts/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +8 -0
  1448. package/scripts/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +12 -0
  1449. package/scripts/node_modules/@babel/runtime/helpers/esm/defineProperty.js +10 -0
  1450. package/scripts/node_modules/@babel/runtime/helpers/esm/dispose.js +28 -0
  1451. package/scripts/node_modules/@babel/runtime/helpers/esm/extends.js +10 -0
  1452. package/scripts/node_modules/@babel/runtime/helpers/esm/get.js +11 -0
  1453. package/scripts/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
  1454. package/scripts/node_modules/@babel/runtime/helpers/esm/identity.js +4 -0
  1455. package/scripts/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +27 -0
  1456. package/scripts/node_modules/@babel/runtime/helpers/esm/inherits.js +14 -0
  1457. package/scripts/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +5 -0
  1458. package/scripts/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
  1459. package/scripts/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +4 -0
  1460. package/scripts/node_modules/@babel/runtime/helpers/esm/instanceof.js +4 -0
  1461. package/scripts/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +6 -0
  1462. package/scripts/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +22 -0
  1463. package/scripts/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +8 -0
  1464. package/scripts/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +9 -0
  1465. package/scripts/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +4 -0
  1466. package/scripts/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +28 -0
  1467. package/scripts/node_modules/@babel/runtime/helpers/esm/jsx.js +22 -0
  1468. package/scripts/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
  1469. package/scripts/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +4 -0
  1470. package/scripts/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +4 -0
  1471. package/scripts/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +4 -0
  1472. package/scripts/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +4 -0
  1473. package/scripts/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +4 -0
  1474. package/scripts/node_modules/@babel/runtime/helpers/esm/objectSpread.js +14 -0
  1475. package/scripts/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +23 -0
  1476. package/scripts/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
  1477. package/scripts/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
  1478. package/scripts/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
  1479. package/scripts/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +8 -0
  1480. package/scripts/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +4 -0
  1481. package/scripts/node_modules/@babel/runtime/helpers/esm/regenerator.js +89 -0
  1482. package/scripts/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +8 -0
  1483. package/scripts/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +6 -0
  1484. package/scripts/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +33 -0
  1485. package/scripts/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +22 -0
  1486. package/scripts/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +10 -0
  1487. package/scripts/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +77 -0
  1488. package/scripts/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +19 -0
  1489. package/scripts/node_modules/@babel/runtime/helpers/esm/set.js +22 -0
  1490. package/scripts/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +12 -0
  1491. package/scripts/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +6 -0
  1492. package/scripts/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
  1493. package/scripts/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +8 -0
  1494. package/scripts/node_modules/@babel/runtime/helpers/esm/superPropBase.js +6 -0
  1495. package/scripts/node_modules/@babel/runtime/helpers/esm/superPropGet.js +9 -0
  1496. package/scripts/node_modules/@babel/runtime/helpers/esm/superPropSet.js +6 -0
  1497. package/scripts/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +8 -0
  1498. package/scripts/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +4 -0
  1499. package/scripts/node_modules/@babel/runtime/helpers/esm/tdz.js +4 -0
  1500. package/scripts/node_modules/@babel/runtime/helpers/esm/temporalRef.js +6 -0
  1501. package/scripts/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +2 -0
  1502. package/scripts/node_modules/@babel/runtime/helpers/esm/toArray.js +8 -0
  1503. package/scripts/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +8 -0
  1504. package/scripts/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +12 -0
  1505. package/scripts/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +7 -0
  1506. package/scripts/node_modules/@babel/runtime/helpers/esm/toSetter.js +10 -0
  1507. package/scripts/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +6 -0
  1508. package/scripts/node_modules/@babel/runtime/helpers/esm/typeof.js +10 -0
  1509. package/scripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
  1510. package/scripts/node_modules/@babel/runtime/helpers/esm/using.js +12 -0
  1511. package/scripts/node_modules/@babel/runtime/helpers/esm/usingCtx.js +59 -0
  1512. package/scripts/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +56 -0
  1513. package/scripts/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +27 -0
  1514. package/scripts/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +52 -0
  1515. package/scripts/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +4 -0
  1516. package/scripts/node_modules/@babel/runtime/helpers/extends.js +10 -0
  1517. package/scripts/node_modules/@babel/runtime/helpers/get.js +11 -0
  1518. package/scripts/node_modules/@babel/runtime/helpers/getPrototypeOf.js +6 -0
  1519. package/scripts/node_modules/@babel/runtime/helpers/identity.js +4 -0
  1520. package/scripts/node_modules/@babel/runtime/helpers/importDeferProxy.js +27 -0
  1521. package/scripts/node_modules/@babel/runtime/helpers/inherits.js +14 -0
  1522. package/scripts/node_modules/@babel/runtime/helpers/inheritsLoose.js +5 -0
  1523. package/scripts/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +9 -0
  1524. package/scripts/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +4 -0
  1525. package/scripts/node_modules/@babel/runtime/helpers/instanceof.js +4 -0
  1526. package/scripts/node_modules/@babel/runtime/helpers/interopRequireDefault.js +6 -0
  1527. package/scripts/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +22 -0
  1528. package/scripts/node_modules/@babel/runtime/helpers/isNativeFunction.js +8 -0
  1529. package/scripts/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +9 -0
  1530. package/scripts/node_modules/@babel/runtime/helpers/iterableToArray.js +4 -0
  1531. package/scripts/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +28 -0
  1532. package/scripts/node_modules/@babel/runtime/helpers/jsx.js +22 -0
  1533. package/scripts/node_modules/@babel/runtime/helpers/maybeArrayLike.js +9 -0
  1534. package/scripts/node_modules/@babel/runtime/helpers/newArrowCheck.js +4 -0
  1535. package/scripts/node_modules/@babel/runtime/helpers/nonIterableRest.js +4 -0
  1536. package/scripts/node_modules/@babel/runtime/helpers/nonIterableSpread.js +4 -0
  1537. package/scripts/node_modules/@babel/runtime/helpers/nullishReceiverError.js +4 -0
  1538. package/scripts/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +4 -0
  1539. package/scripts/node_modules/@babel/runtime/helpers/objectSpread.js +14 -0
  1540. package/scripts/node_modules/@babel/runtime/helpers/objectSpread2.js +23 -0
  1541. package/scripts/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +13 -0
  1542. package/scripts/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +10 -0
  1543. package/scripts/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +8 -0
  1544. package/scripts/node_modules/@babel/runtime/helpers/readOnlyError.js +4 -0
  1545. package/scripts/node_modules/@babel/runtime/helpers/regenerator.js +89 -0
  1546. package/scripts/node_modules/@babel/runtime/helpers/regeneratorAsync.js +8 -0
  1547. package/scripts/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +6 -0
  1548. package/scripts/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +33 -0
  1549. package/scripts/node_modules/@babel/runtime/helpers/regeneratorDefine.js +22 -0
  1550. package/scripts/node_modules/@babel/runtime/helpers/regeneratorKeys.js +10 -0
  1551. package/scripts/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +77 -0
  1552. package/scripts/node_modules/@babel/runtime/helpers/regeneratorValues.js +19 -0
  1553. package/scripts/node_modules/@babel/runtime/helpers/set.js +22 -0
  1554. package/scripts/node_modules/@babel/runtime/helpers/setFunctionName.js +12 -0
  1555. package/scripts/node_modules/@babel/runtime/helpers/setPrototypeOf.js +6 -0
  1556. package/scripts/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +7 -0
  1557. package/scripts/node_modules/@babel/runtime/helpers/slicedToArray.js +8 -0
  1558. package/scripts/node_modules/@babel/runtime/helpers/superPropBase.js +6 -0
  1559. package/scripts/node_modules/@babel/runtime/helpers/superPropGet.js +9 -0
  1560. package/scripts/node_modules/@babel/runtime/helpers/superPropSet.js +6 -0
  1561. package/scripts/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +8 -0
  1562. package/scripts/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +4 -0
  1563. package/scripts/node_modules/@babel/runtime/helpers/tdz.js +4 -0
  1564. package/scripts/node_modules/@babel/runtime/helpers/temporalRef.js +6 -0
  1565. package/scripts/node_modules/@babel/runtime/helpers/temporalUndefined.js +2 -0
  1566. package/scripts/node_modules/@babel/runtime/helpers/toArray.js +8 -0
  1567. package/scripts/node_modules/@babel/runtime/helpers/toConsumableArray.js +8 -0
  1568. package/scripts/node_modules/@babel/runtime/helpers/toPrimitive.js +12 -0
  1569. package/scripts/node_modules/@babel/runtime/helpers/toPropertyKey.js +7 -0
  1570. package/scripts/node_modules/@babel/runtime/helpers/toSetter.js +10 -0
  1571. package/scripts/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +6 -0
  1572. package/scripts/node_modules/@babel/runtime/helpers/typeof.js +10 -0
  1573. package/scripts/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +9 -0
  1574. package/scripts/node_modules/@babel/runtime/helpers/using.js +12 -0
  1575. package/scripts/node_modules/@babel/runtime/helpers/usingCtx.js +59 -0
  1576. package/scripts/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +56 -0
  1577. package/scripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +27 -0
  1578. package/scripts/node_modules/@babel/runtime/helpers/wrapRegExp.js +52 -0
  1579. package/scripts/node_modules/@babel/runtime/helpers/writeOnlyError.js +4 -0
  1580. package/scripts/node_modules/@babel/runtime/package.json +1107 -0
  1581. package/scripts/node_modules/@babel/runtime/regenerator/index.js +15 -0
  1582. package/scripts/node_modules/@stablelib/base64/LICENSE +21 -0
  1583. package/scripts/node_modules/@stablelib/base64/base64.bench.ts +25 -0
  1584. package/scripts/node_modules/@stablelib/base64/base64.test.ts +85 -0
  1585. package/scripts/node_modules/@stablelib/base64/base64.ts +283 -0
  1586. package/scripts/node_modules/@stablelib/base64/lib/base64.bench.d.ts +1 -0
  1587. package/scripts/node_modules/@stablelib/base64/lib/base64.bench.js +23 -0
  1588. package/scripts/node_modules/@stablelib/base64/lib/base64.bench.js.map +1 -0
  1589. package/scripts/node_modules/@stablelib/base64/lib/base64.d.ts +34 -0
  1590. package/scripts/node_modules/@stablelib/base64/lib/base64.js +282 -0
  1591. package/scripts/node_modules/@stablelib/base64/lib/base64.js.map +1 -0
  1592. package/scripts/node_modules/@stablelib/base64/lib/base64.test.d.ts +1 -0
  1593. package/scripts/node_modules/@stablelib/base64/lib/base64.test.js +82 -0
  1594. package/scripts/node_modules/@stablelib/base64/lib/base64.test.js.map +1 -0
  1595. package/scripts/node_modules/@stablelib/base64/package.json +25 -0
  1596. package/scripts/node_modules/@stablelib/base64/tsconfig.json +27 -0
  1597. package/scripts/node_modules/fast-sha256/LICENSE +24 -0
  1598. package/scripts/node_modules/fast-sha256/README.md +127 -0
  1599. package/scripts/node_modules/fast-sha256/package.json +42 -0
  1600. package/scripts/node_modules/fast-sha256/sha256.d.ts +39 -0
  1601. package/scripts/node_modules/fast-sha256/sha256.js +427 -0
  1602. package/scripts/node_modules/fast-sha256/sha256.min.js +1 -0
  1603. package/scripts/node_modules/json-schema-to-ts/LICENSE +21 -0
  1604. package/scripts/node_modules/json-schema-to-ts/README.md +1046 -0
  1605. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/deserializationPattern.js +6 -0
  1606. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/deserializationPattern.js.map +1 -0
  1607. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/extendedJsonSchema.js +6 -0
  1608. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/extendedJsonSchema.js.map +1 -0
  1609. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/fromSchemaOptions.js +6 -0
  1610. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/fromSchemaOptions.js.map +1 -0
  1611. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/index.js +6 -0
  1612. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/index.js.map +1 -0
  1613. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/jsonSchema.js +25 -0
  1614. package/scripts/node_modules/json-schema-to-ts/lib/cjs/definitions/jsonSchema.js.map +1 -0
  1615. package/scripts/node_modules/json-schema-to-ts/lib/cjs/index.js +26 -0
  1616. package/scripts/node_modules/json-schema-to-ts/lib/cjs/index.js.map +1 -0
  1617. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-options.js +6 -0
  1618. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-options.js.map +1 -0
  1619. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/allOf.js +6 -0
  1620. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/allOf.js.map +1 -0
  1621. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/anyOf.js +6 -0
  1622. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/anyOf.js.map +1 -0
  1623. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/array.js +6 -0
  1624. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/array.js.map +1 -0
  1625. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/const.js +6 -0
  1626. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/const.js.map +1 -0
  1627. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/deserialize.js +6 -0
  1628. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/deserialize.js.map +1 -0
  1629. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/enum.js +6 -0
  1630. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/enum.js.map +1 -0
  1631. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/ifThenElse.js +6 -0
  1632. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/ifThenElse.js.map +1 -0
  1633. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/index.js +6 -0
  1634. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/index.js.map +1 -0
  1635. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/multipleTypes.js +6 -0
  1636. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/multipleTypes.js.map +1 -0
  1637. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/not.js +6 -0
  1638. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/not.js.map +1 -0
  1639. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/nullable.js +6 -0
  1640. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/nullable.js.map +1 -0
  1641. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/object.js +6 -0
  1642. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/object.js.map +1 -0
  1643. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/oneOf.js +6 -0
  1644. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/oneOf.js.map +1 -0
  1645. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/external.js +6 -0
  1646. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/external.js.map +1 -0
  1647. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/index.js +6 -0
  1648. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/index.js.map +1 -0
  1649. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/internal.js +6 -0
  1650. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/internal.js.map +1 -0
  1651. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/utils.js +6 -0
  1652. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/utils.js.map +1 -0
  1653. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/singleType.js +6 -0
  1654. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/singleType.js.map +1 -0
  1655. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/utils.js +6 -0
  1656. package/scripts/node_modules/json-schema-to-ts/lib/cjs/parse-schema/utils.js.map +1 -0
  1657. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/and.js +6 -0
  1658. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/and.js.map +1 -0
  1659. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/extends.js +6 -0
  1660. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/extends.js.map +1 -0
  1661. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/get.js +6 -0
  1662. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/get.js.map +1 -0
  1663. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/if.js +6 -0
  1664. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/if.js.map +1 -0
  1665. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/index.js +6 -0
  1666. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/index.js.map +1 -0
  1667. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/join.js +6 -0
  1668. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/join.js.map +1 -0
  1669. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/key.js +6 -0
  1670. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/key.js.map +1 -0
  1671. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/narrow.js +6 -0
  1672. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/narrow.js.map +1 -0
  1673. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/not.js +6 -0
  1674. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/not.js.map +1 -0
  1675. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/pop.js +6 -0
  1676. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/pop.js.map +1 -0
  1677. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/split.js +6 -0
  1678. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/split.js.map +1 -0
  1679. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/tail.js +6 -0
  1680. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/tail.js.map +1 -0
  1681. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/writable.js +6 -0
  1682. package/scripts/node_modules/json-schema-to-ts/lib/cjs/type-utils/writable.js.map +1 -0
  1683. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/asConst.js +26 -0
  1684. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/asConst.js.map +1 -0
  1685. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/index.js +28 -0
  1686. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/index.js.map +1 -0
  1687. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/compiler.js +52 -0
  1688. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/compiler.js.map +1 -0
  1689. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/index.js +22 -0
  1690. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/index.js.map +1 -0
  1691. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/validator.js +46 -0
  1692. package/scripts/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/validator.js.map +1 -0
  1693. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/deserializationPattern.js +2 -0
  1694. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/deserializationPattern.js.map +1 -0
  1695. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/extendedJsonSchema.js +2 -0
  1696. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/extendedJsonSchema.js.map +1 -0
  1697. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/fromSchemaOptions.js +2 -0
  1698. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/fromSchemaOptions.js.map +1 -0
  1699. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/index.js +2 -0
  1700. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/index.js.map +1 -0
  1701. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/jsonSchema.js +17 -0
  1702. package/scripts/node_modules/json-schema-to-ts/lib/esm/definitions/jsonSchema.js.map +1 -0
  1703. package/scripts/node_modules/json-schema-to-ts/lib/esm/index.js +11 -0
  1704. package/scripts/node_modules/json-schema-to-ts/lib/esm/index.js.map +1 -0
  1705. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-options.js +2 -0
  1706. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-options.js.map +1 -0
  1707. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/allOf.js +2 -0
  1708. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/allOf.js.map +1 -0
  1709. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/anyOf.js +2 -0
  1710. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/anyOf.js.map +1 -0
  1711. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/array.js +2 -0
  1712. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/array.js.map +1 -0
  1713. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/const.js +2 -0
  1714. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/const.js.map +1 -0
  1715. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/deserialize.js +2 -0
  1716. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/deserialize.js.map +1 -0
  1717. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/enum.js +2 -0
  1718. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/enum.js.map +1 -0
  1719. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/ifThenElse.js +2 -0
  1720. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/ifThenElse.js.map +1 -0
  1721. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/index.js +2 -0
  1722. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/index.js.map +1 -0
  1723. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/multipleTypes.js +2 -0
  1724. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/multipleTypes.js.map +1 -0
  1725. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/not.js +2 -0
  1726. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/not.js.map +1 -0
  1727. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/nullable.js +2 -0
  1728. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/nullable.js.map +1 -0
  1729. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/object.js +2 -0
  1730. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/object.js.map +1 -0
  1731. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/oneOf.js +2 -0
  1732. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/oneOf.js.map +1 -0
  1733. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/external.js +2 -0
  1734. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/external.js.map +1 -0
  1735. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/index.js +2 -0
  1736. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/index.js.map +1 -0
  1737. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/internal.js +2 -0
  1738. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/internal.js.map +1 -0
  1739. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/utils.js +2 -0
  1740. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/utils.js.map +1 -0
  1741. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/singleType.js +2 -0
  1742. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/singleType.js.map +1 -0
  1743. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/utils.js +2 -0
  1744. package/scripts/node_modules/json-schema-to-ts/lib/esm/parse-schema/utils.js.map +1 -0
  1745. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/and.js +2 -0
  1746. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/and.js.map +1 -0
  1747. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/extends.js +2 -0
  1748. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/extends.js.map +1 -0
  1749. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/get.js +2 -0
  1750. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/get.js.map +1 -0
  1751. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/if.js +2 -0
  1752. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/if.js.map +1 -0
  1753. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/index.js +2 -0
  1754. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/index.js.map +1 -0
  1755. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/join.js +2 -0
  1756. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/join.js.map +1 -0
  1757. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/key.js +2 -0
  1758. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/key.js.map +1 -0
  1759. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/narrow.js +2 -0
  1760. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/narrow.js.map +1 -0
  1761. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/not.js +2 -0
  1762. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/not.js.map +1 -0
  1763. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/pop.js +2 -0
  1764. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/pop.js.map +1 -0
  1765. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/split.js +2 -0
  1766. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/split.js.map +1 -0
  1767. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/tail.js +2 -0
  1768. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/tail.js.map +1 -0
  1769. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/writable.js +2 -0
  1770. package/scripts/node_modules/json-schema-to-ts/lib/esm/type-utils/writable.js.map +1 -0
  1771. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/asConst.js +17 -0
  1772. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/asConst.js.map +1 -0
  1773. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/index.js +3 -0
  1774. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/index.js.map +1 -0
  1775. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/compiler.js +43 -0
  1776. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/compiler.js.map +1 -0
  1777. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/index.js +3 -0
  1778. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/index.js.map +1 -0
  1779. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/validator.js +37 -0
  1780. package/scripts/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/validator.js.map +1 -0
  1781. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/deserializationPattern.d.ts +4 -0
  1782. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/deserializationPattern.js +1 -0
  1783. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/extendedJsonSchema.d.ts +75 -0
  1784. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/extendedJsonSchema.js +1 -0
  1785. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/fromSchemaOptions.d.ts +24 -0
  1786. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/fromSchemaOptions.js +1 -0
  1787. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/index.d.ts +4 -0
  1788. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/index.js +1 -0
  1789. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/jsonSchema.d.ts +57 -0
  1790. package/scripts/node_modules/json-schema-to-ts/lib/types/definitions/jsonSchema.js +1 -0
  1791. package/scripts/node_modules/json-schema-to-ts/lib/types/index.d.ts +9 -0
  1792. package/scripts/node_modules/json-schema-to-ts/lib/types/index.js +1 -0
  1793. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-options.d.ts +12 -0
  1794. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-options.js +1 -0
  1795. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/allOf.d.ts +13 -0
  1796. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/allOf.js +1 -0
  1797. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/anyOf.d.ts +13 -0
  1798. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/anyOf.js +1 -0
  1799. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/array.d.ts +57 -0
  1800. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/array.js +1 -0
  1801. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/const.d.ts +10 -0
  1802. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/const.js +1 -0
  1803. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/deserialize.d.ts +11 -0
  1804. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/deserialize.js +1 -0
  1805. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/enum.d.ts +10 -0
  1806. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/enum.js +1 -0
  1807. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/ifThenElse.d.ts +14 -0
  1808. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/ifThenElse.js +1 -0
  1809. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/index.d.ts +26 -0
  1810. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/index.js +1 -0
  1811. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/multipleTypes.d.ts +11 -0
  1812. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/multipleTypes.js +1 -0
  1813. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/not.d.ts +10 -0
  1814. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/not.js +1 -0
  1815. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/nullable.d.ts +9 -0
  1816. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/nullable.js +1 -0
  1817. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/object.d.ts +37 -0
  1818. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/object.js +1 -0
  1819. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/oneOf.d.ts +13 -0
  1820. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/oneOf.js +1 -0
  1821. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/external.d.ts +22 -0
  1822. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/external.js +1 -0
  1823. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/index.d.ts +9 -0
  1824. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/index.js +1 -0
  1825. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/internal.d.ts +4 -0
  1826. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/internal.js +1 -0
  1827. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/utils.d.ts +6 -0
  1828. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/references/utils.js +1 -0
  1829. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/singleType.d.ts +19 -0
  1830. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/singleType.js +1 -0
  1831. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/utils.d.ts +17 -0
  1832. package/scripts/node_modules/json-schema-to-ts/lib/types/parse-schema/utils.js +1 -0
  1833. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/and.d.ts +1 -0
  1834. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/and.js +1 -0
  1835. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/extends.d.ts +1 -0
  1836. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/extends.js +1 -0
  1837. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/get.d.ts +1 -0
  1838. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/get.js +1 -0
  1839. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/if.d.ts +1 -0
  1840. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/if.js +1 -0
  1841. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/index.d.ts +12 -0
  1842. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/index.js +1 -0
  1843. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/join.d.ts +1 -0
  1844. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/join.js +1 -0
  1845. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/key.d.ts +1 -0
  1846. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/key.js +1 -0
  1847. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/narrow.d.ts +3 -0
  1848. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/narrow.js +1 -0
  1849. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/not.d.ts +1 -0
  1850. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/not.js +1 -0
  1851. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/pop.d.ts +1 -0
  1852. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/pop.js +1 -0
  1853. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/split.d.ts +4 -0
  1854. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/split.js +1 -0
  1855. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/tail.d.ts +1 -0
  1856. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/tail.js +1 -0
  1857. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/writable.d.ts +5 -0
  1858. package/scripts/node_modules/json-schema-to-ts/lib/types/type-utils/writable.js +1 -0
  1859. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/asConst.d.ts +2 -0
  1860. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/asConst.js +1 -0
  1861. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/index.d.ts +3 -0
  1862. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/index.js +2 -0
  1863. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/type-guards/compiler.d.ts +6 -0
  1864. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/type-guards/compiler.js +4 -0
  1865. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/type-guards/index.d.ts +4 -0
  1866. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/type-guards/index.js +2 -0
  1867. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/type-guards/validator.d.ts +6 -0
  1868. package/scripts/node_modules/json-schema-to-ts/lib/types/utils/type-guards/validator.js +1 -0
  1869. package/scripts/node_modules/json-schema-to-ts/package.json +89 -0
  1870. package/scripts/node_modules/standardwebhooks/README.md +41 -0
  1871. package/scripts/node_modules/standardwebhooks/dist/index.d.ts +24 -0
  1872. package/scripts/node_modules/standardwebhooks/dist/index.js +106 -0
  1873. package/scripts/node_modules/standardwebhooks/dist/index.js.map +1 -0
  1874. package/scripts/node_modules/standardwebhooks/dist/timing_safe_equal.d.ts +1 -0
  1875. package/scripts/node_modules/standardwebhooks/dist/timing_safe_equal.js +30 -0
  1876. package/scripts/node_modules/standardwebhooks/dist/timing_safe_equal.js.map +1 -0
  1877. package/scripts/node_modules/standardwebhooks/package.json +45 -0
  1878. package/scripts/node_modules/ts-algebra/.eslintignore +3 -0
  1879. package/scripts/node_modules/ts-algebra/.eslintrc.js +153 -0
  1880. package/scripts/node_modules/ts-algebra/.nvmrc +1 -0
  1881. package/scripts/node_modules/ts-algebra/.prettierignore +4 -0
  1882. package/scripts/node_modules/ts-algebra/.prettierrc +9 -0
  1883. package/scripts/node_modules/ts-algebra/LICENSE +21 -0
  1884. package/scripts/node_modules/ts-algebra/README.md +737 -0
  1885. package/scripts/node_modules/ts-algebra/lib/index.d.ts +2 -0
  1886. package/scripts/node_modules/ts-algebra/lib/index.js +4 -0
  1887. package/scripts/node_modules/ts-algebra/lib/meta-types/any.d.ts +15 -0
  1888. package/scripts/node_modules/ts-algebra/lib/meta-types/any.js +1 -0
  1889. package/scripts/node_modules/ts-algebra/lib/meta-types/array.d.ts +22 -0
  1890. package/scripts/node_modules/ts-algebra/lib/meta-types/array.js +1 -0
  1891. package/scripts/node_modules/ts-algebra/lib/meta-types/const.d.ts +19 -0
  1892. package/scripts/node_modules/ts-algebra/lib/meta-types/const.js +1 -0
  1893. package/scripts/node_modules/ts-algebra/lib/meta-types/enum.d.ts +19 -0
  1894. package/scripts/node_modules/ts-algebra/lib/meta-types/enum.js +1 -0
  1895. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/any.d.ts +12 -0
  1896. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/any.js +1 -0
  1897. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/array.d.ts +16 -0
  1898. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/array.js +1 -0
  1899. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/const.d.ts +27 -0
  1900. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/const.js +1 -0
  1901. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/enum.d.ts +20 -0
  1902. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/enum.js +1 -0
  1903. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/index.d.ts +20 -0
  1904. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/index.js +1 -0
  1905. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/object.d.ts +51 -0
  1906. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/object.js +1 -0
  1907. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/primitive.d.ts +12 -0
  1908. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/primitive.js +1 -0
  1909. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/tuple.d.ts +87 -0
  1910. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/tuple.js +1 -0
  1911. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/union.d.ts +8 -0
  1912. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/union.js +1 -0
  1913. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/utils.d.ts +31 -0
  1914. package/scripts/node_modules/ts-algebra/lib/meta-types/exclusion/utils.js +1 -0
  1915. package/scripts/node_modules/ts-algebra/lib/meta-types/index.d.ts +14 -0
  1916. package/scripts/node_modules/ts-algebra/lib/meta-types/index.js +1 -0
  1917. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/any.d.ts +19 -0
  1918. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/any.js +1 -0
  1919. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/array.d.ts +21 -0
  1920. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/array.js +1 -0
  1921. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/const.d.ts +33 -0
  1922. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/const.js +1 -0
  1923. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/enum.d.ts +23 -0
  1924. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/enum.js +1 -0
  1925. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/index.d.ts +20 -0
  1926. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/index.js +1 -0
  1927. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/object.d.ts +26 -0
  1928. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/object.js +1 -0
  1929. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/primitive.d.ts +17 -0
  1930. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/primitive.js +1 -0
  1931. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/tuple.d.ts +44 -0
  1932. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/tuple.js +1 -0
  1933. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/union.d.ts +13 -0
  1934. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/union.js +1 -0
  1935. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/utils.d.ts +5 -0
  1936. package/scripts/node_modules/ts-algebra/lib/meta-types/intersection/utils.js +1 -0
  1937. package/scripts/node_modules/ts-algebra/lib/meta-types/never.d.ts +6 -0
  1938. package/scripts/node_modules/ts-algebra/lib/meta-types/never.js +1 -0
  1939. package/scripts/node_modules/ts-algebra/lib/meta-types/object.d.ts +47 -0
  1940. package/scripts/node_modules/ts-algebra/lib/meta-types/object.js +1 -0
  1941. package/scripts/node_modules/ts-algebra/lib/meta-types/primitive.d.ts +20 -0
  1942. package/scripts/node_modules/ts-algebra/lib/meta-types/primitive.js +1 -0
  1943. package/scripts/node_modules/ts-algebra/lib/meta-types/resolve.d.ts +18 -0
  1944. package/scripts/node_modules/ts-algebra/lib/meta-types/resolve.js +1 -0
  1945. package/scripts/node_modules/ts-algebra/lib/meta-types/tuple.d.ts +39 -0
  1946. package/scripts/node_modules/ts-algebra/lib/meta-types/tuple.js +1 -0
  1947. package/scripts/node_modules/ts-algebra/lib/meta-types/type.d.ts +14 -0
  1948. package/scripts/node_modules/ts-algebra/lib/meta-types/type.js +1 -0
  1949. package/scripts/node_modules/ts-algebra/lib/meta-types/typeId.d.ts +10 -0
  1950. package/scripts/node_modules/ts-algebra/lib/meta-types/typeId.js +1 -0
  1951. package/scripts/node_modules/ts-algebra/lib/meta-types/union.d.ts +18 -0
  1952. package/scripts/node_modules/ts-algebra/lib/meta-types/union.js +1 -0
  1953. package/scripts/node_modules/ts-algebra/lib/meta-types/utils.d.ts +3 -0
  1954. package/scripts/node_modules/ts-algebra/lib/meta-types/utils.js +1 -0
  1955. package/scripts/node_modules/ts-algebra/lib/utils/and.d.ts +1 -0
  1956. package/scripts/node_modules/ts-algebra/lib/utils/and.js +1 -0
  1957. package/scripts/node_modules/ts-algebra/lib/utils/extends.d.ts +5 -0
  1958. package/scripts/node_modules/ts-algebra/lib/utils/extends.js +1 -0
  1959. package/scripts/node_modules/ts-algebra/lib/utils/if.d.ts +1 -0
  1960. package/scripts/node_modules/ts-algebra/lib/utils/if.js +1 -0
  1961. package/scripts/node_modules/ts-algebra/lib/utils/index.d.ts +12 -0
  1962. package/scripts/node_modules/ts-algebra/lib/utils/index.js +1 -0
  1963. package/scripts/node_modules/ts-algebra/lib/utils/intersectUnion.d.ts +1 -0
  1964. package/scripts/node_modules/ts-algebra/lib/utils/intersectUnion.js +1 -0
  1965. package/scripts/node_modules/ts-algebra/lib/utils/isNever.d.ts +1 -0
  1966. package/scripts/node_modules/ts-algebra/lib/utils/isNever.js +1 -0
  1967. package/scripts/node_modules/ts-algebra/lib/utils/merge.d.ts +7 -0
  1968. package/scripts/node_modules/ts-algebra/lib/utils/merge.js +1 -0
  1969. package/scripts/node_modules/ts-algebra/lib/utils/not.d.ts +1 -0
  1970. package/scripts/node_modules/ts-algebra/lib/utils/not.js +1 -0
  1971. package/scripts/node_modules/ts-algebra/lib/utils/or.d.ts +1 -0
  1972. package/scripts/node_modules/ts-algebra/lib/utils/or.js +1 -0
  1973. package/scripts/node_modules/ts-algebra/lib/utils/prettify.d.ts +4 -0
  1974. package/scripts/node_modules/ts-algebra/lib/utils/prettify.js +1 -0
  1975. package/scripts/node_modules/ts-algebra/lib/utils/tail.d.ts +1 -0
  1976. package/scripts/node_modules/ts-algebra/lib/utils/tail.js +1 -0
  1977. package/scripts/node_modules/ts-algebra/lib/utils/unionLast.d.ts +2 -0
  1978. package/scripts/node_modules/ts-algebra/lib/utils/unionLast.js +1 -0
  1979. package/scripts/node_modules/ts-algebra/lib/utils/unionPop.d.ts +2 -0
  1980. package/scripts/node_modules/ts-algebra/lib/utils/unionPop.js +1 -0
  1981. package/scripts/node_modules/ts-algebra/package.json +59 -0
  1982. package/scripts/notify.sh +75 -0
  1983. package/scripts/package.json +8 -0
  1984. package/scripts/reconcile-allow.txt +25 -0
  1985. package/scripts/subdomains-proof.sh +92 -0
  1986. package/scripts/tg-listen.sh +134 -0
  1987. package/scripts/w1-recon.ts +5 -138
  1988. package/scripts/w4-rubric.ts +52 -134
  1989. package/skills/ai-sdk/SKILL.md +78 -0
  1990. package/skills/ai-sdk/references/ai-gateway.md +66 -0
  1991. package/skills/ai-sdk/references/common-errors.md +443 -0
  1992. package/skills/ai-sdk/references/devtools.md +52 -0
  1993. package/skills/ai-sdk/references/type-safe-agents.md +204 -0
  1994. package/skills/ai-ui/SKILL.md +638 -0
  1995. package/skills/astro/SKILL.md +323 -0
  1996. package/skills/astro/add-content-collection.md +30 -0
  1997. package/skills/astro/check-build.md +29 -0
  1998. package/skills/astro/create-component.md +29 -0
  1999. package/skills/astro/create-page.md +30 -0
  2000. package/skills/astro/optimize-performance.md +21 -0
  2001. package/skills/cli/SKILL.md +318 -0
  2002. package/skills/cloudflare/SKILL.md +2 -4
  2003. package/skills/composio/SKILL.md +65 -0
  2004. package/skills/composio/rules/app-auth-configs.md +224 -0
  2005. package/skills/composio/rules/app-auth-popup-ui.md +144 -0
  2006. package/skills/composio/rules/app-connected-accounts.md +240 -0
  2007. package/skills/composio/rules/app-custom-tools.md +220 -0
  2008. package/skills/composio/rules/app-execute-tools.md +202 -0
  2009. package/skills/composio/rules/app-fetch-tools.md +292 -0
  2010. package/skills/composio/rules/app-modifiers.md +148 -0
  2011. package/skills/composio/rules/app-tool-versions.md +343 -0
  2012. package/skills/composio/rules/app-toolkits.md +184 -0
  2013. package/skills/composio/rules/app-user-context.md +222 -0
  2014. package/skills/composio/rules/building-with-composio.md +134 -0
  2015. package/skills/composio/rules/composio-cli.md +223 -0
  2016. package/skills/composio/rules/sequences/calendar.md +16 -0
  2017. package/skills/composio/rules/sequences/gmail.md +20 -0
  2018. package/skills/composio/rules/sequences/linkedin.md +17 -0
  2019. package/skills/composio/rules/sequences/quickbooks.md +16 -0
  2020. package/skills/composio/rules/sequences/stripe.md +22 -0
  2021. package/skills/composio/rules/setup-api-keys.md +230 -0
  2022. package/skills/composio/rules/tr-auth-auto.md +110 -0
  2023. package/skills/composio/rules/tr-auth-connections.md +167 -0
  2024. package/skills/composio/rules/tr-auth-manual.md +161 -0
  2025. package/skills/composio/rules/tr-building-chat-ui.md +348 -0
  2026. package/skills/composio/rules/tr-framework-ai-sdk.md +240 -0
  2027. package/skills/composio/rules/tr-framework-integration.md +818 -0
  2028. package/skills/composio/rules/tr-framework-mastra.md +185 -0
  2029. package/skills/composio/rules/tr-mcp-vs-native.md +248 -0
  2030. package/skills/composio/rules/tr-session-basic.md +82 -0
  2031. package/skills/composio/rules/tr-session-config.md +172 -0
  2032. package/skills/composio/rules/tr-session-lifecycle.md +385 -0
  2033. package/skills/composio/rules/tr-toolkit-query.md +135 -0
  2034. package/skills/composio/rules/tr-userid-best-practices.md +476 -0
  2035. package/skills/composio/rules/triggers-create.md +246 -0
  2036. package/skills/composio/rules/triggers-manage.md +275 -0
  2037. package/skills/composio/rules/triggers-subscribe.md +173 -0
  2038. package/skills/composio/rules/triggers-webhook.md +227 -0
  2039. package/skills/docs/SKILL.md +153 -0
  2040. package/skills/mcp/SKILL.md +242 -0
  2041. package/skills/oneie/SKILL.md +2 -2
  2042. package/skills/promise-make/SKILL.md +93 -0
  2043. package/skills/promise-settle/SKILL.md +101 -0
  2044. package/skills/puck/SKILL.md +568 -0
  2045. package/skills/rag-adversarial/SKILL.md +106 -0
  2046. package/skills/rag-canary/SKILL.md +113 -0
  2047. package/skills/rag-fanout/SKILL.md +240 -0
  2048. package/skills/rag-skill-discovery/SKILL.md +107 -0
  2049. package/skills/rag-synthesize/SKILL.md +113 -0
  2050. package/skills/rag-triangulate/SKILL.md +123 -0
  2051. package/skills/react19/SKILL.md +491 -0
  2052. package/skills/reactflow/SKILL.md +612 -0
  2053. package/skills/sdk/SKILL.md +197 -0
  2054. package/skills/shadcn/SKILL.md +472 -0
  2055. package/skills/signal/SKILL.md +13 -8
  2056. package/skills/sui/SKILL.md +1 -1
  2057. package/skills/typedb/SKILL.md +2368 -0
  2058. package/skills/typedb/examples/python-patterns.py +619 -0
  2059. package/skills/typedb/examples/query-patterns.tql +507 -0
  2060. package/skills/typedb/examples/schema-patterns.tql +539 -0
  2061. package/skills/typedb/reference/migration-2x-3x.md +443 -0
  2062. package/skills/typedb/reference/python-driver.md +728 -0
  2063. package/skills/typedb/reference/research-notes-2026-04.md +169 -0
  2064. package/skills/workflow/SKILL.md +51 -0
  2065. package/skills/writer/SKILL.md +343 -0
  2066. package/skills/writer/references/anti-patterns.md +163 -0
  2067. package/skills/writer/references/copy-frameworks.md +544 -0
  2068. package/skills/writer/references/structures.md +285 -0
  2069. package/skills/youtube-subs/SKILL.md +104 -0
  2070. package/skills/youtube-subs/scripts/fetch.sh +83 -0
  2071. package/skills/youtube-subs/scripts/vtt-to-text.py +130 -0
  2072. package/templates/template-agent.md +21 -0
  2073. package/templates/template-feature.md +160 -5
  2074. package/templates/template-plan.md +22 -5
  2075. package/templates/template-teach.md +88 -23
  2076. package/templates/template-tests.md +16 -14
  2077. package/templates/template-todo.md +139 -152
  2078. package/commands/claw.md +0 -135
@@ -0,0 +1,4881 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { AnthropicError } from '../../../error';
4
+ import { Anthropic } from '../../../client';
5
+ import * as BatchesAPI from './batches';
6
+ import { APIPromise } from '../../../core/api-promise';
7
+ import { APIResource } from '../../../core/resource';
8
+ import { Stream } from '../../../core/streaming';
9
+ import { MODEL_NONSTREAMING_TOKENS } from '../../../internal/constants';
10
+ import { buildHeaders } from '../../../internal/headers';
11
+ import { RequestOptions } from '../../../internal/request-options';
12
+ import { stainlessHelperHeader } from '../../../lib/stainless-helper-header';
13
+ import {
14
+ parseBetaMessage,
15
+ type ExtractParsedContentFromBetaParams,
16
+ type ParsedBetaMessage,
17
+ } from '../../../lib/beta-parser';
18
+ import { BetaMessageStream } from '../../../lib/BetaMessageStream';
19
+ import {
20
+ BetaToolRunner,
21
+ BetaToolRunnerParams,
22
+ BetaToolRunnerRequestOptions,
23
+ } from '../../../lib/tools/BetaToolRunner';
24
+ import { ToolError } from '../../../lib/tools/ToolError';
25
+ import type { Model } from '../../messages/messages';
26
+ import * as BetaMessagesAPI from './messages';
27
+ import * as MessagesAPI from '../../messages/messages';
28
+ import * as BetaAPI from '../beta';
29
+ import {
30
+ BatchCancelParams,
31
+ BatchCreateParams,
32
+ BatchDeleteParams,
33
+ BatchListParams,
34
+ BatchResultsParams,
35
+ BatchRetrieveParams,
36
+ Batches,
37
+ BetaDeletedMessageBatch,
38
+ BetaMessageBatch,
39
+ BetaMessageBatchCanceledResult,
40
+ BetaMessageBatchErroredResult,
41
+ BetaMessageBatchExpiredResult,
42
+ BetaMessageBatchIndividualResponse,
43
+ BetaMessageBatchRequestCounts,
44
+ BetaMessageBatchResult,
45
+ BetaMessageBatchSucceededResult,
46
+ BetaMessageBatchesPage,
47
+ } from './batches';
48
+
49
+ const DEPRECATED_MODELS: {
50
+ [K in Model]?: string;
51
+ } = {
52
+ 'claude-1.3': 'November 6th, 2024',
53
+ 'claude-1.3-100k': 'November 6th, 2024',
54
+ 'claude-instant-1.1': 'November 6th, 2024',
55
+ 'claude-instant-1.1-100k': 'November 6th, 2024',
56
+ 'claude-instant-1.2': 'November 6th, 2024',
57
+ 'claude-3-sonnet-20240229': 'July 21st, 2025',
58
+ 'claude-3-opus-20240229': 'January 5th, 2026',
59
+ 'claude-2.1': 'July 21st, 2025',
60
+ 'claude-2.0': 'July 21st, 2025',
61
+ 'claude-3-7-sonnet-latest': 'February 19th, 2026',
62
+ 'claude-3-7-sonnet-20250219': 'February 19th, 2026',
63
+ };
64
+
65
+ const MODELS_TO_WARN_WITH_THINKING_ENABLED: Model[] = ['claude-mythos-preview', 'claude-opus-4-6'];
66
+
67
+ export class Messages extends APIResource {
68
+ batches: BatchesAPI.Batches = new BatchesAPI.Batches(this._client);
69
+
70
+ /**
71
+ * Send a structured list of input messages with text and/or image content, and the
72
+ * model will generate the next message in the conversation.
73
+ *
74
+ * The Messages API can be used for either single queries or stateless multi-turn
75
+ * conversations.
76
+ *
77
+ * Learn more about the Messages API in our
78
+ * [user guide](https://docs.claude.com/en/docs/initial-setup)
79
+ *
80
+ * @example
81
+ * ```ts
82
+ * const betaMessage = await client.beta.messages.create({
83
+ * max_tokens: 1024,
84
+ * messages: [{ content: 'Hello, world', role: 'user' }],
85
+ * model: 'claude-opus-4-6',
86
+ * });
87
+ * ```
88
+ */
89
+ create(params: MessageCreateParamsNonStreaming, options?: RequestOptions): APIPromise<BetaMessage>;
90
+ create(
91
+ params: MessageCreateParamsStreaming,
92
+ options?: RequestOptions,
93
+ ): APIPromise<Stream<BetaRawMessageStreamEvent>>;
94
+ create(
95
+ params: MessageCreateParamsBase,
96
+ options?: RequestOptions,
97
+ ): APIPromise<Stream<BetaRawMessageStreamEvent> | BetaMessage>;
98
+ create(
99
+ params: MessageCreateParams,
100
+ options?: RequestOptions,
101
+ ): APIPromise<BetaMessage> | APIPromise<Stream<BetaRawMessageStreamEvent>> {
102
+ // Transform deprecated output_format to output_config.format
103
+ const modifiedParams = transformOutputFormat(params);
104
+
105
+ const { betas, ...body } = modifiedParams;
106
+
107
+ if (body.model in DEPRECATED_MODELS) {
108
+ console.warn(
109
+ `The model '${body.model}' is deprecated and will reach end-of-life on ${
110
+ DEPRECATED_MODELS[body.model]
111
+ }\nPlease migrate to a newer model. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.`,
112
+ );
113
+ }
114
+
115
+ if (
116
+ MODELS_TO_WARN_WITH_THINKING_ENABLED.includes(body.model) &&
117
+ body.thinking &&
118
+ body.thinking.type === 'enabled'
119
+ ) {
120
+ console.warn(
121
+ `Using Claude with ${body.model} and 'thinking.type=enabled' is deprecated. Use 'thinking.type=adaptive' instead which results in better model performance in our testing: https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking`,
122
+ );
123
+ }
124
+
125
+ let timeout = (this._client as any)._options.timeout as number | null;
126
+ if (!body.stream && timeout == null) {
127
+ const maxNonstreamingTokens = MODEL_NONSTREAMING_TOKENS[body.model] ?? undefined;
128
+ timeout = this._client.calculateNonstreamingTimeout(body.max_tokens, maxNonstreamingTokens);
129
+ }
130
+
131
+ // Collect helper info from tools and messages
132
+ const helperHeader = stainlessHelperHeader(body.tools, body.messages);
133
+
134
+ return this._client.post('/v1/messages?beta=true', {
135
+ body,
136
+ timeout: timeout ?? 600000,
137
+ ...options,
138
+ headers: buildHeaders([
139
+ { ...(betas?.toString() != null ? { 'anthropic-beta': betas?.toString() } : undefined) },
140
+ helperHeader,
141
+ options?.headers,
142
+ ]),
143
+ stream: modifiedParams.stream ?? false,
144
+ }) as APIPromise<BetaMessage> | APIPromise<Stream<BetaRawMessageStreamEvent>>;
145
+ }
146
+
147
+ /**
148
+ * Send a structured list of input messages with text and/or image content, along with an expected `output_format` and
149
+ * the response will be automatically parsed and available in the `parsed_output` property of the message.
150
+ *
151
+ * @example
152
+ * ```ts
153
+ * const message = await client.beta.messages.parse({
154
+ * model: 'claude-3-5-sonnet-20241022',
155
+ * max_tokens: 1024,
156
+ * messages: [{ role: 'user', content: 'What is 2+2?' }],
157
+ * output_format: zodOutputFormat(z.object({ answer: z.number() }), 'math'),
158
+ * });
159
+ *
160
+ * console.log(message.parsed_output?.answer); // 4
161
+ * ```
162
+ */
163
+ parse<Params extends MessageCreateParamsNonStreaming>(
164
+ params: Params,
165
+ options?: RequestOptions,
166
+ ): APIPromise<ParsedBetaMessage<ExtractParsedContentFromBetaParams<Params>>> {
167
+ options = {
168
+ ...options,
169
+ headers: buildHeaders([
170
+ { 'anthropic-beta': [...(params.betas ?? []), 'structured-outputs-2025-12-15'].toString() },
171
+ options?.headers,
172
+ ]),
173
+ };
174
+
175
+ return this.create(params, options).then((message) =>
176
+ parseBetaMessage(message, params, { logger: this._client.logger ?? console }),
177
+ ) as APIPromise<ParsedBetaMessage<ExtractParsedContentFromBetaParams<Params>>>;
178
+ }
179
+
180
+ /**
181
+ * Create a Message stream
182
+ */
183
+ stream<Params extends BetaMessageStreamParams>(
184
+ body: Params,
185
+ options?: RequestOptions,
186
+ ): BetaMessageStream<ExtractParsedContentFromBetaParams<Params>> {
187
+ return BetaMessageStream.createMessage(this, body, options);
188
+ }
189
+
190
+ /**
191
+ * Count the number of tokens in a Message.
192
+ *
193
+ * The Token Count API can be used to count the number of tokens in a Message,
194
+ * including tools, images, and documents, without creating it.
195
+ *
196
+ * Learn more about token counting in our
197
+ * [user guide](https://docs.claude.com/en/docs/build-with-claude/token-counting)
198
+ *
199
+ * @example
200
+ * ```ts
201
+ * const betaMessageTokensCount =
202
+ * await client.beta.messages.countTokens({
203
+ * messages: [{ content: 'Hello, world', role: 'user' }],
204
+ * model: 'claude-opus-4-6',
205
+ * });
206
+ * ```
207
+ */
208
+ countTokens(
209
+ params: MessageCountTokensParams,
210
+ options?: RequestOptions,
211
+ ): APIPromise<BetaMessageTokensCount> {
212
+ // Transform deprecated output_format to output_config.format
213
+ const modifiedParams = transformOutputFormat(params);
214
+
215
+ const { betas, ...body } = modifiedParams;
216
+ return this._client.post('/v1/messages/count_tokens?beta=true', {
217
+ body,
218
+ ...options,
219
+ headers: buildHeaders([
220
+ { 'anthropic-beta': [...(betas ?? []), 'token-counting-2024-11-01'].toString() },
221
+ options?.headers,
222
+ ]),
223
+ });
224
+ }
225
+
226
+ toolRunner(
227
+ body: BetaToolRunnerParams & { stream?: false },
228
+ options?: BetaToolRunnerRequestOptions,
229
+ ): BetaToolRunner<false>;
230
+ toolRunner(
231
+ body: BetaToolRunnerParams & { stream: true },
232
+ options?: BetaToolRunnerRequestOptions,
233
+ ): BetaToolRunner<true>;
234
+ toolRunner(body: BetaToolRunnerParams, options?: BetaToolRunnerRequestOptions): BetaToolRunner<boolean>;
235
+ toolRunner(body: BetaToolRunnerParams, options?: BetaToolRunnerRequestOptions): BetaToolRunner<boolean> {
236
+ return new BetaToolRunner(this._client as Anthropic, body, options);
237
+ }
238
+ }
239
+
240
+ /**
241
+ * Transform deprecated output_format to output_config.format
242
+ * Returns a modified copy of the params without mutating the original
243
+ */
244
+ function transformOutputFormat<T extends MessageCreateParams | MessageCountTokensParams>(params: T): T {
245
+ if (!params.output_format) {
246
+ return params;
247
+ }
248
+
249
+ if (params.output_config?.format) {
250
+ throw new AnthropicError(
251
+ 'Both output_format and output_config.format were provided. ' +
252
+ 'Please use only output_config.format (output_format is deprecated).',
253
+ );
254
+ }
255
+
256
+ const { output_format, ...rest } = params;
257
+
258
+ return {
259
+ ...rest,
260
+ output_config: {
261
+ ...params.output_config,
262
+ format: output_format,
263
+ },
264
+ } as T;
265
+ }
266
+
267
+ /**
268
+ * Token usage for an advisor sub-inference iteration.
269
+ */
270
+ export interface BetaAdvisorMessageIterationUsage {
271
+ /**
272
+ * Breakdown of cached tokens by TTL
273
+ */
274
+ cache_creation: BetaCacheCreation | null;
275
+
276
+ /**
277
+ * The number of input tokens used to create the cache entry.
278
+ */
279
+ cache_creation_input_tokens: number;
280
+
281
+ /**
282
+ * The number of input tokens read from the cache.
283
+ */
284
+ cache_read_input_tokens: number;
285
+
286
+ /**
287
+ * The number of input tokens which were used.
288
+ */
289
+ input_tokens: number;
290
+
291
+ /**
292
+ * The model that will complete your prompt.
293
+ *
294
+ * See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
295
+ * details and options.
296
+ */
297
+ model: MessagesAPI.Model;
298
+
299
+ /**
300
+ * The number of output tokens which were used.
301
+ */
302
+ output_tokens: number;
303
+
304
+ /**
305
+ * Usage for an advisor sub-inference iteration
306
+ */
307
+ type: 'advisor_message';
308
+ }
309
+
310
+ export interface BetaAdvisorRedactedResultBlock {
311
+ /**
312
+ * Opaque blob containing the advisor's output. Round-trip verbatim; do not inspect
313
+ * or modify.
314
+ */
315
+ encrypted_content: string;
316
+
317
+ /**
318
+ * The advisor sub-inference's stop reason (same values as the top-level message
319
+ * `stop_reason`).
320
+ */
321
+ stop_reason: string | null;
322
+
323
+ type: 'advisor_redacted_result';
324
+ }
325
+
326
+ export interface BetaAdvisorRedactedResultBlockParam {
327
+ /**
328
+ * Opaque blob produced by a prior response; must be round-tripped verbatim.
329
+ */
330
+ encrypted_content: string;
331
+
332
+ type: 'advisor_redacted_result';
333
+
334
+ stop_reason?: string | null;
335
+ }
336
+
337
+ export interface BetaAdvisorResultBlock {
338
+ /**
339
+ * The advisor sub-inference's stop reason (same values as the top-level message
340
+ * `stop_reason`). `max_tokens` indicates the advisor's output was truncated at the
341
+ * tool's `max_tokens` value or the advisor model's policy cap.
342
+ */
343
+ stop_reason: string | null;
344
+
345
+ text: string;
346
+
347
+ type: 'advisor_result';
348
+ }
349
+
350
+ export interface BetaAdvisorResultBlockParam {
351
+ text: string;
352
+
353
+ type: 'advisor_result';
354
+
355
+ stop_reason?: string | null;
356
+ }
357
+
358
+ export interface BetaAdvisorTool20260301 {
359
+ /**
360
+ * The model that will complete your prompt.
361
+ *
362
+ * See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
363
+ * details and options.
364
+ */
365
+ model: MessagesAPI.Model;
366
+
367
+ /**
368
+ * Name of the tool.
369
+ *
370
+ * This is how the tool will be called by the model and in `tool_use` blocks.
371
+ */
372
+ name: 'advisor';
373
+
374
+ type: 'advisor_20260301';
375
+
376
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
377
+
378
+ /**
379
+ * Create a cache control breakpoint at this content block.
380
+ */
381
+ cache_control?: BetaCacheControlEphemeral | null;
382
+
383
+ /**
384
+ * Caching for the advisor's own prompt. When set, each advisor call writes a cache
385
+ * entry at the given TTL so subsequent calls in the same conversation read the
386
+ * stable prefix. When omitted, the advisor prompt is not cached.
387
+ */
388
+ caching?: BetaCacheControlEphemeral | null;
389
+
390
+ /**
391
+ * If true, tool will not be included in initial system prompt. Only loaded when
392
+ * returned via tool_reference from tool search.
393
+ */
394
+ defer_loading?: boolean;
395
+
396
+ /**
397
+ * Maximum number of times the tool can be used in the API request.
398
+ */
399
+ max_uses?: number | null;
400
+
401
+ /**
402
+ * When true, guarantees schema validation on tool names and inputs
403
+ */
404
+ strict?: boolean;
405
+ }
406
+
407
+ export interface BetaAdvisorToolResultBlock {
408
+ content: BetaAdvisorToolResultError | BetaAdvisorResultBlock | BetaAdvisorRedactedResultBlock;
409
+
410
+ tool_use_id: string;
411
+
412
+ type: 'advisor_tool_result';
413
+ }
414
+
415
+ export interface BetaAdvisorToolResultBlockParam {
416
+ content:
417
+ | BetaAdvisorToolResultErrorParam
418
+ | BetaAdvisorResultBlockParam
419
+ | BetaAdvisorRedactedResultBlockParam;
420
+
421
+ tool_use_id: string;
422
+
423
+ type: 'advisor_tool_result';
424
+
425
+ /**
426
+ * Create a cache control breakpoint at this content block.
427
+ */
428
+ cache_control?: BetaCacheControlEphemeral | null;
429
+ }
430
+
431
+ export interface BetaAdvisorToolResultError {
432
+ error_code:
433
+ | 'max_uses_exceeded'
434
+ | 'prompt_too_long'
435
+ | 'too_many_requests'
436
+ | 'overloaded'
437
+ | 'unavailable'
438
+ | 'execution_time_exceeded';
439
+
440
+ type: 'advisor_tool_result_error';
441
+ }
442
+
443
+ export interface BetaAdvisorToolResultErrorParam {
444
+ error_code:
445
+ | 'max_uses_exceeded'
446
+ | 'prompt_too_long'
447
+ | 'too_many_requests'
448
+ | 'overloaded'
449
+ | 'unavailable'
450
+ | 'execution_time_exceeded';
451
+
452
+ type: 'advisor_tool_result_error';
453
+ }
454
+
455
+ export interface BetaAllThinkingTurns {
456
+ type: 'all';
457
+ }
458
+
459
+ export type BetaMessageStreamParams = MessageCreateParamsBase;
460
+
461
+ export interface BetaBase64ImageSource {
462
+ data: string;
463
+
464
+ media_type: 'image/jpeg' | 'image/png' | 'image/gif' | 'image/webp';
465
+
466
+ type: 'base64';
467
+ }
468
+
469
+ export interface BetaBase64PDFSource {
470
+ data: string;
471
+
472
+ media_type: 'application/pdf';
473
+
474
+ type: 'base64';
475
+ }
476
+
477
+ export interface BetaBashCodeExecutionOutputBlock {
478
+ file_id: string;
479
+
480
+ type: 'bash_code_execution_output';
481
+ }
482
+
483
+ export interface BetaBashCodeExecutionOutputBlockParam {
484
+ file_id: string;
485
+
486
+ type: 'bash_code_execution_output';
487
+ }
488
+
489
+ export interface BetaBashCodeExecutionResultBlock {
490
+ content: Array<BetaBashCodeExecutionOutputBlock>;
491
+
492
+ return_code: number;
493
+
494
+ stderr: string;
495
+
496
+ stdout: string;
497
+
498
+ type: 'bash_code_execution_result';
499
+ }
500
+
501
+ export interface BetaBashCodeExecutionResultBlockParam {
502
+ content: Array<BetaBashCodeExecutionOutputBlockParam>;
503
+
504
+ return_code: number;
505
+
506
+ stderr: string;
507
+
508
+ stdout: string;
509
+
510
+ type: 'bash_code_execution_result';
511
+ }
512
+
513
+ export interface BetaBashCodeExecutionToolResultBlock {
514
+ content: BetaBashCodeExecutionToolResultError | BetaBashCodeExecutionResultBlock;
515
+
516
+ tool_use_id: string;
517
+
518
+ type: 'bash_code_execution_tool_result';
519
+ }
520
+
521
+ export interface BetaBashCodeExecutionToolResultBlockParam {
522
+ content: BetaBashCodeExecutionToolResultErrorParam | BetaBashCodeExecutionResultBlockParam;
523
+
524
+ tool_use_id: string;
525
+
526
+ type: 'bash_code_execution_tool_result';
527
+
528
+ /**
529
+ * Create a cache control breakpoint at this content block.
530
+ */
531
+ cache_control?: BetaCacheControlEphemeral | null;
532
+ }
533
+
534
+ export interface BetaBashCodeExecutionToolResultError {
535
+ error_code:
536
+ | 'invalid_tool_input'
537
+ | 'unavailable'
538
+ | 'too_many_requests'
539
+ | 'execution_time_exceeded'
540
+ | 'output_file_too_large';
541
+
542
+ type: 'bash_code_execution_tool_result_error';
543
+ }
544
+
545
+ export interface BetaBashCodeExecutionToolResultErrorParam {
546
+ error_code:
547
+ | 'invalid_tool_input'
548
+ | 'unavailable'
549
+ | 'too_many_requests'
550
+ | 'execution_time_exceeded'
551
+ | 'output_file_too_large';
552
+
553
+ type: 'bash_code_execution_tool_result_error';
554
+ }
555
+
556
+ export interface BetaCacheControlEphemeral {
557
+ type: 'ephemeral';
558
+
559
+ /**
560
+ * The time-to-live for the cache control breakpoint.
561
+ *
562
+ * This may be one the following values:
563
+ *
564
+ * - `5m`: 5 minutes
565
+ * - `1h`: 1 hour
566
+ *
567
+ * Defaults to `5m`.
568
+ */
569
+ ttl?: '5m' | '1h';
570
+ }
571
+
572
+ export interface BetaCacheCreation {
573
+ /**
574
+ * The number of input tokens used to create the 1 hour cache entry.
575
+ */
576
+ ephemeral_1h_input_tokens: number;
577
+
578
+ /**
579
+ * The number of input tokens used to create the 5 minute cache entry.
580
+ */
581
+ ephemeral_5m_input_tokens: number;
582
+ }
583
+
584
+ export interface BetaCacheMissMessagesChanged {
585
+ /**
586
+ * Approximate number of input tokens that would have been read from cache had the
587
+ * prefix matched the previous request.
588
+ */
589
+ cache_missed_input_tokens: number;
590
+
591
+ type: 'messages_changed';
592
+ }
593
+
594
+ export interface BetaCacheMissModelChanged {
595
+ /**
596
+ * Approximate number of input tokens that would have been read from cache had the
597
+ * prefix matched the previous request.
598
+ */
599
+ cache_missed_input_tokens: number;
600
+
601
+ type: 'model_changed';
602
+ }
603
+
604
+ export interface BetaCacheMissPreviousMessageNotFound {
605
+ type: 'previous_message_not_found';
606
+ }
607
+
608
+ export interface BetaCacheMissSystemChanged {
609
+ /**
610
+ * Approximate number of input tokens that would have been read from cache had the
611
+ * prefix matched the previous request.
612
+ */
613
+ cache_missed_input_tokens: number;
614
+
615
+ type: 'system_changed';
616
+ }
617
+
618
+ export interface BetaCacheMissToolsChanged {
619
+ /**
620
+ * Approximate number of input tokens that would have been read from cache had the
621
+ * prefix matched the previous request.
622
+ */
623
+ cache_missed_input_tokens: number;
624
+
625
+ type: 'tools_changed';
626
+ }
627
+
628
+ export interface BetaCacheMissUnavailable {
629
+ type: 'unavailable';
630
+ }
631
+
632
+ export interface BetaCitationCharLocation {
633
+ cited_text: string;
634
+
635
+ document_index: number;
636
+
637
+ document_title: string | null;
638
+
639
+ end_char_index: number;
640
+
641
+ file_id: string | null;
642
+
643
+ start_char_index: number;
644
+
645
+ type: 'char_location';
646
+ }
647
+
648
+ export interface BetaCitationCharLocationParam {
649
+ cited_text: string;
650
+
651
+ document_index: number;
652
+
653
+ document_title: string | null;
654
+
655
+ end_char_index: number;
656
+
657
+ start_char_index: number;
658
+
659
+ type: 'char_location';
660
+ }
661
+
662
+ export interface BetaCitationConfig {
663
+ enabled: boolean;
664
+ }
665
+
666
+ export interface BetaCitationContentBlockLocation {
667
+ /**
668
+ * The full text of the cited block range, concatenated.
669
+ *
670
+ * Always equals the contents of `content[start_block_index:end_block_index]`
671
+ * joined together. The text block is the minimal citable unit; this field is never
672
+ * a substring of a single block. Not counted toward output tokens, and not counted
673
+ * toward input tokens when sent back in subsequent turns.
674
+ */
675
+ cited_text: string;
676
+
677
+ document_index: number;
678
+
679
+ document_title: string | null;
680
+
681
+ /**
682
+ * Exclusive 0-based end index of the cited block range in the source's `content`
683
+ * array.
684
+ *
685
+ * Always greater than `start_block_index`; a single-block citation has
686
+ * `end_block_index = start_block_index + 1`.
687
+ */
688
+ end_block_index: number;
689
+
690
+ file_id: string | null;
691
+
692
+ /**
693
+ * 0-based index of the first cited block in the source's `content` array.
694
+ */
695
+ start_block_index: number;
696
+
697
+ type: 'content_block_location';
698
+ }
699
+
700
+ export interface BetaCitationContentBlockLocationParam {
701
+ /**
702
+ * The full text of the cited block range, concatenated.
703
+ *
704
+ * Always equals the contents of `content[start_block_index:end_block_index]`
705
+ * joined together. The text block is the minimal citable unit; this field is never
706
+ * a substring of a single block. Not counted toward output tokens, and not counted
707
+ * toward input tokens when sent back in subsequent turns.
708
+ */
709
+ cited_text: string;
710
+
711
+ document_index: number;
712
+
713
+ document_title: string | null;
714
+
715
+ /**
716
+ * Exclusive 0-based end index of the cited block range in the source's `content`
717
+ * array.
718
+ *
719
+ * Always greater than `start_block_index`; a single-block citation has
720
+ * `end_block_index = start_block_index + 1`.
721
+ */
722
+ end_block_index: number;
723
+
724
+ /**
725
+ * 0-based index of the first cited block in the source's `content` array.
726
+ */
727
+ start_block_index: number;
728
+
729
+ type: 'content_block_location';
730
+ }
731
+
732
+ export interface BetaCitationPageLocation {
733
+ cited_text: string;
734
+
735
+ document_index: number;
736
+
737
+ document_title: string | null;
738
+
739
+ end_page_number: number;
740
+
741
+ file_id: string | null;
742
+
743
+ start_page_number: number;
744
+
745
+ type: 'page_location';
746
+ }
747
+
748
+ export interface BetaCitationPageLocationParam {
749
+ cited_text: string;
750
+
751
+ document_index: number;
752
+
753
+ document_title: string | null;
754
+
755
+ end_page_number: number;
756
+
757
+ start_page_number: number;
758
+
759
+ type: 'page_location';
760
+ }
761
+
762
+ export interface BetaCitationSearchResultLocation {
763
+ /**
764
+ * The full text of the cited block range, concatenated.
765
+ *
766
+ * Always equals the contents of `content[start_block_index:end_block_index]`
767
+ * joined together. The text block is the minimal citable unit; this field is never
768
+ * a substring of a single block. Not counted toward output tokens, and not counted
769
+ * toward input tokens when sent back in subsequent turns.
770
+ */
771
+ cited_text: string;
772
+
773
+ /**
774
+ * Exclusive 0-based end index of the cited block range in the source's `content`
775
+ * array.
776
+ *
777
+ * Always greater than `start_block_index`; a single-block citation has
778
+ * `end_block_index = start_block_index + 1`.
779
+ */
780
+ end_block_index: number;
781
+
782
+ /**
783
+ * 0-based index of the cited search result among all `search_result` content
784
+ * blocks in the request, in the order they appear across messages and tool
785
+ * results.
786
+ *
787
+ * Counted separately from `document_index`; server-side web search results are not
788
+ * included in this count.
789
+ */
790
+ search_result_index: number;
791
+
792
+ source: string;
793
+
794
+ /**
795
+ * 0-based index of the first cited block in the source's `content` array.
796
+ */
797
+ start_block_index: number;
798
+
799
+ title: string | null;
800
+
801
+ type: 'search_result_location';
802
+ }
803
+
804
+ export interface BetaCitationSearchResultLocationParam {
805
+ /**
806
+ * The full text of the cited block range, concatenated.
807
+ *
808
+ * Always equals the contents of `content[start_block_index:end_block_index]`
809
+ * joined together. The text block is the minimal citable unit; this field is never
810
+ * a substring of a single block. Not counted toward output tokens, and not counted
811
+ * toward input tokens when sent back in subsequent turns.
812
+ */
813
+ cited_text: string;
814
+
815
+ /**
816
+ * Exclusive 0-based end index of the cited block range in the source's `content`
817
+ * array.
818
+ *
819
+ * Always greater than `start_block_index`; a single-block citation has
820
+ * `end_block_index = start_block_index + 1`.
821
+ */
822
+ end_block_index: number;
823
+
824
+ /**
825
+ * 0-based index of the cited search result among all `search_result` content
826
+ * blocks in the request, in the order they appear across messages and tool
827
+ * results.
828
+ *
829
+ * Counted separately from `document_index`; server-side web search results are not
830
+ * included in this count.
831
+ */
832
+ search_result_index: number;
833
+
834
+ source: string;
835
+
836
+ /**
837
+ * 0-based index of the first cited block in the source's `content` array.
838
+ */
839
+ start_block_index: number;
840
+
841
+ title: string | null;
842
+
843
+ type: 'search_result_location';
844
+ }
845
+
846
+ export interface BetaCitationWebSearchResultLocationParam {
847
+ cited_text: string;
848
+
849
+ encrypted_index: string;
850
+
851
+ title: string | null;
852
+
853
+ type: 'web_search_result_location';
854
+
855
+ url: string;
856
+ }
857
+
858
+ export interface BetaCitationsConfigParam {
859
+ enabled?: boolean;
860
+ }
861
+
862
+ export interface BetaCitationsDelta {
863
+ citation:
864
+ | BetaCitationCharLocation
865
+ | BetaCitationPageLocation
866
+ | BetaCitationContentBlockLocation
867
+ | BetaCitationsWebSearchResultLocation
868
+ | BetaCitationSearchResultLocation;
869
+
870
+ type: 'citations_delta';
871
+ }
872
+
873
+ export interface BetaCitationsWebSearchResultLocation {
874
+ cited_text: string;
875
+
876
+ encrypted_index: string;
877
+
878
+ title: string | null;
879
+
880
+ type: 'web_search_result_location';
881
+
882
+ url: string;
883
+ }
884
+
885
+ export interface BetaClearThinking20251015Edit {
886
+ type: 'clear_thinking_20251015';
887
+
888
+ /**
889
+ * Number of most recent assistant turns to keep thinking blocks for. Older turns
890
+ * will have their thinking blocks removed.
891
+ */
892
+ keep?: BetaThinkingTurns | BetaAllThinkingTurns | 'all';
893
+ }
894
+
895
+ export interface BetaClearThinking20251015EditResponse {
896
+ /**
897
+ * Number of input tokens cleared by this edit.
898
+ */
899
+ cleared_input_tokens: number;
900
+
901
+ /**
902
+ * Number of thinking turns that were cleared.
903
+ */
904
+ cleared_thinking_turns: number;
905
+
906
+ /**
907
+ * The type of context management edit applied.
908
+ */
909
+ type: 'clear_thinking_20251015';
910
+ }
911
+
912
+ export interface BetaClearToolUses20250919Edit {
913
+ type: 'clear_tool_uses_20250919';
914
+
915
+ /**
916
+ * Minimum number of tokens that must be cleared when triggered. Context will only
917
+ * be modified if at least this many tokens can be removed.
918
+ */
919
+ clear_at_least?: BetaInputTokensClearAtLeast | null;
920
+
921
+ /**
922
+ * Whether to clear all tool inputs (bool) or specific tool inputs to clear (list)
923
+ */
924
+ clear_tool_inputs?: boolean | Array<string> | null;
925
+
926
+ /**
927
+ * Tool names whose uses are preserved from clearing
928
+ */
929
+ exclude_tools?: Array<string> | null;
930
+
931
+ /**
932
+ * Number of tool uses to retain in the conversation
933
+ */
934
+ keep?: BetaToolUsesKeep;
935
+
936
+ /**
937
+ * Condition that triggers the context management strategy
938
+ */
939
+ trigger?: BetaInputTokensTrigger | BetaToolUsesTrigger;
940
+ }
941
+
942
+ export interface BetaClearToolUses20250919EditResponse {
943
+ /**
944
+ * Number of input tokens cleared by this edit.
945
+ */
946
+ cleared_input_tokens: number;
947
+
948
+ /**
949
+ * Number of tool uses that were cleared.
950
+ */
951
+ cleared_tool_uses: number;
952
+
953
+ /**
954
+ * The type of context management edit applied.
955
+ */
956
+ type: 'clear_tool_uses_20250919';
957
+ }
958
+
959
+ export interface BetaCodeExecutionOutputBlock {
960
+ file_id: string;
961
+
962
+ type: 'code_execution_output';
963
+ }
964
+
965
+ export interface BetaCodeExecutionOutputBlockParam {
966
+ file_id: string;
967
+
968
+ type: 'code_execution_output';
969
+ }
970
+
971
+ export interface BetaCodeExecutionResultBlock {
972
+ content: Array<BetaCodeExecutionOutputBlock>;
973
+
974
+ return_code: number;
975
+
976
+ stderr: string;
977
+
978
+ stdout: string;
979
+
980
+ type: 'code_execution_result';
981
+ }
982
+
983
+ export interface BetaCodeExecutionResultBlockParam {
984
+ content: Array<BetaCodeExecutionOutputBlockParam>;
985
+
986
+ return_code: number;
987
+
988
+ stderr: string;
989
+
990
+ stdout: string;
991
+
992
+ type: 'code_execution_result';
993
+ }
994
+
995
+ export interface BetaCodeExecutionTool20250522 {
996
+ /**
997
+ * Name of the tool.
998
+ *
999
+ * This is how the tool will be called by the model and in `tool_use` blocks.
1000
+ */
1001
+ name: 'code_execution';
1002
+
1003
+ type: 'code_execution_20250522';
1004
+
1005
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
1006
+
1007
+ /**
1008
+ * Create a cache control breakpoint at this content block.
1009
+ */
1010
+ cache_control?: BetaCacheControlEphemeral | null;
1011
+
1012
+ /**
1013
+ * If true, tool will not be included in initial system prompt. Only loaded when
1014
+ * returned via tool_reference from tool search.
1015
+ */
1016
+ defer_loading?: boolean;
1017
+
1018
+ /**
1019
+ * When true, guarantees schema validation on tool names and inputs
1020
+ */
1021
+ strict?: boolean;
1022
+ }
1023
+
1024
+ export interface BetaCodeExecutionTool20250825 {
1025
+ /**
1026
+ * Name of the tool.
1027
+ *
1028
+ * This is how the tool will be called by the model and in `tool_use` blocks.
1029
+ */
1030
+ name: 'code_execution';
1031
+
1032
+ type: 'code_execution_20250825';
1033
+
1034
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
1035
+
1036
+ /**
1037
+ * Create a cache control breakpoint at this content block.
1038
+ */
1039
+ cache_control?: BetaCacheControlEphemeral | null;
1040
+
1041
+ /**
1042
+ * If true, tool will not be included in initial system prompt. Only loaded when
1043
+ * returned via tool_reference from tool search.
1044
+ */
1045
+ defer_loading?: boolean;
1046
+
1047
+ /**
1048
+ * When true, guarantees schema validation on tool names and inputs
1049
+ */
1050
+ strict?: boolean;
1051
+ }
1052
+
1053
+ /**
1054
+ * Code execution tool with REPL state persistence (daemon mode + gVisor
1055
+ * checkpoint).
1056
+ */
1057
+ export interface BetaCodeExecutionTool20260120 {
1058
+ /**
1059
+ * Name of the tool.
1060
+ *
1061
+ * This is how the tool will be called by the model and in `tool_use` blocks.
1062
+ */
1063
+ name: 'code_execution';
1064
+
1065
+ type: 'code_execution_20260120';
1066
+
1067
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
1068
+
1069
+ /**
1070
+ * Create a cache control breakpoint at this content block.
1071
+ */
1072
+ cache_control?: BetaCacheControlEphemeral | null;
1073
+
1074
+ /**
1075
+ * If true, tool will not be included in initial system prompt. Only loaded when
1076
+ * returned via tool_reference from tool search.
1077
+ */
1078
+ defer_loading?: boolean;
1079
+
1080
+ /**
1081
+ * When true, guarantees schema validation on tool names and inputs
1082
+ */
1083
+ strict?: boolean;
1084
+ }
1085
+
1086
+ export interface BetaCodeExecutionToolResultBlock {
1087
+ /**
1088
+ * Code execution result with encrypted stdout for PFC + web_search results.
1089
+ */
1090
+ content: BetaCodeExecutionToolResultBlockContent;
1091
+
1092
+ tool_use_id: string;
1093
+
1094
+ type: 'code_execution_tool_result';
1095
+ }
1096
+
1097
+ /**
1098
+ * Code execution result with encrypted stdout for PFC + web_search results.
1099
+ */
1100
+ export type BetaCodeExecutionToolResultBlockContent =
1101
+ | BetaCodeExecutionToolResultError
1102
+ | BetaCodeExecutionResultBlock
1103
+ | BetaEncryptedCodeExecutionResultBlock;
1104
+
1105
+ export interface BetaCodeExecutionToolResultBlockParam {
1106
+ /**
1107
+ * Code execution result with encrypted stdout for PFC + web_search results.
1108
+ */
1109
+ content: BetaCodeExecutionToolResultBlockParamContent;
1110
+
1111
+ tool_use_id: string;
1112
+
1113
+ type: 'code_execution_tool_result';
1114
+
1115
+ /**
1116
+ * Create a cache control breakpoint at this content block.
1117
+ */
1118
+ cache_control?: BetaCacheControlEphemeral | null;
1119
+ }
1120
+
1121
+ /**
1122
+ * Code execution result with encrypted stdout for PFC + web_search results.
1123
+ */
1124
+ export type BetaCodeExecutionToolResultBlockParamContent =
1125
+ | BetaCodeExecutionToolResultErrorParam
1126
+ | BetaCodeExecutionResultBlockParam
1127
+ | BetaEncryptedCodeExecutionResultBlockParam;
1128
+
1129
+ export interface BetaCodeExecutionToolResultError {
1130
+ error_code: BetaCodeExecutionToolResultErrorCode;
1131
+
1132
+ type: 'code_execution_tool_result_error';
1133
+ }
1134
+
1135
+ export type BetaCodeExecutionToolResultErrorCode =
1136
+ | 'invalid_tool_input'
1137
+ | 'unavailable'
1138
+ | 'too_many_requests'
1139
+ | 'execution_time_exceeded';
1140
+
1141
+ export interface BetaCodeExecutionToolResultErrorParam {
1142
+ error_code: BetaCodeExecutionToolResultErrorCode;
1143
+
1144
+ type: 'code_execution_tool_result_error';
1145
+ }
1146
+
1147
+ /**
1148
+ * Automatically compact older context when reaching the configured trigger
1149
+ * threshold.
1150
+ */
1151
+ export interface BetaCompact20260112Edit {
1152
+ type: 'compact_20260112';
1153
+
1154
+ /**
1155
+ * Additional instructions for summarization.
1156
+ */
1157
+ instructions?: string | null;
1158
+
1159
+ /**
1160
+ * Whether to pause after compaction and return the compaction block to the user.
1161
+ */
1162
+ pause_after_compaction?: boolean;
1163
+
1164
+ /**
1165
+ * When to trigger compaction. Defaults to 150000 input tokens.
1166
+ */
1167
+ trigger?: BetaInputTokensTrigger | null;
1168
+ }
1169
+
1170
+ /**
1171
+ * A compaction block returned when autocompact is triggered.
1172
+ *
1173
+ * When content is None, it indicates the compaction failed to produce a valid
1174
+ * summary (e.g., malformed output from the model). Clients may round-trip
1175
+ * compaction blocks with null content; the server treats them as no-ops.
1176
+ */
1177
+ export interface BetaCompactionBlock {
1178
+ /**
1179
+ * Summary of compacted content, or null if compaction failed
1180
+ */
1181
+ content: string | null;
1182
+
1183
+ /**
1184
+ * Opaque metadata from prior compaction, to be round-tripped verbatim
1185
+ */
1186
+ encrypted_content: string | null;
1187
+
1188
+ type: 'compaction';
1189
+ }
1190
+
1191
+ /**
1192
+ * A compaction block containing summary of previous context.
1193
+ *
1194
+ * Users should round-trip these blocks from responses to subsequent requests to
1195
+ * maintain context across compaction boundaries.
1196
+ *
1197
+ * When content is None, the block represents a failed compaction. The server
1198
+ * treats these as no-ops. Empty string content is not allowed.
1199
+ */
1200
+ export interface BetaCompactionBlockParam {
1201
+ type: 'compaction';
1202
+
1203
+ /**
1204
+ * Create a cache control breakpoint at this content block.
1205
+ */
1206
+ cache_control?: BetaCacheControlEphemeral | null;
1207
+
1208
+ /**
1209
+ * Summary of previously compacted content, or null if compaction failed
1210
+ */
1211
+ content?: string | null;
1212
+
1213
+ /**
1214
+ * Opaque metadata from prior compaction, to be round-tripped verbatim
1215
+ */
1216
+ encrypted_content?: string | null;
1217
+ }
1218
+
1219
+ export interface BetaCompactionContentBlockDelta {
1220
+ content: string | null;
1221
+
1222
+ /**
1223
+ * Opaque metadata from prior compaction, to be round-tripped verbatim
1224
+ */
1225
+ encrypted_content: string | null;
1226
+
1227
+ type: 'compaction_delta';
1228
+ }
1229
+
1230
+ /**
1231
+ * Token usage for a compaction iteration.
1232
+ */
1233
+ export interface BetaCompactionIterationUsage {
1234
+ /**
1235
+ * Breakdown of cached tokens by TTL
1236
+ */
1237
+ cache_creation: BetaCacheCreation | null;
1238
+
1239
+ /**
1240
+ * The number of input tokens used to create the cache entry.
1241
+ */
1242
+ cache_creation_input_tokens: number;
1243
+
1244
+ /**
1245
+ * The number of input tokens read from the cache.
1246
+ */
1247
+ cache_read_input_tokens: number;
1248
+
1249
+ /**
1250
+ * The number of input tokens which were used.
1251
+ */
1252
+ input_tokens: number;
1253
+
1254
+ /**
1255
+ * The number of output tokens which were used.
1256
+ */
1257
+ output_tokens: number;
1258
+
1259
+ /**
1260
+ * Usage for a compaction iteration
1261
+ */
1262
+ type: 'compaction';
1263
+ }
1264
+
1265
+ /**
1266
+ * Information about the container used in the request (for the code execution
1267
+ * tool)
1268
+ */
1269
+ export interface BetaContainer {
1270
+ /**
1271
+ * Identifier for the container used in this request
1272
+ */
1273
+ id: string;
1274
+
1275
+ /**
1276
+ * The time at which the container will expire.
1277
+ */
1278
+ expires_at: string;
1279
+
1280
+ /**
1281
+ * Skills loaded in the container
1282
+ */
1283
+ skills: Array<BetaSkill> | null;
1284
+ }
1285
+
1286
+ /**
1287
+ * Container parameters with skills to be loaded.
1288
+ */
1289
+ export interface BetaContainerParams {
1290
+ /**
1291
+ * Container id
1292
+ */
1293
+ id?: string | null;
1294
+
1295
+ /**
1296
+ * List of skills to load in the container
1297
+ */
1298
+ skills?: Array<BetaSkillParams> | null;
1299
+ }
1300
+
1301
+ /**
1302
+ * Response model for a file uploaded to the container.
1303
+ */
1304
+ export interface BetaContainerUploadBlock {
1305
+ file_id: string;
1306
+
1307
+ type: 'container_upload';
1308
+ }
1309
+
1310
+ /**
1311
+ * A content block that represents a file to be uploaded to the container Files
1312
+ * uploaded via this block will be available in the container's input directory.
1313
+ */
1314
+ export interface BetaContainerUploadBlockParam {
1315
+ file_id: string;
1316
+
1317
+ type: 'container_upload';
1318
+
1319
+ /**
1320
+ * Create a cache control breakpoint at this content block.
1321
+ */
1322
+ cache_control?: BetaCacheControlEphemeral | null;
1323
+ }
1324
+
1325
+ /**
1326
+ * Response model for a file uploaded to the container.
1327
+ */
1328
+ export type BetaContentBlock =
1329
+ | BetaTextBlock
1330
+ | BetaThinkingBlock
1331
+ | BetaRedactedThinkingBlock
1332
+ | BetaToolUseBlock
1333
+ | BetaServerToolUseBlock
1334
+ | BetaWebSearchToolResultBlock
1335
+ | BetaWebFetchToolResultBlock
1336
+ | BetaAdvisorToolResultBlock
1337
+ | BetaCodeExecutionToolResultBlock
1338
+ | BetaBashCodeExecutionToolResultBlock
1339
+ | BetaTextEditorCodeExecutionToolResultBlock
1340
+ | BetaToolSearchToolResultBlock
1341
+ | BetaMCPToolUseBlock
1342
+ | BetaMCPToolResultBlock
1343
+ | BetaContainerUploadBlock
1344
+ | BetaCompactionBlock;
1345
+
1346
+ /**
1347
+ * Regular text content.
1348
+ */
1349
+ export type BetaContentBlockParam =
1350
+ | BetaTextBlockParam
1351
+ | BetaImageBlockParam
1352
+ | BetaRequestDocumentBlock
1353
+ | BetaSearchResultBlockParam
1354
+ | BetaThinkingBlockParam
1355
+ | BetaRedactedThinkingBlockParam
1356
+ | BetaToolUseBlockParam
1357
+ | BetaToolResultBlockParam
1358
+ | BetaServerToolUseBlockParam
1359
+ | BetaWebSearchToolResultBlockParam
1360
+ | BetaWebFetchToolResultBlockParam
1361
+ | BetaAdvisorToolResultBlockParam
1362
+ | BetaCodeExecutionToolResultBlockParam
1363
+ | BetaBashCodeExecutionToolResultBlockParam
1364
+ | BetaTextEditorCodeExecutionToolResultBlockParam
1365
+ | BetaToolSearchToolResultBlockParam
1366
+ | BetaMCPToolUseBlockParam
1367
+ | BetaRequestMCPToolResultBlockParam
1368
+ | BetaContainerUploadBlockParam
1369
+ | BetaCompactionBlockParam
1370
+ | BetaMidConversationSystemBlockParam;
1371
+
1372
+ export interface BetaContentBlockSource {
1373
+ content: string | Array<BetaContentBlockSourceContent>;
1374
+
1375
+ type: 'content';
1376
+ }
1377
+
1378
+ export type BetaContentBlockSourceContent = BetaTextBlockParam | BetaImageBlockParam;
1379
+
1380
+ export interface BetaContextManagementConfig {
1381
+ /**
1382
+ * List of context management edits to apply
1383
+ */
1384
+ edits?: Array<BetaClearToolUses20250919Edit | BetaClearThinking20251015Edit | BetaCompact20260112Edit>;
1385
+ }
1386
+
1387
+ export interface BetaContextManagementResponse {
1388
+ /**
1389
+ * List of context management edits that were applied.
1390
+ */
1391
+ applied_edits: Array<BetaClearToolUses20250919EditResponse | BetaClearThinking20251015EditResponse>;
1392
+ }
1393
+
1394
+ export interface BetaCountTokensContextManagementResponse {
1395
+ /**
1396
+ * The original token count before context management was applied
1397
+ */
1398
+ original_input_tokens: number;
1399
+ }
1400
+
1401
+ /**
1402
+ * Response envelope for request-level diagnostics. Present (possibly null)
1403
+ * whenever the caller supplied `diagnostics` on the request.
1404
+ */
1405
+ export interface BetaDiagnostics {
1406
+ /**
1407
+ * Explains why the prompt cache could not fully reuse the prefix from the request
1408
+ * identified by `diagnostics.previous_message_id`. `null` means diagnosis is still
1409
+ * pending — the response was serialized before the background comparison
1410
+ * completed.
1411
+ */
1412
+ cache_miss_reason:
1413
+ | BetaCacheMissModelChanged
1414
+ | BetaCacheMissSystemChanged
1415
+ | BetaCacheMissToolsChanged
1416
+ | BetaCacheMissMessagesChanged
1417
+ | BetaCacheMissPreviousMessageNotFound
1418
+ | BetaCacheMissUnavailable
1419
+ | null;
1420
+ }
1421
+
1422
+ /**
1423
+ * Request-level diagnostics. Currently carries the previous response id for
1424
+ * prompt-cache divergence reporting.
1425
+ */
1426
+ export interface BetaDiagnosticsParam {
1427
+ /**
1428
+ * The `id` (`msg_...`) from this client's previous /v1/messages response. The
1429
+ * server compares that request's prompt fingerprint against this one and returns
1430
+ * `diagnostics.cache_miss_reason` when the prompt-cache prefix could not be
1431
+ * reused. Pass `null` on the first turn to opt in without a prior message to
1432
+ * compare.
1433
+ */
1434
+ previous_message_id?: string | null;
1435
+ }
1436
+
1437
+ /**
1438
+ * Tool invocation directly from the model.
1439
+ */
1440
+ export interface BetaDirectCaller {
1441
+ type: 'direct';
1442
+ }
1443
+
1444
+ export interface BetaDocumentBlock {
1445
+ /**
1446
+ * Citation configuration for the document
1447
+ */
1448
+ citations: BetaCitationConfig | null;
1449
+
1450
+ source: BetaBase64PDFSource | BetaPlainTextSource;
1451
+
1452
+ /**
1453
+ * The title of the document
1454
+ */
1455
+ title: string | null;
1456
+
1457
+ type: 'document';
1458
+ }
1459
+
1460
+ /**
1461
+ * Code execution result with encrypted stdout for PFC + web_search results.
1462
+ */
1463
+ export interface BetaEncryptedCodeExecutionResultBlock {
1464
+ content: Array<BetaCodeExecutionOutputBlock>;
1465
+
1466
+ encrypted_stdout: string;
1467
+
1468
+ return_code: number;
1469
+
1470
+ stderr: string;
1471
+
1472
+ type: 'encrypted_code_execution_result';
1473
+ }
1474
+
1475
+ /**
1476
+ * Code execution result with encrypted stdout for PFC + web_search results.
1477
+ */
1478
+ export interface BetaEncryptedCodeExecutionResultBlockParam {
1479
+ content: Array<BetaCodeExecutionOutputBlockParam>;
1480
+
1481
+ encrypted_stdout: string;
1482
+
1483
+ return_code: number;
1484
+
1485
+ stderr: string;
1486
+
1487
+ type: 'encrypted_code_execution_result';
1488
+ }
1489
+
1490
+ export interface BetaFileDocumentSource {
1491
+ file_id: string;
1492
+
1493
+ type: 'file';
1494
+ }
1495
+
1496
+ export interface BetaFileImageSource {
1497
+ file_id: string;
1498
+
1499
+ type: 'file';
1500
+ }
1501
+
1502
+ export interface BetaImageBlockParam {
1503
+ source: BetaBase64ImageSource | BetaURLImageSource | BetaFileImageSource;
1504
+
1505
+ type: 'image';
1506
+
1507
+ /**
1508
+ * Create a cache control breakpoint at this content block.
1509
+ */
1510
+ cache_control?: BetaCacheControlEphemeral | null;
1511
+ }
1512
+
1513
+ export interface BetaInputJSONDelta {
1514
+ partial_json: string;
1515
+
1516
+ type: 'input_json_delta';
1517
+ }
1518
+
1519
+ export interface BetaInputTokensClearAtLeast {
1520
+ type: 'input_tokens';
1521
+
1522
+ value: number;
1523
+ }
1524
+
1525
+ export interface BetaInputTokensTrigger {
1526
+ type: 'input_tokens';
1527
+
1528
+ value: number;
1529
+ }
1530
+
1531
+ /**
1532
+ * Per-iteration token usage breakdown.
1533
+ *
1534
+ * Each entry represents one sampling iteration, with its own input/output token
1535
+ * counts and cache statistics. This allows you to:
1536
+ *
1537
+ * - Determine which iterations exceeded long context thresholds (>=200k tokens)
1538
+ * - Calculate the true context window size from the last iteration
1539
+ * - Understand token accumulation across server-side tool use loops
1540
+ */
1541
+ export type BetaIterationsUsage = Array<
1542
+ BetaMessageIterationUsage | BetaCompactionIterationUsage | BetaAdvisorMessageIterationUsage
1543
+ >;
1544
+
1545
+ export interface BetaJSONOutputFormat {
1546
+ /**
1547
+ * The JSON schema of the format
1548
+ */
1549
+ schema: { [key: string]: unknown };
1550
+
1551
+ type: 'json_schema';
1552
+ }
1553
+
1554
+ /**
1555
+ * Configuration for a specific tool in an MCP toolset.
1556
+ */
1557
+ export interface BetaMCPToolConfig {
1558
+ defer_loading?: boolean;
1559
+
1560
+ enabled?: boolean;
1561
+ }
1562
+
1563
+ /**
1564
+ * Default configuration for tools in an MCP toolset.
1565
+ */
1566
+ export interface BetaMCPToolDefaultConfig {
1567
+ defer_loading?: boolean;
1568
+
1569
+ enabled?: boolean;
1570
+ }
1571
+
1572
+ export interface BetaMCPToolResultBlock {
1573
+ content: string | Array<BetaTextBlock>;
1574
+
1575
+ is_error: boolean;
1576
+
1577
+ tool_use_id: string;
1578
+
1579
+ type: 'mcp_tool_result';
1580
+ }
1581
+
1582
+ export interface BetaMCPToolUseBlock {
1583
+ id: string;
1584
+
1585
+ input: unknown;
1586
+
1587
+ /**
1588
+ * The name of the MCP tool
1589
+ */
1590
+ name: string;
1591
+
1592
+ /**
1593
+ * The name of the MCP server
1594
+ */
1595
+ server_name: string;
1596
+
1597
+ type: 'mcp_tool_use';
1598
+ }
1599
+
1600
+ export interface BetaMCPToolUseBlockParam {
1601
+ id: string;
1602
+
1603
+ input: unknown;
1604
+
1605
+ name: string;
1606
+
1607
+ /**
1608
+ * The name of the MCP server
1609
+ */
1610
+ server_name: string;
1611
+
1612
+ type: 'mcp_tool_use';
1613
+
1614
+ /**
1615
+ * Create a cache control breakpoint at this content block.
1616
+ */
1617
+ cache_control?: BetaCacheControlEphemeral | null;
1618
+ }
1619
+
1620
+ /**
1621
+ * Configuration for a group of tools from an MCP server.
1622
+ *
1623
+ * Allows configuring enabled status and defer_loading for all tools from an MCP
1624
+ * server, with optional per-tool overrides.
1625
+ */
1626
+ export interface BetaMCPToolset {
1627
+ /**
1628
+ * Name of the MCP server to configure tools for
1629
+ */
1630
+ mcp_server_name: string;
1631
+
1632
+ type: 'mcp_toolset';
1633
+
1634
+ /**
1635
+ * Create a cache control breakpoint at this content block.
1636
+ */
1637
+ cache_control?: BetaCacheControlEphemeral | null;
1638
+
1639
+ /**
1640
+ * Configuration overrides for specific tools, keyed by tool name
1641
+ */
1642
+ configs?: { [key: string]: BetaMCPToolConfig } | null;
1643
+
1644
+ /**
1645
+ * Default configuration applied to all tools from this server
1646
+ */
1647
+ default_config?: BetaMCPToolDefaultConfig;
1648
+ }
1649
+
1650
+ export interface BetaMemoryTool20250818 {
1651
+ /**
1652
+ * Name of the tool.
1653
+ *
1654
+ * This is how the tool will be called by the model and in `tool_use` blocks.
1655
+ */
1656
+ name: 'memory';
1657
+
1658
+ type: 'memory_20250818';
1659
+
1660
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
1661
+
1662
+ /**
1663
+ * Create a cache control breakpoint at this content block.
1664
+ */
1665
+ cache_control?: BetaCacheControlEphemeral | null;
1666
+
1667
+ /**
1668
+ * If true, tool will not be included in initial system prompt. Only loaded when
1669
+ * returned via tool_reference from tool search.
1670
+ */
1671
+ defer_loading?: boolean;
1672
+
1673
+ input_examples?: Array<{ [key: string]: unknown }>;
1674
+
1675
+ /**
1676
+ * When true, guarantees schema validation on tool names and inputs
1677
+ */
1678
+ strict?: boolean;
1679
+ }
1680
+
1681
+ export type BetaMemoryTool20250818Command =
1682
+ | BetaMemoryTool20250818ViewCommand
1683
+ | BetaMemoryTool20250818CreateCommand
1684
+ | BetaMemoryTool20250818StrReplaceCommand
1685
+ | BetaMemoryTool20250818InsertCommand
1686
+ | BetaMemoryTool20250818DeleteCommand
1687
+ | BetaMemoryTool20250818RenameCommand;
1688
+
1689
+ export interface BetaMemoryTool20250818CreateCommand {
1690
+ /**
1691
+ * Command type identifier
1692
+ */
1693
+ command: 'create';
1694
+
1695
+ /**
1696
+ * Content to write to the file
1697
+ */
1698
+ file_text: string;
1699
+
1700
+ /**
1701
+ * Path where the file should be created
1702
+ */
1703
+ path: string;
1704
+ }
1705
+
1706
+ export interface BetaMemoryTool20250818DeleteCommand {
1707
+ /**
1708
+ * Command type identifier
1709
+ */
1710
+ command: 'delete';
1711
+
1712
+ /**
1713
+ * Path to the file or directory to delete
1714
+ */
1715
+ path: string;
1716
+ }
1717
+
1718
+ export interface BetaMemoryTool20250818InsertCommand {
1719
+ /**
1720
+ * Command type identifier
1721
+ */
1722
+ command: 'insert';
1723
+
1724
+ /**
1725
+ * Line number where text should be inserted
1726
+ */
1727
+ insert_line: number;
1728
+
1729
+ /**
1730
+ * Text to insert at the specified line
1731
+ */
1732
+ insert_text: string;
1733
+
1734
+ /**
1735
+ * Path to the file where text should be inserted
1736
+ */
1737
+ path: string;
1738
+ }
1739
+
1740
+ export interface BetaMemoryTool20250818RenameCommand {
1741
+ /**
1742
+ * Command type identifier
1743
+ */
1744
+ command: 'rename';
1745
+
1746
+ /**
1747
+ * New path for the file or directory
1748
+ */
1749
+ new_path: string;
1750
+
1751
+ /**
1752
+ * Current path of the file or directory
1753
+ */
1754
+ old_path: string;
1755
+ }
1756
+
1757
+ export interface BetaMemoryTool20250818StrReplaceCommand {
1758
+ /**
1759
+ * Command type identifier
1760
+ */
1761
+ command: 'str_replace';
1762
+
1763
+ /**
1764
+ * Text to replace with
1765
+ */
1766
+ new_str: string;
1767
+
1768
+ /**
1769
+ * Text to search for and replace
1770
+ */
1771
+ old_str: string;
1772
+
1773
+ /**
1774
+ * Path to the file where text should be replaced
1775
+ */
1776
+ path: string;
1777
+ }
1778
+
1779
+ export interface BetaMemoryTool20250818ViewCommand {
1780
+ /**
1781
+ * Command type identifier
1782
+ */
1783
+ command: 'view';
1784
+
1785
+ /**
1786
+ * Path to directory or file to view
1787
+ */
1788
+ path: string;
1789
+
1790
+ /**
1791
+ * Optional line range for viewing specific lines
1792
+ */
1793
+ view_range?: Array<number>;
1794
+ }
1795
+
1796
+ export interface BetaMessage {
1797
+ /**
1798
+ * Unique object identifier.
1799
+ *
1800
+ * The format and length of IDs may change over time.
1801
+ */
1802
+ id: string;
1803
+
1804
+ /**
1805
+ * Information about the container used in the request (for the code execution
1806
+ * tool)
1807
+ */
1808
+ container: BetaContainer | null;
1809
+
1810
+ /**
1811
+ * Content generated by the model.
1812
+ *
1813
+ * This is an array of content blocks, each of which has a `type` that determines
1814
+ * its shape.
1815
+ *
1816
+ * Example:
1817
+ *
1818
+ * ```json
1819
+ * [{ "type": "text", "text": "Hi, I'm Claude." }]
1820
+ * ```
1821
+ *
1822
+ * If the request input `messages` ended with an `assistant` turn, then the
1823
+ * response `content` will continue directly from that last turn. You can use this
1824
+ * to constrain the model's output.
1825
+ *
1826
+ * For example, if the input `messages` were:
1827
+ *
1828
+ * ```json
1829
+ * [
1830
+ * {
1831
+ * "role": "user",
1832
+ * "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
1833
+ * },
1834
+ * { "role": "assistant", "content": "The best answer is (" }
1835
+ * ]
1836
+ * ```
1837
+ *
1838
+ * Then the response `content` might be:
1839
+ *
1840
+ * ```json
1841
+ * [{ "type": "text", "text": "B)" }]
1842
+ * ```
1843
+ */
1844
+ content: Array<BetaContentBlock>;
1845
+
1846
+ /**
1847
+ * Context management response.
1848
+ *
1849
+ * Information about context management strategies applied during the request.
1850
+ */
1851
+ context_management: BetaContextManagementResponse | null;
1852
+
1853
+ /**
1854
+ * Response envelope for request-level diagnostics. Present (possibly null)
1855
+ * whenever the caller supplied `diagnostics` on the request.
1856
+ */
1857
+ diagnostics: BetaDiagnostics | null;
1858
+
1859
+ /**
1860
+ * The model that will complete your prompt.
1861
+ *
1862
+ * See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
1863
+ * details and options.
1864
+ */
1865
+ model: MessagesAPI.Model;
1866
+
1867
+ /**
1868
+ * Conversational role of the generated message.
1869
+ *
1870
+ * This will always be `"assistant"`.
1871
+ */
1872
+ role: 'assistant';
1873
+
1874
+ /**
1875
+ * Structured information about a refusal.
1876
+ */
1877
+ stop_details: BetaRefusalStopDetails | null;
1878
+
1879
+ /**
1880
+ * The reason that we stopped.
1881
+ *
1882
+ * This may be one the following values:
1883
+ *
1884
+ * - `"end_turn"`: the model reached a natural stopping point
1885
+ * - `"max_tokens"`: we exceeded the requested `max_tokens` or the model's maximum
1886
+ * - `"stop_sequence"`: one of your provided custom `stop_sequences` was generated
1887
+ * - `"tool_use"`: the model invoked one or more tools
1888
+ * - `"pause_turn"`: we paused a long-running turn. You may provide the response
1889
+ * back as-is in a subsequent request to let the model continue.
1890
+ * - `"refusal"`: when streaming classifiers intervene to handle potential policy
1891
+ * violations
1892
+ *
1893
+ * In non-streaming mode this value is always non-null. In streaming mode, it is
1894
+ * null in the `message_start` event and non-null otherwise.
1895
+ */
1896
+ stop_reason: BetaStopReason | null;
1897
+
1898
+ /**
1899
+ * Which custom stop sequence was generated, if any.
1900
+ *
1901
+ * This value will be a non-null string if one of your custom stop sequences was
1902
+ * generated.
1903
+ */
1904
+ stop_sequence: string | null;
1905
+
1906
+ /**
1907
+ * Object type.
1908
+ *
1909
+ * For Messages, this is always `"message"`.
1910
+ */
1911
+ type: 'message';
1912
+
1913
+ /**
1914
+ * Billing and rate-limit usage.
1915
+ *
1916
+ * Anthropic's API bills and rate-limits by token counts, as tokens represent the
1917
+ * underlying cost to our systems.
1918
+ *
1919
+ * Under the hood, the API transforms requests into a format suitable for the
1920
+ * model. The model's output then goes through a parsing stage before becoming an
1921
+ * API response. As a result, the token counts in `usage` will not match one-to-one
1922
+ * with the exact visible content of an API request or response.
1923
+ *
1924
+ * For example, `output_tokens` will be non-zero, even for an empty string response
1925
+ * from Claude.
1926
+ *
1927
+ * Total input tokens in a request is the summation of `input_tokens`,
1928
+ * `cache_creation_input_tokens`, and `cache_read_input_tokens`.
1929
+ */
1930
+ usage: BetaUsage;
1931
+ }
1932
+
1933
+ export interface BetaMessageDeltaUsage {
1934
+ /**
1935
+ * The cumulative number of input tokens used to create the cache entry.
1936
+ */
1937
+ cache_creation_input_tokens: number | null;
1938
+
1939
+ /**
1940
+ * The cumulative number of input tokens read from the cache.
1941
+ */
1942
+ cache_read_input_tokens: number | null;
1943
+
1944
+ /**
1945
+ * The cumulative number of input tokens which were used.
1946
+ */
1947
+ input_tokens: number | null;
1948
+
1949
+ /**
1950
+ * Per-iteration token usage breakdown.
1951
+ *
1952
+ * Each entry represents one sampling iteration, with its own input/output token
1953
+ * counts and cache statistics. This allows you to:
1954
+ *
1955
+ * - Determine which iterations exceeded long context thresholds (>=200k tokens)
1956
+ * - Calculate the true context window size from the last iteration
1957
+ * - Understand token accumulation across server-side tool use loops
1958
+ */
1959
+ iterations: BetaIterationsUsage | null;
1960
+
1961
+ /**
1962
+ * The cumulative number of output tokens which were used.
1963
+ */
1964
+ output_tokens: number;
1965
+
1966
+ /**
1967
+ * Breakdown of output tokens by category.
1968
+ *
1969
+ * `output_tokens` remains the inclusive, authoritative total used for billing.
1970
+ * This object provides a read-only decomposition for observability — for example,
1971
+ * how many of the billed output tokens were spent on internal reasoning that may
1972
+ * have been summarized before being returned to you.
1973
+ */
1974
+ output_tokens_details: BetaOutputTokensDetails | null;
1975
+
1976
+ /**
1977
+ * The number of server tool requests.
1978
+ */
1979
+ server_tool_use: BetaServerToolUsage | null;
1980
+ }
1981
+
1982
+ /**
1983
+ * Token usage for a sampling iteration.
1984
+ */
1985
+ export interface BetaMessageIterationUsage {
1986
+ /**
1987
+ * Breakdown of cached tokens by TTL
1988
+ */
1989
+ cache_creation: BetaCacheCreation | null;
1990
+
1991
+ /**
1992
+ * The number of input tokens used to create the cache entry.
1993
+ */
1994
+ cache_creation_input_tokens: number;
1995
+
1996
+ /**
1997
+ * The number of input tokens read from the cache.
1998
+ */
1999
+ cache_read_input_tokens: number;
2000
+
2001
+ /**
2002
+ * The number of input tokens which were used.
2003
+ */
2004
+ input_tokens: number;
2005
+
2006
+ /**
2007
+ * The number of output tokens which were used.
2008
+ */
2009
+ output_tokens: number;
2010
+
2011
+ /**
2012
+ * Usage for a sampling iteration
2013
+ */
2014
+ type: 'message';
2015
+ }
2016
+
2017
+ export interface BetaMessageParam {
2018
+ content: string | Array<BetaContentBlockParam>;
2019
+
2020
+ role: 'user' | 'assistant' | 'system';
2021
+ }
2022
+
2023
+ export interface BetaMessageTokensCount {
2024
+ /**
2025
+ * Information about context management applied to the message.
2026
+ */
2027
+ context_management: BetaCountTokensContextManagementResponse | null;
2028
+
2029
+ /**
2030
+ * The total number of tokens across the provided list of messages, system prompt,
2031
+ * and tools.
2032
+ */
2033
+ input_tokens: number;
2034
+ }
2035
+
2036
+ export interface BetaMetadata {
2037
+ /**
2038
+ * An external identifier for the user who is associated with the request.
2039
+ *
2040
+ * This should be a uuid, hash value, or other opaque identifier. Anthropic may use
2041
+ * this id to help detect abuse. Do not include any identifying information such as
2042
+ * name, email address, or phone number.
2043
+ */
2044
+ user_id?: string | null;
2045
+ }
2046
+
2047
+ /**
2048
+ * System instructions that appear mid-conversation.
2049
+ *
2050
+ * Use this block to provide or update system-level instructions at a specific
2051
+ * point in the conversation, rather than only via the top-level `system`
2052
+ * parameter.
2053
+ */
2054
+ export interface BetaMidConversationSystemBlockParam {
2055
+ /**
2056
+ * System instruction text blocks.
2057
+ */
2058
+ content: Array<BetaTextBlockParam>;
2059
+
2060
+ type: 'mid_conv_system';
2061
+
2062
+ /**
2063
+ * Create a cache control breakpoint at this content block.
2064
+ */
2065
+ cache_control?: BetaCacheControlEphemeral | null;
2066
+ }
2067
+
2068
+ export interface BetaOutputConfig {
2069
+ /**
2070
+ * All possible effort levels.
2071
+ */
2072
+ effort?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | null;
2073
+
2074
+ /**
2075
+ * A schema to specify Claude's output format in responses. See
2076
+ * [structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs)
2077
+ */
2078
+ format?: BetaJSONOutputFormat | null;
2079
+
2080
+ /**
2081
+ * User-configurable total token budget across contexts.
2082
+ */
2083
+ task_budget?: BetaTokenTaskBudget | null;
2084
+ }
2085
+
2086
+ export interface BetaOutputTokensDetails {
2087
+ /**
2088
+ * Number of output tokens the model generated as internal reasoning, including the
2089
+ * thinking-block delimiter tokens.
2090
+ *
2091
+ * Reflects the raw reasoning the model produced, not the (possibly shorter)
2092
+ * summarized thinking text returned in the response body. Computed by
2093
+ * re-tokenizing the raw reasoning text, so it may differ from the model's exact
2094
+ * generation count by a small number of tokens. Always ≤ `output_tokens`;
2095
+ * `output_tokens - thinking_tokens` approximates the non-reasoning output.
2096
+ */
2097
+ thinking_tokens: number;
2098
+ }
2099
+
2100
+ export interface BetaPlainTextSource {
2101
+ data: string;
2102
+
2103
+ media_type: 'text/plain';
2104
+
2105
+ type: 'text';
2106
+ }
2107
+
2108
+ export type BetaRawContentBlockDelta =
2109
+ | BetaTextDelta
2110
+ | BetaInputJSONDelta
2111
+ | BetaCitationsDelta
2112
+ | BetaThinkingDelta
2113
+ | BetaSignatureDelta
2114
+ | BetaCompactionContentBlockDelta;
2115
+
2116
+ export interface BetaRawContentBlockDeltaEvent {
2117
+ delta: BetaRawContentBlockDelta;
2118
+
2119
+ index: number;
2120
+
2121
+ type: 'content_block_delta';
2122
+ }
2123
+
2124
+ export interface BetaRawContentBlockStartEvent {
2125
+ /**
2126
+ * Response model for a file uploaded to the container.
2127
+ */
2128
+ content_block:
2129
+ | BetaTextBlock
2130
+ | BetaThinkingBlock
2131
+ | BetaRedactedThinkingBlock
2132
+ | BetaToolUseBlock
2133
+ | BetaServerToolUseBlock
2134
+ | BetaWebSearchToolResultBlock
2135
+ | BetaWebFetchToolResultBlock
2136
+ | BetaAdvisorToolResultBlock
2137
+ | BetaCodeExecutionToolResultBlock
2138
+ | BetaBashCodeExecutionToolResultBlock
2139
+ | BetaTextEditorCodeExecutionToolResultBlock
2140
+ | BetaToolSearchToolResultBlock
2141
+ | BetaMCPToolUseBlock
2142
+ | BetaMCPToolResultBlock
2143
+ | BetaContainerUploadBlock
2144
+ | BetaCompactionBlock;
2145
+
2146
+ index: number;
2147
+
2148
+ type: 'content_block_start';
2149
+ }
2150
+
2151
+ export interface BetaRawContentBlockStopEvent {
2152
+ index: number;
2153
+
2154
+ type: 'content_block_stop';
2155
+ }
2156
+
2157
+ export interface BetaRawMessageDeltaEvent {
2158
+ /**
2159
+ * Information about context management strategies applied during the request
2160
+ */
2161
+ context_management: BetaContextManagementResponse | null;
2162
+
2163
+ delta: BetaRawMessageDeltaEvent.Delta;
2164
+
2165
+ type: 'message_delta';
2166
+
2167
+ /**
2168
+ * Billing and rate-limit usage.
2169
+ *
2170
+ * Anthropic's API bills and rate-limits by token counts, as tokens represent the
2171
+ * underlying cost to our systems.
2172
+ *
2173
+ * Under the hood, the API transforms requests into a format suitable for the
2174
+ * model. The model's output then goes through a parsing stage before becoming an
2175
+ * API response. As a result, the token counts in `usage` will not match one-to-one
2176
+ * with the exact visible content of an API request or response.
2177
+ *
2178
+ * For example, `output_tokens` will be non-zero, even for an empty string response
2179
+ * from Claude.
2180
+ *
2181
+ * Total input tokens in a request is the summation of `input_tokens`,
2182
+ * `cache_creation_input_tokens`, and `cache_read_input_tokens`.
2183
+ */
2184
+ usage: BetaMessageDeltaUsage;
2185
+ }
2186
+
2187
+ export namespace BetaRawMessageDeltaEvent {
2188
+ export interface Delta {
2189
+ /**
2190
+ * Information about the container used in the request (for the code execution
2191
+ * tool)
2192
+ */
2193
+ container: BetaMessagesAPI.BetaContainer | null;
2194
+
2195
+ /**
2196
+ * Structured information about a refusal.
2197
+ */
2198
+ stop_details: BetaMessagesAPI.BetaRefusalStopDetails | null;
2199
+
2200
+ stop_reason: BetaMessagesAPI.BetaStopReason | null;
2201
+
2202
+ stop_sequence: string | null;
2203
+ }
2204
+ }
2205
+
2206
+ export interface BetaRawMessageStartEvent {
2207
+ message: BetaMessage;
2208
+
2209
+ type: 'message_start';
2210
+ }
2211
+
2212
+ export interface BetaRawMessageStopEvent {
2213
+ type: 'message_stop';
2214
+ }
2215
+
2216
+ export type BetaRawMessageStreamEvent =
2217
+ | BetaRawMessageStartEvent
2218
+ | BetaRawMessageDeltaEvent
2219
+ | BetaRawMessageStopEvent
2220
+ | BetaRawContentBlockStartEvent
2221
+ | BetaRawContentBlockDeltaEvent
2222
+ | BetaRawContentBlockStopEvent;
2223
+
2224
+ export interface BetaRedactedThinkingBlock {
2225
+ data: string;
2226
+
2227
+ type: 'redacted_thinking';
2228
+ }
2229
+
2230
+ export interface BetaRedactedThinkingBlockParam {
2231
+ data: string;
2232
+
2233
+ type: 'redacted_thinking';
2234
+ }
2235
+
2236
+ /**
2237
+ * Structured information about a refusal.
2238
+ */
2239
+ export interface BetaRefusalStopDetails {
2240
+ /**
2241
+ * The policy category that triggered the refusal.
2242
+ *
2243
+ * `null` when the refusal doesn't map to a named category.
2244
+ */
2245
+ category: 'cyber' | 'bio' | null;
2246
+
2247
+ /**
2248
+ * Human-readable explanation of the refusal.
2249
+ *
2250
+ * This text is not guaranteed to be stable. `null` when no explanation is
2251
+ * available for the category.
2252
+ */
2253
+ explanation: string | null;
2254
+
2255
+ type: 'refusal';
2256
+ }
2257
+
2258
+ export interface BetaRequestDocumentBlock {
2259
+ source:
2260
+ | BetaBase64PDFSource
2261
+ | BetaPlainTextSource
2262
+ | BetaContentBlockSource
2263
+ | BetaURLPDFSource
2264
+ | BetaFileDocumentSource;
2265
+
2266
+ type: 'document';
2267
+
2268
+ /**
2269
+ * Create a cache control breakpoint at this content block.
2270
+ */
2271
+ cache_control?: BetaCacheControlEphemeral | null;
2272
+
2273
+ citations?: BetaCitationsConfigParam | null;
2274
+
2275
+ context?: string | null;
2276
+
2277
+ title?: string | null;
2278
+ }
2279
+
2280
+ export interface BetaRequestMCPServerToolConfiguration {
2281
+ allowed_tools?: Array<string> | null;
2282
+
2283
+ enabled?: boolean | null;
2284
+ }
2285
+
2286
+ export interface BetaRequestMCPServerURLDefinition {
2287
+ name: string;
2288
+
2289
+ type: 'url';
2290
+
2291
+ url: string;
2292
+
2293
+ authorization_token?: string | null;
2294
+
2295
+ tool_configuration?: BetaRequestMCPServerToolConfiguration | null;
2296
+ }
2297
+
2298
+ export interface BetaRequestMCPToolResultBlockParam {
2299
+ tool_use_id: string;
2300
+
2301
+ type: 'mcp_tool_result';
2302
+
2303
+ /**
2304
+ * Create a cache control breakpoint at this content block.
2305
+ */
2306
+ cache_control?: BetaCacheControlEphemeral | null;
2307
+
2308
+ content?: string | Array<BetaTextBlockParam>;
2309
+
2310
+ is_error?: boolean;
2311
+ }
2312
+
2313
+ export interface BetaSearchResultBlockParam {
2314
+ content: Array<BetaTextBlockParam>;
2315
+
2316
+ source: string;
2317
+
2318
+ title: string;
2319
+
2320
+ type: 'search_result';
2321
+
2322
+ /**
2323
+ * Create a cache control breakpoint at this content block.
2324
+ */
2325
+ cache_control?: BetaCacheControlEphemeral | null;
2326
+
2327
+ citations?: BetaCitationsConfigParam;
2328
+ }
2329
+
2330
+ /**
2331
+ * Tool invocation generated by a server-side tool.
2332
+ */
2333
+ export interface BetaServerToolCaller {
2334
+ tool_id: string;
2335
+
2336
+ type: 'code_execution_20250825';
2337
+ }
2338
+
2339
+ export interface BetaServerToolCaller20260120 {
2340
+ tool_id: string;
2341
+
2342
+ type: 'code_execution_20260120';
2343
+ }
2344
+
2345
+ export interface BetaServerToolUsage {
2346
+ /**
2347
+ * The number of web fetch tool requests.
2348
+ */
2349
+ web_fetch_requests: number;
2350
+
2351
+ /**
2352
+ * The number of web search tool requests.
2353
+ */
2354
+ web_search_requests: number;
2355
+ }
2356
+
2357
+ export interface BetaServerToolUseBlock {
2358
+ id: string;
2359
+
2360
+ input: { [key: string]: unknown };
2361
+
2362
+ name:
2363
+ | 'advisor'
2364
+ | 'web_search'
2365
+ | 'web_fetch'
2366
+ | 'code_execution'
2367
+ | 'bash_code_execution'
2368
+ | 'text_editor_code_execution'
2369
+ | 'tool_search_tool_regex'
2370
+ | 'tool_search_tool_bm25';
2371
+
2372
+ type: 'server_tool_use';
2373
+
2374
+ /**
2375
+ * Tool invocation directly from the model.
2376
+ */
2377
+ caller?: BetaDirectCaller | BetaServerToolCaller | BetaServerToolCaller20260120;
2378
+ }
2379
+
2380
+ export interface BetaServerToolUseBlockParam {
2381
+ id: string;
2382
+
2383
+ input: unknown;
2384
+
2385
+ name:
2386
+ | 'advisor'
2387
+ | 'web_search'
2388
+ | 'web_fetch'
2389
+ | 'code_execution'
2390
+ | 'bash_code_execution'
2391
+ | 'text_editor_code_execution'
2392
+ | 'tool_search_tool_regex'
2393
+ | 'tool_search_tool_bm25';
2394
+
2395
+ type: 'server_tool_use';
2396
+
2397
+ /**
2398
+ * Create a cache control breakpoint at this content block.
2399
+ */
2400
+ cache_control?: BetaCacheControlEphemeral | null;
2401
+
2402
+ /**
2403
+ * Tool invocation directly from the model.
2404
+ */
2405
+ caller?: BetaDirectCaller | BetaServerToolCaller | BetaServerToolCaller20260120;
2406
+ }
2407
+
2408
+ export interface BetaSignatureDelta {
2409
+ signature: string;
2410
+
2411
+ type: 'signature_delta';
2412
+ }
2413
+
2414
+ /**
2415
+ * A skill that was loaded in a container (response model).
2416
+ */
2417
+ export interface BetaSkill {
2418
+ /**
2419
+ * Skill ID
2420
+ */
2421
+ skill_id: string;
2422
+
2423
+ /**
2424
+ * Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined)
2425
+ */
2426
+ type: 'anthropic' | 'custom';
2427
+
2428
+ /**
2429
+ * Skill version or 'latest' for most recent version
2430
+ */
2431
+ version: string;
2432
+ }
2433
+
2434
+ /**
2435
+ * Specification for a skill to be loaded in a container (request model).
2436
+ */
2437
+ export interface BetaSkillParams {
2438
+ /**
2439
+ * Skill ID
2440
+ */
2441
+ skill_id: string;
2442
+
2443
+ /**
2444
+ * Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined)
2445
+ */
2446
+ type: 'anthropic' | 'custom';
2447
+
2448
+ /**
2449
+ * Skill version or 'latest' for most recent version
2450
+ */
2451
+ version?: string;
2452
+ }
2453
+
2454
+ export type BetaStopReason =
2455
+ | 'end_turn'
2456
+ | 'max_tokens'
2457
+ | 'stop_sequence'
2458
+ | 'tool_use'
2459
+ | 'pause_turn'
2460
+ | 'compaction'
2461
+ | 'refusal'
2462
+ | 'model_context_window_exceeded';
2463
+
2464
+ export interface BetaTextBlock {
2465
+ /**
2466
+ * Citations supporting the text block.
2467
+ *
2468
+ * The type of citation returned will depend on the type of document being cited.
2469
+ * Citing a PDF results in `page_location`, plain text results in `char_location`,
2470
+ * and content document results in `content_block_location`.
2471
+ */
2472
+ citations: Array<BetaTextCitation> | null;
2473
+
2474
+ text: string;
2475
+
2476
+ type: 'text';
2477
+ }
2478
+
2479
+ export interface BetaTextBlockParam {
2480
+ text: string;
2481
+
2482
+ type: 'text';
2483
+
2484
+ /**
2485
+ * Create a cache control breakpoint at this content block.
2486
+ */
2487
+ cache_control?: BetaCacheControlEphemeral | null;
2488
+
2489
+ citations?: Array<BetaTextCitationParam> | null;
2490
+ }
2491
+
2492
+ export type BetaTextCitation =
2493
+ | BetaCitationCharLocation
2494
+ | BetaCitationPageLocation
2495
+ | BetaCitationContentBlockLocation
2496
+ | BetaCitationsWebSearchResultLocation
2497
+ | BetaCitationSearchResultLocation;
2498
+
2499
+ export type BetaTextCitationParam =
2500
+ | BetaCitationCharLocationParam
2501
+ | BetaCitationPageLocationParam
2502
+ | BetaCitationContentBlockLocationParam
2503
+ | BetaCitationWebSearchResultLocationParam
2504
+ | BetaCitationSearchResultLocationParam;
2505
+
2506
+ export interface BetaTextDelta {
2507
+ text: string;
2508
+
2509
+ type: 'text_delta';
2510
+ }
2511
+
2512
+ export interface BetaTextEditorCodeExecutionCreateResultBlock {
2513
+ is_file_update: boolean;
2514
+
2515
+ type: 'text_editor_code_execution_create_result';
2516
+ }
2517
+
2518
+ export interface BetaTextEditorCodeExecutionCreateResultBlockParam {
2519
+ is_file_update: boolean;
2520
+
2521
+ type: 'text_editor_code_execution_create_result';
2522
+ }
2523
+
2524
+ export interface BetaTextEditorCodeExecutionStrReplaceResultBlock {
2525
+ lines: Array<string> | null;
2526
+
2527
+ new_lines: number | null;
2528
+
2529
+ new_start: number | null;
2530
+
2531
+ old_lines: number | null;
2532
+
2533
+ old_start: number | null;
2534
+
2535
+ type: 'text_editor_code_execution_str_replace_result';
2536
+ }
2537
+
2538
+ export interface BetaTextEditorCodeExecutionStrReplaceResultBlockParam {
2539
+ type: 'text_editor_code_execution_str_replace_result';
2540
+
2541
+ lines?: Array<string> | null;
2542
+
2543
+ new_lines?: number | null;
2544
+
2545
+ new_start?: number | null;
2546
+
2547
+ old_lines?: number | null;
2548
+
2549
+ old_start?: number | null;
2550
+ }
2551
+
2552
+ export interface BetaTextEditorCodeExecutionToolResultBlock {
2553
+ content:
2554
+ | BetaTextEditorCodeExecutionToolResultError
2555
+ | BetaTextEditorCodeExecutionViewResultBlock
2556
+ | BetaTextEditorCodeExecutionCreateResultBlock
2557
+ | BetaTextEditorCodeExecutionStrReplaceResultBlock;
2558
+
2559
+ tool_use_id: string;
2560
+
2561
+ type: 'text_editor_code_execution_tool_result';
2562
+ }
2563
+
2564
+ export interface BetaTextEditorCodeExecutionToolResultBlockParam {
2565
+ content:
2566
+ | BetaTextEditorCodeExecutionToolResultErrorParam
2567
+ | BetaTextEditorCodeExecutionViewResultBlockParam
2568
+ | BetaTextEditorCodeExecutionCreateResultBlockParam
2569
+ | BetaTextEditorCodeExecutionStrReplaceResultBlockParam;
2570
+
2571
+ tool_use_id: string;
2572
+
2573
+ type: 'text_editor_code_execution_tool_result';
2574
+
2575
+ /**
2576
+ * Create a cache control breakpoint at this content block.
2577
+ */
2578
+ cache_control?: BetaCacheControlEphemeral | null;
2579
+ }
2580
+
2581
+ export interface BetaTextEditorCodeExecutionToolResultError {
2582
+ error_code:
2583
+ | 'invalid_tool_input'
2584
+ | 'unavailable'
2585
+ | 'too_many_requests'
2586
+ | 'execution_time_exceeded'
2587
+ | 'file_not_found';
2588
+
2589
+ error_message: string | null;
2590
+
2591
+ type: 'text_editor_code_execution_tool_result_error';
2592
+ }
2593
+
2594
+ export interface BetaTextEditorCodeExecutionToolResultErrorParam {
2595
+ error_code:
2596
+ | 'invalid_tool_input'
2597
+ | 'unavailable'
2598
+ | 'too_many_requests'
2599
+ | 'execution_time_exceeded'
2600
+ | 'file_not_found';
2601
+
2602
+ type: 'text_editor_code_execution_tool_result_error';
2603
+
2604
+ error_message?: string | null;
2605
+ }
2606
+
2607
+ export interface BetaTextEditorCodeExecutionViewResultBlock {
2608
+ content: string;
2609
+
2610
+ file_type: 'text' | 'image' | 'pdf';
2611
+
2612
+ num_lines: number | null;
2613
+
2614
+ start_line: number | null;
2615
+
2616
+ total_lines: number | null;
2617
+
2618
+ type: 'text_editor_code_execution_view_result';
2619
+ }
2620
+
2621
+ export interface BetaTextEditorCodeExecutionViewResultBlockParam {
2622
+ content: string;
2623
+
2624
+ file_type: 'text' | 'image' | 'pdf';
2625
+
2626
+ type: 'text_editor_code_execution_view_result';
2627
+
2628
+ num_lines?: number | null;
2629
+
2630
+ start_line?: number | null;
2631
+
2632
+ total_lines?: number | null;
2633
+ }
2634
+
2635
+ export interface BetaThinkingBlock {
2636
+ signature: string;
2637
+
2638
+ thinking: string;
2639
+
2640
+ type: 'thinking';
2641
+ }
2642
+
2643
+ export interface BetaThinkingBlockParam {
2644
+ signature: string;
2645
+
2646
+ thinking: string;
2647
+
2648
+ type: 'thinking';
2649
+ }
2650
+
2651
+ export interface BetaThinkingConfigAdaptive {
2652
+ type: 'adaptive';
2653
+
2654
+ /**
2655
+ * Controls how thinking content appears in the response. When set to `summarized`,
2656
+ * thinking is returned normally. When set to `omitted`, thinking content is
2657
+ * redacted but a signature is returned for multi-turn continuity. Defaults to
2658
+ * `summarized`.
2659
+ */
2660
+ display?: 'summarized' | 'omitted' | null;
2661
+ }
2662
+
2663
+ export interface BetaThinkingConfigDisabled {
2664
+ type: 'disabled';
2665
+ }
2666
+
2667
+ export interface BetaThinkingConfigEnabled {
2668
+ /**
2669
+ * Determines how many tokens Claude can use for its internal reasoning process.
2670
+ * Larger budgets can enable more thorough analysis for complex problems, improving
2671
+ * response quality.
2672
+ *
2673
+ * Must be ≥1024 and less than `max_tokens`.
2674
+ *
2675
+ * See
2676
+ * [extended thinking](https://docs.claude.com/en/docs/build-with-claude/extended-thinking)
2677
+ * for details.
2678
+ */
2679
+ budget_tokens: number;
2680
+
2681
+ type: 'enabled';
2682
+
2683
+ /**
2684
+ * Controls how thinking content appears in the response. When set to `summarized`,
2685
+ * thinking is returned normally. When set to `omitted`, thinking content is
2686
+ * redacted but a signature is returned for multi-turn continuity. Defaults to
2687
+ * `summarized`.
2688
+ */
2689
+ display?: 'summarized' | 'omitted' | null;
2690
+ }
2691
+
2692
+ /**
2693
+ * Configuration for enabling Claude's extended thinking.
2694
+ *
2695
+ * When enabled, responses include `thinking` content blocks showing Claude's
2696
+ * thinking process before the final answer. Requires a minimum budget of 1,024
2697
+ * tokens and counts towards your `max_tokens` limit.
2698
+ *
2699
+ * See
2700
+ * [extended thinking](https://docs.claude.com/en/docs/build-with-claude/extended-thinking)
2701
+ * for details.
2702
+ */
2703
+ export type BetaThinkingConfigParam =
2704
+ | BetaThinkingConfigEnabled
2705
+ | BetaThinkingConfigDisabled
2706
+ | BetaThinkingConfigAdaptive;
2707
+
2708
+ export interface BetaThinkingDelta {
2709
+ /**
2710
+ * Per-frame increment of a coarse, running estimate of the tokens this thinking
2711
+ * block has produced so far. Present whenever the
2712
+ * `thinking-token-count-2026-05-13` beta is set; `null` unless `thinking.display`
2713
+ * resolves to `"omitted"` and a count is due this frame. Sum the increments across
2714
+ * `thinking_delta` frames on this block for a progress indicator. Each increment
2715
+ * is a non-negative multiple of a fixed quantum and the cadence is rate-limited,
2716
+ * so this is a deliberately lossy display hint, not a billable count;
2717
+ * `usage.output_tokens` remains authoritative.
2718
+ */
2719
+ estimated_tokens: number | null;
2720
+
2721
+ thinking: string;
2722
+
2723
+ type: 'thinking_delta';
2724
+ }
2725
+
2726
+ export interface BetaThinkingTurns {
2727
+ type: 'thinking_turns';
2728
+
2729
+ value: number;
2730
+ }
2731
+
2732
+ /**
2733
+ * User-configurable total token budget across contexts.
2734
+ */
2735
+ export interface BetaTokenTaskBudget {
2736
+ /**
2737
+ * Total token budget across all contexts in the session.
2738
+ */
2739
+ total: number;
2740
+
2741
+ /**
2742
+ * The budget type. Currently only 'tokens' is supported.
2743
+ */
2744
+ type: 'tokens';
2745
+
2746
+ /**
2747
+ * Remaining tokens in the budget. Use this to track usage across contexts when
2748
+ * implementing compaction client-side. Defaults to total if not provided.
2749
+ */
2750
+ remaining?: number | null;
2751
+ }
2752
+
2753
+ export interface BetaTool {
2754
+ /**
2755
+ * [JSON schema](https://json-schema.org/draft/2020-12) for this tool's input.
2756
+ *
2757
+ * This defines the shape of the `input` that your tool accepts and that the model
2758
+ * will produce.
2759
+ */
2760
+ input_schema: BetaTool.InputSchema;
2761
+
2762
+ /**
2763
+ * Name of the tool.
2764
+ *
2765
+ * This is how the tool will be called by the model and in `tool_use` blocks.
2766
+ */
2767
+ name: string;
2768
+
2769
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
2770
+
2771
+ /**
2772
+ * Create a cache control breakpoint at this content block.
2773
+ */
2774
+ cache_control?: BetaCacheControlEphemeral | null;
2775
+
2776
+ /**
2777
+ * If true, tool will not be included in initial system prompt. Only loaded when
2778
+ * returned via tool_reference from tool search.
2779
+ */
2780
+ defer_loading?: boolean;
2781
+
2782
+ /**
2783
+ * Description of what this tool does.
2784
+ *
2785
+ * Tool descriptions should be as detailed as possible. The more information that
2786
+ * the model has about what the tool is and how to use it, the better it will
2787
+ * perform. You can use natural language descriptions to reinforce important
2788
+ * aspects of the tool input JSON schema.
2789
+ */
2790
+ description?: string;
2791
+
2792
+ /**
2793
+ * Enable eager input streaming for this tool. When true, tool input parameters
2794
+ * will be streamed incrementally as they are generated, and types will be inferred
2795
+ * on-the-fly rather than buffering the full JSON output. When false, streaming is
2796
+ * disabled for this tool even if the fine-grained-tool-streaming beta is active.
2797
+ * When null (default), uses the default behavior based on beta headers.
2798
+ */
2799
+ eager_input_streaming?: boolean | null;
2800
+
2801
+ input_examples?: Array<{ [key: string]: unknown }>;
2802
+
2803
+ /**
2804
+ * When true, guarantees schema validation on tool names and inputs
2805
+ */
2806
+ strict?: boolean;
2807
+
2808
+ type?: 'custom' | null;
2809
+ }
2810
+
2811
+ export namespace BetaTool {
2812
+ /**
2813
+ * [JSON schema](https://json-schema.org/draft/2020-12) for this tool's input.
2814
+ *
2815
+ * This defines the shape of the `input` that your tool accepts and that the model
2816
+ * will produce.
2817
+ */
2818
+ export interface InputSchema {
2819
+ type: 'object';
2820
+
2821
+ properties?: unknown | null;
2822
+
2823
+ required?: string[] | readonly string[] | null;
2824
+
2825
+ [k: string]: unknown;
2826
+ }
2827
+ }
2828
+
2829
+ export interface BetaToolBash20241022 {
2830
+ /**
2831
+ * Name of the tool.
2832
+ *
2833
+ * This is how the tool will be called by the model and in `tool_use` blocks.
2834
+ */
2835
+ name: 'bash';
2836
+
2837
+ type: 'bash_20241022';
2838
+
2839
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
2840
+
2841
+ /**
2842
+ * Create a cache control breakpoint at this content block.
2843
+ */
2844
+ cache_control?: BetaCacheControlEphemeral | null;
2845
+
2846
+ /**
2847
+ * If true, tool will not be included in initial system prompt. Only loaded when
2848
+ * returned via tool_reference from tool search.
2849
+ */
2850
+ defer_loading?: boolean;
2851
+
2852
+ input_examples?: Array<{ [key: string]: unknown }>;
2853
+
2854
+ /**
2855
+ * When true, guarantees schema validation on tool names and inputs
2856
+ */
2857
+ strict?: boolean;
2858
+ }
2859
+
2860
+ export interface BetaToolBash20250124 {
2861
+ /**
2862
+ * Name of the tool.
2863
+ *
2864
+ * This is how the tool will be called by the model and in `tool_use` blocks.
2865
+ */
2866
+ name: 'bash';
2867
+
2868
+ type: 'bash_20250124';
2869
+
2870
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
2871
+
2872
+ /**
2873
+ * Create a cache control breakpoint at this content block.
2874
+ */
2875
+ cache_control?: BetaCacheControlEphemeral | null;
2876
+
2877
+ /**
2878
+ * If true, tool will not be included in initial system prompt. Only loaded when
2879
+ * returned via tool_reference from tool search.
2880
+ */
2881
+ defer_loading?: boolean;
2882
+
2883
+ input_examples?: Array<{ [key: string]: unknown }>;
2884
+
2885
+ /**
2886
+ * When true, guarantees schema validation on tool names and inputs
2887
+ */
2888
+ strict?: boolean;
2889
+ }
2890
+
2891
+ /**
2892
+ * How the model should use the provided tools. The model can use a specific tool,
2893
+ * any available tool, decide by itself, or not use tools at all.
2894
+ */
2895
+ export type BetaToolChoice = BetaToolChoiceAuto | BetaToolChoiceAny | BetaToolChoiceTool | BetaToolChoiceNone;
2896
+
2897
+ /**
2898
+ * The model will use any available tools.
2899
+ */
2900
+ export interface BetaToolChoiceAny {
2901
+ type: 'any';
2902
+
2903
+ /**
2904
+ * Whether to disable parallel tool use.
2905
+ *
2906
+ * Defaults to `false`. If set to `true`, the model will output exactly one tool
2907
+ * use.
2908
+ */
2909
+ disable_parallel_tool_use?: boolean;
2910
+ }
2911
+
2912
+ /**
2913
+ * The model will automatically decide whether to use tools.
2914
+ */
2915
+ export interface BetaToolChoiceAuto {
2916
+ type: 'auto';
2917
+
2918
+ /**
2919
+ * Whether to disable parallel tool use.
2920
+ *
2921
+ * Defaults to `false`. If set to `true`, the model will output at most one tool
2922
+ * use.
2923
+ */
2924
+ disable_parallel_tool_use?: boolean;
2925
+ }
2926
+
2927
+ /**
2928
+ * The model will not be allowed to use tools.
2929
+ */
2930
+ export interface BetaToolChoiceNone {
2931
+ type: 'none';
2932
+ }
2933
+
2934
+ /**
2935
+ * The model will use the specified tool with `tool_choice.name`.
2936
+ */
2937
+ export interface BetaToolChoiceTool {
2938
+ /**
2939
+ * The name of the tool to use.
2940
+ */
2941
+ name: string;
2942
+
2943
+ type: 'tool';
2944
+
2945
+ /**
2946
+ * Whether to disable parallel tool use.
2947
+ *
2948
+ * Defaults to `false`. If set to `true`, the model will output exactly one tool
2949
+ * use.
2950
+ */
2951
+ disable_parallel_tool_use?: boolean;
2952
+ }
2953
+
2954
+ export interface BetaToolComputerUse20241022 {
2955
+ /**
2956
+ * The height of the display in pixels.
2957
+ */
2958
+ display_height_px: number;
2959
+
2960
+ /**
2961
+ * The width of the display in pixels.
2962
+ */
2963
+ display_width_px: number;
2964
+
2965
+ /**
2966
+ * Name of the tool.
2967
+ *
2968
+ * This is how the tool will be called by the model and in `tool_use` blocks.
2969
+ */
2970
+ name: 'computer';
2971
+
2972
+ type: 'computer_20241022';
2973
+
2974
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
2975
+
2976
+ /**
2977
+ * Create a cache control breakpoint at this content block.
2978
+ */
2979
+ cache_control?: BetaCacheControlEphemeral | null;
2980
+
2981
+ /**
2982
+ * If true, tool will not be included in initial system prompt. Only loaded when
2983
+ * returned via tool_reference from tool search.
2984
+ */
2985
+ defer_loading?: boolean;
2986
+
2987
+ /**
2988
+ * The X11 display number (e.g. 0, 1) for the display.
2989
+ */
2990
+ display_number?: number | null;
2991
+
2992
+ input_examples?: Array<{ [key: string]: unknown }>;
2993
+
2994
+ /**
2995
+ * When true, guarantees schema validation on tool names and inputs
2996
+ */
2997
+ strict?: boolean;
2998
+ }
2999
+
3000
+ export interface BetaToolComputerUse20250124 {
3001
+ /**
3002
+ * The height of the display in pixels.
3003
+ */
3004
+ display_height_px: number;
3005
+
3006
+ /**
3007
+ * The width of the display in pixels.
3008
+ */
3009
+ display_width_px: number;
3010
+
3011
+ /**
3012
+ * Name of the tool.
3013
+ *
3014
+ * This is how the tool will be called by the model and in `tool_use` blocks.
3015
+ */
3016
+ name: 'computer';
3017
+
3018
+ type: 'computer_20250124';
3019
+
3020
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
3021
+
3022
+ /**
3023
+ * Create a cache control breakpoint at this content block.
3024
+ */
3025
+ cache_control?: BetaCacheControlEphemeral | null;
3026
+
3027
+ /**
3028
+ * If true, tool will not be included in initial system prompt. Only loaded when
3029
+ * returned via tool_reference from tool search.
3030
+ */
3031
+ defer_loading?: boolean;
3032
+
3033
+ /**
3034
+ * The X11 display number (e.g. 0, 1) for the display.
3035
+ */
3036
+ display_number?: number | null;
3037
+
3038
+ input_examples?: Array<{ [key: string]: unknown }>;
3039
+
3040
+ /**
3041
+ * When true, guarantees schema validation on tool names and inputs
3042
+ */
3043
+ strict?: boolean;
3044
+ }
3045
+
3046
+ export interface BetaToolComputerUse20251124 {
3047
+ /**
3048
+ * The height of the display in pixels.
3049
+ */
3050
+ display_height_px: number;
3051
+
3052
+ /**
3053
+ * The width of the display in pixels.
3054
+ */
3055
+ display_width_px: number;
3056
+
3057
+ /**
3058
+ * Name of the tool.
3059
+ *
3060
+ * This is how the tool will be called by the model and in `tool_use` blocks.
3061
+ */
3062
+ name: 'computer';
3063
+
3064
+ type: 'computer_20251124';
3065
+
3066
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
3067
+
3068
+ /**
3069
+ * Create a cache control breakpoint at this content block.
3070
+ */
3071
+ cache_control?: BetaCacheControlEphemeral | null;
3072
+
3073
+ /**
3074
+ * If true, tool will not be included in initial system prompt. Only loaded when
3075
+ * returned via tool_reference from tool search.
3076
+ */
3077
+ defer_loading?: boolean;
3078
+
3079
+ /**
3080
+ * The X11 display number (e.g. 0, 1) for the display.
3081
+ */
3082
+ display_number?: number | null;
3083
+
3084
+ /**
3085
+ * Whether to enable an action to take a zoomed-in screenshot of the screen.
3086
+ */
3087
+ enable_zoom?: boolean;
3088
+
3089
+ input_examples?: Array<{ [key: string]: unknown }>;
3090
+
3091
+ /**
3092
+ * When true, guarantees schema validation on tool names and inputs
3093
+ */
3094
+ strict?: boolean;
3095
+ }
3096
+
3097
+ export interface BetaToolReferenceBlock {
3098
+ tool_name: string;
3099
+
3100
+ type: 'tool_reference';
3101
+ }
3102
+
3103
+ /**
3104
+ * Tool reference block that can be included in tool_result content.
3105
+ */
3106
+ export interface BetaToolReferenceBlockParam {
3107
+ tool_name: string;
3108
+
3109
+ type: 'tool_reference';
3110
+
3111
+ /**
3112
+ * Create a cache control breakpoint at this content block.
3113
+ */
3114
+ cache_control?: BetaCacheControlEphemeral | null;
3115
+ }
3116
+
3117
+ export interface BetaToolResultBlockParam {
3118
+ tool_use_id: string;
3119
+
3120
+ type: 'tool_result';
3121
+
3122
+ /**
3123
+ * Create a cache control breakpoint at this content block.
3124
+ */
3125
+ cache_control?: BetaCacheControlEphemeral | null;
3126
+
3127
+ content?:
3128
+ | string
3129
+ | Array<
3130
+ | BetaTextBlockParam
3131
+ | BetaImageBlockParam
3132
+ | BetaSearchResultBlockParam
3133
+ | BetaRequestDocumentBlock
3134
+ | BetaToolReferenceBlockParam
3135
+ >;
3136
+
3137
+ is_error?: boolean;
3138
+ }
3139
+
3140
+ export interface BetaToolSearchToolBm25_20251119 {
3141
+ /**
3142
+ * Name of the tool.
3143
+ *
3144
+ * This is how the tool will be called by the model and in `tool_use` blocks.
3145
+ */
3146
+ name: 'tool_search_tool_bm25';
3147
+
3148
+ type: 'tool_search_tool_bm25_20251119' | 'tool_search_tool_bm25';
3149
+
3150
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
3151
+
3152
+ /**
3153
+ * Create a cache control breakpoint at this content block.
3154
+ */
3155
+ cache_control?: BetaCacheControlEphemeral | null;
3156
+
3157
+ /**
3158
+ * If true, tool will not be included in initial system prompt. Only loaded when
3159
+ * returned via tool_reference from tool search.
3160
+ */
3161
+ defer_loading?: boolean;
3162
+
3163
+ /**
3164
+ * When true, guarantees schema validation on tool names and inputs
3165
+ */
3166
+ strict?: boolean;
3167
+ }
3168
+
3169
+ export interface BetaToolSearchToolRegex20251119 {
3170
+ /**
3171
+ * Name of the tool.
3172
+ *
3173
+ * This is how the tool will be called by the model and in `tool_use` blocks.
3174
+ */
3175
+ name: 'tool_search_tool_regex';
3176
+
3177
+ type: 'tool_search_tool_regex_20251119' | 'tool_search_tool_regex';
3178
+
3179
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
3180
+
3181
+ /**
3182
+ * Create a cache control breakpoint at this content block.
3183
+ */
3184
+ cache_control?: BetaCacheControlEphemeral | null;
3185
+
3186
+ /**
3187
+ * If true, tool will not be included in initial system prompt. Only loaded when
3188
+ * returned via tool_reference from tool search.
3189
+ */
3190
+ defer_loading?: boolean;
3191
+
3192
+ /**
3193
+ * When true, guarantees schema validation on tool names and inputs
3194
+ */
3195
+ strict?: boolean;
3196
+ }
3197
+
3198
+ export interface BetaToolSearchToolResultBlock {
3199
+ content: BetaToolSearchToolResultError | BetaToolSearchToolSearchResultBlock;
3200
+
3201
+ tool_use_id: string;
3202
+
3203
+ type: 'tool_search_tool_result';
3204
+ }
3205
+
3206
+ export interface BetaToolSearchToolResultBlockParam {
3207
+ content: BetaToolSearchToolResultErrorParam | BetaToolSearchToolSearchResultBlockParam;
3208
+
3209
+ tool_use_id: string;
3210
+
3211
+ type: 'tool_search_tool_result';
3212
+
3213
+ /**
3214
+ * Create a cache control breakpoint at this content block.
3215
+ */
3216
+ cache_control?: BetaCacheControlEphemeral | null;
3217
+ }
3218
+
3219
+ export interface BetaToolSearchToolResultError {
3220
+ error_code: 'invalid_tool_input' | 'unavailable' | 'too_many_requests' | 'execution_time_exceeded';
3221
+
3222
+ error_message: string | null;
3223
+
3224
+ type: 'tool_search_tool_result_error';
3225
+ }
3226
+
3227
+ export interface BetaToolSearchToolResultErrorParam {
3228
+ error_code: 'invalid_tool_input' | 'unavailable' | 'too_many_requests' | 'execution_time_exceeded';
3229
+
3230
+ type: 'tool_search_tool_result_error';
3231
+ }
3232
+
3233
+ export interface BetaToolSearchToolSearchResultBlock {
3234
+ tool_references: Array<BetaToolReferenceBlock>;
3235
+
3236
+ type: 'tool_search_tool_search_result';
3237
+ }
3238
+
3239
+ export interface BetaToolSearchToolSearchResultBlockParam {
3240
+ tool_references: Array<BetaToolReferenceBlockParam>;
3241
+
3242
+ type: 'tool_search_tool_search_result';
3243
+ }
3244
+
3245
+ export type BetaToolResultContentBlockParam = Extract<BetaToolResultBlockParam['content'], any[]>[number];
3246
+
3247
+ export interface BetaToolTextEditor20241022 {
3248
+ /**
3249
+ * Name of the tool.
3250
+ *
3251
+ * This is how the tool will be called by the model and in `tool_use` blocks.
3252
+ */
3253
+ name: 'str_replace_editor';
3254
+
3255
+ type: 'text_editor_20241022';
3256
+
3257
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
3258
+
3259
+ /**
3260
+ * Create a cache control breakpoint at this content block.
3261
+ */
3262
+ cache_control?: BetaCacheControlEphemeral | null;
3263
+
3264
+ /**
3265
+ * If true, tool will not be included in initial system prompt. Only loaded when
3266
+ * returned via tool_reference from tool search.
3267
+ */
3268
+ defer_loading?: boolean;
3269
+
3270
+ input_examples?: Array<{ [key: string]: unknown }>;
3271
+
3272
+ /**
3273
+ * When true, guarantees schema validation on tool names and inputs
3274
+ */
3275
+ strict?: boolean;
3276
+ }
3277
+
3278
+ export interface BetaToolTextEditor20250124 {
3279
+ /**
3280
+ * Name of the tool.
3281
+ *
3282
+ * This is how the tool will be called by the model and in `tool_use` blocks.
3283
+ */
3284
+ name: 'str_replace_editor';
3285
+
3286
+ type: 'text_editor_20250124';
3287
+
3288
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
3289
+
3290
+ /**
3291
+ * Create a cache control breakpoint at this content block.
3292
+ */
3293
+ cache_control?: BetaCacheControlEphemeral | null;
3294
+
3295
+ /**
3296
+ * If true, tool will not be included in initial system prompt. Only loaded when
3297
+ * returned via tool_reference from tool search.
3298
+ */
3299
+ defer_loading?: boolean;
3300
+
3301
+ input_examples?: Array<{ [key: string]: unknown }>;
3302
+
3303
+ /**
3304
+ * When true, guarantees schema validation on tool names and inputs
3305
+ */
3306
+ strict?: boolean;
3307
+ }
3308
+
3309
+ export interface BetaToolTextEditor20250429 {
3310
+ /**
3311
+ * Name of the tool.
3312
+ *
3313
+ * This is how the tool will be called by the model and in `tool_use` blocks.
3314
+ */
3315
+ name: 'str_replace_based_edit_tool';
3316
+
3317
+ type: 'text_editor_20250429';
3318
+
3319
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
3320
+
3321
+ /**
3322
+ * Create a cache control breakpoint at this content block.
3323
+ */
3324
+ cache_control?: BetaCacheControlEphemeral | null;
3325
+
3326
+ /**
3327
+ * If true, tool will not be included in initial system prompt. Only loaded when
3328
+ * returned via tool_reference from tool search.
3329
+ */
3330
+ defer_loading?: boolean;
3331
+
3332
+ input_examples?: Array<{ [key: string]: unknown }>;
3333
+
3334
+ /**
3335
+ * When true, guarantees schema validation on tool names and inputs
3336
+ */
3337
+ strict?: boolean;
3338
+ }
3339
+
3340
+ export interface BetaToolTextEditor20250728 {
3341
+ /**
3342
+ * Name of the tool.
3343
+ *
3344
+ * This is how the tool will be called by the model and in `tool_use` blocks.
3345
+ */
3346
+ name: 'str_replace_based_edit_tool';
3347
+
3348
+ type: 'text_editor_20250728';
3349
+
3350
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
3351
+
3352
+ /**
3353
+ * Create a cache control breakpoint at this content block.
3354
+ */
3355
+ cache_control?: BetaCacheControlEphemeral | null;
3356
+
3357
+ /**
3358
+ * If true, tool will not be included in initial system prompt. Only loaded when
3359
+ * returned via tool_reference from tool search.
3360
+ */
3361
+ defer_loading?: boolean;
3362
+
3363
+ input_examples?: Array<{ [key: string]: unknown }>;
3364
+
3365
+ /**
3366
+ * Maximum number of characters to display when viewing a file. If not specified,
3367
+ * defaults to displaying the full file.
3368
+ */
3369
+ max_characters?: number | null;
3370
+
3371
+ /**
3372
+ * When true, guarantees schema validation on tool names and inputs
3373
+ */
3374
+ strict?: boolean;
3375
+ }
3376
+
3377
+ /**
3378
+ * Code execution tool with REPL state persistence (daemon mode + gVisor
3379
+ * checkpoint).
3380
+ */
3381
+ export type BetaToolUnion =
3382
+ | BetaTool
3383
+ | BetaToolBash20241022
3384
+ | BetaToolBash20250124
3385
+ | BetaCodeExecutionTool20250522
3386
+ | BetaCodeExecutionTool20250825
3387
+ | BetaCodeExecutionTool20260120
3388
+ | BetaToolComputerUse20241022
3389
+ | BetaMemoryTool20250818
3390
+ | BetaToolComputerUse20250124
3391
+ | BetaToolTextEditor20241022
3392
+ | BetaToolComputerUse20251124
3393
+ | BetaToolTextEditor20250124
3394
+ | BetaToolTextEditor20250429
3395
+ | BetaToolTextEditor20250728
3396
+ | BetaWebSearchTool20250305
3397
+ | BetaWebFetchTool20250910
3398
+ | BetaWebSearchTool20260209
3399
+ | BetaWebFetchTool20260209
3400
+ | BetaWebFetchTool20260309
3401
+ | BetaAdvisorTool20260301
3402
+ | BetaToolSearchToolBm25_20251119
3403
+ | BetaToolSearchToolRegex20251119
3404
+ | BetaMCPToolset;
3405
+
3406
+ export interface BetaToolUseBlock {
3407
+ id: string;
3408
+
3409
+ input: unknown;
3410
+
3411
+ name: string;
3412
+
3413
+ type: 'tool_use';
3414
+
3415
+ /**
3416
+ * Tool invocation directly from the model.
3417
+ */
3418
+ caller?: BetaDirectCaller | BetaServerToolCaller | BetaServerToolCaller20260120;
3419
+ }
3420
+
3421
+ export interface BetaToolUseBlockParam {
3422
+ id: string;
3423
+
3424
+ input: unknown;
3425
+
3426
+ name: string;
3427
+
3428
+ type: 'tool_use';
3429
+
3430
+ /**
3431
+ * Create a cache control breakpoint at this content block.
3432
+ */
3433
+ cache_control?: BetaCacheControlEphemeral | null;
3434
+
3435
+ /**
3436
+ * Tool invocation directly from the model.
3437
+ */
3438
+ caller?: BetaDirectCaller | BetaServerToolCaller | BetaServerToolCaller20260120;
3439
+ }
3440
+
3441
+ export interface BetaToolUsesKeep {
3442
+ type: 'tool_uses';
3443
+
3444
+ value: number;
3445
+ }
3446
+
3447
+ export interface BetaToolUsesTrigger {
3448
+ type: 'tool_uses';
3449
+
3450
+ value: number;
3451
+ }
3452
+
3453
+ export interface BetaURLImageSource {
3454
+ type: 'url';
3455
+
3456
+ url: string;
3457
+ }
3458
+
3459
+ export interface BetaURLPDFSource {
3460
+ type: 'url';
3461
+
3462
+ url: string;
3463
+ }
3464
+
3465
+ export interface BetaUsage {
3466
+ /**
3467
+ * Breakdown of cached tokens by TTL
3468
+ */
3469
+ cache_creation: BetaCacheCreation | null;
3470
+
3471
+ /**
3472
+ * The number of input tokens used to create the cache entry.
3473
+ */
3474
+ cache_creation_input_tokens: number | null;
3475
+
3476
+ /**
3477
+ * The number of input tokens read from the cache.
3478
+ */
3479
+ cache_read_input_tokens: number | null;
3480
+
3481
+ /**
3482
+ * The geographic region where inference was performed for this request.
3483
+ */
3484
+ inference_geo: string | null;
3485
+
3486
+ /**
3487
+ * The number of input tokens which were used.
3488
+ */
3489
+ input_tokens: number;
3490
+
3491
+ /**
3492
+ * Per-iteration token usage breakdown.
3493
+ *
3494
+ * Each entry represents one sampling iteration, with its own input/output token
3495
+ * counts and cache statistics. This allows you to:
3496
+ *
3497
+ * - Determine which iterations exceeded long context thresholds (>=200k tokens)
3498
+ * - Calculate the true context window size from the last iteration
3499
+ * - Understand token accumulation across server-side tool use loops
3500
+ */
3501
+ iterations: BetaIterationsUsage | null;
3502
+
3503
+ /**
3504
+ * The number of output tokens which were used.
3505
+ */
3506
+ output_tokens: number;
3507
+
3508
+ /**
3509
+ * Breakdown of output tokens by category.
3510
+ *
3511
+ * `output_tokens` remains the inclusive, authoritative total used for billing.
3512
+ * This object provides a read-only decomposition for observability — for example,
3513
+ * how many of the billed output tokens were spent on internal reasoning that may
3514
+ * have been summarized before being returned to you.
3515
+ */
3516
+ output_tokens_details: BetaOutputTokensDetails | null;
3517
+
3518
+ /**
3519
+ * The number of server tool requests.
3520
+ */
3521
+ server_tool_use: BetaServerToolUsage | null;
3522
+
3523
+ /**
3524
+ * If the request used the priority, standard, or batch tier.
3525
+ */
3526
+ service_tier: 'standard' | 'priority' | 'batch' | null;
3527
+
3528
+ /**
3529
+ * The inference speed mode used for this request.
3530
+ */
3531
+ speed: 'standard' | 'fast' | null;
3532
+ }
3533
+
3534
+ export interface BetaUserLocation {
3535
+ type: 'approximate';
3536
+
3537
+ /**
3538
+ * The city of the user.
3539
+ */
3540
+ city?: string | null;
3541
+
3542
+ /**
3543
+ * The two letter
3544
+ * [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the
3545
+ * user.
3546
+ */
3547
+ country?: string | null;
3548
+
3549
+ /**
3550
+ * The region of the user.
3551
+ */
3552
+ region?: string | null;
3553
+
3554
+ /**
3555
+ * The [IANA timezone](https://nodatime.org/TimeZones) of the user.
3556
+ */
3557
+ timezone?: string | null;
3558
+ }
3559
+
3560
+ export interface BetaWebFetchBlock {
3561
+ content: BetaDocumentBlock;
3562
+
3563
+ /**
3564
+ * ISO 8601 timestamp when the content was retrieved
3565
+ */
3566
+ retrieved_at: string | null;
3567
+
3568
+ type: 'web_fetch_result';
3569
+
3570
+ /**
3571
+ * Fetched content URL
3572
+ */
3573
+ url: string;
3574
+ }
3575
+
3576
+ export interface BetaWebFetchBlockParam {
3577
+ content: BetaRequestDocumentBlock;
3578
+
3579
+ type: 'web_fetch_result';
3580
+
3581
+ /**
3582
+ * Fetched content URL
3583
+ */
3584
+ url: string;
3585
+
3586
+ /**
3587
+ * ISO 8601 timestamp when the content was retrieved
3588
+ */
3589
+ retrieved_at?: string | null;
3590
+ }
3591
+
3592
+ export interface BetaWebFetchTool20250910 {
3593
+ /**
3594
+ * Name of the tool.
3595
+ *
3596
+ * This is how the tool will be called by the model and in `tool_use` blocks.
3597
+ */
3598
+ name: 'web_fetch';
3599
+
3600
+ type: 'web_fetch_20250910';
3601
+
3602
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
3603
+
3604
+ /**
3605
+ * List of domains to allow fetching from
3606
+ */
3607
+ allowed_domains?: Array<string> | null;
3608
+
3609
+ /**
3610
+ * List of domains to block fetching from
3611
+ */
3612
+ blocked_domains?: Array<string> | null;
3613
+
3614
+ /**
3615
+ * Create a cache control breakpoint at this content block.
3616
+ */
3617
+ cache_control?: BetaCacheControlEphemeral | null;
3618
+
3619
+ /**
3620
+ * Citations configuration for fetched documents. Citations are disabled by
3621
+ * default.
3622
+ */
3623
+ citations?: BetaCitationsConfigParam | null;
3624
+
3625
+ /**
3626
+ * If true, tool will not be included in initial system prompt. Only loaded when
3627
+ * returned via tool_reference from tool search.
3628
+ */
3629
+ defer_loading?: boolean;
3630
+
3631
+ /**
3632
+ * Maximum number of tokens used by including web page text content in the context.
3633
+ * The limit is approximate and does not apply to binary content such as PDFs.
3634
+ */
3635
+ max_content_tokens?: number | null;
3636
+
3637
+ /**
3638
+ * Maximum number of times the tool can be used in the API request.
3639
+ */
3640
+ max_uses?: number | null;
3641
+
3642
+ /**
3643
+ * When true, guarantees schema validation on tool names and inputs
3644
+ */
3645
+ strict?: boolean;
3646
+ }
3647
+
3648
+ export interface BetaWebFetchTool20260209 {
3649
+ /**
3650
+ * Name of the tool.
3651
+ *
3652
+ * This is how the tool will be called by the model and in `tool_use` blocks.
3653
+ */
3654
+ name: 'web_fetch';
3655
+
3656
+ type: 'web_fetch_20260209';
3657
+
3658
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
3659
+
3660
+ /**
3661
+ * List of domains to allow fetching from
3662
+ */
3663
+ allowed_domains?: Array<string> | null;
3664
+
3665
+ /**
3666
+ * List of domains to block fetching from
3667
+ */
3668
+ blocked_domains?: Array<string> | null;
3669
+
3670
+ /**
3671
+ * Create a cache control breakpoint at this content block.
3672
+ */
3673
+ cache_control?: BetaCacheControlEphemeral | null;
3674
+
3675
+ /**
3676
+ * Citations configuration for fetched documents. Citations are disabled by
3677
+ * default.
3678
+ */
3679
+ citations?: BetaCitationsConfigParam | null;
3680
+
3681
+ /**
3682
+ * If true, tool will not be included in initial system prompt. Only loaded when
3683
+ * returned via tool_reference from tool search.
3684
+ */
3685
+ defer_loading?: boolean;
3686
+
3687
+ /**
3688
+ * Maximum number of tokens used by including web page text content in the context.
3689
+ * The limit is approximate and does not apply to binary content such as PDFs.
3690
+ */
3691
+ max_content_tokens?: number | null;
3692
+
3693
+ /**
3694
+ * Maximum number of times the tool can be used in the API request.
3695
+ */
3696
+ max_uses?: number | null;
3697
+
3698
+ /**
3699
+ * When true, guarantees schema validation on tool names and inputs
3700
+ */
3701
+ strict?: boolean;
3702
+ }
3703
+
3704
+ /**
3705
+ * Web fetch tool with use_cache parameter for bypassing cached content.
3706
+ */
3707
+ export interface BetaWebFetchTool20260309 {
3708
+ /**
3709
+ * Name of the tool.
3710
+ *
3711
+ * This is how the tool will be called by the model and in `tool_use` blocks.
3712
+ */
3713
+ name: 'web_fetch';
3714
+
3715
+ type: 'web_fetch_20260309';
3716
+
3717
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
3718
+
3719
+ /**
3720
+ * List of domains to allow fetching from
3721
+ */
3722
+ allowed_domains?: Array<string> | null;
3723
+
3724
+ /**
3725
+ * List of domains to block fetching from
3726
+ */
3727
+ blocked_domains?: Array<string> | null;
3728
+
3729
+ /**
3730
+ * Create a cache control breakpoint at this content block.
3731
+ */
3732
+ cache_control?: BetaCacheControlEphemeral | null;
3733
+
3734
+ /**
3735
+ * Citations configuration for fetched documents. Citations are disabled by
3736
+ * default.
3737
+ */
3738
+ citations?: BetaCitationsConfigParam | null;
3739
+
3740
+ /**
3741
+ * If true, tool will not be included in initial system prompt. Only loaded when
3742
+ * returned via tool_reference from tool search.
3743
+ */
3744
+ defer_loading?: boolean;
3745
+
3746
+ /**
3747
+ * Maximum number of tokens used by including web page text content in the context.
3748
+ * The limit is approximate and does not apply to binary content such as PDFs.
3749
+ */
3750
+ max_content_tokens?: number | null;
3751
+
3752
+ /**
3753
+ * Maximum number of times the tool can be used in the API request.
3754
+ */
3755
+ max_uses?: number | null;
3756
+
3757
+ /**
3758
+ * When true, guarantees schema validation on tool names and inputs
3759
+ */
3760
+ strict?: boolean;
3761
+
3762
+ /**
3763
+ * Whether to use cached content. Set to false to bypass the cache and fetch fresh
3764
+ * content. Only set to false when the user explicitly requests fresh content or
3765
+ * when fetching rapidly-changing sources.
3766
+ */
3767
+ use_cache?: boolean;
3768
+ }
3769
+
3770
+ export interface BetaWebFetchToolResultBlock {
3771
+ content: BetaWebFetchToolResultErrorBlock | BetaWebFetchBlock;
3772
+
3773
+ tool_use_id: string;
3774
+
3775
+ type: 'web_fetch_tool_result';
3776
+
3777
+ /**
3778
+ * Tool invocation directly from the model.
3779
+ */
3780
+ caller?: BetaDirectCaller | BetaServerToolCaller | BetaServerToolCaller20260120;
3781
+ }
3782
+
3783
+ export interface BetaWebFetchToolResultBlockParam {
3784
+ content: BetaWebFetchToolResultErrorBlockParam | BetaWebFetchBlockParam;
3785
+
3786
+ tool_use_id: string;
3787
+
3788
+ type: 'web_fetch_tool_result';
3789
+
3790
+ /**
3791
+ * Create a cache control breakpoint at this content block.
3792
+ */
3793
+ cache_control?: BetaCacheControlEphemeral | null;
3794
+
3795
+ /**
3796
+ * Tool invocation directly from the model.
3797
+ */
3798
+ caller?: BetaDirectCaller | BetaServerToolCaller | BetaServerToolCaller20260120;
3799
+ }
3800
+
3801
+ export interface BetaWebFetchToolResultErrorBlock {
3802
+ error_code: BetaWebFetchToolResultErrorCode;
3803
+
3804
+ type: 'web_fetch_tool_result_error';
3805
+ }
3806
+
3807
+ export interface BetaWebFetchToolResultErrorBlockParam {
3808
+ error_code: BetaWebFetchToolResultErrorCode;
3809
+
3810
+ type: 'web_fetch_tool_result_error';
3811
+ }
3812
+
3813
+ export type BetaWebFetchToolResultErrorCode =
3814
+ | 'invalid_tool_input'
3815
+ | 'url_too_long'
3816
+ | 'url_not_allowed'
3817
+ | 'url_not_in_prior_context'
3818
+ | 'url_not_accessible'
3819
+ | 'unsupported_content_type'
3820
+ | 'too_many_requests'
3821
+ | 'max_uses_exceeded'
3822
+ | 'unavailable';
3823
+
3824
+ export interface BetaWebSearchResultBlock {
3825
+ encrypted_content: string;
3826
+
3827
+ page_age: string | null;
3828
+
3829
+ title: string;
3830
+
3831
+ type: 'web_search_result';
3832
+
3833
+ url: string;
3834
+ }
3835
+
3836
+ export interface BetaWebSearchResultBlockParam {
3837
+ encrypted_content: string;
3838
+
3839
+ title: string;
3840
+
3841
+ type: 'web_search_result';
3842
+
3843
+ url: string;
3844
+
3845
+ page_age?: string | null;
3846
+ }
3847
+
3848
+ export interface BetaWebSearchTool20250305 {
3849
+ /**
3850
+ * Name of the tool.
3851
+ *
3852
+ * This is how the tool will be called by the model and in `tool_use` blocks.
3853
+ */
3854
+ name: 'web_search';
3855
+
3856
+ type: 'web_search_20250305';
3857
+
3858
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
3859
+
3860
+ /**
3861
+ * If provided, only these domains will be included in results. Cannot be used
3862
+ * alongside `blocked_domains`.
3863
+ */
3864
+ allowed_domains?: Array<string> | null;
3865
+
3866
+ /**
3867
+ * If provided, these domains will never appear in results. Cannot be used
3868
+ * alongside `allowed_domains`.
3869
+ */
3870
+ blocked_domains?: Array<string> | null;
3871
+
3872
+ /**
3873
+ * Create a cache control breakpoint at this content block.
3874
+ */
3875
+ cache_control?: BetaCacheControlEphemeral | null;
3876
+
3877
+ /**
3878
+ * If true, tool will not be included in initial system prompt. Only loaded when
3879
+ * returned via tool_reference from tool search.
3880
+ */
3881
+ defer_loading?: boolean;
3882
+
3883
+ /**
3884
+ * Maximum number of times the tool can be used in the API request.
3885
+ */
3886
+ max_uses?: number | null;
3887
+
3888
+ /**
3889
+ * When true, guarantees schema validation on tool names and inputs
3890
+ */
3891
+ strict?: boolean;
3892
+
3893
+ /**
3894
+ * Parameters for the user's location. Used to provide more relevant search
3895
+ * results.
3896
+ */
3897
+ user_location?: BetaUserLocation | null;
3898
+ }
3899
+
3900
+ export interface BetaWebSearchTool20260209 {
3901
+ /**
3902
+ * Name of the tool.
3903
+ *
3904
+ * This is how the tool will be called by the model and in `tool_use` blocks.
3905
+ */
3906
+ name: 'web_search';
3907
+
3908
+ type: 'web_search_20260209';
3909
+
3910
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
3911
+
3912
+ /**
3913
+ * If provided, only these domains will be included in results. Cannot be used
3914
+ * alongside `blocked_domains`.
3915
+ */
3916
+ allowed_domains?: Array<string> | null;
3917
+
3918
+ /**
3919
+ * If provided, these domains will never appear in results. Cannot be used
3920
+ * alongside `allowed_domains`.
3921
+ */
3922
+ blocked_domains?: Array<string> | null;
3923
+
3924
+ /**
3925
+ * Create a cache control breakpoint at this content block.
3926
+ */
3927
+ cache_control?: BetaCacheControlEphemeral | null;
3928
+
3929
+ /**
3930
+ * If true, tool will not be included in initial system prompt. Only loaded when
3931
+ * returned via tool_reference from tool search.
3932
+ */
3933
+ defer_loading?: boolean;
3934
+
3935
+ /**
3936
+ * Maximum number of times the tool can be used in the API request.
3937
+ */
3938
+ max_uses?: number | null;
3939
+
3940
+ /**
3941
+ * When true, guarantees schema validation on tool names and inputs
3942
+ */
3943
+ strict?: boolean;
3944
+
3945
+ /**
3946
+ * Parameters for the user's location. Used to provide more relevant search
3947
+ * results.
3948
+ */
3949
+ user_location?: BetaUserLocation | null;
3950
+ }
3951
+
3952
+ export interface BetaWebSearchToolRequestError {
3953
+ error_code: BetaWebSearchToolResultErrorCode;
3954
+
3955
+ type: 'web_search_tool_result_error';
3956
+ }
3957
+
3958
+ export interface BetaWebSearchToolResultBlock {
3959
+ content: BetaWebSearchToolResultBlockContent;
3960
+
3961
+ tool_use_id: string;
3962
+
3963
+ type: 'web_search_tool_result';
3964
+
3965
+ /**
3966
+ * Tool invocation directly from the model.
3967
+ */
3968
+ caller?: BetaDirectCaller | BetaServerToolCaller | BetaServerToolCaller20260120;
3969
+ }
3970
+
3971
+ export type BetaWebSearchToolResultBlockContent =
3972
+ | BetaWebSearchToolResultError
3973
+ | Array<BetaWebSearchResultBlock>;
3974
+
3975
+ export interface BetaWebSearchToolResultBlockParam {
3976
+ content: BetaWebSearchToolResultBlockParamContent;
3977
+
3978
+ tool_use_id: string;
3979
+
3980
+ type: 'web_search_tool_result';
3981
+
3982
+ /**
3983
+ * Create a cache control breakpoint at this content block.
3984
+ */
3985
+ cache_control?: BetaCacheControlEphemeral | null;
3986
+
3987
+ /**
3988
+ * Tool invocation directly from the model.
3989
+ */
3990
+ caller?: BetaDirectCaller | BetaServerToolCaller | BetaServerToolCaller20260120;
3991
+ }
3992
+
3993
+ export type BetaWebSearchToolResultBlockParamContent =
3994
+ | Array<BetaWebSearchResultBlockParam>
3995
+ | BetaWebSearchToolRequestError;
3996
+
3997
+ export interface BetaWebSearchToolResultError {
3998
+ error_code: BetaWebSearchToolResultErrorCode;
3999
+
4000
+ type: 'web_search_tool_result_error';
4001
+ }
4002
+
4003
+ export type BetaWebSearchToolResultErrorCode =
4004
+ | 'invalid_tool_input'
4005
+ | 'unavailable'
4006
+ | 'max_uses_exceeded'
4007
+ | 'too_many_requests'
4008
+ | 'query_too_long'
4009
+ | 'request_too_large';
4010
+
4011
+ /**
4012
+ * @deprecated BetaRequestDocumentBlock should be used insated
4013
+ */
4014
+ export type BetaBase64PDFBlock = BetaRequestDocumentBlock;
4015
+
4016
+ export type MessageCreateParams = MessageCreateParamsNonStreaming | MessageCreateParamsStreaming;
4017
+
4018
+ export interface MessageCreateParamsBase {
4019
+ /**
4020
+ * Body param: The maximum number of tokens to generate before stopping.
4021
+ *
4022
+ * Note that our models may stop _before_ reaching this maximum. This parameter
4023
+ * only specifies the absolute maximum number of tokens to generate.
4024
+ *
4025
+ * Set to `0` to populate the
4026
+ * [prompt cache](https://docs.claude.com/en/docs/build-with-claude/prompt-caching#pre-warming-the-cache)
4027
+ * without generating a response.
4028
+ *
4029
+ * Different models have different maximum values for this parameter. See
4030
+ * [models](https://docs.claude.com/en/docs/models-overview) for details.
4031
+ */
4032
+ max_tokens: number;
4033
+
4034
+ /**
4035
+ * Body param: Input messages.
4036
+ *
4037
+ * Our models are trained to operate on alternating `user` and `assistant`
4038
+ * conversational turns. When creating a new `Message`, you specify the prior
4039
+ * conversational turns with the `messages` parameter, and the model then generates
4040
+ * the next `Message` in the conversation. Consecutive `user` or `assistant` turns
4041
+ * in your request will be combined into a single turn.
4042
+ *
4043
+ * Each input message must be an object with a `role` and `content`. You can
4044
+ * specify a single `user`-role message, or you can include multiple `user` and
4045
+ * `assistant` messages.
4046
+ *
4047
+ * If the final message uses the `assistant` role, the response content will
4048
+ * continue immediately from the content in that message. This can be used to
4049
+ * constrain part of the model's response.
4050
+ *
4051
+ * Example with a single `user` message:
4052
+ *
4053
+ * ```json
4054
+ * [{ "role": "user", "content": "Hello, Claude" }]
4055
+ * ```
4056
+ *
4057
+ * Example with multiple conversational turns:
4058
+ *
4059
+ * ```json
4060
+ * [
4061
+ * { "role": "user", "content": "Hello there." },
4062
+ * { "role": "assistant", "content": "Hi, I'm Claude. How can I help you?" },
4063
+ * { "role": "user", "content": "Can you explain LLMs in plain English?" }
4064
+ * ]
4065
+ * ```
4066
+ *
4067
+ * Example with a partially-filled response from Claude:
4068
+ *
4069
+ * ```json
4070
+ * [
4071
+ * {
4072
+ * "role": "user",
4073
+ * "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
4074
+ * },
4075
+ * { "role": "assistant", "content": "The best answer is (" }
4076
+ * ]
4077
+ * ```
4078
+ *
4079
+ * Each input message `content` may be either a single `string` or an array of
4080
+ * content blocks, where each block has a specific `type`. Using a `string` for
4081
+ * `content` is shorthand for an array of one content block of type `"text"`. The
4082
+ * following input messages are equivalent:
4083
+ *
4084
+ * ```json
4085
+ * { "role": "user", "content": "Hello, Claude" }
4086
+ * ```
4087
+ *
4088
+ * ```json
4089
+ * { "role": "user", "content": [{ "type": "text", "text": "Hello, Claude" }] }
4090
+ * ```
4091
+ *
4092
+ * See [input examples](https://docs.claude.com/en/api/messages-examples).
4093
+ *
4094
+ * Note that if you want to include a
4095
+ * [system prompt](https://docs.claude.com/en/docs/system-prompts), you can use the
4096
+ * top-level `system` parameter — there is no `"system"` role for input messages in
4097
+ * the Messages API.
4098
+ *
4099
+ * There is a limit of 100,000 messages in a single request.
4100
+ */
4101
+ messages: Array<BetaMessageParam>;
4102
+
4103
+ /**
4104
+ * Body param: The model that will complete your prompt.
4105
+ *
4106
+ * See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
4107
+ * details and options.
4108
+ */
4109
+ model: MessagesAPI.Model;
4110
+
4111
+ /**
4112
+ * Body param: Top-level cache control automatically applies a cache_control marker
4113
+ * to the last cacheable block in the request.
4114
+ */
4115
+ cache_control?: BetaCacheControlEphemeral | null;
4116
+
4117
+ /**
4118
+ * Body param: Container identifier for reuse across requests.
4119
+ */
4120
+ container?: BetaContainerParams | string | null;
4121
+
4122
+ /**
4123
+ * Body param: Context management configuration.
4124
+ *
4125
+ * This allows you to control how Claude manages context across multiple requests,
4126
+ * such as whether to clear function results or not.
4127
+ */
4128
+ context_management?: BetaContextManagementConfig | null;
4129
+
4130
+ /**
4131
+ * Body param: Request-level diagnostics. Currently carries the previous response
4132
+ * id for prompt-cache divergence reporting.
4133
+ */
4134
+ diagnostics?: BetaDiagnosticsParam | null;
4135
+
4136
+ /**
4137
+ * Body param: Specifies the geographic region for inference processing. If not
4138
+ * specified, the workspace's `default_inference_geo` is used.
4139
+ */
4140
+ inference_geo?: string | null;
4141
+
4142
+ /**
4143
+ * Body param: MCP servers to be utilized in this request
4144
+ */
4145
+ mcp_servers?: Array<BetaRequestMCPServerURLDefinition>;
4146
+
4147
+ /**
4148
+ * Body param: An object describing metadata about the request.
4149
+ */
4150
+ metadata?: BetaMetadata;
4151
+
4152
+ /**
4153
+ * Body param: Configuration options for the model's output, such as the output
4154
+ * format.
4155
+ */
4156
+ output_config?: BetaOutputConfig;
4157
+
4158
+ /**
4159
+ * Body param: Deprecated: Use `output_config.format` instead. See
4160
+ * [structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs)
4161
+ *
4162
+ * A schema to specify Claude's output format in responses. This parameter will be
4163
+ * removed in a future release.
4164
+ */
4165
+ output_format?: BetaJSONOutputFormat | null;
4166
+
4167
+ /**
4168
+ * Body param: Determines whether to use priority capacity (if available) or
4169
+ * standard capacity for this request.
4170
+ *
4171
+ * Anthropic offers different levels of service for your API requests. See
4172
+ * [service-tiers](https://docs.claude.com/en/api/service-tiers) for details.
4173
+ */
4174
+ service_tier?: 'auto' | 'standard_only';
4175
+
4176
+ /**
4177
+ * Body param: The inference speed mode for this request. `"fast"` enables high
4178
+ * output-tokens-per-second inference.
4179
+ */
4180
+ speed?: 'standard' | 'fast' | null;
4181
+
4182
+ /**
4183
+ * Body param: Custom text sequences that will cause the model to stop generating.
4184
+ *
4185
+ * Our models will normally stop when they have naturally completed their turn,
4186
+ * which will result in a response `stop_reason` of `"end_turn"`.
4187
+ *
4188
+ * If you want the model to stop generating when it encounters custom strings of
4189
+ * text, you can use the `stop_sequences` parameter. If the model encounters one of
4190
+ * the custom sequences, the response `stop_reason` value will be `"stop_sequence"`
4191
+ * and the response `stop_sequence` value will contain the matched stop sequence.
4192
+ */
4193
+ stop_sequences?: Array<string>;
4194
+
4195
+ /**
4196
+ * Body param: Whether to incrementally stream the response using server-sent
4197
+ * events.
4198
+ *
4199
+ * See [streaming](https://docs.claude.com/en/api/messages-streaming) for details.
4200
+ */
4201
+ stream?: boolean;
4202
+
4203
+ /**
4204
+ * Body param: System prompt.
4205
+ *
4206
+ * A system prompt is a way of providing context and instructions to Claude, such
4207
+ * as specifying a particular goal or role. See our
4208
+ * [guide to system prompts](https://docs.claude.com/en/docs/system-prompts).
4209
+ */
4210
+ system?: string | Array<BetaTextBlockParam>;
4211
+
4212
+ /**
4213
+ * @deprecated Deprecated. Models released after Claude Opus 4.6 do not support
4214
+ * setting temperature. A value of 1.0 of will be accepted for backwards
4215
+ * compatibility, all other values will be rejected with a 400 error.
4216
+ */
4217
+ temperature?: number;
4218
+
4219
+ /**
4220
+ * Body param: Configuration for enabling Claude's extended thinking.
4221
+ *
4222
+ * When enabled, responses include `thinking` content blocks showing Claude's
4223
+ * thinking process before the final answer. Requires a minimum budget of 1,024
4224
+ * tokens and counts towards your `max_tokens` limit.
4225
+ *
4226
+ * See
4227
+ * [extended thinking](https://docs.claude.com/en/docs/build-with-claude/extended-thinking)
4228
+ * for details.
4229
+ */
4230
+ thinking?: BetaThinkingConfigParam;
4231
+
4232
+ /**
4233
+ * Body param: How the model should use the provided tools. The model can use a
4234
+ * specific tool, any available tool, decide by itself, or not use tools at all.
4235
+ */
4236
+ tool_choice?: BetaToolChoice;
4237
+
4238
+ /**
4239
+ * Body param: Definitions of tools that the model may use.
4240
+ *
4241
+ * If you include `tools` in your API request, the model may return `tool_use`
4242
+ * content blocks that represent the model's use of those tools. You can then run
4243
+ * those tools using the tool input generated by the model and then optionally
4244
+ * return results back to the model using `tool_result` content blocks.
4245
+ *
4246
+ * There are two types of tools: **client tools** and **server tools**. The
4247
+ * behavior described below applies to client tools. For
4248
+ * [server tools](https://docs.claude.com/en/docs/agents-and-tools/tool-use/overview#server-tools),
4249
+ * see their individual documentation as each has its own behavior (e.g., the
4250
+ * [web search tool](https://docs.claude.com/en/docs/agents-and-tools/tool-use/web-search-tool)).
4251
+ *
4252
+ * Each tool definition includes:
4253
+ *
4254
+ * - `name`: Name of the tool.
4255
+ * - `description`: Optional, but strongly-recommended description of the tool.
4256
+ * - `input_schema`: [JSON schema](https://json-schema.org/draft/2020-12) for the
4257
+ * tool `input` shape that the model will produce in `tool_use` output content
4258
+ * blocks.
4259
+ *
4260
+ * For example, if you defined `tools` as:
4261
+ *
4262
+ * ```json
4263
+ * [
4264
+ * {
4265
+ * "name": "get_stock_price",
4266
+ * "description": "Get the current stock price for a given ticker symbol.",
4267
+ * "input_schema": {
4268
+ * "type": "object",
4269
+ * "properties": {
4270
+ * "ticker": {
4271
+ * "type": "string",
4272
+ * "description": "The stock ticker symbol, e.g. AAPL for Apple Inc."
4273
+ * }
4274
+ * },
4275
+ * "required": ["ticker"]
4276
+ * }
4277
+ * }
4278
+ * ]
4279
+ * ```
4280
+ *
4281
+ * And then asked the model "What's the S&P 500 at today?", the model might produce
4282
+ * `tool_use` content blocks in the response like this:
4283
+ *
4284
+ * ```json
4285
+ * [
4286
+ * {
4287
+ * "type": "tool_use",
4288
+ * "id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
4289
+ * "name": "get_stock_price",
4290
+ * "input": { "ticker": "^GSPC" }
4291
+ * }
4292
+ * ]
4293
+ * ```
4294
+ *
4295
+ * You might then run your `get_stock_price` tool with `{"ticker": "^GSPC"}` as an
4296
+ * input, and return the following back to the model in a subsequent `user`
4297
+ * message:
4298
+ *
4299
+ * ```json
4300
+ * [
4301
+ * {
4302
+ * "type": "tool_result",
4303
+ * "tool_use_id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
4304
+ * "content": "259.75 USD"
4305
+ * }
4306
+ * ]
4307
+ * ```
4308
+ *
4309
+ * Tools can be used for workflows that include running client-side tools and
4310
+ * functions, or more generally whenever you want the model to produce a particular
4311
+ * JSON structure of output.
4312
+ *
4313
+ * See our [guide](https://docs.claude.com/en/docs/tool-use) for more details.
4314
+ */
4315
+ tools?: Array<BetaToolUnion>;
4316
+
4317
+ /**
4318
+ * @deprecated Deprecated. Models released after Claude Opus 4.6 do not accept
4319
+ * top_k; any value will be rejected with a 400 error.
4320
+ */
4321
+ top_k?: number;
4322
+
4323
+ /**
4324
+ * @deprecated Deprecated. Models released after Claude Opus 4.6 do not support
4325
+ * setting top_p. A value >= 0.99 will be accepted for backwards compatibility, all
4326
+ * other values will be rejected with a 400 error.
4327
+ */
4328
+ top_p?: number;
4329
+
4330
+ /**
4331
+ * Body param: The user profile ID to attribute this request to. Use when acting on
4332
+ * behalf of a party other than your organization.
4333
+ */
4334
+ user_profile_id?: string | null;
4335
+
4336
+ /**
4337
+ * Header param: Optional header to specify the beta version(s) you want to use.
4338
+ */
4339
+ betas?: Array<BetaAPI.AnthropicBeta>;
4340
+ }
4341
+
4342
+ export namespace MessageCreateParams {
4343
+ export type MessageCreateParamsNonStreaming = BetaMessagesAPI.MessageCreateParamsNonStreaming;
4344
+ export type MessageCreateParamsStreaming = BetaMessagesAPI.MessageCreateParamsStreaming;
4345
+ }
4346
+
4347
+ export interface MessageCreateParamsNonStreaming extends MessageCreateParamsBase {
4348
+ /**
4349
+ * Body param: Whether to incrementally stream the response using server-sent
4350
+ * events.
4351
+ *
4352
+ * See [streaming](https://docs.claude.com/en/api/messages-streaming) for details.
4353
+ */
4354
+ stream?: false;
4355
+ }
4356
+
4357
+ export interface MessageCreateParamsStreaming extends MessageCreateParamsBase {
4358
+ /**
4359
+ * Body param: Whether to incrementally stream the response using server-sent
4360
+ * events.
4361
+ *
4362
+ * See [streaming](https://docs.claude.com/en/api/messages-streaming) for details.
4363
+ */
4364
+ stream: true;
4365
+ }
4366
+
4367
+ export interface MessageCountTokensParams {
4368
+ /**
4369
+ * Body param: Input messages.
4370
+ *
4371
+ * Our models are trained to operate on alternating `user` and `assistant`
4372
+ * conversational turns. When creating a new `Message`, you specify the prior
4373
+ * conversational turns with the `messages` parameter, and the model then generates
4374
+ * the next `Message` in the conversation. Consecutive `user` or `assistant` turns
4375
+ * in your request will be combined into a single turn.
4376
+ *
4377
+ * Each input message must be an object with a `role` and `content`. You can
4378
+ * specify a single `user`-role message, or you can include multiple `user` and
4379
+ * `assistant` messages.
4380
+ *
4381
+ * If the final message uses the `assistant` role, the response content will
4382
+ * continue immediately from the content in that message. This can be used to
4383
+ * constrain part of the model's response.
4384
+ *
4385
+ * Example with a single `user` message:
4386
+ *
4387
+ * ```json
4388
+ * [{ "role": "user", "content": "Hello, Claude" }]
4389
+ * ```
4390
+ *
4391
+ * Example with multiple conversational turns:
4392
+ *
4393
+ * ```json
4394
+ * [
4395
+ * { "role": "user", "content": "Hello there." },
4396
+ * { "role": "assistant", "content": "Hi, I'm Claude. How can I help you?" },
4397
+ * { "role": "user", "content": "Can you explain LLMs in plain English?" }
4398
+ * ]
4399
+ * ```
4400
+ *
4401
+ * Example with a partially-filled response from Claude:
4402
+ *
4403
+ * ```json
4404
+ * [
4405
+ * {
4406
+ * "role": "user",
4407
+ * "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
4408
+ * },
4409
+ * { "role": "assistant", "content": "The best answer is (" }
4410
+ * ]
4411
+ * ```
4412
+ *
4413
+ * Each input message `content` may be either a single `string` or an array of
4414
+ * content blocks, where each block has a specific `type`. Using a `string` for
4415
+ * `content` is shorthand for an array of one content block of type `"text"`. The
4416
+ * following input messages are equivalent:
4417
+ *
4418
+ * ```json
4419
+ * { "role": "user", "content": "Hello, Claude" }
4420
+ * ```
4421
+ *
4422
+ * ```json
4423
+ * { "role": "user", "content": [{ "type": "text", "text": "Hello, Claude" }] }
4424
+ * ```
4425
+ *
4426
+ * See [input examples](https://docs.claude.com/en/api/messages-examples).
4427
+ *
4428
+ * Note that if you want to include a
4429
+ * [system prompt](https://docs.claude.com/en/docs/system-prompts), you can use the
4430
+ * top-level `system` parameter — there is no `"system"` role for input messages in
4431
+ * the Messages API.
4432
+ *
4433
+ * There is a limit of 100,000 messages in a single request.
4434
+ */
4435
+ messages: Array<BetaMessageParam>;
4436
+
4437
+ /**
4438
+ * Body param: The model that will complete your prompt.
4439
+ *
4440
+ * See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
4441
+ * details and options.
4442
+ */
4443
+ model: MessagesAPI.Model;
4444
+
4445
+ /**
4446
+ * Body param: Top-level cache control automatically applies a cache_control marker
4447
+ * to the last cacheable block in the request.
4448
+ */
4449
+ cache_control?: BetaCacheControlEphemeral | null;
4450
+
4451
+ /**
4452
+ * Body param: Context management configuration.
4453
+ *
4454
+ * This allows you to control how Claude manages context across multiple requests,
4455
+ * such as whether to clear function results or not.
4456
+ */
4457
+ context_management?: BetaContextManagementConfig | null;
4458
+
4459
+ /**
4460
+ * Body param: MCP servers to be utilized in this request
4461
+ */
4462
+ mcp_servers?: Array<BetaRequestMCPServerURLDefinition>;
4463
+
4464
+ /**
4465
+ * Body param: Configuration options for the model's output, such as the output
4466
+ * format.
4467
+ */
4468
+ output_config?: BetaOutputConfig;
4469
+
4470
+ /**
4471
+ * Body param: Deprecated: Use `output_config.format` instead. See
4472
+ * [structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs)
4473
+ *
4474
+ * A schema to specify Claude's output format in responses. This parameter will be
4475
+ * removed in a future release.
4476
+ */
4477
+ output_format?: BetaJSONOutputFormat | null;
4478
+
4479
+ /**
4480
+ * Body param: The inference speed mode for this request. `"fast"` enables high
4481
+ * output-tokens-per-second inference.
4482
+ */
4483
+ speed?: 'standard' | 'fast' | null;
4484
+
4485
+ /**
4486
+ * Body param: System prompt.
4487
+ *
4488
+ * A system prompt is a way of providing context and instructions to Claude, such
4489
+ * as specifying a particular goal or role. See our
4490
+ * [guide to system prompts](https://docs.claude.com/en/docs/system-prompts).
4491
+ */
4492
+ system?: string | Array<BetaTextBlockParam>;
4493
+
4494
+ /**
4495
+ * Body param: Configuration for enabling Claude's extended thinking.
4496
+ *
4497
+ * When enabled, responses include `thinking` content blocks showing Claude's
4498
+ * thinking process before the final answer. Requires a minimum budget of 1,024
4499
+ * tokens and counts towards your `max_tokens` limit.
4500
+ *
4501
+ * See
4502
+ * [extended thinking](https://docs.claude.com/en/docs/build-with-claude/extended-thinking)
4503
+ * for details.
4504
+ */
4505
+ thinking?: BetaThinkingConfigParam;
4506
+
4507
+ /**
4508
+ * Body param: How the model should use the provided tools. The model can use a
4509
+ * specific tool, any available tool, decide by itself, or not use tools at all.
4510
+ */
4511
+ tool_choice?: BetaToolChoice;
4512
+
4513
+ /**
4514
+ * Body param: Definitions of tools that the model may use.
4515
+ *
4516
+ * If you include `tools` in your API request, the model may return `tool_use`
4517
+ * content blocks that represent the model's use of those tools. You can then run
4518
+ * those tools using the tool input generated by the model and then optionally
4519
+ * return results back to the model using `tool_result` content blocks.
4520
+ *
4521
+ * There are two types of tools: **client tools** and **server tools**. The
4522
+ * behavior described below applies to client tools. For
4523
+ * [server tools](https://docs.claude.com/en/docs/agents-and-tools/tool-use/overview#server-tools),
4524
+ * see their individual documentation as each has its own behavior (e.g., the
4525
+ * [web search tool](https://docs.claude.com/en/docs/agents-and-tools/tool-use/web-search-tool)).
4526
+ *
4527
+ * Each tool definition includes:
4528
+ *
4529
+ * - `name`: Name of the tool.
4530
+ * - `description`: Optional, but strongly-recommended description of the tool.
4531
+ * - `input_schema`: [JSON schema](https://json-schema.org/draft/2020-12) for the
4532
+ * tool `input` shape that the model will produce in `tool_use` output content
4533
+ * blocks.
4534
+ *
4535
+ * For example, if you defined `tools` as:
4536
+ *
4537
+ * ```json
4538
+ * [
4539
+ * {
4540
+ * "name": "get_stock_price",
4541
+ * "description": "Get the current stock price for a given ticker symbol.",
4542
+ * "input_schema": {
4543
+ * "type": "object",
4544
+ * "properties": {
4545
+ * "ticker": {
4546
+ * "type": "string",
4547
+ * "description": "The stock ticker symbol, e.g. AAPL for Apple Inc."
4548
+ * }
4549
+ * },
4550
+ * "required": ["ticker"]
4551
+ * }
4552
+ * }
4553
+ * ]
4554
+ * ```
4555
+ *
4556
+ * And then asked the model "What's the S&P 500 at today?", the model might produce
4557
+ * `tool_use` content blocks in the response like this:
4558
+ *
4559
+ * ```json
4560
+ * [
4561
+ * {
4562
+ * "type": "tool_use",
4563
+ * "id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
4564
+ * "name": "get_stock_price",
4565
+ * "input": { "ticker": "^GSPC" }
4566
+ * }
4567
+ * ]
4568
+ * ```
4569
+ *
4570
+ * You might then run your `get_stock_price` tool with `{"ticker": "^GSPC"}` as an
4571
+ * input, and return the following back to the model in a subsequent `user`
4572
+ * message:
4573
+ *
4574
+ * ```json
4575
+ * [
4576
+ * {
4577
+ * "type": "tool_result",
4578
+ * "tool_use_id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
4579
+ * "content": "259.75 USD"
4580
+ * }
4581
+ * ]
4582
+ * ```
4583
+ *
4584
+ * Tools can be used for workflows that include running client-side tools and
4585
+ * functions, or more generally whenever you want the model to produce a particular
4586
+ * JSON structure of output.
4587
+ *
4588
+ * See our [guide](https://docs.claude.com/en/docs/tool-use) for more details.
4589
+ */
4590
+ tools?: Array<
4591
+ | BetaTool
4592
+ | BetaToolBash20241022
4593
+ | BetaToolBash20250124
4594
+ | BetaCodeExecutionTool20250522
4595
+ | BetaCodeExecutionTool20250825
4596
+ | BetaCodeExecutionTool20260120
4597
+ | BetaToolComputerUse20241022
4598
+ | BetaMemoryTool20250818
4599
+ | BetaToolComputerUse20250124
4600
+ | BetaToolTextEditor20241022
4601
+ | BetaToolComputerUse20251124
4602
+ | BetaToolTextEditor20250124
4603
+ | BetaToolTextEditor20250429
4604
+ | BetaToolTextEditor20250728
4605
+ | BetaWebSearchTool20250305
4606
+ | BetaWebFetchTool20250910
4607
+ | BetaWebSearchTool20260209
4608
+ | BetaWebFetchTool20260209
4609
+ | BetaWebFetchTool20260309
4610
+ | BetaAdvisorTool20260301
4611
+ | BetaToolSearchToolBm25_20251119
4612
+ | BetaToolSearchToolRegex20251119
4613
+ | BetaMCPToolset
4614
+ >;
4615
+
4616
+ /**
4617
+ * Header param: Optional header to specify the beta version(s) you want to use.
4618
+ */
4619
+ betas?: Array<BetaAPI.AnthropicBeta>;
4620
+ }
4621
+
4622
+ export { BetaToolRunner, type BetaToolRunnerParams } from '../../../lib/tools/BetaToolRunner';
4623
+ export { ToolError } from '../../../lib/tools/ToolError';
4624
+
4625
+ Messages.Batches = Batches;
4626
+
4627
+ Messages.BetaToolRunner = BetaToolRunner;
4628
+ Messages.ToolError = ToolError;
4629
+
4630
+ export declare namespace Messages {
4631
+ export {
4632
+ type BetaAdvisorMessageIterationUsage as BetaAdvisorMessageIterationUsage,
4633
+ type BetaAdvisorRedactedResultBlock as BetaAdvisorRedactedResultBlock,
4634
+ type BetaAdvisorRedactedResultBlockParam as BetaAdvisorRedactedResultBlockParam,
4635
+ type BetaAdvisorResultBlock as BetaAdvisorResultBlock,
4636
+ type BetaAdvisorResultBlockParam as BetaAdvisorResultBlockParam,
4637
+ type BetaAdvisorTool20260301 as BetaAdvisorTool20260301,
4638
+ type BetaAdvisorToolResultBlock as BetaAdvisorToolResultBlock,
4639
+ type BetaAdvisorToolResultBlockParam as BetaAdvisorToolResultBlockParam,
4640
+ type BetaAdvisorToolResultError as BetaAdvisorToolResultError,
4641
+ type BetaAdvisorToolResultErrorParam as BetaAdvisorToolResultErrorParam,
4642
+ type BetaAllThinkingTurns as BetaAllThinkingTurns,
4643
+ type BetaBase64ImageSource as BetaBase64ImageSource,
4644
+ type BetaBase64PDFSource as BetaBase64PDFSource,
4645
+ type BetaBashCodeExecutionOutputBlock as BetaBashCodeExecutionOutputBlock,
4646
+ type BetaBashCodeExecutionOutputBlockParam as BetaBashCodeExecutionOutputBlockParam,
4647
+ type BetaBashCodeExecutionResultBlock as BetaBashCodeExecutionResultBlock,
4648
+ type BetaBashCodeExecutionResultBlockParam as BetaBashCodeExecutionResultBlockParam,
4649
+ type BetaBashCodeExecutionToolResultBlock as BetaBashCodeExecutionToolResultBlock,
4650
+ type BetaBashCodeExecutionToolResultBlockParam as BetaBashCodeExecutionToolResultBlockParam,
4651
+ type BetaBashCodeExecutionToolResultError as BetaBashCodeExecutionToolResultError,
4652
+ type BetaBashCodeExecutionToolResultErrorParam as BetaBashCodeExecutionToolResultErrorParam,
4653
+ type BetaCacheControlEphemeral as BetaCacheControlEphemeral,
4654
+ type BetaCacheCreation as BetaCacheCreation,
4655
+ type BetaCacheMissMessagesChanged as BetaCacheMissMessagesChanged,
4656
+ type BetaCacheMissModelChanged as BetaCacheMissModelChanged,
4657
+ type BetaCacheMissPreviousMessageNotFound as BetaCacheMissPreviousMessageNotFound,
4658
+ type BetaCacheMissSystemChanged as BetaCacheMissSystemChanged,
4659
+ type BetaCacheMissToolsChanged as BetaCacheMissToolsChanged,
4660
+ type BetaCacheMissUnavailable as BetaCacheMissUnavailable,
4661
+ type BetaCitationCharLocation as BetaCitationCharLocation,
4662
+ type BetaCitationCharLocationParam as BetaCitationCharLocationParam,
4663
+ type BetaCitationConfig as BetaCitationConfig,
4664
+ type BetaCitationContentBlockLocation as BetaCitationContentBlockLocation,
4665
+ type BetaCitationContentBlockLocationParam as BetaCitationContentBlockLocationParam,
4666
+ type BetaCitationPageLocation as BetaCitationPageLocation,
4667
+ type BetaCitationPageLocationParam as BetaCitationPageLocationParam,
4668
+ type BetaCitationSearchResultLocation as BetaCitationSearchResultLocation,
4669
+ type BetaCitationSearchResultLocationParam as BetaCitationSearchResultLocationParam,
4670
+ type BetaCitationWebSearchResultLocationParam as BetaCitationWebSearchResultLocationParam,
4671
+ type BetaCitationsConfigParam as BetaCitationsConfigParam,
4672
+ type BetaCitationsDelta as BetaCitationsDelta,
4673
+ type BetaCitationsWebSearchResultLocation as BetaCitationsWebSearchResultLocation,
4674
+ type BetaClearThinking20251015Edit as BetaClearThinking20251015Edit,
4675
+ type BetaClearThinking20251015EditResponse as BetaClearThinking20251015EditResponse,
4676
+ type BetaClearToolUses20250919Edit as BetaClearToolUses20250919Edit,
4677
+ type BetaClearToolUses20250919EditResponse as BetaClearToolUses20250919EditResponse,
4678
+ type BetaCodeExecutionOutputBlock as BetaCodeExecutionOutputBlock,
4679
+ type BetaCodeExecutionOutputBlockParam as BetaCodeExecutionOutputBlockParam,
4680
+ type BetaCodeExecutionResultBlock as BetaCodeExecutionResultBlock,
4681
+ type BetaCodeExecutionResultBlockParam as BetaCodeExecutionResultBlockParam,
4682
+ type BetaCodeExecutionTool20250522 as BetaCodeExecutionTool20250522,
4683
+ type BetaCodeExecutionTool20250825 as BetaCodeExecutionTool20250825,
4684
+ type BetaCodeExecutionTool20260120 as BetaCodeExecutionTool20260120,
4685
+ type BetaCodeExecutionToolResultBlock as BetaCodeExecutionToolResultBlock,
4686
+ type BetaCodeExecutionToolResultBlockContent as BetaCodeExecutionToolResultBlockContent,
4687
+ type BetaCodeExecutionToolResultBlockParam as BetaCodeExecutionToolResultBlockParam,
4688
+ type BetaCodeExecutionToolResultBlockParamContent as BetaCodeExecutionToolResultBlockParamContent,
4689
+ type BetaCodeExecutionToolResultError as BetaCodeExecutionToolResultError,
4690
+ type BetaCodeExecutionToolResultErrorCode as BetaCodeExecutionToolResultErrorCode,
4691
+ type BetaCodeExecutionToolResultErrorParam as BetaCodeExecutionToolResultErrorParam,
4692
+ type BetaCompact20260112Edit as BetaCompact20260112Edit,
4693
+ type BetaCompactionBlock as BetaCompactionBlock,
4694
+ type BetaCompactionBlockParam as BetaCompactionBlockParam,
4695
+ type BetaCompactionContentBlockDelta as BetaCompactionContentBlockDelta,
4696
+ type BetaCompactionIterationUsage as BetaCompactionIterationUsage,
4697
+ type BetaContainer as BetaContainer,
4698
+ type BetaContainerParams as BetaContainerParams,
4699
+ type BetaContainerUploadBlock as BetaContainerUploadBlock,
4700
+ type BetaContainerUploadBlockParam as BetaContainerUploadBlockParam,
4701
+ type BetaContentBlock as BetaContentBlock,
4702
+ type BetaContentBlockParam as BetaContentBlockParam,
4703
+ type BetaContentBlockSource as BetaContentBlockSource,
4704
+ type BetaContentBlockSourceContent as BetaContentBlockSourceContent,
4705
+ type BetaContextManagementConfig as BetaContextManagementConfig,
4706
+ type BetaContextManagementResponse as BetaContextManagementResponse,
4707
+ type BetaCountTokensContextManagementResponse as BetaCountTokensContextManagementResponse,
4708
+ type BetaDiagnostics as BetaDiagnostics,
4709
+ type BetaDiagnosticsParam as BetaDiagnosticsParam,
4710
+ type BetaDirectCaller as BetaDirectCaller,
4711
+ type BetaDocumentBlock as BetaDocumentBlock,
4712
+ type BetaEncryptedCodeExecutionResultBlock as BetaEncryptedCodeExecutionResultBlock,
4713
+ type BetaEncryptedCodeExecutionResultBlockParam as BetaEncryptedCodeExecutionResultBlockParam,
4714
+ type BetaFileDocumentSource as BetaFileDocumentSource,
4715
+ type BetaFileImageSource as BetaFileImageSource,
4716
+ type BetaImageBlockParam as BetaImageBlockParam,
4717
+ type BetaInputJSONDelta as BetaInputJSONDelta,
4718
+ type BetaInputTokensClearAtLeast as BetaInputTokensClearAtLeast,
4719
+ type BetaInputTokensTrigger as BetaInputTokensTrigger,
4720
+ type BetaIterationsUsage as BetaIterationsUsage,
4721
+ type BetaJSONOutputFormat as BetaJSONOutputFormat,
4722
+ type BetaMCPToolConfig as BetaMCPToolConfig,
4723
+ type BetaMCPToolDefaultConfig as BetaMCPToolDefaultConfig,
4724
+ type BetaMCPToolResultBlock as BetaMCPToolResultBlock,
4725
+ type BetaMCPToolUseBlock as BetaMCPToolUseBlock,
4726
+ type BetaMCPToolUseBlockParam as BetaMCPToolUseBlockParam,
4727
+ type BetaMCPToolset as BetaMCPToolset,
4728
+ type BetaMemoryTool20250818 as BetaMemoryTool20250818,
4729
+ type BetaMemoryTool20250818Command as BetaMemoryTool20250818Command,
4730
+ type BetaMemoryTool20250818CreateCommand as BetaMemoryTool20250818CreateCommand,
4731
+ type BetaMemoryTool20250818DeleteCommand as BetaMemoryTool20250818DeleteCommand,
4732
+ type BetaMemoryTool20250818InsertCommand as BetaMemoryTool20250818InsertCommand,
4733
+ type BetaMemoryTool20250818RenameCommand as BetaMemoryTool20250818RenameCommand,
4734
+ type BetaMemoryTool20250818StrReplaceCommand as BetaMemoryTool20250818StrReplaceCommand,
4735
+ type BetaMemoryTool20250818ViewCommand as BetaMemoryTool20250818ViewCommand,
4736
+ type BetaMessage as BetaMessage,
4737
+ type BetaMessageDeltaUsage as BetaMessageDeltaUsage,
4738
+ type BetaMessageIterationUsage as BetaMessageIterationUsage,
4739
+ type BetaMessageParam as BetaMessageParam,
4740
+ type BetaMessageTokensCount as BetaMessageTokensCount,
4741
+ type BetaMetadata as BetaMetadata,
4742
+ type BetaMidConversationSystemBlockParam as BetaMidConversationSystemBlockParam,
4743
+ type BetaOutputConfig as BetaOutputConfig,
4744
+ type BetaOutputTokensDetails as BetaOutputTokensDetails,
4745
+ type BetaPlainTextSource as BetaPlainTextSource,
4746
+ type BetaRawContentBlockDelta as BetaRawContentBlockDelta,
4747
+ type BetaRawContentBlockDeltaEvent as BetaRawContentBlockDeltaEvent,
4748
+ type BetaRawContentBlockStartEvent as BetaRawContentBlockStartEvent,
4749
+ type BetaRawContentBlockStopEvent as BetaRawContentBlockStopEvent,
4750
+ type BetaRawMessageDeltaEvent as BetaRawMessageDeltaEvent,
4751
+ type BetaRawMessageStartEvent as BetaRawMessageStartEvent,
4752
+ type BetaRawMessageStopEvent as BetaRawMessageStopEvent,
4753
+ type BetaRawMessageStreamEvent as BetaRawMessageStreamEvent,
4754
+ type BetaRedactedThinkingBlock as BetaRedactedThinkingBlock,
4755
+ type BetaRedactedThinkingBlockParam as BetaRedactedThinkingBlockParam,
4756
+ type BetaRefusalStopDetails as BetaRefusalStopDetails,
4757
+ type BetaRequestDocumentBlock as BetaRequestDocumentBlock,
4758
+ type BetaRequestMCPServerToolConfiguration as BetaRequestMCPServerToolConfiguration,
4759
+ type BetaRequestMCPServerURLDefinition as BetaRequestMCPServerURLDefinition,
4760
+ type BetaRequestMCPToolResultBlockParam as BetaRequestMCPToolResultBlockParam,
4761
+ type BetaSearchResultBlockParam as BetaSearchResultBlockParam,
4762
+ type BetaServerToolCaller as BetaServerToolCaller,
4763
+ type BetaServerToolCaller20260120 as BetaServerToolCaller20260120,
4764
+ type BetaServerToolUsage as BetaServerToolUsage,
4765
+ type BetaServerToolUseBlock as BetaServerToolUseBlock,
4766
+ type BetaServerToolUseBlockParam as BetaServerToolUseBlockParam,
4767
+ type BetaSignatureDelta as BetaSignatureDelta,
4768
+ type BetaSkill as BetaSkill,
4769
+ type BetaSkillParams as BetaSkillParams,
4770
+ type BetaStopReason as BetaStopReason,
4771
+ type BetaTextBlock as BetaTextBlock,
4772
+ type BetaTextBlockParam as BetaTextBlockParam,
4773
+ type BetaTextCitation as BetaTextCitation,
4774
+ type BetaTextCitationParam as BetaTextCitationParam,
4775
+ type BetaTextDelta as BetaTextDelta,
4776
+ type BetaTextEditorCodeExecutionCreateResultBlock as BetaTextEditorCodeExecutionCreateResultBlock,
4777
+ type BetaTextEditorCodeExecutionCreateResultBlockParam as BetaTextEditorCodeExecutionCreateResultBlockParam,
4778
+ type BetaTextEditorCodeExecutionStrReplaceResultBlock as BetaTextEditorCodeExecutionStrReplaceResultBlock,
4779
+ type BetaTextEditorCodeExecutionStrReplaceResultBlockParam as BetaTextEditorCodeExecutionStrReplaceResultBlockParam,
4780
+ type BetaTextEditorCodeExecutionToolResultBlock as BetaTextEditorCodeExecutionToolResultBlock,
4781
+ type BetaTextEditorCodeExecutionToolResultBlockParam as BetaTextEditorCodeExecutionToolResultBlockParam,
4782
+ type BetaTextEditorCodeExecutionToolResultError as BetaTextEditorCodeExecutionToolResultError,
4783
+ type BetaTextEditorCodeExecutionToolResultErrorParam as BetaTextEditorCodeExecutionToolResultErrorParam,
4784
+ type BetaTextEditorCodeExecutionViewResultBlock as BetaTextEditorCodeExecutionViewResultBlock,
4785
+ type BetaTextEditorCodeExecutionViewResultBlockParam as BetaTextEditorCodeExecutionViewResultBlockParam,
4786
+ type BetaThinkingBlock as BetaThinkingBlock,
4787
+ type BetaThinkingBlockParam as BetaThinkingBlockParam,
4788
+ type BetaThinkingConfigAdaptive as BetaThinkingConfigAdaptive,
4789
+ type BetaThinkingConfigDisabled as BetaThinkingConfigDisabled,
4790
+ type BetaThinkingConfigEnabled as BetaThinkingConfigEnabled,
4791
+ type BetaThinkingConfigParam as BetaThinkingConfigParam,
4792
+ type BetaThinkingDelta as BetaThinkingDelta,
4793
+ type BetaThinkingTurns as BetaThinkingTurns,
4794
+ type BetaTokenTaskBudget as BetaTokenTaskBudget,
4795
+ type BetaTool as BetaTool,
4796
+ type BetaToolBash20241022 as BetaToolBash20241022,
4797
+ type BetaToolBash20250124 as BetaToolBash20250124,
4798
+ type BetaToolChoice as BetaToolChoice,
4799
+ type BetaToolChoiceAny as BetaToolChoiceAny,
4800
+ type BetaToolChoiceAuto as BetaToolChoiceAuto,
4801
+ type BetaToolChoiceNone as BetaToolChoiceNone,
4802
+ type BetaToolChoiceTool as BetaToolChoiceTool,
4803
+ type BetaToolComputerUse20241022 as BetaToolComputerUse20241022,
4804
+ type BetaToolComputerUse20250124 as BetaToolComputerUse20250124,
4805
+ type BetaToolComputerUse20251124 as BetaToolComputerUse20251124,
4806
+ type BetaToolReferenceBlock as BetaToolReferenceBlock,
4807
+ type BetaToolReferenceBlockParam as BetaToolReferenceBlockParam,
4808
+ type BetaToolResultBlockParam as BetaToolResultBlockParam,
4809
+ type BetaToolResultContentBlockParam as BetaToolResultContentBlockParam,
4810
+ type BetaToolSearchToolBm25_20251119 as BetaToolSearchToolBm25_20251119,
4811
+ type BetaToolSearchToolRegex20251119 as BetaToolSearchToolRegex20251119,
4812
+ type BetaToolSearchToolResultBlock as BetaToolSearchToolResultBlock,
4813
+ type BetaToolSearchToolResultBlockParam as BetaToolSearchToolResultBlockParam,
4814
+ type BetaToolSearchToolResultError as BetaToolSearchToolResultError,
4815
+ type BetaToolSearchToolResultErrorParam as BetaToolSearchToolResultErrorParam,
4816
+ type BetaToolSearchToolSearchResultBlock as BetaToolSearchToolSearchResultBlock,
4817
+ type BetaToolSearchToolSearchResultBlockParam as BetaToolSearchToolSearchResultBlockParam,
4818
+ type BetaToolTextEditor20241022 as BetaToolTextEditor20241022,
4819
+ type BetaToolTextEditor20250124 as BetaToolTextEditor20250124,
4820
+ type BetaToolTextEditor20250429 as BetaToolTextEditor20250429,
4821
+ type BetaToolTextEditor20250728 as BetaToolTextEditor20250728,
4822
+ type BetaToolUnion as BetaToolUnion,
4823
+ type BetaToolUseBlock as BetaToolUseBlock,
4824
+ type BetaToolUseBlockParam as BetaToolUseBlockParam,
4825
+ type BetaToolUsesKeep as BetaToolUsesKeep,
4826
+ type BetaToolUsesTrigger as BetaToolUsesTrigger,
4827
+ type BetaURLImageSource as BetaURLImageSource,
4828
+ type BetaURLPDFSource as BetaURLPDFSource,
4829
+ type BetaUsage as BetaUsage,
4830
+ type BetaUserLocation as BetaUserLocation,
4831
+ type BetaWebFetchBlock as BetaWebFetchBlock,
4832
+ type BetaWebFetchBlockParam as BetaWebFetchBlockParam,
4833
+ type BetaWebFetchTool20250910 as BetaWebFetchTool20250910,
4834
+ type BetaWebFetchTool20260209 as BetaWebFetchTool20260209,
4835
+ type BetaWebFetchTool20260309 as BetaWebFetchTool20260309,
4836
+ type BetaWebFetchToolResultBlock as BetaWebFetchToolResultBlock,
4837
+ type BetaWebFetchToolResultBlockParam as BetaWebFetchToolResultBlockParam,
4838
+ type BetaWebFetchToolResultErrorBlock as BetaWebFetchToolResultErrorBlock,
4839
+ type BetaWebFetchToolResultErrorBlockParam as BetaWebFetchToolResultErrorBlockParam,
4840
+ type BetaWebFetchToolResultErrorCode as BetaWebFetchToolResultErrorCode,
4841
+ type BetaWebSearchResultBlock as BetaWebSearchResultBlock,
4842
+ type BetaWebSearchResultBlockParam as BetaWebSearchResultBlockParam,
4843
+ type BetaWebSearchTool20250305 as BetaWebSearchTool20250305,
4844
+ type BetaWebSearchTool20260209 as BetaWebSearchTool20260209,
4845
+ type BetaWebSearchToolRequestError as BetaWebSearchToolRequestError,
4846
+ type BetaWebSearchToolResultBlock as BetaWebSearchToolResultBlock,
4847
+ type BetaWebSearchToolResultBlockContent as BetaWebSearchToolResultBlockContent,
4848
+ type BetaWebSearchToolResultBlockParam as BetaWebSearchToolResultBlockParam,
4849
+ type BetaWebSearchToolResultBlockParamContent as BetaWebSearchToolResultBlockParamContent,
4850
+ type BetaWebSearchToolResultError as BetaWebSearchToolResultError,
4851
+ type BetaWebSearchToolResultErrorCode as BetaWebSearchToolResultErrorCode,
4852
+ type BetaBase64PDFBlock as BetaBase64PDFBlock,
4853
+ type MessageCreateParams as MessageCreateParams,
4854
+ type MessageCreateParamsNonStreaming as MessageCreateParamsNonStreaming,
4855
+ type MessageCreateParamsStreaming as MessageCreateParamsStreaming,
4856
+ type MessageCountTokensParams as MessageCountTokensParams,
4857
+ };
4858
+
4859
+ export { type BetaToolRunnerParams, BetaToolRunner };
4860
+ export { ToolError };
4861
+
4862
+ export {
4863
+ Batches as Batches,
4864
+ type BetaDeletedMessageBatch as BetaDeletedMessageBatch,
4865
+ type BetaMessageBatch as BetaMessageBatch,
4866
+ type BetaMessageBatchCanceledResult as BetaMessageBatchCanceledResult,
4867
+ type BetaMessageBatchErroredResult as BetaMessageBatchErroredResult,
4868
+ type BetaMessageBatchExpiredResult as BetaMessageBatchExpiredResult,
4869
+ type BetaMessageBatchIndividualResponse as BetaMessageBatchIndividualResponse,
4870
+ type BetaMessageBatchRequestCounts as BetaMessageBatchRequestCounts,
4871
+ type BetaMessageBatchResult as BetaMessageBatchResult,
4872
+ type BetaMessageBatchSucceededResult as BetaMessageBatchSucceededResult,
4873
+ type BetaMessageBatchesPage as BetaMessageBatchesPage,
4874
+ type BatchCreateParams as BatchCreateParams,
4875
+ type BatchRetrieveParams as BatchRetrieveParams,
4876
+ type BatchListParams as BatchListParams,
4877
+ type BatchDeleteParams as BatchDeleteParams,
4878
+ type BatchCancelParams as BatchCancelParams,
4879
+ type BatchResultsParams as BatchResultsParams,
4880
+ };
4881
+ }