@sean.holung/minicode 0.2.1 → 0.2.3

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 (1467) hide show
  1. package/README.md +7 -4
  2. package/dist/src/agent/config.js +14 -2
  3. package/dist/src/index.js +16 -2
  4. package/dist/src/indexer/code-map.js +52 -5
  5. package/dist/src/indexer/focus-tracker.js +63 -0
  6. package/dist/src/indexer/project-index.js +2 -2
  7. package/dist/src/ui/cli-ink.js +22 -2
  8. package/dist/tests/agent.test.js +62 -0
  9. package/node_modules/@anthropic-ai/sdk/.github/logo.svg +3 -0
  10. package/node_modules/@anthropic-ai/sdk/CHANGELOG.md +2201 -0
  11. package/node_modules/@anthropic-ai/sdk/LICENSE +8 -0
  12. package/node_modules/@anthropic-ai/sdk/README.md +824 -0
  13. package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts +3 -0
  14. package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts.map +1 -0
  15. package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts +3 -0
  16. package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts.map +1 -0
  17. package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js +226 -0
  18. package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js.map +1 -0
  19. package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs +223 -0
  20. package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs.map +1 -0
  21. package/node_modules/@anthropic-ai/sdk/api-promise.d.mts +2 -0
  22. package/node_modules/@anthropic-ai/sdk/api-promise.d.mts.map +1 -0
  23. package/node_modules/@anthropic-ai/sdk/api-promise.d.ts +2 -0
  24. package/node_modules/@anthropic-ai/sdk/api-promise.d.ts.map +1 -0
  25. package/node_modules/@anthropic-ai/sdk/api-promise.js +6 -0
  26. package/node_modules/@anthropic-ai/sdk/api-promise.js.map +1 -0
  27. package/node_modules/@anthropic-ai/sdk/api-promise.mjs +2 -0
  28. package/node_modules/@anthropic-ai/sdk/api-promise.mjs.map +1 -0
  29. package/node_modules/@anthropic-ai/sdk/bin/cli +53 -0
  30. package/node_modules/@anthropic-ai/sdk/bin/migration-config.json +82 -0
  31. package/node_modules/@anthropic-ai/sdk/client.d.mts +246 -0
  32. package/node_modules/@anthropic-ai/sdk/client.d.mts.map +1 -0
  33. package/node_modules/@anthropic-ai/sdk/client.d.ts +246 -0
  34. package/node_modules/@anthropic-ai/sdk/client.d.ts.map +1 -0
  35. package/node_modules/@anthropic-ai/sdk/client.js +571 -0
  36. package/node_modules/@anthropic-ai/sdk/client.js.map +1 -0
  37. package/node_modules/@anthropic-ai/sdk/client.mjs +566 -0
  38. package/node_modules/@anthropic-ai/sdk/client.mjs.map +1 -0
  39. package/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts +49 -0
  40. package/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts.map +1 -0
  41. package/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts +49 -0
  42. package/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts.map +1 -0
  43. package/node_modules/@anthropic-ai/sdk/core/api-promise.js +76 -0
  44. package/node_modules/@anthropic-ai/sdk/core/api-promise.js.map +1 -0
  45. package/node_modules/@anthropic-ai/sdk/core/api-promise.mjs +72 -0
  46. package/node_modules/@anthropic-ai/sdk/core/api-promise.mjs.map +1 -0
  47. package/node_modules/@anthropic-ai/sdk/core/error.d.mts +47 -0
  48. package/node_modules/@anthropic-ai/sdk/core/error.d.mts.map +1 -0
  49. package/node_modules/@anthropic-ai/sdk/core/error.d.ts +47 -0
  50. package/node_modules/@anthropic-ai/sdk/core/error.d.ts.map +1 -0
  51. package/node_modules/@anthropic-ai/sdk/core/error.js +114 -0
  52. package/node_modules/@anthropic-ai/sdk/core/error.js.map +1 -0
  53. package/node_modules/@anthropic-ai/sdk/core/error.mjs +98 -0
  54. package/node_modules/@anthropic-ai/sdk/core/error.mjs.map +1 -0
  55. package/node_modules/@anthropic-ai/sdk/core/pagination.d.mts +105 -0
  56. package/node_modules/@anthropic-ai/sdk/core/pagination.d.mts.map +1 -0
  57. package/node_modules/@anthropic-ai/sdk/core/pagination.d.ts +105 -0
  58. package/node_modules/@anthropic-ai/sdk/core/pagination.d.ts.map +1 -0
  59. package/node_modules/@anthropic-ai/sdk/core/pagination.js +185 -0
  60. package/node_modules/@anthropic-ai/sdk/core/pagination.js.map +1 -0
  61. package/node_modules/@anthropic-ai/sdk/core/pagination.mjs +177 -0
  62. package/node_modules/@anthropic-ai/sdk/core/pagination.mjs.map +1 -0
  63. package/node_modules/@anthropic-ai/sdk/core/resource.d.mts +6 -0
  64. package/node_modules/@anthropic-ai/sdk/core/resource.d.mts.map +1 -0
  65. package/node_modules/@anthropic-ai/sdk/core/resource.d.ts +6 -0
  66. package/node_modules/@anthropic-ai/sdk/core/resource.d.ts.map +1 -0
  67. package/node_modules/@anthropic-ai/sdk/core/resource.js +11 -0
  68. package/node_modules/@anthropic-ai/sdk/core/resource.js.map +1 -0
  69. package/node_modules/@anthropic-ai/sdk/core/resource.mjs +7 -0
  70. package/node_modules/@anthropic-ai/sdk/core/resource.mjs.map +1 -0
  71. package/node_modules/@anthropic-ai/sdk/core/streaming.d.mts +33 -0
  72. package/node_modules/@anthropic-ai/sdk/core/streaming.d.mts.map +1 -0
  73. package/node_modules/@anthropic-ai/sdk/core/streaming.d.ts +33 -0
  74. package/node_modules/@anthropic-ai/sdk/core/streaming.d.ts.map +1 -0
  75. package/node_modules/@anthropic-ai/sdk/core/streaming.js +288 -0
  76. package/node_modules/@anthropic-ai/sdk/core/streaming.js.map +1 -0
  77. package/node_modules/@anthropic-ai/sdk/core/streaming.mjs +283 -0
  78. package/node_modules/@anthropic-ai/sdk/core/streaming.mjs.map +1 -0
  79. package/node_modules/@anthropic-ai/sdk/core/uploads.d.mts +3 -0
  80. package/node_modules/@anthropic-ai/sdk/core/uploads.d.mts.map +1 -0
  81. package/node_modules/@anthropic-ai/sdk/core/uploads.d.ts +3 -0
  82. package/node_modules/@anthropic-ai/sdk/core/uploads.d.ts.map +1 -0
  83. package/node_modules/@anthropic-ai/sdk/core/uploads.js +6 -0
  84. package/node_modules/@anthropic-ai/sdk/core/uploads.js.map +1 -0
  85. package/node_modules/@anthropic-ai/sdk/core/uploads.mjs +2 -0
  86. package/node_modules/@anthropic-ai/sdk/core/uploads.mjs.map +1 -0
  87. package/node_modules/@anthropic-ai/sdk/error.d.mts +2 -0
  88. package/node_modules/@anthropic-ai/sdk/error.d.mts.map +1 -0
  89. package/node_modules/@anthropic-ai/sdk/error.d.ts +2 -0
  90. package/node_modules/@anthropic-ai/sdk/error.d.ts.map +1 -0
  91. package/node_modules/@anthropic-ai/sdk/error.js +6 -0
  92. package/node_modules/@anthropic-ai/sdk/error.js.map +1 -0
  93. package/node_modules/@anthropic-ai/sdk/error.mjs +2 -0
  94. package/node_modules/@anthropic-ai/sdk/error.mjs.map +1 -0
  95. package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.mts +31 -0
  96. package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.mts.map +1 -0
  97. package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.ts +31 -0
  98. package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.ts.map +1 -0
  99. package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.js +56 -0
  100. package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.js.map +1 -0
  101. package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.mjs +52 -0
  102. package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.mjs.map +1 -0
  103. package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.mts +303 -0
  104. package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.mts.map +1 -0
  105. package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.ts +303 -0
  106. package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.ts.map +1 -0
  107. package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.js +419 -0
  108. package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.js.map +1 -0
  109. package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.mjs +406 -0
  110. package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.mjs.map +1 -0
  111. package/node_modules/@anthropic-ai/sdk/helpers/beta/memory.d.mts +11 -0
  112. package/node_modules/@anthropic-ai/sdk/helpers/beta/memory.d.mts.map +1 -0
  113. package/node_modules/@anthropic-ai/sdk/helpers/beta/memory.d.ts +11 -0
  114. package/node_modules/@anthropic-ai/sdk/helpers/beta/memory.d.ts.map +1 -0
  115. package/node_modules/@anthropic-ai/sdk/helpers/beta/memory.js +18 -0
  116. package/node_modules/@anthropic-ai/sdk/helpers/beta/memory.js.map +1 -0
  117. package/node_modules/@anthropic-ai/sdk/helpers/beta/memory.mjs +15 -0
  118. package/node_modules/@anthropic-ai/sdk/helpers/beta/memory.mjs.map +1 -0
  119. package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.mts +27 -0
  120. package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.mts.map +1 -0
  121. package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.ts +27 -0
  122. package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.ts.map +1 -0
  123. package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.js +57 -0
  124. package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.js.map +1 -0
  125. package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.mjs +52 -0
  126. package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.mjs.map +1 -0
  127. package/node_modules/@anthropic-ai/sdk/helpers/index.d.mts +3 -0
  128. package/node_modules/@anthropic-ai/sdk/helpers/index.d.mts.map +1 -0
  129. package/node_modules/@anthropic-ai/sdk/helpers/index.d.ts +3 -0
  130. package/node_modules/@anthropic-ai/sdk/helpers/index.d.ts.map +1 -0
  131. package/node_modules/@anthropic-ai/sdk/helpers/index.js +8 -0
  132. package/node_modules/@anthropic-ai/sdk/helpers/index.js.map +1 -0
  133. package/node_modules/@anthropic-ai/sdk/helpers/index.mjs +3 -0
  134. package/node_modules/@anthropic-ai/sdk/helpers/index.mjs.map +1 -0
  135. package/node_modules/@anthropic-ai/sdk/helpers/json-schema.d.mts +18 -0
  136. package/node_modules/@anthropic-ai/sdk/helpers/json-schema.d.mts.map +1 -0
  137. package/node_modules/@anthropic-ai/sdk/helpers/json-schema.d.ts +18 -0
  138. package/node_modules/@anthropic-ai/sdk/helpers/json-schema.d.ts.map +1 -0
  139. package/node_modules/@anthropic-ai/sdk/helpers/json-schema.js +37 -0
  140. package/node_modules/@anthropic-ai/sdk/helpers/json-schema.js.map +1 -0
  141. package/node_modules/@anthropic-ai/sdk/helpers/json-schema.mjs +34 -0
  142. package/node_modules/@anthropic-ai/sdk/helpers/json-schema.mjs.map +1 -0
  143. package/node_modules/@anthropic-ai/sdk/helpers/zod.d.mts +13 -0
  144. package/node_modules/@anthropic-ai/sdk/helpers/zod.d.mts.map +1 -0
  145. package/node_modules/@anthropic-ai/sdk/helpers/zod.d.ts +13 -0
  146. package/node_modules/@anthropic-ai/sdk/helpers/zod.d.ts.map +1 -0
  147. package/node_modules/@anthropic-ai/sdk/helpers/zod.js +47 -0
  148. package/node_modules/@anthropic-ai/sdk/helpers/zod.js.map +1 -0
  149. package/node_modules/@anthropic-ai/sdk/helpers/zod.mjs +43 -0
  150. package/node_modules/@anthropic-ai/sdk/helpers/zod.mjs.map +1 -0
  151. package/node_modules/@anthropic-ai/sdk/index.d.mts +8 -0
  152. package/node_modules/@anthropic-ai/sdk/index.d.mts.map +1 -0
  153. package/node_modules/@anthropic-ai/sdk/index.d.ts +8 -0
  154. package/node_modules/@anthropic-ai/sdk/index.d.ts.map +1 -0
  155. package/node_modules/@anthropic-ai/sdk/index.js +35 -0
  156. package/node_modules/@anthropic-ai/sdk/index.js.map +1 -0
  157. package/node_modules/@anthropic-ai/sdk/index.mjs +8 -0
  158. package/node_modules/@anthropic-ai/sdk/index.mjs.map +1 -0
  159. package/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts +73 -0
  160. package/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts.map +1 -0
  161. package/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts +73 -0
  162. package/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts.map +1 -0
  163. package/node_modules/@anthropic-ai/sdk/internal/builtin-types.js +4 -0
  164. package/node_modules/@anthropic-ai/sdk/internal/builtin-types.js.map +1 -0
  165. package/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs +3 -0
  166. package/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs.map +1 -0
  167. package/node_modules/@anthropic-ai/sdk/internal/constants.d.mts +5 -0
  168. package/node_modules/@anthropic-ai/sdk/internal/constants.d.mts.map +1 -0
  169. package/node_modules/@anthropic-ai/sdk/internal/constants.d.ts +5 -0
  170. package/node_modules/@anthropic-ai/sdk/internal/constants.d.ts.map +1 -0
  171. package/node_modules/@anthropic-ai/sdk/internal/constants.js +18 -0
  172. package/node_modules/@anthropic-ai/sdk/internal/constants.js.map +1 -0
  173. package/node_modules/@anthropic-ai/sdk/internal/constants.mjs +15 -0
  174. package/node_modules/@anthropic-ai/sdk/internal/constants.mjs.map +1 -0
  175. package/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts +10 -0
  176. package/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts.map +1 -0
  177. package/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts +10 -0
  178. package/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts.map +1 -0
  179. package/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js +39 -0
  180. package/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js.map +1 -0
  181. package/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs +35 -0
  182. package/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs.map +1 -0
  183. package/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts +17 -0
  184. package/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts.map +1 -0
  185. package/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts +17 -0
  186. package/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts.map +1 -0
  187. package/node_modules/@anthropic-ai/sdk/internal/decoders/line.js +113 -0
  188. package/node_modules/@anthropic-ai/sdk/internal/decoders/line.js.map +1 -0
  189. package/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs +108 -0
  190. package/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs.map +1 -0
  191. package/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts +15 -0
  192. package/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts.map +1 -0
  193. package/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts +15 -0
  194. package/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts.map +1 -0
  195. package/node_modules/@anthropic-ai/sdk/internal/detect-platform.js +162 -0
  196. package/node_modules/@anthropic-ai/sdk/internal/detect-platform.js.map +1 -0
  197. package/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs +157 -0
  198. package/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs.map +1 -0
  199. package/node_modules/@anthropic-ai/sdk/internal/errors.d.mts +3 -0
  200. package/node_modules/@anthropic-ai/sdk/internal/errors.d.mts.map +1 -0
  201. package/node_modules/@anthropic-ai/sdk/internal/errors.d.ts +3 -0
  202. package/node_modules/@anthropic-ai/sdk/internal/errors.d.ts.map +1 -0
  203. package/node_modules/@anthropic-ai/sdk/internal/errors.js +41 -0
  204. package/node_modules/@anthropic-ai/sdk/internal/errors.js.map +1 -0
  205. package/node_modules/@anthropic-ai/sdk/internal/errors.mjs +36 -0
  206. package/node_modules/@anthropic-ai/sdk/internal/errors.mjs.map +1 -0
  207. package/node_modules/@anthropic-ai/sdk/internal/headers.d.mts +22 -0
  208. package/node_modules/@anthropic-ai/sdk/internal/headers.d.mts.map +1 -0
  209. package/node_modules/@anthropic-ai/sdk/internal/headers.d.ts +22 -0
  210. package/node_modules/@anthropic-ai/sdk/internal/headers.d.ts.map +1 -0
  211. package/node_modules/@anthropic-ai/sdk/internal/headers.js +79 -0
  212. package/node_modules/@anthropic-ai/sdk/internal/headers.js.map +1 -0
  213. package/node_modules/@anthropic-ai/sdk/internal/headers.mjs +74 -0
  214. package/node_modules/@anthropic-ai/sdk/internal/headers.mjs.map +1 -0
  215. package/node_modules/@anthropic-ai/sdk/internal/parse.d.mts +17 -0
  216. package/node_modules/@anthropic-ai/sdk/internal/parse.d.mts.map +1 -0
  217. package/node_modules/@anthropic-ai/sdk/internal/parse.d.ts +17 -0
  218. package/node_modules/@anthropic-ai/sdk/internal/parse.d.ts.map +1 -0
  219. package/node_modules/@anthropic-ai/sdk/internal/parse.js +60 -0
  220. package/node_modules/@anthropic-ai/sdk/internal/parse.js.map +1 -0
  221. package/node_modules/@anthropic-ai/sdk/internal/parse.mjs +56 -0
  222. package/node_modules/@anthropic-ai/sdk/internal/parse.mjs.map +1 -0
  223. package/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts +77 -0
  224. package/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts.map +1 -0
  225. package/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts +77 -0
  226. package/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts.map +1 -0
  227. package/node_modules/@anthropic-ai/sdk/internal/request-options.js +14 -0
  228. package/node_modules/@anthropic-ai/sdk/internal/request-options.js.map +1 -0
  229. package/node_modules/@anthropic-ai/sdk/internal/request-options.mjs +10 -0
  230. package/node_modules/@anthropic-ai/sdk/internal/request-options.mjs.map +1 -0
  231. package/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts +17 -0
  232. package/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts.map +1 -0
  233. package/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts +17 -0
  234. package/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts.map +1 -0
  235. package/node_modules/@anthropic-ai/sdk/internal/shim-types.js +4 -0
  236. package/node_modules/@anthropic-ai/sdk/internal/shim-types.js.map +1 -0
  237. package/node_modules/@anthropic-ai/sdk/internal/shim-types.mjs +3 -0
  238. package/node_modules/@anthropic-ai/sdk/internal/shim-types.mjs.map +1 -0
  239. package/node_modules/@anthropic-ai/sdk/internal/shims.d.mts +20 -0
  240. package/node_modules/@anthropic-ai/sdk/internal/shims.d.mts.map +1 -0
  241. package/node_modules/@anthropic-ai/sdk/internal/shims.d.ts +20 -0
  242. package/node_modules/@anthropic-ai/sdk/internal/shims.d.ts.map +1 -0
  243. package/node_modules/@anthropic-ai/sdk/internal/shims.js +92 -0
  244. package/node_modules/@anthropic-ai/sdk/internal/shims.js.map +1 -0
  245. package/node_modules/@anthropic-ai/sdk/internal/shims.mjs +85 -0
  246. package/node_modules/@anthropic-ai/sdk/internal/shims.mjs.map +1 -0
  247. package/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts +8 -0
  248. package/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts.map +1 -0
  249. package/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts +8 -0
  250. package/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts.map +1 -0
  251. package/node_modules/@anthropic-ai/sdk/internal/stream-utils.js +38 -0
  252. package/node_modules/@anthropic-ai/sdk/internal/stream-utils.js.map +1 -0
  253. package/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs +35 -0
  254. package/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs.map +1 -0
  255. package/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts +45 -0
  256. package/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts.map +1 -0
  257. package/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts +45 -0
  258. package/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts.map +1 -0
  259. package/node_modules/@anthropic-ai/sdk/internal/to-file.js +96 -0
  260. package/node_modules/@anthropic-ai/sdk/internal/to-file.js.map +1 -0
  261. package/node_modules/@anthropic-ai/sdk/internal/to-file.mjs +93 -0
  262. package/node_modules/@anthropic-ai/sdk/internal/to-file.mjs.map +1 -0
  263. package/node_modules/@anthropic-ai/sdk/internal/tslib.js +81 -0
  264. package/node_modules/@anthropic-ai/sdk/internal/tslib.mjs +17 -0
  265. package/node_modules/@anthropic-ai/sdk/internal/types.d.mts +69 -0
  266. package/node_modules/@anthropic-ai/sdk/internal/types.d.mts.map +1 -0
  267. package/node_modules/@anthropic-ai/sdk/internal/types.d.ts +69 -0
  268. package/node_modules/@anthropic-ai/sdk/internal/types.d.ts.map +1 -0
  269. package/node_modules/@anthropic-ai/sdk/internal/types.js +4 -0
  270. package/node_modules/@anthropic-ai/sdk/internal/types.js.map +1 -0
  271. package/node_modules/@anthropic-ai/sdk/internal/types.mjs +3 -0
  272. package/node_modules/@anthropic-ai/sdk/internal/types.mjs.map +1 -0
  273. package/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts +42 -0
  274. package/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts.map +1 -0
  275. package/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts +42 -0
  276. package/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts.map +1 -0
  277. package/node_modules/@anthropic-ai/sdk/internal/uploads.js +145 -0
  278. package/node_modules/@anthropic-ai/sdk/internal/uploads.js.map +1 -0
  279. package/node_modules/@anthropic-ai/sdk/internal/uploads.mjs +135 -0
  280. package/node_modules/@anthropic-ai/sdk/internal/uploads.mjs.map +1 -0
  281. package/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts +3 -0
  282. package/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts.map +1 -0
  283. package/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts +3 -0
  284. package/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts.map +1 -0
  285. package/node_modules/@anthropic-ai/sdk/internal/utils/base64.js +38 -0
  286. package/node_modules/@anthropic-ai/sdk/internal/utils/base64.js.map +1 -0
  287. package/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs +33 -0
  288. package/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs.map +1 -0
  289. package/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts +4 -0
  290. package/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts.map +1 -0
  291. package/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts +4 -0
  292. package/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts.map +1 -0
  293. package/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js +31 -0
  294. package/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js.map +1 -0
  295. package/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs +26 -0
  296. package/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs.map +1 -0
  297. package/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts +9 -0
  298. package/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts.map +1 -0
  299. package/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts +9 -0
  300. package/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts.map +1 -0
  301. package/node_modules/@anthropic-ai/sdk/internal/utils/env.js +22 -0
  302. package/node_modules/@anthropic-ai/sdk/internal/utils/env.js.map +1 -0
  303. package/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs +18 -0
  304. package/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs.map +1 -0
  305. package/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts +37 -0
  306. package/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts.map +1 -0
  307. package/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts +37 -0
  308. package/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts.map +1 -0
  309. package/node_modules/@anthropic-ai/sdk/internal/utils/log.js +86 -0
  310. package/node_modules/@anthropic-ai/sdk/internal/utils/log.js.map +1 -0
  311. package/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs +80 -0
  312. package/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs.map +1 -0
  313. package/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts +15 -0
  314. package/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts.map +1 -0
  315. package/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts +15 -0
  316. package/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts.map +1 -0
  317. package/node_modules/@anthropic-ai/sdk/internal/utils/path.js +79 -0
  318. package/node_modules/@anthropic-ai/sdk/internal/utils/path.js.map +1 -0
  319. package/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs +74 -0
  320. package/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs.map +1 -0
  321. package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts +2 -0
  322. package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts.map +1 -0
  323. package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts +2 -0
  324. package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts.map +1 -0
  325. package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js +7 -0
  326. package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js.map +1 -0
  327. package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs +3 -0
  328. package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs.map +1 -0
  329. package/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts +5 -0
  330. package/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts.map +1 -0
  331. package/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts +5 -0
  332. package/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts.map +1 -0
  333. package/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js +19 -0
  334. package/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js.map +1 -0
  335. package/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs +15 -0
  336. package/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs.map +1 -0
  337. package/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts +19 -0
  338. package/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts.map +1 -0
  339. package/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts +19 -0
  340. package/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts.map +1 -0
  341. package/node_modules/@anthropic-ai/sdk/internal/utils/values.js +119 -0
  342. package/node_modules/@anthropic-ai/sdk/internal/utils/values.js.map +1 -0
  343. package/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs +100 -0
  344. package/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs.map +1 -0
  345. package/node_modules/@anthropic-ai/sdk/internal/utils.d.mts +7 -0
  346. package/node_modules/@anthropic-ai/sdk/internal/utils.d.mts.map +1 -0
  347. package/node_modules/@anthropic-ai/sdk/internal/utils.d.ts +7 -0
  348. package/node_modules/@anthropic-ai/sdk/internal/utils.d.ts.map +1 -0
  349. package/node_modules/@anthropic-ai/sdk/internal/utils.js +11 -0
  350. package/node_modules/@anthropic-ai/sdk/internal/utils.js.map +1 -0
  351. package/node_modules/@anthropic-ai/sdk/internal/utils.mjs +8 -0
  352. package/node_modules/@anthropic-ai/sdk/internal/utils.mjs.map +1 -0
  353. package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts +122 -0
  354. package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts.map +1 -0
  355. package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts +122 -0
  356. package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts.map +1 -0
  357. package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js +620 -0
  358. package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js.map +1 -0
  359. package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs +616 -0
  360. package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs.map +1 -0
  361. package/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts +121 -0
  362. package/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts.map +1 -0
  363. package/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts +121 -0
  364. package/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts.map +1 -0
  365. package/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +595 -0
  366. package/node_modules/@anthropic-ai/sdk/lib/MessageStream.js.map +1 -0
  367. package/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs +591 -0
  368. package/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs.map +1 -0
  369. package/node_modules/@anthropic-ai/sdk/lib/beta-parser.d.mts +37 -0
  370. package/node_modules/@anthropic-ai/sdk/lib/beta-parser.d.mts.map +1 -0
  371. package/node_modules/@anthropic-ai/sdk/lib/beta-parser.d.ts +37 -0
  372. package/node_modules/@anthropic-ai/sdk/lib/beta-parser.d.ts.map +1 -0
  373. package/node_modules/@anthropic-ai/sdk/lib/beta-parser.js +79 -0
  374. package/node_modules/@anthropic-ai/sdk/lib/beta-parser.js.map +1 -0
  375. package/node_modules/@anthropic-ai/sdk/lib/beta-parser.mjs +75 -0
  376. package/node_modules/@anthropic-ai/sdk/lib/beta-parser.mjs.map +1 -0
  377. package/node_modules/@anthropic-ai/sdk/lib/parser.d.mts +32 -0
  378. package/node_modules/@anthropic-ai/sdk/lib/parser.d.mts.map +1 -0
  379. package/node_modules/@anthropic-ai/sdk/lib/parser.d.ts +32 -0
  380. package/node_modules/@anthropic-ai/sdk/lib/parser.d.ts.map +1 -0
  381. package/node_modules/@anthropic-ai/sdk/lib/parser.js +66 -0
  382. package/node_modules/@anthropic-ai/sdk/lib/parser.js.map +1 -0
  383. package/node_modules/@anthropic-ai/sdk/lib/parser.mjs +62 -0
  384. package/node_modules/@anthropic-ai/sdk/lib/parser.mjs.map +1 -0
  385. package/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.mts +34 -0
  386. package/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.mts.map +1 -0
  387. package/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.ts +34 -0
  388. package/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.ts.map +1 -0
  389. package/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.js +70 -0
  390. package/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.js.map +1 -0
  391. package/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.mjs +63 -0
  392. package/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.mjs.map +1 -0
  393. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.mts +12 -0
  394. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.mts.map +1 -0
  395. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.ts +12 -0
  396. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.ts.map +1 -0
  397. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.js +3 -0
  398. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.js.map +1 -0
  399. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.mjs +2 -0
  400. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.mjs.map +1 -0
  401. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.mts +136 -0
  402. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.mts.map +1 -0
  403. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.ts +136 -0
  404. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.ts.map +1 -0
  405. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.js +376 -0
  406. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.js.map +1 -0
  407. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.mjs +372 -0
  408. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.mjs.map +1 -0
  409. package/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.d.mts +25 -0
  410. package/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.d.mts.map +1 -0
  411. package/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.d.ts +25 -0
  412. package/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.d.ts.map +1 -0
  413. package/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.js +28 -0
  414. package/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.js.map +1 -0
  415. package/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.mjs +25 -0
  416. package/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.mjs.map +1 -0
  417. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.d.mts +33 -0
  418. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.d.mts.map +1 -0
  419. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.d.ts +33 -0
  420. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.d.ts.map +1 -0
  421. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.js +42 -0
  422. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.js.map +1 -0
  423. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.mjs +38 -0
  424. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.mjs.map +1 -0
  425. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.mts +132 -0
  426. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.mts.map +1 -0
  427. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.ts +132 -0
  428. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.ts.map +1 -0
  429. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.js +294 -0
  430. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.js.map +1 -0
  431. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.mjs +290 -0
  432. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.mjs.map +1 -0
  433. package/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.d.mts +3 -0
  434. package/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.d.mts.map +1 -0
  435. package/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.d.ts +3 -0
  436. package/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.d.ts.map +1 -0
  437. package/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.js +114 -0
  438. package/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.js.map +1 -0
  439. package/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.mjs +111 -0
  440. package/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.mjs.map +1 -0
  441. package/node_modules/@anthropic-ai/sdk/package.json +211 -0
  442. package/node_modules/@anthropic-ai/sdk/pagination.d.mts +2 -0
  443. package/node_modules/@anthropic-ai/sdk/pagination.d.mts.map +1 -0
  444. package/node_modules/@anthropic-ai/sdk/pagination.d.ts +2 -0
  445. package/node_modules/@anthropic-ai/sdk/pagination.d.ts.map +1 -0
  446. package/node_modules/@anthropic-ai/sdk/pagination.js +6 -0
  447. package/node_modules/@anthropic-ai/sdk/pagination.js.map +1 -0
  448. package/node_modules/@anthropic-ai/sdk/pagination.mjs +2 -0
  449. package/node_modules/@anthropic-ai/sdk/pagination.mjs.map +1 -0
  450. package/node_modules/@anthropic-ai/sdk/resource.d.mts +2 -0
  451. package/node_modules/@anthropic-ai/sdk/resource.d.mts.map +1 -0
  452. package/node_modules/@anthropic-ai/sdk/resource.d.ts +2 -0
  453. package/node_modules/@anthropic-ai/sdk/resource.d.ts.map +1 -0
  454. package/node_modules/@anthropic-ai/sdk/resource.js +6 -0
  455. package/node_modules/@anthropic-ai/sdk/resource.js.map +1 -0
  456. package/node_modules/@anthropic-ai/sdk/resource.mjs +2 -0
  457. package/node_modules/@anthropic-ai/sdk/resource.mjs.map +1 -0
  458. package/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts +66 -0
  459. package/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts.map +1 -0
  460. package/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts +66 -0
  461. package/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts.map +1 -0
  462. package/node_modules/@anthropic-ai/sdk/resources/beta/beta.js +29 -0
  463. package/node_modules/@anthropic-ai/sdk/resources/beta/beta.js.map +1 -0
  464. package/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs +24 -0
  465. package/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs.map +1 -0
  466. package/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts +151 -0
  467. package/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts.map +1 -0
  468. package/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts +151 -0
  469. package/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts.map +1 -0
  470. package/node_modules/@anthropic-ai/sdk/resources/beta/files.js +124 -0
  471. package/node_modules/@anthropic-ai/sdk/resources/beta/files.js.map +1 -0
  472. package/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs +120 -0
  473. package/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs.map +1 -0
  474. package/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts +6 -0
  475. package/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts.map +1 -0
  476. package/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts +6 -0
  477. package/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts.map +1 -0
  478. package/node_modules/@anthropic-ai/sdk/resources/beta/index.js +15 -0
  479. package/node_modules/@anthropic-ai/sdk/resources/beta/index.js.map +1 -0
  480. package/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs +7 -0
  481. package/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs.map +1 -0
  482. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts +641 -0
  483. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts.map +1 -0
  484. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts +641 -0
  485. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts.map +1 -0
  486. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js +204 -0
  487. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js.map +1 -0
  488. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs +200 -0
  489. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs.map +1 -0
  490. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts +4 -0
  491. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts.map +1 -0
  492. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts +4 -0
  493. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts.map +1 -0
  494. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js +12 -0
  495. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js.map +1 -0
  496. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs +5 -0
  497. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs.map +1 -0
  498. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts +2888 -0
  499. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts.map +1 -0
  500. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts +2888 -0
  501. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts.map +1 -0
  502. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js +163 -0
  503. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js.map +1 -0
  504. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs +156 -0
  505. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs.map +1 -0
  506. package/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts +2 -0
  507. package/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts.map +1 -0
  508. package/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts +2 -0
  509. package/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts.map +1 -0
  510. package/node_modules/@anthropic-ai/sdk/resources/beta/messages.js +6 -0
  511. package/node_modules/@anthropic-ai/sdk/resources/beta/messages.js.map +1 -0
  512. package/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs +3 -0
  513. package/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs.map +1 -0
  514. package/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts +74 -0
  515. package/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts.map +1 -0
  516. package/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts +74 -0
  517. package/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts.map +1 -0
  518. package/node_modules/@anthropic-ai/sdk/resources/beta/models.js +60 -0
  519. package/node_modules/@anthropic-ai/sdk/resources/beta/models.js.map +1 -0
  520. package/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs +56 -0
  521. package/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs.map +1 -0
  522. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.mts +3 -0
  523. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.mts.map +1 -0
  524. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.ts +3 -0
  525. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.ts.map +1 -0
  526. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.js +9 -0
  527. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.js.map +1 -0
  528. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.mjs +4 -0
  529. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.mjs.map +1 -0
  530. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.mts +249 -0
  531. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.mts.map +1 -0
  532. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.ts +249 -0
  533. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.ts.map +1 -0
  534. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.js +98 -0
  535. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.js.map +1 -0
  536. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs +93 -0
  537. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs.map +1 -0
  538. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.mts +257 -0
  539. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.mts.map +1 -0
  540. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.ts +257 -0
  541. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.ts.map +1 -0
  542. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.js +100 -0
  543. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.js.map +1 -0
  544. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs +96 -0
  545. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs.map +1 -0
  546. package/node_modules/@anthropic-ai/sdk/resources/beta/skills.d.mts +2 -0
  547. package/node_modules/@anthropic-ai/sdk/resources/beta/skills.d.mts.map +1 -0
  548. package/node_modules/@anthropic-ai/sdk/resources/beta/skills.d.ts +2 -0
  549. package/node_modules/@anthropic-ai/sdk/resources/beta/skills.d.ts.map +1 -0
  550. package/node_modules/@anthropic-ai/sdk/resources/beta/skills.js +6 -0
  551. package/node_modules/@anthropic-ai/sdk/resources/beta/skills.js.map +1 -0
  552. package/node_modules/@anthropic-ai/sdk/resources/beta/skills.mjs +3 -0
  553. package/node_modules/@anthropic-ai/sdk/resources/beta/skills.mjs.map +1 -0
  554. package/node_modules/@anthropic-ai/sdk/resources/beta.d.mts +2 -0
  555. package/node_modules/@anthropic-ai/sdk/resources/beta.d.mts.map +1 -0
  556. package/node_modules/@anthropic-ai/sdk/resources/beta.d.ts +2 -0
  557. package/node_modules/@anthropic-ai/sdk/resources/beta.d.ts.map +1 -0
  558. package/node_modules/@anthropic-ai/sdk/resources/beta.js +6 -0
  559. package/node_modules/@anthropic-ai/sdk/resources/beta.js.map +1 -0
  560. package/node_modules/@anthropic-ai/sdk/resources/beta.mjs +3 -0
  561. package/node_modules/@anthropic-ai/sdk/resources/beta.mjs.map +1 -0
  562. package/node_modules/@anthropic-ai/sdk/resources/completions.d.mts +182 -0
  563. package/node_modules/@anthropic-ai/sdk/resources/completions.d.mts.map +1 -0
  564. package/node_modules/@anthropic-ai/sdk/resources/completions.d.ts +182 -0
  565. package/node_modules/@anthropic-ai/sdk/resources/completions.d.ts.map +1 -0
  566. package/node_modules/@anthropic-ai/sdk/resources/completions.js +23 -0
  567. package/node_modules/@anthropic-ai/sdk/resources/completions.js.map +1 -0
  568. package/node_modules/@anthropic-ai/sdk/resources/completions.mjs +19 -0
  569. package/node_modules/@anthropic-ai/sdk/resources/completions.mjs.map +1 -0
  570. package/node_modules/@anthropic-ai/sdk/resources/index.d.mts +6 -0
  571. package/node_modules/@anthropic-ai/sdk/resources/index.d.mts.map +1 -0
  572. package/node_modules/@anthropic-ai/sdk/resources/index.d.ts +6 -0
  573. package/node_modules/@anthropic-ai/sdk/resources/index.d.ts.map +1 -0
  574. package/node_modules/@anthropic-ai/sdk/resources/index.js +15 -0
  575. package/node_modules/@anthropic-ai/sdk/resources/index.js.map +1 -0
  576. package/node_modules/@anthropic-ai/sdk/resources/index.mjs +7 -0
  577. package/node_modules/@anthropic-ai/sdk/resources/index.mjs.map +1 -0
  578. package/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts +304 -0
  579. package/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts.map +1 -0
  580. package/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts +304 -0
  581. package/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts.map +1 -0
  582. package/node_modules/@anthropic-ai/sdk/resources/messages/batches.js +153 -0
  583. package/node_modules/@anthropic-ai/sdk/resources/messages/batches.js.map +1 -0
  584. package/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs +149 -0
  585. package/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs.map +1 -0
  586. package/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts +3 -0
  587. package/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts.map +1 -0
  588. package/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts +3 -0
  589. package/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts.map +1 -0
  590. package/node_modules/@anthropic-ai/sdk/resources/messages/index.js +9 -0
  591. package/node_modules/@anthropic-ai/sdk/resources/messages/index.js.map +1 -0
  592. package/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs +4 -0
  593. package/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs.map +1 -0
  594. package/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts +2198 -0
  595. package/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts.map +1 -0
  596. package/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts +2198 -0
  597. package/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts.map +1 -0
  598. package/node_modules/@anthropic-ai/sdk/resources/messages/messages.js +128 -0
  599. package/node_modules/@anthropic-ai/sdk/resources/messages/messages.js.map +1 -0
  600. package/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs +123 -0
  601. package/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs.map +1 -0
  602. package/node_modules/@anthropic-ai/sdk/resources/messages.d.mts +2 -0
  603. package/node_modules/@anthropic-ai/sdk/resources/messages.d.mts.map +1 -0
  604. package/node_modules/@anthropic-ai/sdk/resources/messages.d.ts +2 -0
  605. package/node_modules/@anthropic-ai/sdk/resources/messages.d.ts.map +1 -0
  606. package/node_modules/@anthropic-ai/sdk/resources/messages.js +6 -0
  607. package/node_modules/@anthropic-ai/sdk/resources/messages.js.map +1 -0
  608. package/node_modules/@anthropic-ai/sdk/resources/messages.mjs +3 -0
  609. package/node_modules/@anthropic-ai/sdk/resources/messages.mjs.map +1 -0
  610. package/node_modules/@anthropic-ai/sdk/resources/models.d.mts +59 -0
  611. package/node_modules/@anthropic-ai/sdk/resources/models.d.mts.map +1 -0
  612. package/node_modules/@anthropic-ai/sdk/resources/models.d.ts +59 -0
  613. package/node_modules/@anthropic-ai/sdk/resources/models.d.ts.map +1 -0
  614. package/node_modules/@anthropic-ai/sdk/resources/models.js +45 -0
  615. package/node_modules/@anthropic-ai/sdk/resources/models.js.map +1 -0
  616. package/node_modules/@anthropic-ai/sdk/resources/models.mjs +41 -0
  617. package/node_modules/@anthropic-ai/sdk/resources/models.mjs.map +1 -0
  618. package/node_modules/@anthropic-ai/sdk/resources/shared.d.mts +43 -0
  619. package/node_modules/@anthropic-ai/sdk/resources/shared.d.mts.map +1 -0
  620. package/node_modules/@anthropic-ai/sdk/resources/shared.d.ts +43 -0
  621. package/node_modules/@anthropic-ai/sdk/resources/shared.d.ts.map +1 -0
  622. package/node_modules/@anthropic-ai/sdk/resources/shared.js +4 -0
  623. package/node_modules/@anthropic-ai/sdk/resources/shared.js.map +1 -0
  624. package/node_modules/@anthropic-ai/sdk/resources/shared.mjs +3 -0
  625. package/node_modules/@anthropic-ai/sdk/resources/shared.mjs.map +1 -0
  626. package/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts +2 -0
  627. package/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts.map +1 -0
  628. package/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts +2 -0
  629. package/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts.map +1 -0
  630. package/node_modules/@anthropic-ai/sdk/resources/top-level.js +4 -0
  631. package/node_modules/@anthropic-ai/sdk/resources/top-level.js.map +1 -0
  632. package/node_modules/@anthropic-ai/sdk/resources/top-level.mjs +3 -0
  633. package/node_modules/@anthropic-ai/sdk/resources/top-level.mjs.map +1 -0
  634. package/node_modules/@anthropic-ai/sdk/resources.d.mts +2 -0
  635. package/node_modules/@anthropic-ai/sdk/resources.d.mts.map +1 -0
  636. package/node_modules/@anthropic-ai/sdk/resources.d.ts +2 -0
  637. package/node_modules/@anthropic-ai/sdk/resources.d.ts.map +1 -0
  638. package/node_modules/@anthropic-ai/sdk/resources.js +5 -0
  639. package/node_modules/@anthropic-ai/sdk/resources.js.map +1 -0
  640. package/node_modules/@anthropic-ai/sdk/resources.mjs +2 -0
  641. package/node_modules/@anthropic-ai/sdk/resources.mjs.map +1 -0
  642. package/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/README.md +3 -0
  643. package/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/parser.ts +264 -0
  644. package/node_modules/@anthropic-ai/sdk/src/api-promise.ts +2 -0
  645. package/node_modules/@anthropic-ai/sdk/src/client.ts +1305 -0
  646. package/node_modules/@anthropic-ai/sdk/src/core/README.md +3 -0
  647. package/node_modules/@anthropic-ai/sdk/src/core/api-promise.ts +101 -0
  648. package/node_modules/@anthropic-ai/sdk/src/core/error.ts +133 -0
  649. package/node_modules/@anthropic-ai/sdk/src/core/pagination.ts +331 -0
  650. package/node_modules/@anthropic-ai/sdk/src/core/resource.ts +11 -0
  651. package/node_modules/@anthropic-ai/sdk/src/core/streaming.ts +345 -0
  652. package/node_modules/@anthropic-ai/sdk/src/core/uploads.ts +2 -0
  653. package/node_modules/@anthropic-ai/sdk/src/error.ts +2 -0
  654. package/node_modules/@anthropic-ai/sdk/src/helpers/beta/json-schema.ts +75 -0
  655. package/node_modules/@anthropic-ai/sdk/src/helpers/beta/mcp.ts +624 -0
  656. package/node_modules/@anthropic-ai/sdk/src/helpers/beta/memory.ts +28 -0
  657. package/node_modules/@anthropic-ai/sdk/src/helpers/beta/zod.ts +72 -0
  658. package/node_modules/@anthropic-ai/sdk/src/helpers/index.ts +2 -0
  659. package/node_modules/@anthropic-ai/sdk/src/helpers/json-schema.ts +48 -0
  660. package/node_modules/@anthropic-ai/sdk/src/helpers/zod.ts +58 -0
  661. package/node_modules/@anthropic-ai/sdk/src/index.ts +31 -0
  662. package/node_modules/@anthropic-ai/sdk/src/internal/README.md +3 -0
  663. package/node_modules/@anthropic-ai/sdk/src/internal/builtin-types.ts +93 -0
  664. package/node_modules/@anthropic-ai/sdk/src/internal/constants.ts +15 -0
  665. package/node_modules/@anthropic-ai/sdk/src/internal/decoders/jsonl.ts +48 -0
  666. package/node_modules/@anthropic-ai/sdk/src/internal/decoders/line.ts +135 -0
  667. package/node_modules/@anthropic-ai/sdk/src/internal/detect-platform.ts +196 -0
  668. package/node_modules/@anthropic-ai/sdk/src/internal/errors.ts +33 -0
  669. package/node_modules/@anthropic-ai/sdk/src/internal/headers.ts +99 -0
  670. package/node_modules/@anthropic-ai/sdk/src/internal/parse.ts +90 -0
  671. package/node_modules/@anthropic-ai/sdk/src/internal/request-options.ts +93 -0
  672. package/node_modules/@anthropic-ai/sdk/src/internal/shim-types.ts +26 -0
  673. package/node_modules/@anthropic-ai/sdk/src/internal/shims.ts +107 -0
  674. package/node_modules/@anthropic-ai/sdk/src/internal/stream-utils.ts +32 -0
  675. package/node_modules/@anthropic-ai/sdk/src/internal/to-file.ts +159 -0
  676. package/node_modules/@anthropic-ai/sdk/src/internal/types.ts +95 -0
  677. package/node_modules/@anthropic-ai/sdk/src/internal/uploads.ts +204 -0
  678. package/node_modules/@anthropic-ai/sdk/src/internal/utils/base64.ts +40 -0
  679. package/node_modules/@anthropic-ai/sdk/src/internal/utils/bytes.ts +32 -0
  680. package/node_modules/@anthropic-ai/sdk/src/internal/utils/env.ts +18 -0
  681. package/node_modules/@anthropic-ai/sdk/src/internal/utils/log.ts +127 -0
  682. package/node_modules/@anthropic-ai/sdk/src/internal/utils/path.ts +88 -0
  683. package/node_modules/@anthropic-ai/sdk/src/internal/utils/sleep.ts +3 -0
  684. package/node_modules/@anthropic-ai/sdk/src/internal/utils/uuid.ts +17 -0
  685. package/node_modules/@anthropic-ai/sdk/src/internal/utils/values.ts +112 -0
  686. package/node_modules/@anthropic-ai/sdk/src/internal/utils.ts +8 -0
  687. package/node_modules/@anthropic-ai/sdk/src/lib/.keep +4 -0
  688. package/node_modules/@anthropic-ai/sdk/src/lib/BetaMessageStream.ts +764 -0
  689. package/node_modules/@anthropic-ai/sdk/src/lib/MessageStream.ts +743 -0
  690. package/node_modules/@anthropic-ai/sdk/src/lib/beta-parser.ts +148 -0
  691. package/node_modules/@anthropic-ai/sdk/src/lib/parser.ts +125 -0
  692. package/node_modules/@anthropic-ai/sdk/src/lib/stainless-helper-header.ts +80 -0
  693. package/node_modules/@anthropic-ai/sdk/src/lib/tools/BetaRunnableTool.ts +40 -0
  694. package/node_modules/@anthropic-ai/sdk/src/lib/tools/BetaToolRunner.ts +481 -0
  695. package/node_modules/@anthropic-ai/sdk/src/lib/tools/CompactionControl.ts +52 -0
  696. package/node_modules/@anthropic-ai/sdk/src/lib/tools/ToolError.ts +47 -0
  697. package/node_modules/@anthropic-ai/sdk/src/lib/tools/ToolRunner.ts +381 -0
  698. package/node_modules/@anthropic-ai/sdk/src/lib/transform-json-schema.ts +124 -0
  699. package/node_modules/@anthropic-ai/sdk/src/pagination.ts +2 -0
  700. package/node_modules/@anthropic-ai/sdk/src/resource.ts +2 -0
  701. package/node_modules/@anthropic-ai/sdk/src/resources/beta/beta.ts +580 -0
  702. package/node_modules/@anthropic-ai/sdk/src/resources/beta/files.ts +261 -0
  703. package/node_modules/@anthropic-ai/sdk/src/resources/beta/index.ts +251 -0
  704. package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/batches.ts +821 -0
  705. package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/index.ts +227 -0
  706. package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/messages.ts +4242 -0
  707. package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages.ts +3 -0
  708. package/node_modules/@anthropic-ai/sdk/src/resources/beta/models.ts +118 -0
  709. package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/index.ts +26 -0
  710. package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/skills.ts +384 -0
  711. package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/versions.ts +374 -0
  712. package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills.ts +3 -0
  713. package/node_modules/@anthropic-ai/sdk/src/resources/beta.ts +3 -0
  714. package/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +230 -0
  715. package/node_modules/@anthropic-ai/sdk/src/resources/index.ts +196 -0
  716. package/node_modules/@anthropic-ai/sdk/src/resources/messages/batches.ts +396 -0
  717. package/node_modules/@anthropic-ai/sdk/src/resources/messages/index.ts +185 -0
  718. package/node_modules/@anthropic-ai/sdk/src/resources/messages/messages.ts +3261 -0
  719. package/node_modules/@anthropic-ai/sdk/src/resources/messages.ts +3 -0
  720. package/node_modules/@anthropic-ai/sdk/src/resources/models.ts +103 -0
  721. package/node_modules/@anthropic-ai/sdk/src/resources/shared.ts +74 -0
  722. package/node_modules/@anthropic-ai/sdk/src/resources/top-level.ts +3 -0
  723. package/node_modules/@anthropic-ai/sdk/src/resources.ts +1 -0
  724. package/node_modules/@anthropic-ai/sdk/src/streaming.ts +2 -0
  725. package/node_modules/@anthropic-ai/sdk/src/tsconfig.json +11 -0
  726. package/node_modules/@anthropic-ai/sdk/src/uploads.ts +2 -0
  727. package/node_modules/@anthropic-ai/sdk/src/version.ts +1 -0
  728. package/node_modules/@anthropic-ai/sdk/streaming.d.mts +2 -0
  729. package/node_modules/@anthropic-ai/sdk/streaming.d.mts.map +1 -0
  730. package/node_modules/@anthropic-ai/sdk/streaming.d.ts +2 -0
  731. package/node_modules/@anthropic-ai/sdk/streaming.d.ts.map +1 -0
  732. package/node_modules/@anthropic-ai/sdk/streaming.js +6 -0
  733. package/node_modules/@anthropic-ai/sdk/streaming.js.map +1 -0
  734. package/node_modules/@anthropic-ai/sdk/streaming.mjs +2 -0
  735. package/node_modules/@anthropic-ai/sdk/streaming.mjs.map +1 -0
  736. package/node_modules/@anthropic-ai/sdk/uploads.d.mts +2 -0
  737. package/node_modules/@anthropic-ai/sdk/uploads.d.mts.map +1 -0
  738. package/node_modules/@anthropic-ai/sdk/uploads.d.ts +2 -0
  739. package/node_modules/@anthropic-ai/sdk/uploads.d.ts.map +1 -0
  740. package/node_modules/@anthropic-ai/sdk/uploads.js +6 -0
  741. package/node_modules/@anthropic-ai/sdk/uploads.js.map +1 -0
  742. package/node_modules/@anthropic-ai/sdk/uploads.mjs +2 -0
  743. package/node_modules/@anthropic-ai/sdk/uploads.mjs.map +1 -0
  744. package/node_modules/@anthropic-ai/sdk/version.d.mts +2 -0
  745. package/node_modules/@anthropic-ai/sdk/version.d.mts.map +1 -0
  746. package/node_modules/@anthropic-ai/sdk/version.d.ts +2 -0
  747. package/node_modules/@anthropic-ai/sdk/version.d.ts.map +1 -0
  748. package/node_modules/@anthropic-ai/sdk/version.js +5 -0
  749. package/node_modules/@anthropic-ai/sdk/version.js.map +1 -0
  750. package/node_modules/@anthropic-ai/sdk/version.mjs +2 -0
  751. package/node_modules/@anthropic-ai/sdk/version.mjs.map +1 -0
  752. package/node_modules/@babel/runtime/LICENSE +22 -0
  753. package/node_modules/@babel/runtime/README.md +19 -0
  754. package/node_modules/@babel/runtime/helpers/AwaitValue.js +4 -0
  755. package/node_modules/@babel/runtime/helpers/OverloadYield.js +4 -0
  756. package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +9 -0
  757. package/node_modules/@babel/runtime/helpers/applyDecs.js +236 -0
  758. package/node_modules/@babel/runtime/helpers/applyDecs2203.js +184 -0
  759. package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +191 -0
  760. package/node_modules/@babel/runtime/helpers/applyDecs2301.js +222 -0
  761. package/node_modules/@babel/runtime/helpers/applyDecs2305.js +133 -0
  762. package/node_modules/@babel/runtime/helpers/applyDecs2311.js +124 -0
  763. package/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +6 -0
  764. package/node_modules/@babel/runtime/helpers/arrayWithHoles.js +4 -0
  765. package/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +5 -0
  766. package/node_modules/@babel/runtime/helpers/assertClassBrand.js +5 -0
  767. package/node_modules/@babel/runtime/helpers/assertThisInitialized.js +5 -0
  768. package/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +24 -0
  769. package/node_modules/@babel/runtime/helpers/asyncIterator.js +45 -0
  770. package/node_modules/@babel/runtime/helpers/asyncToGenerator.js +26 -0
  771. package/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +5 -0
  772. package/node_modules/@babel/runtime/helpers/callSuper.js +7 -0
  773. package/node_modules/@babel/runtime/helpers/checkInRHS.js +6 -0
  774. package/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +4 -0
  775. package/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +10 -0
  776. package/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +4 -0
  777. package/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +7 -0
  778. package/node_modules/@babel/runtime/helpers/classCallCheck.js +4 -0
  779. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +5 -0
  780. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +4 -0
  781. package/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +5 -0
  782. package/node_modules/@babel/runtime/helpers/classNameTDZError.js +4 -0
  783. package/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +7 -0
  784. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +7 -0
  785. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +5 -0
  786. package/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +5 -0
  787. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +5 -0
  788. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +5 -0
  789. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +7 -0
  790. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +5 -0
  791. package/node_modules/@babel/runtime/helpers/classPrivateGetter.js +5 -0
  792. package/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +5 -0
  793. package/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +5 -0
  794. package/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +4 -0
  795. package/node_modules/@babel/runtime/helpers/classPrivateSetter.js +5 -0
  796. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +7 -0
  797. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +7 -0
  798. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +7 -0
  799. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +5 -0
  800. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +4 -0
  801. package/node_modules/@babel/runtime/helpers/construct.js +10 -0
  802. package/node_modules/@babel/runtime/helpers/createClass.js +13 -0
  803. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +50 -0
  804. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +19 -0
  805. package/node_modules/@babel/runtime/helpers/createSuper.js +16 -0
  806. package/node_modules/@babel/runtime/helpers/decorate.js +250 -0
  807. package/node_modules/@babel/runtime/helpers/defaults.js +9 -0
  808. package/node_modules/@babel/runtime/helpers/defineAccessor.js +8 -0
  809. package/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +12 -0
  810. package/node_modules/@babel/runtime/helpers/defineProperty.js +10 -0
  811. package/node_modules/@babel/runtime/helpers/dispose.js +28 -0
  812. package/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +4 -0
  813. package/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +4 -0
  814. package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +9 -0
  815. package/node_modules/@babel/runtime/helpers/esm/applyDecs.js +236 -0
  816. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +184 -0
  817. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +191 -0
  818. package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +222 -0
  819. package/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +133 -0
  820. package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +124 -0
  821. package/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +6 -0
  822. package/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +4 -0
  823. package/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +5 -0
  824. package/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +5 -0
  825. package/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +5 -0
  826. package/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +24 -0
  827. package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +45 -0
  828. package/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +26 -0
  829. package/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +5 -0
  830. package/node_modules/@babel/runtime/helpers/esm/callSuper.js +7 -0
  831. package/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +6 -0
  832. package/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +4 -0
  833. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +10 -0
  834. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +4 -0
  835. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +7 -0
  836. package/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +4 -0
  837. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
  838. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +4 -0
  839. package/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +5 -0
  840. package/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +4 -0
  841. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +7 -0
  842. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +7 -0
  843. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +5 -0
  844. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
  845. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +5 -0
  846. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +5 -0
  847. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
  848. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +5 -0
  849. package/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +5 -0
  850. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +5 -0
  851. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
  852. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +4 -0
  853. package/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +5 -0
  854. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +7 -0
  855. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +7 -0
  856. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +7 -0
  857. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
  858. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +4 -0
  859. package/node_modules/@babel/runtime/helpers/esm/construct.js +10 -0
  860. package/node_modules/@babel/runtime/helpers/esm/createClass.js +13 -0
  861. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +50 -0
  862. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +19 -0
  863. package/node_modules/@babel/runtime/helpers/esm/createSuper.js +16 -0
  864. package/node_modules/@babel/runtime/helpers/esm/decorate.js +250 -0
  865. package/node_modules/@babel/runtime/helpers/esm/defaults.js +9 -0
  866. package/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +8 -0
  867. package/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +12 -0
  868. package/node_modules/@babel/runtime/helpers/esm/defineProperty.js +10 -0
  869. package/node_modules/@babel/runtime/helpers/esm/dispose.js +28 -0
  870. package/node_modules/@babel/runtime/helpers/esm/extends.js +10 -0
  871. package/node_modules/@babel/runtime/helpers/esm/get.js +11 -0
  872. package/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
  873. package/node_modules/@babel/runtime/helpers/esm/identity.js +4 -0
  874. package/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +27 -0
  875. package/node_modules/@babel/runtime/helpers/esm/inherits.js +14 -0
  876. package/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +5 -0
  877. package/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
  878. package/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +4 -0
  879. package/node_modules/@babel/runtime/helpers/esm/instanceof.js +4 -0
  880. package/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +6 -0
  881. package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +22 -0
  882. package/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +8 -0
  883. package/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +9 -0
  884. package/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +4 -0
  885. package/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +28 -0
  886. package/node_modules/@babel/runtime/helpers/esm/jsx.js +22 -0
  887. package/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
  888. package/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +4 -0
  889. package/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +4 -0
  890. package/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +4 -0
  891. package/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +4 -0
  892. package/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +4 -0
  893. package/node_modules/@babel/runtime/helpers/esm/objectSpread.js +14 -0
  894. package/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +23 -0
  895. package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
  896. package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
  897. package/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
  898. package/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +8 -0
  899. package/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +4 -0
  900. package/node_modules/@babel/runtime/helpers/esm/regenerator.js +89 -0
  901. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +8 -0
  902. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +6 -0
  903. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +33 -0
  904. package/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +22 -0
  905. package/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +10 -0
  906. package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +77 -0
  907. package/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +19 -0
  908. package/node_modules/@babel/runtime/helpers/esm/set.js +22 -0
  909. package/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +12 -0
  910. package/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +6 -0
  911. package/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
  912. package/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +8 -0
  913. package/node_modules/@babel/runtime/helpers/esm/superPropBase.js +6 -0
  914. package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +9 -0
  915. package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +6 -0
  916. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +8 -0
  917. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +4 -0
  918. package/node_modules/@babel/runtime/helpers/esm/tdz.js +4 -0
  919. package/node_modules/@babel/runtime/helpers/esm/temporalRef.js +6 -0
  920. package/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +2 -0
  921. package/node_modules/@babel/runtime/helpers/esm/toArray.js +8 -0
  922. package/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +8 -0
  923. package/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +12 -0
  924. package/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +7 -0
  925. package/node_modules/@babel/runtime/helpers/esm/toSetter.js +10 -0
  926. package/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +6 -0
  927. package/node_modules/@babel/runtime/helpers/esm/typeof.js +10 -0
  928. package/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
  929. package/node_modules/@babel/runtime/helpers/esm/using.js +12 -0
  930. package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +59 -0
  931. package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +69 -0
  932. package/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +27 -0
  933. package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +52 -0
  934. package/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +4 -0
  935. package/node_modules/@babel/runtime/helpers/extends.js +10 -0
  936. package/node_modules/@babel/runtime/helpers/get.js +11 -0
  937. package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +6 -0
  938. package/node_modules/@babel/runtime/helpers/identity.js +4 -0
  939. package/node_modules/@babel/runtime/helpers/importDeferProxy.js +27 -0
  940. package/node_modules/@babel/runtime/helpers/inherits.js +14 -0
  941. package/node_modules/@babel/runtime/helpers/inheritsLoose.js +5 -0
  942. package/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +9 -0
  943. package/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +4 -0
  944. package/node_modules/@babel/runtime/helpers/instanceof.js +4 -0
  945. package/node_modules/@babel/runtime/helpers/interopRequireDefault.js +6 -0
  946. package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +22 -0
  947. package/node_modules/@babel/runtime/helpers/isNativeFunction.js +8 -0
  948. package/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +9 -0
  949. package/node_modules/@babel/runtime/helpers/iterableToArray.js +4 -0
  950. package/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +28 -0
  951. package/node_modules/@babel/runtime/helpers/jsx.js +22 -0
  952. package/node_modules/@babel/runtime/helpers/maybeArrayLike.js +9 -0
  953. package/node_modules/@babel/runtime/helpers/newArrowCheck.js +4 -0
  954. package/node_modules/@babel/runtime/helpers/nonIterableRest.js +4 -0
  955. package/node_modules/@babel/runtime/helpers/nonIterableSpread.js +4 -0
  956. package/node_modules/@babel/runtime/helpers/nullishReceiverError.js +4 -0
  957. package/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +4 -0
  958. package/node_modules/@babel/runtime/helpers/objectSpread.js +14 -0
  959. package/node_modules/@babel/runtime/helpers/objectSpread2.js +23 -0
  960. package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +13 -0
  961. package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +10 -0
  962. package/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +8 -0
  963. package/node_modules/@babel/runtime/helpers/readOnlyError.js +4 -0
  964. package/node_modules/@babel/runtime/helpers/regenerator.js +89 -0
  965. package/node_modules/@babel/runtime/helpers/regeneratorAsync.js +8 -0
  966. package/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +6 -0
  967. package/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +33 -0
  968. package/node_modules/@babel/runtime/helpers/regeneratorDefine.js +22 -0
  969. package/node_modules/@babel/runtime/helpers/regeneratorKeys.js +10 -0
  970. package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +77 -0
  971. package/node_modules/@babel/runtime/helpers/regeneratorValues.js +19 -0
  972. package/node_modules/@babel/runtime/helpers/set.js +22 -0
  973. package/node_modules/@babel/runtime/helpers/setFunctionName.js +12 -0
  974. package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +6 -0
  975. package/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +7 -0
  976. package/node_modules/@babel/runtime/helpers/slicedToArray.js +8 -0
  977. package/node_modules/@babel/runtime/helpers/superPropBase.js +6 -0
  978. package/node_modules/@babel/runtime/helpers/superPropGet.js +9 -0
  979. package/node_modules/@babel/runtime/helpers/superPropSet.js +6 -0
  980. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +8 -0
  981. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +4 -0
  982. package/node_modules/@babel/runtime/helpers/tdz.js +4 -0
  983. package/node_modules/@babel/runtime/helpers/temporalRef.js +6 -0
  984. package/node_modules/@babel/runtime/helpers/temporalUndefined.js +2 -0
  985. package/node_modules/@babel/runtime/helpers/toArray.js +8 -0
  986. package/node_modules/@babel/runtime/helpers/toConsumableArray.js +8 -0
  987. package/node_modules/@babel/runtime/helpers/toPrimitive.js +12 -0
  988. package/node_modules/@babel/runtime/helpers/toPropertyKey.js +7 -0
  989. package/node_modules/@babel/runtime/helpers/toSetter.js +10 -0
  990. package/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +6 -0
  991. package/node_modules/@babel/runtime/helpers/typeof.js +10 -0
  992. package/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +9 -0
  993. package/node_modules/@babel/runtime/helpers/using.js +12 -0
  994. package/node_modules/@babel/runtime/helpers/usingCtx.js +59 -0
  995. package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +69 -0
  996. package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +27 -0
  997. package/node_modules/@babel/runtime/helpers/wrapRegExp.js +52 -0
  998. package/node_modules/@babel/runtime/helpers/writeOnlyError.js +4 -0
  999. package/node_modules/@babel/runtime/package.json +1107 -0
  1000. package/node_modules/@babel/runtime/regenerator/index.js +15 -0
  1001. package/node_modules/@minicode/agent-sdk/README.md +292 -0
  1002. package/node_modules/@minicode/agent-sdk/dist/src/agent/agent.d.ts +90 -0
  1003. package/node_modules/@minicode/agent-sdk/dist/src/agent/agent.d.ts.map +1 -0
  1004. package/node_modules/@minicode/agent-sdk/dist/src/agent/agent.js +414 -0
  1005. package/node_modules/@minicode/agent-sdk/dist/src/agent/agent.js.map +1 -0
  1006. package/node_modules/@minicode/agent-sdk/dist/src/agent/types.d.ts +80 -0
  1007. package/node_modules/@minicode/agent-sdk/dist/src/agent/types.d.ts.map +1 -0
  1008. package/node_modules/@minicode/agent-sdk/dist/src/agent/types.js +2 -0
  1009. package/node_modules/@minicode/agent-sdk/dist/src/agent/types.js.map +1 -0
  1010. package/node_modules/@minicode/agent-sdk/dist/src/index.d.ts +15 -0
  1011. package/node_modules/@minicode/agent-sdk/dist/src/index.d.ts.map +1 -0
  1012. package/node_modules/@minicode/agent-sdk/dist/src/index.js +22 -0
  1013. package/node_modules/@minicode/agent-sdk/dist/src/index.js.map +1 -0
  1014. package/node_modules/@minicode/agent-sdk/dist/src/model/client.d.ts +35 -0
  1015. package/node_modules/@minicode/agent-sdk/dist/src/model/client.d.ts.map +1 -0
  1016. package/node_modules/@minicode/agent-sdk/dist/src/model/client.js +375 -0
  1017. package/node_modules/@minicode/agent-sdk/dist/src/model/client.js.map +1 -0
  1018. package/node_modules/@minicode/agent-sdk/dist/src/prompt/system-prompt.d.ts +8 -0
  1019. package/node_modules/@minicode/agent-sdk/dist/src/prompt/system-prompt.d.ts.map +1 -0
  1020. package/node_modules/@minicode/agent-sdk/dist/src/prompt/system-prompt.js +92 -0
  1021. package/node_modules/@minicode/agent-sdk/dist/src/prompt/system-prompt.js.map +1 -0
  1022. package/node_modules/@minicode/agent-sdk/dist/src/safety/guardrails.d.ts +9 -0
  1023. package/node_modules/@minicode/agent-sdk/dist/src/safety/guardrails.d.ts.map +1 -0
  1024. package/node_modules/@minicode/agent-sdk/dist/src/safety/guardrails.js +56 -0
  1025. package/node_modules/@minicode/agent-sdk/dist/src/safety/guardrails.js.map +1 -0
  1026. package/node_modules/@minicode/agent-sdk/dist/src/session/session.d.ts +71 -0
  1027. package/node_modules/@minicode/agent-sdk/dist/src/session/session.d.ts.map +1 -0
  1028. package/node_modules/@minicode/agent-sdk/dist/src/session/session.js +318 -0
  1029. package/node_modules/@minicode/agent-sdk/dist/src/session/session.js.map +1 -0
  1030. package/node_modules/@minicode/agent-sdk/dist/src/tools/edit-file.d.ts +6 -0
  1031. package/node_modules/@minicode/agent-sdk/dist/src/tools/edit-file.d.ts.map +1 -0
  1032. package/node_modules/@minicode/agent-sdk/dist/src/tools/edit-file.js +72 -0
  1033. package/node_modules/@minicode/agent-sdk/dist/src/tools/edit-file.js.map +1 -0
  1034. package/node_modules/@minicode/agent-sdk/dist/src/tools/helpers.d.ts +6 -0
  1035. package/node_modules/@minicode/agent-sdk/dist/src/tools/helpers.d.ts.map +1 -0
  1036. package/node_modules/@minicode/agent-sdk/dist/src/tools/helpers.js +43 -0
  1037. package/node_modules/@minicode/agent-sdk/dist/src/tools/helpers.js.map +1 -0
  1038. package/node_modules/@minicode/agent-sdk/dist/src/tools/list-files.d.ts +3 -0
  1039. package/node_modules/@minicode/agent-sdk/dist/src/tools/list-files.d.ts.map +1 -0
  1040. package/node_modules/@minicode/agent-sdk/dist/src/tools/list-files.js +64 -0
  1041. package/node_modules/@minicode/agent-sdk/dist/src/tools/list-files.js.map +1 -0
  1042. package/node_modules/@minicode/agent-sdk/dist/src/tools/read-file.d.ts +3 -0
  1043. package/node_modules/@minicode/agent-sdk/dist/src/tools/read-file.d.ts.map +1 -0
  1044. package/node_modules/@minicode/agent-sdk/dist/src/tools/read-file.js +80 -0
  1045. package/node_modules/@minicode/agent-sdk/dist/src/tools/read-file.js.map +1 -0
  1046. package/node_modules/@minicode/agent-sdk/dist/src/tools/registry.d.ts +15 -0
  1047. package/node_modules/@minicode/agent-sdk/dist/src/tools/registry.d.ts.map +1 -0
  1048. package/node_modules/@minicode/agent-sdk/dist/src/tools/registry.js +59 -0
  1049. package/node_modules/@minicode/agent-sdk/dist/src/tools/registry.js.map +1 -0
  1050. package/node_modules/@minicode/agent-sdk/dist/src/tools/run-command.d.ts +3 -0
  1051. package/node_modules/@minicode/agent-sdk/dist/src/tools/run-command.d.ts.map +1 -0
  1052. package/node_modules/@minicode/agent-sdk/dist/src/tools/run-command.js +93 -0
  1053. package/node_modules/@minicode/agent-sdk/dist/src/tools/run-command.js.map +1 -0
  1054. package/node_modules/@minicode/agent-sdk/dist/src/tools/search.d.ts +3 -0
  1055. package/node_modules/@minicode/agent-sdk/dist/src/tools/search.d.ts.map +1 -0
  1056. package/node_modules/@minicode/agent-sdk/dist/src/tools/search.js +154 -0
  1057. package/node_modules/@minicode/agent-sdk/dist/src/tools/search.js.map +1 -0
  1058. package/node_modules/@minicode/agent-sdk/dist/src/tools/write-file.d.ts +6 -0
  1059. package/node_modules/@minicode/agent-sdk/dist/src/tools/write-file.d.ts.map +1 -0
  1060. package/node_modules/@minicode/agent-sdk/dist/src/tools/write-file.js +44 -0
  1061. package/node_modules/@minicode/agent-sdk/dist/src/tools/write-file.js.map +1 -0
  1062. package/node_modules/@minicode/agent-sdk/dist/tests/agent.test.d.ts +2 -0
  1063. package/node_modules/@minicode/agent-sdk/dist/tests/agent.test.d.ts.map +1 -0
  1064. package/node_modules/@minicode/agent-sdk/dist/tests/agent.test.js +225 -0
  1065. package/node_modules/@minicode/agent-sdk/dist/tests/agent.test.js.map +1 -0
  1066. package/node_modules/@minicode/agent-sdk/dist/tests/file-tools.test.d.ts +2 -0
  1067. package/node_modules/@minicode/agent-sdk/dist/tests/file-tools.test.d.ts.map +1 -0
  1068. package/node_modules/@minicode/agent-sdk/dist/tests/file-tools.test.js +114 -0
  1069. package/node_modules/@minicode/agent-sdk/dist/tests/file-tools.test.js.map +1 -0
  1070. package/node_modules/@minicode/agent-sdk/dist/tests/guardrails.test.d.ts +2 -0
  1071. package/node_modules/@minicode/agent-sdk/dist/tests/guardrails.test.d.ts.map +1 -0
  1072. package/node_modules/@minicode/agent-sdk/dist/tests/guardrails.test.js +48 -0
  1073. package/node_modules/@minicode/agent-sdk/dist/tests/guardrails.test.js.map +1 -0
  1074. package/node_modules/@minicode/agent-sdk/dist/tests/model-client-openai.test.d.ts +2 -0
  1075. package/node_modules/@minicode/agent-sdk/dist/tests/model-client-openai.test.d.ts.map +1 -0
  1076. package/node_modules/@minicode/agent-sdk/dist/tests/model-client-openai.test.js +155 -0
  1077. package/node_modules/@minicode/agent-sdk/dist/tests/model-client-openai.test.js.map +1 -0
  1078. package/node_modules/@minicode/agent-sdk/dist/tests/session.test.d.ts +2 -0
  1079. package/node_modules/@minicode/agent-sdk/dist/tests/session.test.d.ts.map +1 -0
  1080. package/node_modules/@minicode/agent-sdk/dist/tests/session.test.js +192 -0
  1081. package/node_modules/@minicode/agent-sdk/dist/tests/session.test.js.map +1 -0
  1082. package/node_modules/@minicode/agent-sdk/dist/tests/system-prompt.test.d.ts +2 -0
  1083. package/node_modules/@minicode/agent-sdk/dist/tests/system-prompt.test.d.ts.map +1 -0
  1084. package/node_modules/@minicode/agent-sdk/dist/tests/system-prompt.test.js +76 -0
  1085. package/node_modules/@minicode/agent-sdk/dist/tests/system-prompt.test.js.map +1 -0
  1086. package/node_modules/@minicode/agent-sdk/dist/tests/test-utils.d.ts +3 -0
  1087. package/node_modules/@minicode/agent-sdk/dist/tests/test-utils.d.ts.map +1 -0
  1088. package/node_modules/@minicode/agent-sdk/dist/tests/test-utils.js +19 -0
  1089. package/node_modules/@minicode/agent-sdk/dist/tests/test-utils.js.map +1 -0
  1090. package/node_modules/@minicode/agent-sdk/dist/tests/tool-registry.test.d.ts +2 -0
  1091. package/node_modules/@minicode/agent-sdk/dist/tests/tool-registry.test.d.ts.map +1 -0
  1092. package/node_modules/@minicode/agent-sdk/dist/tests/tool-registry.test.js +69 -0
  1093. package/node_modules/@minicode/agent-sdk/dist/tests/tool-registry.test.js.map +1 -0
  1094. package/node_modules/@minicode/agent-sdk/dist/tsconfig.tsbuildinfo +1 -0
  1095. package/node_modules/@minicode/agent-sdk/package.json +32 -0
  1096. package/node_modules/json-schema-to-ts/LICENSE +21 -0
  1097. package/node_modules/json-schema-to-ts/README.md +1046 -0
  1098. package/node_modules/json-schema-to-ts/lib/cjs/definitions/deserializationPattern.js +6 -0
  1099. package/node_modules/json-schema-to-ts/lib/cjs/definitions/deserializationPattern.js.map +1 -0
  1100. package/node_modules/json-schema-to-ts/lib/cjs/definitions/extendedJsonSchema.js +6 -0
  1101. package/node_modules/json-schema-to-ts/lib/cjs/definitions/extendedJsonSchema.js.map +1 -0
  1102. package/node_modules/json-schema-to-ts/lib/cjs/definitions/fromSchemaOptions.js +6 -0
  1103. package/node_modules/json-schema-to-ts/lib/cjs/definitions/fromSchemaOptions.js.map +1 -0
  1104. package/node_modules/json-schema-to-ts/lib/cjs/definitions/index.js +6 -0
  1105. package/node_modules/json-schema-to-ts/lib/cjs/definitions/index.js.map +1 -0
  1106. package/node_modules/json-schema-to-ts/lib/cjs/definitions/jsonSchema.js +25 -0
  1107. package/node_modules/json-schema-to-ts/lib/cjs/definitions/jsonSchema.js.map +1 -0
  1108. package/node_modules/json-schema-to-ts/lib/cjs/index.js +26 -0
  1109. package/node_modules/json-schema-to-ts/lib/cjs/index.js.map +1 -0
  1110. package/node_modules/json-schema-to-ts/lib/cjs/parse-options.js +6 -0
  1111. package/node_modules/json-schema-to-ts/lib/cjs/parse-options.js.map +1 -0
  1112. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/allOf.js +6 -0
  1113. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/allOf.js.map +1 -0
  1114. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/anyOf.js +6 -0
  1115. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/anyOf.js.map +1 -0
  1116. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/array.js +6 -0
  1117. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/array.js.map +1 -0
  1118. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/const.js +6 -0
  1119. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/const.js.map +1 -0
  1120. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/deserialize.js +6 -0
  1121. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/deserialize.js.map +1 -0
  1122. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/enum.js +6 -0
  1123. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/enum.js.map +1 -0
  1124. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/ifThenElse.js +6 -0
  1125. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/ifThenElse.js.map +1 -0
  1126. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/index.js +6 -0
  1127. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/index.js.map +1 -0
  1128. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/multipleTypes.js +6 -0
  1129. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/multipleTypes.js.map +1 -0
  1130. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/not.js +6 -0
  1131. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/not.js.map +1 -0
  1132. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/nullable.js +6 -0
  1133. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/nullable.js.map +1 -0
  1134. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/object.js +6 -0
  1135. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/object.js.map +1 -0
  1136. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/oneOf.js +6 -0
  1137. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/oneOf.js.map +1 -0
  1138. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/external.js +6 -0
  1139. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/external.js.map +1 -0
  1140. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/index.js +6 -0
  1141. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/index.js.map +1 -0
  1142. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/internal.js +6 -0
  1143. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/internal.js.map +1 -0
  1144. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/utils.js +6 -0
  1145. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/references/utils.js.map +1 -0
  1146. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/singleType.js +6 -0
  1147. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/singleType.js.map +1 -0
  1148. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/utils.js +6 -0
  1149. package/node_modules/json-schema-to-ts/lib/cjs/parse-schema/utils.js.map +1 -0
  1150. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/and.js +6 -0
  1151. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/and.js.map +1 -0
  1152. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/extends.js +6 -0
  1153. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/extends.js.map +1 -0
  1154. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/get.js +6 -0
  1155. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/get.js.map +1 -0
  1156. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/if.js +6 -0
  1157. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/if.js.map +1 -0
  1158. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/index.js +6 -0
  1159. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/index.js.map +1 -0
  1160. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/join.js +6 -0
  1161. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/join.js.map +1 -0
  1162. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/key.js +6 -0
  1163. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/key.js.map +1 -0
  1164. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/narrow.js +6 -0
  1165. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/narrow.js.map +1 -0
  1166. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/not.js +6 -0
  1167. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/not.js.map +1 -0
  1168. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/pop.js +6 -0
  1169. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/pop.js.map +1 -0
  1170. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/split.js +6 -0
  1171. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/split.js.map +1 -0
  1172. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/tail.js +6 -0
  1173. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/tail.js.map +1 -0
  1174. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/writable.js +6 -0
  1175. package/node_modules/json-schema-to-ts/lib/cjs/type-utils/writable.js.map +1 -0
  1176. package/node_modules/json-schema-to-ts/lib/cjs/utils/asConst.js +26 -0
  1177. package/node_modules/json-schema-to-ts/lib/cjs/utils/asConst.js.map +1 -0
  1178. package/node_modules/json-schema-to-ts/lib/cjs/utils/index.js +28 -0
  1179. package/node_modules/json-schema-to-ts/lib/cjs/utils/index.js.map +1 -0
  1180. package/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/compiler.js +52 -0
  1181. package/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/compiler.js.map +1 -0
  1182. package/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/index.js +22 -0
  1183. package/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/index.js.map +1 -0
  1184. package/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/validator.js +46 -0
  1185. package/node_modules/json-schema-to-ts/lib/cjs/utils/type-guards/validator.js.map +1 -0
  1186. package/node_modules/json-schema-to-ts/lib/esm/definitions/deserializationPattern.js +2 -0
  1187. package/node_modules/json-schema-to-ts/lib/esm/definitions/deserializationPattern.js.map +1 -0
  1188. package/node_modules/json-schema-to-ts/lib/esm/definitions/extendedJsonSchema.js +2 -0
  1189. package/node_modules/json-schema-to-ts/lib/esm/definitions/extendedJsonSchema.js.map +1 -0
  1190. package/node_modules/json-schema-to-ts/lib/esm/definitions/fromSchemaOptions.js +2 -0
  1191. package/node_modules/json-schema-to-ts/lib/esm/definitions/fromSchemaOptions.js.map +1 -0
  1192. package/node_modules/json-schema-to-ts/lib/esm/definitions/index.js +2 -0
  1193. package/node_modules/json-schema-to-ts/lib/esm/definitions/index.js.map +1 -0
  1194. package/node_modules/json-schema-to-ts/lib/esm/definitions/jsonSchema.js +17 -0
  1195. package/node_modules/json-schema-to-ts/lib/esm/definitions/jsonSchema.js.map +1 -0
  1196. package/node_modules/json-schema-to-ts/lib/esm/index.js +11 -0
  1197. package/node_modules/json-schema-to-ts/lib/esm/index.js.map +1 -0
  1198. package/node_modules/json-schema-to-ts/lib/esm/parse-options.js +2 -0
  1199. package/node_modules/json-schema-to-ts/lib/esm/parse-options.js.map +1 -0
  1200. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/allOf.js +2 -0
  1201. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/allOf.js.map +1 -0
  1202. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/anyOf.js +2 -0
  1203. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/anyOf.js.map +1 -0
  1204. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/array.js +2 -0
  1205. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/array.js.map +1 -0
  1206. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/const.js +2 -0
  1207. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/const.js.map +1 -0
  1208. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/deserialize.js +2 -0
  1209. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/deserialize.js.map +1 -0
  1210. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/enum.js +2 -0
  1211. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/enum.js.map +1 -0
  1212. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/ifThenElse.js +2 -0
  1213. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/ifThenElse.js.map +1 -0
  1214. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/index.js +2 -0
  1215. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/index.js.map +1 -0
  1216. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/multipleTypes.js +2 -0
  1217. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/multipleTypes.js.map +1 -0
  1218. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/not.js +2 -0
  1219. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/not.js.map +1 -0
  1220. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/nullable.js +2 -0
  1221. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/nullable.js.map +1 -0
  1222. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/object.js +2 -0
  1223. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/object.js.map +1 -0
  1224. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/oneOf.js +2 -0
  1225. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/oneOf.js.map +1 -0
  1226. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/external.js +2 -0
  1227. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/external.js.map +1 -0
  1228. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/index.js +2 -0
  1229. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/index.js.map +1 -0
  1230. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/internal.js +2 -0
  1231. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/internal.js.map +1 -0
  1232. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/utils.js +2 -0
  1233. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/references/utils.js.map +1 -0
  1234. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/singleType.js +2 -0
  1235. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/singleType.js.map +1 -0
  1236. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/utils.js +2 -0
  1237. package/node_modules/json-schema-to-ts/lib/esm/parse-schema/utils.js.map +1 -0
  1238. package/node_modules/json-schema-to-ts/lib/esm/type-utils/and.js +2 -0
  1239. package/node_modules/json-schema-to-ts/lib/esm/type-utils/and.js.map +1 -0
  1240. package/node_modules/json-schema-to-ts/lib/esm/type-utils/extends.js +2 -0
  1241. package/node_modules/json-schema-to-ts/lib/esm/type-utils/extends.js.map +1 -0
  1242. package/node_modules/json-schema-to-ts/lib/esm/type-utils/get.js +2 -0
  1243. package/node_modules/json-schema-to-ts/lib/esm/type-utils/get.js.map +1 -0
  1244. package/node_modules/json-schema-to-ts/lib/esm/type-utils/if.js +2 -0
  1245. package/node_modules/json-schema-to-ts/lib/esm/type-utils/if.js.map +1 -0
  1246. package/node_modules/json-schema-to-ts/lib/esm/type-utils/index.js +2 -0
  1247. package/node_modules/json-schema-to-ts/lib/esm/type-utils/index.js.map +1 -0
  1248. package/node_modules/json-schema-to-ts/lib/esm/type-utils/join.js +2 -0
  1249. package/node_modules/json-schema-to-ts/lib/esm/type-utils/join.js.map +1 -0
  1250. package/node_modules/json-schema-to-ts/lib/esm/type-utils/key.js +2 -0
  1251. package/node_modules/json-schema-to-ts/lib/esm/type-utils/key.js.map +1 -0
  1252. package/node_modules/json-schema-to-ts/lib/esm/type-utils/narrow.js +2 -0
  1253. package/node_modules/json-schema-to-ts/lib/esm/type-utils/narrow.js.map +1 -0
  1254. package/node_modules/json-schema-to-ts/lib/esm/type-utils/not.js +2 -0
  1255. package/node_modules/json-schema-to-ts/lib/esm/type-utils/not.js.map +1 -0
  1256. package/node_modules/json-schema-to-ts/lib/esm/type-utils/pop.js +2 -0
  1257. package/node_modules/json-schema-to-ts/lib/esm/type-utils/pop.js.map +1 -0
  1258. package/node_modules/json-schema-to-ts/lib/esm/type-utils/split.js +2 -0
  1259. package/node_modules/json-schema-to-ts/lib/esm/type-utils/split.js.map +1 -0
  1260. package/node_modules/json-schema-to-ts/lib/esm/type-utils/tail.js +2 -0
  1261. package/node_modules/json-schema-to-ts/lib/esm/type-utils/tail.js.map +1 -0
  1262. package/node_modules/json-schema-to-ts/lib/esm/type-utils/writable.js +2 -0
  1263. package/node_modules/json-schema-to-ts/lib/esm/type-utils/writable.js.map +1 -0
  1264. package/node_modules/json-schema-to-ts/lib/esm/utils/asConst.js +17 -0
  1265. package/node_modules/json-schema-to-ts/lib/esm/utils/asConst.js.map +1 -0
  1266. package/node_modules/json-schema-to-ts/lib/esm/utils/index.js +3 -0
  1267. package/node_modules/json-schema-to-ts/lib/esm/utils/index.js.map +1 -0
  1268. package/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/compiler.js +43 -0
  1269. package/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/compiler.js.map +1 -0
  1270. package/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/index.js +3 -0
  1271. package/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/index.js.map +1 -0
  1272. package/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/validator.js +37 -0
  1273. package/node_modules/json-schema-to-ts/lib/esm/utils/type-guards/validator.js.map +1 -0
  1274. package/node_modules/json-schema-to-ts/lib/types/definitions/deserializationPattern.d.ts +4 -0
  1275. package/node_modules/json-schema-to-ts/lib/types/definitions/deserializationPattern.js +1 -0
  1276. package/node_modules/json-schema-to-ts/lib/types/definitions/extendedJsonSchema.d.ts +75 -0
  1277. package/node_modules/json-schema-to-ts/lib/types/definitions/extendedJsonSchema.js +1 -0
  1278. package/node_modules/json-schema-to-ts/lib/types/definitions/fromSchemaOptions.d.ts +24 -0
  1279. package/node_modules/json-schema-to-ts/lib/types/definitions/fromSchemaOptions.js +1 -0
  1280. package/node_modules/json-schema-to-ts/lib/types/definitions/index.d.ts +4 -0
  1281. package/node_modules/json-schema-to-ts/lib/types/definitions/index.js +1 -0
  1282. package/node_modules/json-schema-to-ts/lib/types/definitions/jsonSchema.d.ts +57 -0
  1283. package/node_modules/json-schema-to-ts/lib/types/definitions/jsonSchema.js +1 -0
  1284. package/node_modules/json-schema-to-ts/lib/types/index.d.ts +9 -0
  1285. package/node_modules/json-schema-to-ts/lib/types/index.js +1 -0
  1286. package/node_modules/json-schema-to-ts/lib/types/parse-options.d.ts +12 -0
  1287. package/node_modules/json-schema-to-ts/lib/types/parse-options.js +1 -0
  1288. package/node_modules/json-schema-to-ts/lib/types/parse-schema/allOf.d.ts +13 -0
  1289. package/node_modules/json-schema-to-ts/lib/types/parse-schema/allOf.js +1 -0
  1290. package/node_modules/json-schema-to-ts/lib/types/parse-schema/anyOf.d.ts +13 -0
  1291. package/node_modules/json-schema-to-ts/lib/types/parse-schema/anyOf.js +1 -0
  1292. package/node_modules/json-schema-to-ts/lib/types/parse-schema/array.d.ts +57 -0
  1293. package/node_modules/json-schema-to-ts/lib/types/parse-schema/array.js +1 -0
  1294. package/node_modules/json-schema-to-ts/lib/types/parse-schema/const.d.ts +10 -0
  1295. package/node_modules/json-schema-to-ts/lib/types/parse-schema/const.js +1 -0
  1296. package/node_modules/json-schema-to-ts/lib/types/parse-schema/deserialize.d.ts +11 -0
  1297. package/node_modules/json-schema-to-ts/lib/types/parse-schema/deserialize.js +1 -0
  1298. package/node_modules/json-schema-to-ts/lib/types/parse-schema/enum.d.ts +10 -0
  1299. package/node_modules/json-schema-to-ts/lib/types/parse-schema/enum.js +1 -0
  1300. package/node_modules/json-schema-to-ts/lib/types/parse-schema/ifThenElse.d.ts +14 -0
  1301. package/node_modules/json-schema-to-ts/lib/types/parse-schema/ifThenElse.js +1 -0
  1302. package/node_modules/json-schema-to-ts/lib/types/parse-schema/index.d.ts +26 -0
  1303. package/node_modules/json-schema-to-ts/lib/types/parse-schema/index.js +1 -0
  1304. package/node_modules/json-schema-to-ts/lib/types/parse-schema/multipleTypes.d.ts +11 -0
  1305. package/node_modules/json-schema-to-ts/lib/types/parse-schema/multipleTypes.js +1 -0
  1306. package/node_modules/json-schema-to-ts/lib/types/parse-schema/not.d.ts +10 -0
  1307. package/node_modules/json-schema-to-ts/lib/types/parse-schema/not.js +1 -0
  1308. package/node_modules/json-schema-to-ts/lib/types/parse-schema/nullable.d.ts +9 -0
  1309. package/node_modules/json-schema-to-ts/lib/types/parse-schema/nullable.js +1 -0
  1310. package/node_modules/json-schema-to-ts/lib/types/parse-schema/object.d.ts +37 -0
  1311. package/node_modules/json-schema-to-ts/lib/types/parse-schema/object.js +1 -0
  1312. package/node_modules/json-schema-to-ts/lib/types/parse-schema/oneOf.d.ts +13 -0
  1313. package/node_modules/json-schema-to-ts/lib/types/parse-schema/oneOf.js +1 -0
  1314. package/node_modules/json-schema-to-ts/lib/types/parse-schema/references/external.d.ts +22 -0
  1315. package/node_modules/json-schema-to-ts/lib/types/parse-schema/references/external.js +1 -0
  1316. package/node_modules/json-schema-to-ts/lib/types/parse-schema/references/index.d.ts +9 -0
  1317. package/node_modules/json-schema-to-ts/lib/types/parse-schema/references/index.js +1 -0
  1318. package/node_modules/json-schema-to-ts/lib/types/parse-schema/references/internal.d.ts +4 -0
  1319. package/node_modules/json-schema-to-ts/lib/types/parse-schema/references/internal.js +1 -0
  1320. package/node_modules/json-schema-to-ts/lib/types/parse-schema/references/utils.d.ts +6 -0
  1321. package/node_modules/json-schema-to-ts/lib/types/parse-schema/references/utils.js +1 -0
  1322. package/node_modules/json-schema-to-ts/lib/types/parse-schema/singleType.d.ts +19 -0
  1323. package/node_modules/json-schema-to-ts/lib/types/parse-schema/singleType.js +1 -0
  1324. package/node_modules/json-schema-to-ts/lib/types/parse-schema/utils.d.ts +17 -0
  1325. package/node_modules/json-schema-to-ts/lib/types/parse-schema/utils.js +1 -0
  1326. package/node_modules/json-schema-to-ts/lib/types/type-utils/and.d.ts +1 -0
  1327. package/node_modules/json-schema-to-ts/lib/types/type-utils/and.js +1 -0
  1328. package/node_modules/json-schema-to-ts/lib/types/type-utils/extends.d.ts +1 -0
  1329. package/node_modules/json-schema-to-ts/lib/types/type-utils/extends.js +1 -0
  1330. package/node_modules/json-schema-to-ts/lib/types/type-utils/get.d.ts +1 -0
  1331. package/node_modules/json-schema-to-ts/lib/types/type-utils/get.js +1 -0
  1332. package/node_modules/json-schema-to-ts/lib/types/type-utils/if.d.ts +1 -0
  1333. package/node_modules/json-schema-to-ts/lib/types/type-utils/if.js +1 -0
  1334. package/node_modules/json-schema-to-ts/lib/types/type-utils/index.d.ts +12 -0
  1335. package/node_modules/json-schema-to-ts/lib/types/type-utils/index.js +1 -0
  1336. package/node_modules/json-schema-to-ts/lib/types/type-utils/join.d.ts +1 -0
  1337. package/node_modules/json-schema-to-ts/lib/types/type-utils/join.js +1 -0
  1338. package/node_modules/json-schema-to-ts/lib/types/type-utils/key.d.ts +1 -0
  1339. package/node_modules/json-schema-to-ts/lib/types/type-utils/key.js +1 -0
  1340. package/node_modules/json-schema-to-ts/lib/types/type-utils/narrow.d.ts +3 -0
  1341. package/node_modules/json-schema-to-ts/lib/types/type-utils/narrow.js +1 -0
  1342. package/node_modules/json-schema-to-ts/lib/types/type-utils/not.d.ts +1 -0
  1343. package/node_modules/json-schema-to-ts/lib/types/type-utils/not.js +1 -0
  1344. package/node_modules/json-schema-to-ts/lib/types/type-utils/pop.d.ts +1 -0
  1345. package/node_modules/json-schema-to-ts/lib/types/type-utils/pop.js +1 -0
  1346. package/node_modules/json-schema-to-ts/lib/types/type-utils/split.d.ts +4 -0
  1347. package/node_modules/json-schema-to-ts/lib/types/type-utils/split.js +1 -0
  1348. package/node_modules/json-schema-to-ts/lib/types/type-utils/tail.d.ts +1 -0
  1349. package/node_modules/json-schema-to-ts/lib/types/type-utils/tail.js +1 -0
  1350. package/node_modules/json-schema-to-ts/lib/types/type-utils/writable.d.ts +5 -0
  1351. package/node_modules/json-schema-to-ts/lib/types/type-utils/writable.js +1 -0
  1352. package/node_modules/json-schema-to-ts/lib/types/utils/asConst.d.ts +2 -0
  1353. package/node_modules/json-schema-to-ts/lib/types/utils/asConst.js +1 -0
  1354. package/node_modules/json-schema-to-ts/lib/types/utils/index.d.ts +3 -0
  1355. package/node_modules/json-schema-to-ts/lib/types/utils/index.js +2 -0
  1356. package/node_modules/json-schema-to-ts/lib/types/utils/type-guards/compiler.d.ts +6 -0
  1357. package/node_modules/json-schema-to-ts/lib/types/utils/type-guards/compiler.js +4 -0
  1358. package/node_modules/json-schema-to-ts/lib/types/utils/type-guards/index.d.ts +4 -0
  1359. package/node_modules/json-schema-to-ts/lib/types/utils/type-guards/index.js +2 -0
  1360. package/node_modules/json-schema-to-ts/lib/types/utils/type-guards/validator.d.ts +6 -0
  1361. package/node_modules/json-schema-to-ts/lib/types/utils/type-guards/validator.js +1 -0
  1362. package/node_modules/json-schema-to-ts/package.json +89 -0
  1363. package/node_modules/ts-algebra/.eslintignore +3 -0
  1364. package/node_modules/ts-algebra/.eslintrc.js +153 -0
  1365. package/node_modules/ts-algebra/.nvmrc +1 -0
  1366. package/node_modules/ts-algebra/.prettierignore +4 -0
  1367. package/node_modules/ts-algebra/.prettierrc +9 -0
  1368. package/node_modules/ts-algebra/LICENSE +21 -0
  1369. package/node_modules/ts-algebra/README.md +737 -0
  1370. package/node_modules/ts-algebra/lib/index.d.ts +2 -0
  1371. package/node_modules/ts-algebra/lib/index.js +4 -0
  1372. package/node_modules/ts-algebra/lib/meta-types/any.d.ts +15 -0
  1373. package/node_modules/ts-algebra/lib/meta-types/any.js +1 -0
  1374. package/node_modules/ts-algebra/lib/meta-types/array.d.ts +22 -0
  1375. package/node_modules/ts-algebra/lib/meta-types/array.js +1 -0
  1376. package/node_modules/ts-algebra/lib/meta-types/const.d.ts +19 -0
  1377. package/node_modules/ts-algebra/lib/meta-types/const.js +1 -0
  1378. package/node_modules/ts-algebra/lib/meta-types/enum.d.ts +19 -0
  1379. package/node_modules/ts-algebra/lib/meta-types/enum.js +1 -0
  1380. package/node_modules/ts-algebra/lib/meta-types/exclusion/any.d.ts +12 -0
  1381. package/node_modules/ts-algebra/lib/meta-types/exclusion/any.js +1 -0
  1382. package/node_modules/ts-algebra/lib/meta-types/exclusion/array.d.ts +16 -0
  1383. package/node_modules/ts-algebra/lib/meta-types/exclusion/array.js +1 -0
  1384. package/node_modules/ts-algebra/lib/meta-types/exclusion/const.d.ts +27 -0
  1385. package/node_modules/ts-algebra/lib/meta-types/exclusion/const.js +1 -0
  1386. package/node_modules/ts-algebra/lib/meta-types/exclusion/enum.d.ts +20 -0
  1387. package/node_modules/ts-algebra/lib/meta-types/exclusion/enum.js +1 -0
  1388. package/node_modules/ts-algebra/lib/meta-types/exclusion/index.d.ts +20 -0
  1389. package/node_modules/ts-algebra/lib/meta-types/exclusion/index.js +1 -0
  1390. package/node_modules/ts-algebra/lib/meta-types/exclusion/object.d.ts +51 -0
  1391. package/node_modules/ts-algebra/lib/meta-types/exclusion/object.js +1 -0
  1392. package/node_modules/ts-algebra/lib/meta-types/exclusion/primitive.d.ts +12 -0
  1393. package/node_modules/ts-algebra/lib/meta-types/exclusion/primitive.js +1 -0
  1394. package/node_modules/ts-algebra/lib/meta-types/exclusion/tuple.d.ts +87 -0
  1395. package/node_modules/ts-algebra/lib/meta-types/exclusion/tuple.js +1 -0
  1396. package/node_modules/ts-algebra/lib/meta-types/exclusion/union.d.ts +8 -0
  1397. package/node_modules/ts-algebra/lib/meta-types/exclusion/union.js +1 -0
  1398. package/node_modules/ts-algebra/lib/meta-types/exclusion/utils.d.ts +31 -0
  1399. package/node_modules/ts-algebra/lib/meta-types/exclusion/utils.js +1 -0
  1400. package/node_modules/ts-algebra/lib/meta-types/index.d.ts +14 -0
  1401. package/node_modules/ts-algebra/lib/meta-types/index.js +1 -0
  1402. package/node_modules/ts-algebra/lib/meta-types/intersection/any.d.ts +19 -0
  1403. package/node_modules/ts-algebra/lib/meta-types/intersection/any.js +1 -0
  1404. package/node_modules/ts-algebra/lib/meta-types/intersection/array.d.ts +21 -0
  1405. package/node_modules/ts-algebra/lib/meta-types/intersection/array.js +1 -0
  1406. package/node_modules/ts-algebra/lib/meta-types/intersection/const.d.ts +33 -0
  1407. package/node_modules/ts-algebra/lib/meta-types/intersection/const.js +1 -0
  1408. package/node_modules/ts-algebra/lib/meta-types/intersection/enum.d.ts +23 -0
  1409. package/node_modules/ts-algebra/lib/meta-types/intersection/enum.js +1 -0
  1410. package/node_modules/ts-algebra/lib/meta-types/intersection/index.d.ts +20 -0
  1411. package/node_modules/ts-algebra/lib/meta-types/intersection/index.js +1 -0
  1412. package/node_modules/ts-algebra/lib/meta-types/intersection/object.d.ts +26 -0
  1413. package/node_modules/ts-algebra/lib/meta-types/intersection/object.js +1 -0
  1414. package/node_modules/ts-algebra/lib/meta-types/intersection/primitive.d.ts +17 -0
  1415. package/node_modules/ts-algebra/lib/meta-types/intersection/primitive.js +1 -0
  1416. package/node_modules/ts-algebra/lib/meta-types/intersection/tuple.d.ts +44 -0
  1417. package/node_modules/ts-algebra/lib/meta-types/intersection/tuple.js +1 -0
  1418. package/node_modules/ts-algebra/lib/meta-types/intersection/union.d.ts +13 -0
  1419. package/node_modules/ts-algebra/lib/meta-types/intersection/union.js +1 -0
  1420. package/node_modules/ts-algebra/lib/meta-types/intersection/utils.d.ts +5 -0
  1421. package/node_modules/ts-algebra/lib/meta-types/intersection/utils.js +1 -0
  1422. package/node_modules/ts-algebra/lib/meta-types/never.d.ts +6 -0
  1423. package/node_modules/ts-algebra/lib/meta-types/never.js +1 -0
  1424. package/node_modules/ts-algebra/lib/meta-types/object.d.ts +47 -0
  1425. package/node_modules/ts-algebra/lib/meta-types/object.js +1 -0
  1426. package/node_modules/ts-algebra/lib/meta-types/primitive.d.ts +20 -0
  1427. package/node_modules/ts-algebra/lib/meta-types/primitive.js +1 -0
  1428. package/node_modules/ts-algebra/lib/meta-types/resolve.d.ts +18 -0
  1429. package/node_modules/ts-algebra/lib/meta-types/resolve.js +1 -0
  1430. package/node_modules/ts-algebra/lib/meta-types/tuple.d.ts +39 -0
  1431. package/node_modules/ts-algebra/lib/meta-types/tuple.js +1 -0
  1432. package/node_modules/ts-algebra/lib/meta-types/type.d.ts +14 -0
  1433. package/node_modules/ts-algebra/lib/meta-types/type.js +1 -0
  1434. package/node_modules/ts-algebra/lib/meta-types/typeId.d.ts +10 -0
  1435. package/node_modules/ts-algebra/lib/meta-types/typeId.js +1 -0
  1436. package/node_modules/ts-algebra/lib/meta-types/union.d.ts +18 -0
  1437. package/node_modules/ts-algebra/lib/meta-types/union.js +1 -0
  1438. package/node_modules/ts-algebra/lib/meta-types/utils.d.ts +3 -0
  1439. package/node_modules/ts-algebra/lib/meta-types/utils.js +1 -0
  1440. package/node_modules/ts-algebra/lib/utils/and.d.ts +1 -0
  1441. package/node_modules/ts-algebra/lib/utils/and.js +1 -0
  1442. package/node_modules/ts-algebra/lib/utils/extends.d.ts +5 -0
  1443. package/node_modules/ts-algebra/lib/utils/extends.js +1 -0
  1444. package/node_modules/ts-algebra/lib/utils/if.d.ts +1 -0
  1445. package/node_modules/ts-algebra/lib/utils/if.js +1 -0
  1446. package/node_modules/ts-algebra/lib/utils/index.d.ts +12 -0
  1447. package/node_modules/ts-algebra/lib/utils/index.js +1 -0
  1448. package/node_modules/ts-algebra/lib/utils/intersectUnion.d.ts +1 -0
  1449. package/node_modules/ts-algebra/lib/utils/intersectUnion.js +1 -0
  1450. package/node_modules/ts-algebra/lib/utils/isNever.d.ts +1 -0
  1451. package/node_modules/ts-algebra/lib/utils/isNever.js +1 -0
  1452. package/node_modules/ts-algebra/lib/utils/merge.d.ts +7 -0
  1453. package/node_modules/ts-algebra/lib/utils/merge.js +1 -0
  1454. package/node_modules/ts-algebra/lib/utils/not.d.ts +1 -0
  1455. package/node_modules/ts-algebra/lib/utils/not.js +1 -0
  1456. package/node_modules/ts-algebra/lib/utils/or.d.ts +1 -0
  1457. package/node_modules/ts-algebra/lib/utils/or.js +1 -0
  1458. package/node_modules/ts-algebra/lib/utils/prettify.d.ts +4 -0
  1459. package/node_modules/ts-algebra/lib/utils/prettify.js +1 -0
  1460. package/node_modules/ts-algebra/lib/utils/tail.d.ts +1 -0
  1461. package/node_modules/ts-algebra/lib/utils/tail.js +1 -0
  1462. package/node_modules/ts-algebra/lib/utils/unionLast.d.ts +2 -0
  1463. package/node_modules/ts-algebra/lib/utils/unionLast.js +1 -0
  1464. package/node_modules/ts-algebra/lib/utils/unionPop.d.ts +2 -0
  1465. package/node_modules/ts-algebra/lib/utils/unionPop.js +1 -0
  1466. package/node_modules/ts-algebra/package.json +59 -0
  1467. package/package.json +4 -1
@@ -0,0 +1,2198 @@
1
+ import { APIPromise } from "../../core/api-promise.js";
2
+ import { APIResource } from "../../core/resource.js";
3
+ import { Stream } from "../../core/streaming.js";
4
+ import { RequestOptions } from "../../internal/request-options.js";
5
+ import { MessageStream } from "../../lib/MessageStream.js";
6
+ import { type ExtractParsedContentFromParams, type ParseableMessageCreateParams, type ParsedMessage } from "../../lib/parser.js";
7
+ import * as BatchesAPI from "./batches.js";
8
+ import { BatchCreateParams, BatchListParams, Batches, DeletedMessageBatch, MessageBatch, MessageBatchCanceledResult, MessageBatchErroredResult, MessageBatchExpiredResult, MessageBatchIndividualResponse, MessageBatchRequestCounts, MessageBatchResult, MessageBatchSucceededResult, MessageBatchesPage } from "./batches.js";
9
+ import * as MessagesAPI from "./messages.js";
10
+ export declare class Messages extends APIResource {
11
+ batches: BatchesAPI.Batches;
12
+ /**
13
+ * Send a structured list of input messages with text and/or image content, and the
14
+ * model will generate the next message in the conversation.
15
+ *
16
+ * The Messages API can be used for either single queries or stateless multi-turn
17
+ * conversations.
18
+ *
19
+ * Learn more about the Messages API in our
20
+ * [user guide](https://docs.claude.com/en/docs/initial-setup)
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const message = await client.messages.create({
25
+ * max_tokens: 1024,
26
+ * messages: [{ content: 'Hello, world', role: 'user' }],
27
+ * model: 'claude-opus-4-6',
28
+ * });
29
+ * ```
30
+ */
31
+ create(body: MessageCreateParamsNonStreaming, options?: RequestOptions): APIPromise<Message>;
32
+ create(body: MessageCreateParamsStreaming, options?: RequestOptions): APIPromise<Stream<RawMessageStreamEvent>>;
33
+ create(body: MessageCreateParamsBase, options?: RequestOptions): APIPromise<Stream<RawMessageStreamEvent> | Message>;
34
+ /**
35
+ * Send a structured list of input messages with text and/or image content, along with an expected `output_config.format` and
36
+ * the response will be automatically parsed and available in the `parsed_output` property of the message.
37
+ *
38
+ * @example
39
+ * ```ts
40
+ * const message = await client.messages.parse({
41
+ * model: 'claude-sonnet-4-5-20250929',
42
+ * max_tokens: 1024,
43
+ * messages: [{ role: 'user', content: 'What is 2+2?' }],
44
+ * output_config: {
45
+ * format: zodOutputFormat(z.object({ answer: z.number() })),
46
+ * },
47
+ * });
48
+ *
49
+ * console.log(message.parsed_output?.answer); // 4
50
+ * ```
51
+ */
52
+ parse<Params extends MessageCreateParamsNonStreaming>(params: Params, options?: RequestOptions): APIPromise<ParsedMessage<ExtractParsedContentFromParams<Params>>>;
53
+ /**
54
+ * Create a Message stream.
55
+ *
56
+ * If `output_config.format` is provided with a parseable format (like `zodOutputFormat()`),
57
+ * the final message will include a `parsed_output` property with the parsed content.
58
+ *
59
+ * @example
60
+ * ```ts
61
+ * const stream = client.messages.stream({
62
+ * model: 'claude-sonnet-4-5-20250929',
63
+ * max_tokens: 1024,
64
+ * messages: [{ role: 'user', content: 'What is 2+2?' }],
65
+ * output_config: {
66
+ * format: zodOutputFormat(z.object({ answer: z.number() })),
67
+ * },
68
+ * });
69
+ *
70
+ * const message = await stream.finalMessage();
71
+ * console.log(message.parsed_output?.answer); // 4
72
+ * ```
73
+ */
74
+ stream<Params extends MessageStreamParams>(body: Params, options?: RequestOptions): MessageStream<ExtractParsedContentFromParams<Params>>;
75
+ /**
76
+ * Count the number of tokens in a Message.
77
+ *
78
+ * The Token Count API can be used to count the number of tokens in a Message,
79
+ * including tools, images, and documents, without creating it.
80
+ *
81
+ * Learn more about token counting in our
82
+ * [user guide](https://docs.claude.com/en/docs/build-with-claude/token-counting)
83
+ *
84
+ * @example
85
+ * ```ts
86
+ * const messageTokensCount =
87
+ * await client.messages.countTokens({
88
+ * messages: [{ content: 'string', role: 'user' }],
89
+ * model: 'claude-opus-4-6',
90
+ * });
91
+ * ```
92
+ */
93
+ countTokens(body: MessageCountTokensParams, options?: RequestOptions): APIPromise<MessageTokensCount>;
94
+ }
95
+ export interface Base64ImageSource {
96
+ data: string;
97
+ media_type: 'image/jpeg' | 'image/png' | 'image/gif' | 'image/webp';
98
+ type: 'base64';
99
+ }
100
+ export interface Base64PDFSource {
101
+ data: string;
102
+ media_type: 'application/pdf';
103
+ type: 'base64';
104
+ }
105
+ export interface BashCodeExecutionOutputBlock {
106
+ file_id: string;
107
+ type: 'bash_code_execution_output';
108
+ }
109
+ export interface BashCodeExecutionOutputBlockParam {
110
+ file_id: string;
111
+ type: 'bash_code_execution_output';
112
+ }
113
+ export interface BashCodeExecutionResultBlock {
114
+ content: Array<BashCodeExecutionOutputBlock>;
115
+ return_code: number;
116
+ stderr: string;
117
+ stdout: string;
118
+ type: 'bash_code_execution_result';
119
+ }
120
+ export interface BashCodeExecutionResultBlockParam {
121
+ content: Array<BashCodeExecutionOutputBlockParam>;
122
+ return_code: number;
123
+ stderr: string;
124
+ stdout: string;
125
+ type: 'bash_code_execution_result';
126
+ }
127
+ export interface BashCodeExecutionToolResultBlock {
128
+ content: BashCodeExecutionToolResultError | BashCodeExecutionResultBlock;
129
+ tool_use_id: string;
130
+ type: 'bash_code_execution_tool_result';
131
+ }
132
+ export interface BashCodeExecutionToolResultBlockParam {
133
+ content: BashCodeExecutionToolResultErrorParam | BashCodeExecutionResultBlockParam;
134
+ tool_use_id: string;
135
+ type: 'bash_code_execution_tool_result';
136
+ /**
137
+ * Create a cache control breakpoint at this content block.
138
+ */
139
+ cache_control?: CacheControlEphemeral | null;
140
+ }
141
+ export interface BashCodeExecutionToolResultError {
142
+ error_code: BashCodeExecutionToolResultErrorCode;
143
+ type: 'bash_code_execution_tool_result_error';
144
+ }
145
+ export type BashCodeExecutionToolResultErrorCode = 'invalid_tool_input' | 'unavailable' | 'too_many_requests' | 'execution_time_exceeded' | 'output_file_too_large';
146
+ export interface BashCodeExecutionToolResultErrorParam {
147
+ error_code: BashCodeExecutionToolResultErrorCode;
148
+ type: 'bash_code_execution_tool_result_error';
149
+ }
150
+ export interface CacheControlEphemeral {
151
+ type: 'ephemeral';
152
+ /**
153
+ * The time-to-live for the cache control breakpoint.
154
+ *
155
+ * This may be one the following values:
156
+ *
157
+ * - `5m`: 5 minutes
158
+ * - `1h`: 1 hour
159
+ *
160
+ * Defaults to `5m`.
161
+ */
162
+ ttl?: '5m' | '1h';
163
+ }
164
+ export interface CacheCreation {
165
+ /**
166
+ * The number of input tokens used to create the 1 hour cache entry.
167
+ */
168
+ ephemeral_1h_input_tokens: number;
169
+ /**
170
+ * The number of input tokens used to create the 5 minute cache entry.
171
+ */
172
+ ephemeral_5m_input_tokens: number;
173
+ }
174
+ export interface CitationCharLocation {
175
+ cited_text: string;
176
+ document_index: number;
177
+ document_title: string | null;
178
+ end_char_index: number;
179
+ file_id: string | null;
180
+ start_char_index: number;
181
+ type: 'char_location';
182
+ }
183
+ export interface CitationCharLocationParam {
184
+ cited_text: string;
185
+ document_index: number;
186
+ document_title: string | null;
187
+ end_char_index: number;
188
+ start_char_index: number;
189
+ type: 'char_location';
190
+ }
191
+ export interface CitationContentBlockLocation {
192
+ cited_text: string;
193
+ document_index: number;
194
+ document_title: string | null;
195
+ end_block_index: number;
196
+ file_id: string | null;
197
+ start_block_index: number;
198
+ type: 'content_block_location';
199
+ }
200
+ export interface CitationContentBlockLocationParam {
201
+ cited_text: string;
202
+ document_index: number;
203
+ document_title: string | null;
204
+ end_block_index: number;
205
+ start_block_index: number;
206
+ type: 'content_block_location';
207
+ }
208
+ export interface CitationPageLocation {
209
+ cited_text: string;
210
+ document_index: number;
211
+ document_title: string | null;
212
+ end_page_number: number;
213
+ file_id: string | null;
214
+ start_page_number: number;
215
+ type: 'page_location';
216
+ }
217
+ export interface CitationPageLocationParam {
218
+ cited_text: string;
219
+ document_index: number;
220
+ document_title: string | null;
221
+ end_page_number: number;
222
+ start_page_number: number;
223
+ type: 'page_location';
224
+ }
225
+ export interface CitationSearchResultLocationParam {
226
+ cited_text: string;
227
+ end_block_index: number;
228
+ search_result_index: number;
229
+ source: string;
230
+ start_block_index: number;
231
+ title: string | null;
232
+ type: 'search_result_location';
233
+ }
234
+ export interface CitationWebSearchResultLocationParam {
235
+ cited_text: string;
236
+ encrypted_index: string;
237
+ title: string | null;
238
+ type: 'web_search_result_location';
239
+ url: string;
240
+ }
241
+ export interface CitationsConfig {
242
+ enabled: boolean;
243
+ }
244
+ export interface CitationsConfigParam {
245
+ enabled?: boolean;
246
+ }
247
+ export interface CitationsDelta {
248
+ citation: CitationCharLocation | CitationPageLocation | CitationContentBlockLocation | CitationsWebSearchResultLocation | CitationsSearchResultLocation;
249
+ type: 'citations_delta';
250
+ }
251
+ export interface CitationsSearchResultLocation {
252
+ cited_text: string;
253
+ end_block_index: number;
254
+ search_result_index: number;
255
+ source: string;
256
+ start_block_index: number;
257
+ title: string | null;
258
+ type: 'search_result_location';
259
+ }
260
+ export interface CitationsWebSearchResultLocation {
261
+ cited_text: string;
262
+ encrypted_index: string;
263
+ title: string | null;
264
+ type: 'web_search_result_location';
265
+ url: string;
266
+ }
267
+ export interface CodeExecutionOutputBlock {
268
+ file_id: string;
269
+ type: 'code_execution_output';
270
+ }
271
+ export interface CodeExecutionOutputBlockParam {
272
+ file_id: string;
273
+ type: 'code_execution_output';
274
+ }
275
+ export interface CodeExecutionResultBlock {
276
+ content: Array<CodeExecutionOutputBlock>;
277
+ return_code: number;
278
+ stderr: string;
279
+ stdout: string;
280
+ type: 'code_execution_result';
281
+ }
282
+ export interface CodeExecutionResultBlockParam {
283
+ content: Array<CodeExecutionOutputBlockParam>;
284
+ return_code: number;
285
+ stderr: string;
286
+ stdout: string;
287
+ type: 'code_execution_result';
288
+ }
289
+ export interface CodeExecutionTool20250522 {
290
+ /**
291
+ * Name of the tool.
292
+ *
293
+ * This is how the tool will be called by the model and in `tool_use` blocks.
294
+ */
295
+ name: 'code_execution';
296
+ type: 'code_execution_20250522';
297
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
298
+ /**
299
+ * Create a cache control breakpoint at this content block.
300
+ */
301
+ cache_control?: CacheControlEphemeral | null;
302
+ /**
303
+ * If true, tool will not be included in initial system prompt. Only loaded when
304
+ * returned via tool_reference from tool search.
305
+ */
306
+ defer_loading?: boolean;
307
+ /**
308
+ * When true, guarantees schema validation on tool names and inputs
309
+ */
310
+ strict?: boolean;
311
+ }
312
+ export interface CodeExecutionTool20250825 {
313
+ /**
314
+ * Name of the tool.
315
+ *
316
+ * This is how the tool will be called by the model and in `tool_use` blocks.
317
+ */
318
+ name: 'code_execution';
319
+ type: 'code_execution_20250825';
320
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
321
+ /**
322
+ * Create a cache control breakpoint at this content block.
323
+ */
324
+ cache_control?: CacheControlEphemeral | null;
325
+ /**
326
+ * If true, tool will not be included in initial system prompt. Only loaded when
327
+ * returned via tool_reference from tool search.
328
+ */
329
+ defer_loading?: boolean;
330
+ /**
331
+ * When true, guarantees schema validation on tool names and inputs
332
+ */
333
+ strict?: boolean;
334
+ }
335
+ /**
336
+ * Code execution tool with REPL state persistence (daemon mode + gVisor
337
+ * checkpoint).
338
+ */
339
+ export interface CodeExecutionTool20260120 {
340
+ /**
341
+ * Name of the tool.
342
+ *
343
+ * This is how the tool will be called by the model and in `tool_use` blocks.
344
+ */
345
+ name: 'code_execution';
346
+ type: 'code_execution_20260120';
347
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
348
+ /**
349
+ * Create a cache control breakpoint at this content block.
350
+ */
351
+ cache_control?: CacheControlEphemeral | null;
352
+ /**
353
+ * If true, tool will not be included in initial system prompt. Only loaded when
354
+ * returned via tool_reference from tool search.
355
+ */
356
+ defer_loading?: boolean;
357
+ /**
358
+ * When true, guarantees schema validation on tool names and inputs
359
+ */
360
+ strict?: boolean;
361
+ }
362
+ export interface CodeExecutionToolResultBlock {
363
+ /**
364
+ * Code execution result with encrypted stdout for PFC + web_search results.
365
+ */
366
+ content: CodeExecutionToolResultBlockContent;
367
+ tool_use_id: string;
368
+ type: 'code_execution_tool_result';
369
+ }
370
+ /**
371
+ * Code execution result with encrypted stdout for PFC + web_search results.
372
+ */
373
+ export type CodeExecutionToolResultBlockContent = CodeExecutionToolResultError | CodeExecutionResultBlock | EncryptedCodeExecutionResultBlock;
374
+ export interface CodeExecutionToolResultBlockParam {
375
+ /**
376
+ * Code execution result with encrypted stdout for PFC + web_search results.
377
+ */
378
+ content: CodeExecutionToolResultBlockParamContent;
379
+ tool_use_id: string;
380
+ type: 'code_execution_tool_result';
381
+ /**
382
+ * Create a cache control breakpoint at this content block.
383
+ */
384
+ cache_control?: CacheControlEphemeral | null;
385
+ }
386
+ /**
387
+ * Code execution result with encrypted stdout for PFC + web_search results.
388
+ */
389
+ export type CodeExecutionToolResultBlockParamContent = CodeExecutionToolResultErrorParam | CodeExecutionResultBlockParam | EncryptedCodeExecutionResultBlockParam;
390
+ export interface CodeExecutionToolResultError {
391
+ error_code: CodeExecutionToolResultErrorCode;
392
+ type: 'code_execution_tool_result_error';
393
+ }
394
+ export type CodeExecutionToolResultErrorCode = 'invalid_tool_input' | 'unavailable' | 'too_many_requests' | 'execution_time_exceeded';
395
+ export interface CodeExecutionToolResultErrorParam {
396
+ error_code: CodeExecutionToolResultErrorCode;
397
+ type: 'code_execution_tool_result_error';
398
+ }
399
+ /**
400
+ * Information about the container used in the request (for the code execution
401
+ * tool)
402
+ */
403
+ export interface Container {
404
+ /**
405
+ * Identifier for the container used in this request
406
+ */
407
+ id: string;
408
+ /**
409
+ * The time at which the container will expire.
410
+ */
411
+ expires_at: string;
412
+ }
413
+ /**
414
+ * Response model for a file uploaded to the container.
415
+ */
416
+ export interface ContainerUploadBlock {
417
+ file_id: string;
418
+ type: 'container_upload';
419
+ }
420
+ /**
421
+ * A content block that represents a file to be uploaded to the container Files
422
+ * uploaded via this block will be available in the container's input directory.
423
+ */
424
+ export interface ContainerUploadBlockParam {
425
+ file_id: string;
426
+ type: 'container_upload';
427
+ /**
428
+ * Create a cache control breakpoint at this content block.
429
+ */
430
+ cache_control?: CacheControlEphemeral | null;
431
+ }
432
+ /**
433
+ * Response model for a file uploaded to the container.
434
+ */
435
+ export type ContentBlock = TextBlock | ThinkingBlock | RedactedThinkingBlock | ToolUseBlock | ServerToolUseBlock | WebSearchToolResultBlock | WebFetchToolResultBlock | CodeExecutionToolResultBlock | BashCodeExecutionToolResultBlock | TextEditorCodeExecutionToolResultBlock | ToolSearchToolResultBlock | ContainerUploadBlock;
436
+ /**
437
+ * Regular text content.
438
+ */
439
+ export type ContentBlockParam = TextBlockParam | ImageBlockParam | DocumentBlockParam | SearchResultBlockParam | ThinkingBlockParam | RedactedThinkingBlockParam | ToolUseBlockParam | ToolResultBlockParam | ServerToolUseBlockParam | WebSearchToolResultBlockParam | WebFetchToolResultBlockParam | CodeExecutionToolResultBlockParam | BashCodeExecutionToolResultBlockParam | TextEditorCodeExecutionToolResultBlockParam | ToolSearchToolResultBlockParam | ContainerUploadBlockParam;
440
+ export interface ContentBlockSource {
441
+ content: string | Array<ContentBlockSourceContent>;
442
+ type: 'content';
443
+ }
444
+ export type ContentBlockSourceContent = TextBlockParam | ImageBlockParam;
445
+ /**
446
+ * Tool invocation directly from the model.
447
+ */
448
+ export interface DirectCaller {
449
+ type: 'direct';
450
+ }
451
+ export interface DocumentBlock {
452
+ /**
453
+ * Citation configuration for the document
454
+ */
455
+ citations: CitationsConfig | null;
456
+ source: Base64PDFSource | PlainTextSource;
457
+ /**
458
+ * The title of the document
459
+ */
460
+ title: string | null;
461
+ type: 'document';
462
+ }
463
+ export interface DocumentBlockParam {
464
+ source: Base64PDFSource | PlainTextSource | ContentBlockSource | URLPDFSource;
465
+ type: 'document';
466
+ /**
467
+ * Create a cache control breakpoint at this content block.
468
+ */
469
+ cache_control?: CacheControlEphemeral | null;
470
+ citations?: CitationsConfigParam | null;
471
+ context?: string | null;
472
+ title?: string | null;
473
+ }
474
+ /**
475
+ * Code execution result with encrypted stdout for PFC + web_search results.
476
+ */
477
+ export interface EncryptedCodeExecutionResultBlock {
478
+ content: Array<CodeExecutionOutputBlock>;
479
+ encrypted_stdout: string;
480
+ return_code: number;
481
+ stderr: string;
482
+ type: 'encrypted_code_execution_result';
483
+ }
484
+ /**
485
+ * Code execution result with encrypted stdout for PFC + web_search results.
486
+ */
487
+ export interface EncryptedCodeExecutionResultBlockParam {
488
+ content: Array<CodeExecutionOutputBlockParam>;
489
+ encrypted_stdout: string;
490
+ return_code: number;
491
+ stderr: string;
492
+ type: 'encrypted_code_execution_result';
493
+ }
494
+ export interface ImageBlockParam {
495
+ source: Base64ImageSource | URLImageSource;
496
+ type: 'image';
497
+ /**
498
+ * Create a cache control breakpoint at this content block.
499
+ */
500
+ cache_control?: CacheControlEphemeral | null;
501
+ }
502
+ export interface InputJSONDelta {
503
+ partial_json: string;
504
+ type: 'input_json_delta';
505
+ }
506
+ export interface JSONOutputFormat {
507
+ /**
508
+ * The JSON schema of the format
509
+ */
510
+ schema: {
511
+ [key: string]: unknown;
512
+ };
513
+ type: 'json_schema';
514
+ }
515
+ export interface MemoryTool20250818 {
516
+ /**
517
+ * Name of the tool.
518
+ *
519
+ * This is how the tool will be called by the model and in `tool_use` blocks.
520
+ */
521
+ name: 'memory';
522
+ type: 'memory_20250818';
523
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
524
+ /**
525
+ * Create a cache control breakpoint at this content block.
526
+ */
527
+ cache_control?: CacheControlEphemeral | null;
528
+ /**
529
+ * If true, tool will not be included in initial system prompt. Only loaded when
530
+ * returned via tool_reference from tool search.
531
+ */
532
+ defer_loading?: boolean;
533
+ input_examples?: Array<{
534
+ [key: string]: unknown;
535
+ }>;
536
+ /**
537
+ * When true, guarantees schema validation on tool names and inputs
538
+ */
539
+ strict?: boolean;
540
+ }
541
+ export interface Message {
542
+ /**
543
+ * Unique object identifier.
544
+ *
545
+ * The format and length of IDs may change over time.
546
+ */
547
+ id: string;
548
+ /**
549
+ * Information about the container used in the request (for the code execution
550
+ * tool)
551
+ */
552
+ container: Container | null;
553
+ /**
554
+ * Content generated by the model.
555
+ *
556
+ * This is an array of content blocks, each of which has a `type` that determines
557
+ * its shape.
558
+ *
559
+ * Example:
560
+ *
561
+ * ```json
562
+ * [{ "type": "text", "text": "Hi, I'm Claude." }]
563
+ * ```
564
+ *
565
+ * If the request input `messages` ended with an `assistant` turn, then the
566
+ * response `content` will continue directly from that last turn. You can use this
567
+ * to constrain the model's output.
568
+ *
569
+ * For example, if the input `messages` were:
570
+ *
571
+ * ```json
572
+ * [
573
+ * {
574
+ * "role": "user",
575
+ * "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
576
+ * },
577
+ * { "role": "assistant", "content": "The best answer is (" }
578
+ * ]
579
+ * ```
580
+ *
581
+ * Then the response `content` might be:
582
+ *
583
+ * ```json
584
+ * [{ "type": "text", "text": "B)" }]
585
+ * ```
586
+ */
587
+ content: Array<ContentBlock>;
588
+ /**
589
+ * The model that will complete your prompt.\n\nSee
590
+ * [models](https://docs.anthropic.com/en/docs/models-overview) for additional
591
+ * details and options.
592
+ */
593
+ model: Model;
594
+ /**
595
+ * Conversational role of the generated message.
596
+ *
597
+ * This will always be `"assistant"`.
598
+ */
599
+ role: 'assistant';
600
+ /**
601
+ * The reason that we stopped.
602
+ *
603
+ * This may be one the following values:
604
+ *
605
+ * - `"end_turn"`: the model reached a natural stopping point
606
+ * - `"max_tokens"`: we exceeded the requested `max_tokens` or the model's maximum
607
+ * - `"stop_sequence"`: one of your provided custom `stop_sequences` was generated
608
+ * - `"tool_use"`: the model invoked one or more tools
609
+ * - `"pause_turn"`: we paused a long-running turn. You may provide the response
610
+ * back as-is in a subsequent request to let the model continue.
611
+ * - `"refusal"`: when streaming classifiers intervene to handle potential policy
612
+ * violations
613
+ *
614
+ * In non-streaming mode this value is always non-null. In streaming mode, it is
615
+ * null in the `message_start` event and non-null otherwise.
616
+ */
617
+ stop_reason: StopReason | null;
618
+ /**
619
+ * Which custom stop sequence was generated, if any.
620
+ *
621
+ * This value will be a non-null string if one of your custom stop sequences was
622
+ * generated.
623
+ */
624
+ stop_sequence: string | null;
625
+ /**
626
+ * Object type.
627
+ *
628
+ * For Messages, this is always `"message"`.
629
+ */
630
+ type: 'message';
631
+ /**
632
+ * Billing and rate-limit usage.
633
+ *
634
+ * Anthropic's API bills and rate-limits by token counts, as tokens represent the
635
+ * underlying cost to our systems.
636
+ *
637
+ * Under the hood, the API transforms requests into a format suitable for the
638
+ * model. The model's output then goes through a parsing stage before becoming an
639
+ * API response. As a result, the token counts in `usage` will not match one-to-one
640
+ * with the exact visible content of an API request or response.
641
+ *
642
+ * For example, `output_tokens` will be non-zero, even for an empty string response
643
+ * from Claude.
644
+ *
645
+ * Total input tokens in a request is the summation of `input_tokens`,
646
+ * `cache_creation_input_tokens`, and `cache_read_input_tokens`.
647
+ */
648
+ usage: Usage;
649
+ }
650
+ /**
651
+ * Code execution tool with REPL state persistence (daemon mode + gVisor
652
+ * checkpoint).
653
+ */
654
+ export type MessageCountTokensTool = Tool | ToolBash20250124 | CodeExecutionTool20250522 | CodeExecutionTool20250825 | CodeExecutionTool20260120 | MemoryTool20250818 | ToolTextEditor20250124 | ToolTextEditor20250429 | ToolTextEditor20250728 | WebSearchTool20250305 | WebFetchTool20250910 | WebSearchTool20260209 | WebFetchTool20260209 | ToolSearchToolBm25_20251119 | ToolSearchToolRegex20251119;
655
+ export interface MessageDeltaUsage {
656
+ /**
657
+ * The cumulative number of input tokens used to create the cache entry.
658
+ */
659
+ cache_creation_input_tokens: number | null;
660
+ /**
661
+ * The cumulative number of input tokens read from the cache.
662
+ */
663
+ cache_read_input_tokens: number | null;
664
+ /**
665
+ * The cumulative number of input tokens which were used.
666
+ */
667
+ input_tokens: number | null;
668
+ /**
669
+ * The cumulative number of output tokens which were used.
670
+ */
671
+ output_tokens: number;
672
+ /**
673
+ * The number of server tool requests.
674
+ */
675
+ server_tool_use: ServerToolUsage | null;
676
+ }
677
+ export interface MessageParam {
678
+ content: string | Array<ContentBlockParam>;
679
+ role: 'user' | 'assistant';
680
+ }
681
+ export interface MessageTokensCount {
682
+ /**
683
+ * The total number of tokens across the provided list of messages, system prompt,
684
+ * and tools.
685
+ */
686
+ input_tokens: number;
687
+ }
688
+ export interface Metadata {
689
+ /**
690
+ * An external identifier for the user who is associated with the request.
691
+ *
692
+ * This should be a uuid, hash value, or other opaque identifier. Anthropic may use
693
+ * this id to help detect abuse. Do not include any identifying information such as
694
+ * name, email address, or phone number.
695
+ */
696
+ user_id?: string | null;
697
+ }
698
+ /**
699
+ * The model that will complete your prompt.\n\nSee
700
+ * [models](https://docs.anthropic.com/en/docs/models-overview) for additional
701
+ * details and options.
702
+ */
703
+ export type Model = 'claude-opus-4-6' | 'claude-sonnet-4-6' | 'claude-opus-4-5-20251101' | 'claude-opus-4-5' | 'claude-3-7-sonnet-latest' | 'claude-3-7-sonnet-20250219' | 'claude-3-5-haiku-latest' | 'claude-3-5-haiku-20241022' | 'claude-haiku-4-5' | 'claude-haiku-4-5-20251001' | 'claude-sonnet-4-20250514' | 'claude-sonnet-4-0' | 'claude-4-sonnet-20250514' | 'claude-sonnet-4-5' | 'claude-sonnet-4-5-20250929' | 'claude-opus-4-0' | 'claude-opus-4-20250514' | 'claude-4-opus-20250514' | 'claude-opus-4-1-20250805' | 'claude-3-opus-latest' | 'claude-3-opus-20240229' | 'claude-3-haiku-20240307' | (string & {});
704
+ export interface OutputConfig {
705
+ /**
706
+ * All possible effort levels.
707
+ */
708
+ effort?: 'low' | 'medium' | 'high' | 'max' | null;
709
+ /**
710
+ * A schema to specify Claude's output format in responses. See
711
+ * [structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs)
712
+ */
713
+ format?: JSONOutputFormat | null;
714
+ }
715
+ export interface PlainTextSource {
716
+ data: string;
717
+ media_type: 'text/plain';
718
+ type: 'text';
719
+ }
720
+ export type RawContentBlockDelta = TextDelta | InputJSONDelta | CitationsDelta | ThinkingDelta | SignatureDelta;
721
+ export interface RawContentBlockDeltaEvent {
722
+ delta: RawContentBlockDelta;
723
+ index: number;
724
+ type: 'content_block_delta';
725
+ }
726
+ export interface RawContentBlockStartEvent {
727
+ /**
728
+ * Response model for a file uploaded to the container.
729
+ */
730
+ content_block: TextBlock | ThinkingBlock | RedactedThinkingBlock | ToolUseBlock | ServerToolUseBlock | WebSearchToolResultBlock | WebFetchToolResultBlock | CodeExecutionToolResultBlock | BashCodeExecutionToolResultBlock | TextEditorCodeExecutionToolResultBlock | ToolSearchToolResultBlock | ContainerUploadBlock;
731
+ index: number;
732
+ type: 'content_block_start';
733
+ }
734
+ export interface RawContentBlockStopEvent {
735
+ index: number;
736
+ type: 'content_block_stop';
737
+ }
738
+ export interface RawMessageDeltaEvent {
739
+ delta: RawMessageDeltaEvent.Delta;
740
+ type: 'message_delta';
741
+ /**
742
+ * Billing and rate-limit usage.
743
+ *
744
+ * Anthropic's API bills and rate-limits by token counts, as tokens represent the
745
+ * underlying cost to our systems.
746
+ *
747
+ * Under the hood, the API transforms requests into a format suitable for the
748
+ * model. The model's output then goes through a parsing stage before becoming an
749
+ * API response. As a result, the token counts in `usage` will not match one-to-one
750
+ * with the exact visible content of an API request or response.
751
+ *
752
+ * For example, `output_tokens` will be non-zero, even for an empty string response
753
+ * from Claude.
754
+ *
755
+ * Total input tokens in a request is the summation of `input_tokens`,
756
+ * `cache_creation_input_tokens`, and `cache_read_input_tokens`.
757
+ */
758
+ usage: MessageDeltaUsage;
759
+ }
760
+ export declare namespace RawMessageDeltaEvent {
761
+ interface Delta {
762
+ /**
763
+ * Information about the container used in the request (for the code execution
764
+ * tool)
765
+ */
766
+ container: MessagesAPI.Container | null;
767
+ stop_reason: MessagesAPI.StopReason | null;
768
+ stop_sequence: string | null;
769
+ }
770
+ }
771
+ export interface RawMessageStartEvent {
772
+ message: Message;
773
+ type: 'message_start';
774
+ }
775
+ export interface RawMessageStopEvent {
776
+ type: 'message_stop';
777
+ }
778
+ export type RawMessageStreamEvent = RawMessageStartEvent | RawMessageDeltaEvent | RawMessageStopEvent | RawContentBlockStartEvent | RawContentBlockDeltaEvent | RawContentBlockStopEvent;
779
+ export interface RedactedThinkingBlock {
780
+ data: string;
781
+ type: 'redacted_thinking';
782
+ }
783
+ export interface RedactedThinkingBlockParam {
784
+ data: string;
785
+ type: 'redacted_thinking';
786
+ }
787
+ export interface SearchResultBlockParam {
788
+ content: Array<TextBlockParam>;
789
+ source: string;
790
+ title: string;
791
+ type: 'search_result';
792
+ /**
793
+ * Create a cache control breakpoint at this content block.
794
+ */
795
+ cache_control?: CacheControlEphemeral | null;
796
+ citations?: CitationsConfigParam;
797
+ }
798
+ /**
799
+ * Tool invocation generated by a server-side tool.
800
+ */
801
+ export interface ServerToolCaller {
802
+ tool_id: string;
803
+ type: 'code_execution_20250825';
804
+ }
805
+ export interface ServerToolCaller20260120 {
806
+ tool_id: string;
807
+ type: 'code_execution_20260120';
808
+ }
809
+ export interface ServerToolUsage {
810
+ /**
811
+ * The number of web fetch tool requests.
812
+ */
813
+ web_fetch_requests: number;
814
+ /**
815
+ * The number of web search tool requests.
816
+ */
817
+ web_search_requests: number;
818
+ }
819
+ export interface ServerToolUseBlock {
820
+ id: string;
821
+ /**
822
+ * Tool invocation directly from the model.
823
+ */
824
+ caller: DirectCaller | ServerToolCaller | ServerToolCaller20260120;
825
+ input: unknown;
826
+ name: 'web_search' | 'web_fetch' | 'code_execution' | 'bash_code_execution' | 'text_editor_code_execution' | 'tool_search_tool_regex' | 'tool_search_tool_bm25';
827
+ type: 'server_tool_use';
828
+ }
829
+ export interface ServerToolUseBlockParam {
830
+ id: string;
831
+ input: unknown;
832
+ name: 'web_search' | 'web_fetch' | 'code_execution' | 'bash_code_execution' | 'text_editor_code_execution' | 'tool_search_tool_regex' | 'tool_search_tool_bm25';
833
+ type: 'server_tool_use';
834
+ /**
835
+ * Create a cache control breakpoint at this content block.
836
+ */
837
+ cache_control?: CacheControlEphemeral | null;
838
+ /**
839
+ * Tool invocation directly from the model.
840
+ */
841
+ caller?: DirectCaller | ServerToolCaller | ServerToolCaller20260120;
842
+ }
843
+ export interface SignatureDelta {
844
+ signature: string;
845
+ type: 'signature_delta';
846
+ }
847
+ export type StopReason = 'end_turn' | 'max_tokens' | 'stop_sequence' | 'tool_use' | 'pause_turn' | 'refusal';
848
+ export interface TextBlock {
849
+ /**
850
+ * Citations supporting the text block.
851
+ *
852
+ * The type of citation returned will depend on the type of document being cited.
853
+ * Citing a PDF results in `page_location`, plain text results in `char_location`,
854
+ * and content document results in `content_block_location`.
855
+ */
856
+ citations: Array<TextCitation> | null;
857
+ text: string;
858
+ type: 'text';
859
+ }
860
+ export interface TextBlockParam {
861
+ text: string;
862
+ type: 'text';
863
+ /**
864
+ * Create a cache control breakpoint at this content block.
865
+ */
866
+ cache_control?: CacheControlEphemeral | null;
867
+ citations?: Array<TextCitationParam> | null;
868
+ }
869
+ export type TextCitation = CitationCharLocation | CitationPageLocation | CitationContentBlockLocation | CitationsWebSearchResultLocation | CitationsSearchResultLocation;
870
+ export type TextCitationParam = CitationCharLocationParam | CitationPageLocationParam | CitationContentBlockLocationParam | CitationWebSearchResultLocationParam | CitationSearchResultLocationParam;
871
+ export interface TextDelta {
872
+ text: string;
873
+ type: 'text_delta';
874
+ }
875
+ export interface TextEditorCodeExecutionCreateResultBlock {
876
+ is_file_update: boolean;
877
+ type: 'text_editor_code_execution_create_result';
878
+ }
879
+ export interface TextEditorCodeExecutionCreateResultBlockParam {
880
+ is_file_update: boolean;
881
+ type: 'text_editor_code_execution_create_result';
882
+ }
883
+ export interface TextEditorCodeExecutionStrReplaceResultBlock {
884
+ lines: Array<string> | null;
885
+ new_lines: number | null;
886
+ new_start: number | null;
887
+ old_lines: number | null;
888
+ old_start: number | null;
889
+ type: 'text_editor_code_execution_str_replace_result';
890
+ }
891
+ export interface TextEditorCodeExecutionStrReplaceResultBlockParam {
892
+ type: 'text_editor_code_execution_str_replace_result';
893
+ lines?: Array<string> | null;
894
+ new_lines?: number | null;
895
+ new_start?: number | null;
896
+ old_lines?: number | null;
897
+ old_start?: number | null;
898
+ }
899
+ export interface TextEditorCodeExecutionToolResultBlock {
900
+ content: TextEditorCodeExecutionToolResultError | TextEditorCodeExecutionViewResultBlock | TextEditorCodeExecutionCreateResultBlock | TextEditorCodeExecutionStrReplaceResultBlock;
901
+ tool_use_id: string;
902
+ type: 'text_editor_code_execution_tool_result';
903
+ }
904
+ export interface TextEditorCodeExecutionToolResultBlockParam {
905
+ content: TextEditorCodeExecutionToolResultErrorParam | TextEditorCodeExecutionViewResultBlockParam | TextEditorCodeExecutionCreateResultBlockParam | TextEditorCodeExecutionStrReplaceResultBlockParam;
906
+ tool_use_id: string;
907
+ type: 'text_editor_code_execution_tool_result';
908
+ /**
909
+ * Create a cache control breakpoint at this content block.
910
+ */
911
+ cache_control?: CacheControlEphemeral | null;
912
+ }
913
+ export interface TextEditorCodeExecutionToolResultError {
914
+ error_code: TextEditorCodeExecutionToolResultErrorCode;
915
+ error_message: string | null;
916
+ type: 'text_editor_code_execution_tool_result_error';
917
+ }
918
+ export type TextEditorCodeExecutionToolResultErrorCode = 'invalid_tool_input' | 'unavailable' | 'too_many_requests' | 'execution_time_exceeded' | 'file_not_found';
919
+ export interface TextEditorCodeExecutionToolResultErrorParam {
920
+ error_code: TextEditorCodeExecutionToolResultErrorCode;
921
+ type: 'text_editor_code_execution_tool_result_error';
922
+ error_message?: string | null;
923
+ }
924
+ export interface TextEditorCodeExecutionViewResultBlock {
925
+ content: string;
926
+ file_type: 'text' | 'image' | 'pdf';
927
+ num_lines: number | null;
928
+ start_line: number | null;
929
+ total_lines: number | null;
930
+ type: 'text_editor_code_execution_view_result';
931
+ }
932
+ export interface TextEditorCodeExecutionViewResultBlockParam {
933
+ content: string;
934
+ file_type: 'text' | 'image' | 'pdf';
935
+ type: 'text_editor_code_execution_view_result';
936
+ num_lines?: number | null;
937
+ start_line?: number | null;
938
+ total_lines?: number | null;
939
+ }
940
+ export interface ThinkingBlock {
941
+ signature: string;
942
+ thinking: string;
943
+ type: 'thinking';
944
+ }
945
+ export interface ThinkingBlockParam {
946
+ signature: string;
947
+ thinking: string;
948
+ type: 'thinking';
949
+ }
950
+ export interface ThinkingConfigAdaptive {
951
+ type: 'adaptive';
952
+ }
953
+ export interface ThinkingConfigDisabled {
954
+ type: 'disabled';
955
+ }
956
+ export interface ThinkingConfigEnabled {
957
+ /**
958
+ * Determines how many tokens Claude can use for its internal reasoning process.
959
+ * Larger budgets can enable more thorough analysis for complex problems, improving
960
+ * response quality.
961
+ *
962
+ * Must be ≥1024 and less than `max_tokens`.
963
+ *
964
+ * See
965
+ * [extended thinking](https://docs.claude.com/en/docs/build-with-claude/extended-thinking)
966
+ * for details.
967
+ */
968
+ budget_tokens: number;
969
+ type: 'enabled';
970
+ }
971
+ /**
972
+ * Configuration for enabling Claude's extended thinking.
973
+ *
974
+ * When enabled, responses include `thinking` content blocks showing Claude's
975
+ * thinking process before the final answer. Requires a minimum budget of 1,024
976
+ * tokens and counts towards your `max_tokens` limit.
977
+ *
978
+ * See
979
+ * [extended thinking](https://docs.claude.com/en/docs/build-with-claude/extended-thinking)
980
+ * for details.
981
+ */
982
+ export type ThinkingConfigParam = ThinkingConfigEnabled | ThinkingConfigDisabled | ThinkingConfigAdaptive;
983
+ export interface ThinkingDelta {
984
+ thinking: string;
985
+ type: 'thinking_delta';
986
+ }
987
+ export interface Tool {
988
+ /**
989
+ * [JSON schema](https://json-schema.org/draft/2020-12) for this tool's input.
990
+ *
991
+ * This defines the shape of the `input` that your tool accepts and that the model
992
+ * will produce.
993
+ */
994
+ input_schema: Tool.InputSchema;
995
+ /**
996
+ * Name of the tool.
997
+ *
998
+ * This is how the tool will be called by the model and in `tool_use` blocks.
999
+ */
1000
+ name: string;
1001
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
1002
+ /**
1003
+ * Create a cache control breakpoint at this content block.
1004
+ */
1005
+ cache_control?: CacheControlEphemeral | null;
1006
+ /**
1007
+ * If true, tool will not be included in initial system prompt. Only loaded when
1008
+ * returned via tool_reference from tool search.
1009
+ */
1010
+ defer_loading?: boolean;
1011
+ /**
1012
+ * Description of what this tool does.
1013
+ *
1014
+ * Tool descriptions should be as detailed as possible. The more information that
1015
+ * the model has about what the tool is and how to use it, the better it will
1016
+ * perform. You can use natural language descriptions to reinforce important
1017
+ * aspects of the tool input JSON schema.
1018
+ */
1019
+ description?: string;
1020
+ /**
1021
+ * Enable eager input streaming for this tool. When true, tool input parameters
1022
+ * will be streamed incrementally as they are generated, and types will be inferred
1023
+ * on-the-fly rather than buffering the full JSON output. When false, streaming is
1024
+ * disabled for this tool even if the fine-grained-tool-streaming beta is active.
1025
+ * When null (default), uses the default behavior based on beta headers.
1026
+ */
1027
+ eager_input_streaming?: boolean | null;
1028
+ input_examples?: Array<{
1029
+ [key: string]: unknown;
1030
+ }>;
1031
+ /**
1032
+ * When true, guarantees schema validation on tool names and inputs
1033
+ */
1034
+ strict?: boolean;
1035
+ type?: 'custom' | null;
1036
+ }
1037
+ export declare namespace Tool {
1038
+ /**
1039
+ * [JSON schema](https://json-schema.org/draft/2020-12) for this tool's input.
1040
+ *
1041
+ * This defines the shape of the `input` that your tool accepts and that the model
1042
+ * will produce.
1043
+ */
1044
+ interface InputSchema {
1045
+ type: 'object';
1046
+ properties?: unknown | null;
1047
+ required?: Array<string> | null;
1048
+ [k: string]: unknown;
1049
+ }
1050
+ }
1051
+ export interface ToolBash20250124 {
1052
+ /**
1053
+ * Name of the tool.
1054
+ *
1055
+ * This is how the tool will be called by the model and in `tool_use` blocks.
1056
+ */
1057
+ name: 'bash';
1058
+ type: 'bash_20250124';
1059
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
1060
+ /**
1061
+ * Create a cache control breakpoint at this content block.
1062
+ */
1063
+ cache_control?: CacheControlEphemeral | null;
1064
+ /**
1065
+ * If true, tool will not be included in initial system prompt. Only loaded when
1066
+ * returned via tool_reference from tool search.
1067
+ */
1068
+ defer_loading?: boolean;
1069
+ input_examples?: Array<{
1070
+ [key: string]: unknown;
1071
+ }>;
1072
+ /**
1073
+ * When true, guarantees schema validation on tool names and inputs
1074
+ */
1075
+ strict?: boolean;
1076
+ }
1077
+ /**
1078
+ * How the model should use the provided tools. The model can use a specific tool,
1079
+ * any available tool, decide by itself, or not use tools at all.
1080
+ */
1081
+ export type ToolChoice = ToolChoiceAuto | ToolChoiceAny | ToolChoiceTool | ToolChoiceNone;
1082
+ /**
1083
+ * The model will use any available tools.
1084
+ */
1085
+ export interface ToolChoiceAny {
1086
+ type: 'any';
1087
+ /**
1088
+ * Whether to disable parallel tool use.
1089
+ *
1090
+ * Defaults to `false`. If set to `true`, the model will output exactly one tool
1091
+ * use.
1092
+ */
1093
+ disable_parallel_tool_use?: boolean;
1094
+ }
1095
+ /**
1096
+ * The model will automatically decide whether to use tools.
1097
+ */
1098
+ export interface ToolChoiceAuto {
1099
+ type: 'auto';
1100
+ /**
1101
+ * Whether to disable parallel tool use.
1102
+ *
1103
+ * Defaults to `false`. If set to `true`, the model will output at most one tool
1104
+ * use.
1105
+ */
1106
+ disable_parallel_tool_use?: boolean;
1107
+ }
1108
+ /**
1109
+ * The model will not be allowed to use tools.
1110
+ */
1111
+ export interface ToolChoiceNone {
1112
+ type: 'none';
1113
+ }
1114
+ /**
1115
+ * The model will use the specified tool with `tool_choice.name`.
1116
+ */
1117
+ export interface ToolChoiceTool {
1118
+ /**
1119
+ * The name of the tool to use.
1120
+ */
1121
+ name: string;
1122
+ type: 'tool';
1123
+ /**
1124
+ * Whether to disable parallel tool use.
1125
+ *
1126
+ * Defaults to `false`. If set to `true`, the model will output exactly one tool
1127
+ * use.
1128
+ */
1129
+ disable_parallel_tool_use?: boolean;
1130
+ }
1131
+ export interface ToolReferenceBlock {
1132
+ tool_name: string;
1133
+ type: 'tool_reference';
1134
+ }
1135
+ /**
1136
+ * Tool reference block that can be included in tool_result content.
1137
+ */
1138
+ export interface ToolReferenceBlockParam {
1139
+ tool_name: string;
1140
+ type: 'tool_reference';
1141
+ /**
1142
+ * Create a cache control breakpoint at this content block.
1143
+ */
1144
+ cache_control?: CacheControlEphemeral | null;
1145
+ }
1146
+ export interface ToolResultBlockParam {
1147
+ tool_use_id: string;
1148
+ type: 'tool_result';
1149
+ /**
1150
+ * Create a cache control breakpoint at this content block.
1151
+ */
1152
+ cache_control?: CacheControlEphemeral | null;
1153
+ content?: string | Array<TextBlockParam | ImageBlockParam | SearchResultBlockParam | DocumentBlockParam | ToolReferenceBlockParam>;
1154
+ is_error?: boolean;
1155
+ }
1156
+ export interface ToolSearchToolBm25_20251119 {
1157
+ /**
1158
+ * Name of the tool.
1159
+ *
1160
+ * This is how the tool will be called by the model and in `tool_use` blocks.
1161
+ */
1162
+ name: 'tool_search_tool_bm25';
1163
+ type: 'tool_search_tool_bm25_20251119' | 'tool_search_tool_bm25';
1164
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
1165
+ /**
1166
+ * Create a cache control breakpoint at this content block.
1167
+ */
1168
+ cache_control?: CacheControlEphemeral | null;
1169
+ /**
1170
+ * If true, tool will not be included in initial system prompt. Only loaded when
1171
+ * returned via tool_reference from tool search.
1172
+ */
1173
+ defer_loading?: boolean;
1174
+ /**
1175
+ * When true, guarantees schema validation on tool names and inputs
1176
+ */
1177
+ strict?: boolean;
1178
+ }
1179
+ export interface ToolSearchToolRegex20251119 {
1180
+ /**
1181
+ * Name of the tool.
1182
+ *
1183
+ * This is how the tool will be called by the model and in `tool_use` blocks.
1184
+ */
1185
+ name: 'tool_search_tool_regex';
1186
+ type: 'tool_search_tool_regex_20251119' | 'tool_search_tool_regex';
1187
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
1188
+ /**
1189
+ * Create a cache control breakpoint at this content block.
1190
+ */
1191
+ cache_control?: CacheControlEphemeral | null;
1192
+ /**
1193
+ * If true, tool will not be included in initial system prompt. Only loaded when
1194
+ * returned via tool_reference from tool search.
1195
+ */
1196
+ defer_loading?: boolean;
1197
+ /**
1198
+ * When true, guarantees schema validation on tool names and inputs
1199
+ */
1200
+ strict?: boolean;
1201
+ }
1202
+ export interface ToolSearchToolResultBlock {
1203
+ content: ToolSearchToolResultError | ToolSearchToolSearchResultBlock;
1204
+ tool_use_id: string;
1205
+ type: 'tool_search_tool_result';
1206
+ }
1207
+ export interface ToolSearchToolResultBlockParam {
1208
+ content: ToolSearchToolResultErrorParam | ToolSearchToolSearchResultBlockParam;
1209
+ tool_use_id: string;
1210
+ type: 'tool_search_tool_result';
1211
+ /**
1212
+ * Create a cache control breakpoint at this content block.
1213
+ */
1214
+ cache_control?: CacheControlEphemeral | null;
1215
+ }
1216
+ export interface ToolSearchToolResultError {
1217
+ error_code: ToolSearchToolResultErrorCode;
1218
+ error_message: string | null;
1219
+ type: 'tool_search_tool_result_error';
1220
+ }
1221
+ export type ToolSearchToolResultErrorCode = 'invalid_tool_input' | 'unavailable' | 'too_many_requests' | 'execution_time_exceeded';
1222
+ export interface ToolSearchToolResultErrorParam {
1223
+ error_code: ToolSearchToolResultErrorCode;
1224
+ type: 'tool_search_tool_result_error';
1225
+ }
1226
+ export interface ToolSearchToolSearchResultBlock {
1227
+ tool_references: Array<ToolReferenceBlock>;
1228
+ type: 'tool_search_tool_search_result';
1229
+ }
1230
+ export interface ToolSearchToolSearchResultBlockParam {
1231
+ tool_references: Array<ToolReferenceBlockParam>;
1232
+ type: 'tool_search_tool_search_result';
1233
+ }
1234
+ export interface ToolTextEditor20250124 {
1235
+ /**
1236
+ * Name of the tool.
1237
+ *
1238
+ * This is how the tool will be called by the model and in `tool_use` blocks.
1239
+ */
1240
+ name: 'str_replace_editor';
1241
+ type: 'text_editor_20250124';
1242
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
1243
+ /**
1244
+ * Create a cache control breakpoint at this content block.
1245
+ */
1246
+ cache_control?: CacheControlEphemeral | null;
1247
+ /**
1248
+ * If true, tool will not be included in initial system prompt. Only loaded when
1249
+ * returned via tool_reference from tool search.
1250
+ */
1251
+ defer_loading?: boolean;
1252
+ input_examples?: Array<{
1253
+ [key: string]: unknown;
1254
+ }>;
1255
+ /**
1256
+ * When true, guarantees schema validation on tool names and inputs
1257
+ */
1258
+ strict?: boolean;
1259
+ }
1260
+ export interface ToolTextEditor20250429 {
1261
+ /**
1262
+ * Name of the tool.
1263
+ *
1264
+ * This is how the tool will be called by the model and in `tool_use` blocks.
1265
+ */
1266
+ name: 'str_replace_based_edit_tool';
1267
+ type: 'text_editor_20250429';
1268
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
1269
+ /**
1270
+ * Create a cache control breakpoint at this content block.
1271
+ */
1272
+ cache_control?: CacheControlEphemeral | null;
1273
+ /**
1274
+ * If true, tool will not be included in initial system prompt. Only loaded when
1275
+ * returned via tool_reference from tool search.
1276
+ */
1277
+ defer_loading?: boolean;
1278
+ input_examples?: Array<{
1279
+ [key: string]: unknown;
1280
+ }>;
1281
+ /**
1282
+ * When true, guarantees schema validation on tool names and inputs
1283
+ */
1284
+ strict?: boolean;
1285
+ }
1286
+ export interface ToolTextEditor20250728 {
1287
+ /**
1288
+ * Name of the tool.
1289
+ *
1290
+ * This is how the tool will be called by the model and in `tool_use` blocks.
1291
+ */
1292
+ name: 'str_replace_based_edit_tool';
1293
+ type: 'text_editor_20250728';
1294
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
1295
+ /**
1296
+ * Create a cache control breakpoint at this content block.
1297
+ */
1298
+ cache_control?: CacheControlEphemeral | null;
1299
+ /**
1300
+ * If true, tool will not be included in initial system prompt. Only loaded when
1301
+ * returned via tool_reference from tool search.
1302
+ */
1303
+ defer_loading?: boolean;
1304
+ input_examples?: Array<{
1305
+ [key: string]: unknown;
1306
+ }>;
1307
+ /**
1308
+ * Maximum number of characters to display when viewing a file. If not specified,
1309
+ * defaults to displaying the full file.
1310
+ */
1311
+ max_characters?: number | null;
1312
+ /**
1313
+ * When true, guarantees schema validation on tool names and inputs
1314
+ */
1315
+ strict?: boolean;
1316
+ }
1317
+ /**
1318
+ * Code execution tool with REPL state persistence (daemon mode + gVisor
1319
+ * checkpoint).
1320
+ */
1321
+ export type ToolUnion = Tool | ToolBash20250124 | CodeExecutionTool20250522 | CodeExecutionTool20250825 | CodeExecutionTool20260120 | MemoryTool20250818 | ToolTextEditor20250124 | ToolTextEditor20250429 | ToolTextEditor20250728 | WebSearchTool20250305 | WebFetchTool20250910 | WebSearchTool20260209 | WebFetchTool20260209 | ToolSearchToolBm25_20251119 | ToolSearchToolRegex20251119;
1322
+ export interface ToolUseBlock {
1323
+ id: string;
1324
+ /**
1325
+ * Tool invocation directly from the model.
1326
+ */
1327
+ caller: DirectCaller | ServerToolCaller | ServerToolCaller20260120;
1328
+ input: unknown;
1329
+ name: string;
1330
+ type: 'tool_use';
1331
+ }
1332
+ export interface ToolUseBlockParam {
1333
+ id: string;
1334
+ input: unknown;
1335
+ name: string;
1336
+ type: 'tool_use';
1337
+ /**
1338
+ * Create a cache control breakpoint at this content block.
1339
+ */
1340
+ cache_control?: CacheControlEphemeral | null;
1341
+ /**
1342
+ * Tool invocation directly from the model.
1343
+ */
1344
+ caller?: DirectCaller | ServerToolCaller | ServerToolCaller20260120;
1345
+ }
1346
+ export interface URLImageSource {
1347
+ type: 'url';
1348
+ url: string;
1349
+ }
1350
+ export interface URLPDFSource {
1351
+ type: 'url';
1352
+ url: string;
1353
+ }
1354
+ export interface Usage {
1355
+ /**
1356
+ * Breakdown of cached tokens by TTL
1357
+ */
1358
+ cache_creation: CacheCreation | null;
1359
+ /**
1360
+ * The number of input tokens used to create the cache entry.
1361
+ */
1362
+ cache_creation_input_tokens: number | null;
1363
+ /**
1364
+ * The number of input tokens read from the cache.
1365
+ */
1366
+ cache_read_input_tokens: number | null;
1367
+ /**
1368
+ * The geographic region where inference was performed for this request.
1369
+ */
1370
+ inference_geo: string | null;
1371
+ /**
1372
+ * The number of input tokens which were used.
1373
+ */
1374
+ input_tokens: number;
1375
+ /**
1376
+ * The number of output tokens which were used.
1377
+ */
1378
+ output_tokens: number;
1379
+ /**
1380
+ * The number of server tool requests.
1381
+ */
1382
+ server_tool_use: ServerToolUsage | null;
1383
+ /**
1384
+ * If the request used the priority, standard, or batch tier.
1385
+ */
1386
+ service_tier: 'standard' | 'priority' | 'batch' | null;
1387
+ }
1388
+ export interface WebFetchBlock {
1389
+ content: DocumentBlock;
1390
+ /**
1391
+ * ISO 8601 timestamp when the content was retrieved
1392
+ */
1393
+ retrieved_at: string | null;
1394
+ type: 'web_fetch_result';
1395
+ /**
1396
+ * Fetched content URL
1397
+ */
1398
+ url: string;
1399
+ }
1400
+ export interface WebFetchBlockParam {
1401
+ content: DocumentBlockParam;
1402
+ type: 'web_fetch_result';
1403
+ /**
1404
+ * Fetched content URL
1405
+ */
1406
+ url: string;
1407
+ /**
1408
+ * ISO 8601 timestamp when the content was retrieved
1409
+ */
1410
+ retrieved_at?: string | null;
1411
+ }
1412
+ export interface WebFetchTool20250910 {
1413
+ /**
1414
+ * Name of the tool.
1415
+ *
1416
+ * This is how the tool will be called by the model and in `tool_use` blocks.
1417
+ */
1418
+ name: 'web_fetch';
1419
+ type: 'web_fetch_20250910';
1420
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
1421
+ /**
1422
+ * List of domains to allow fetching from
1423
+ */
1424
+ allowed_domains?: Array<string> | null;
1425
+ /**
1426
+ * List of domains to block fetching from
1427
+ */
1428
+ blocked_domains?: Array<string> | null;
1429
+ /**
1430
+ * Create a cache control breakpoint at this content block.
1431
+ */
1432
+ cache_control?: CacheControlEphemeral | null;
1433
+ /**
1434
+ * Citations configuration for fetched documents. Citations are disabled by
1435
+ * default.
1436
+ */
1437
+ citations?: CitationsConfigParam | null;
1438
+ /**
1439
+ * If true, tool will not be included in initial system prompt. Only loaded when
1440
+ * returned via tool_reference from tool search.
1441
+ */
1442
+ defer_loading?: boolean;
1443
+ /**
1444
+ * Maximum number of tokens used by including web page text content in the context.
1445
+ * The limit is approximate and does not apply to binary content such as PDFs.
1446
+ */
1447
+ max_content_tokens?: number | null;
1448
+ /**
1449
+ * Maximum number of times the tool can be used in the API request.
1450
+ */
1451
+ max_uses?: number | null;
1452
+ /**
1453
+ * When true, guarantees schema validation on tool names and inputs
1454
+ */
1455
+ strict?: boolean;
1456
+ }
1457
+ export interface WebFetchTool20260209 {
1458
+ /**
1459
+ * Name of the tool.
1460
+ *
1461
+ * This is how the tool will be called by the model and in `tool_use` blocks.
1462
+ */
1463
+ name: 'web_fetch';
1464
+ type: 'web_fetch_20260209';
1465
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
1466
+ /**
1467
+ * List of domains to allow fetching from
1468
+ */
1469
+ allowed_domains?: Array<string> | null;
1470
+ /**
1471
+ * List of domains to block fetching from
1472
+ */
1473
+ blocked_domains?: Array<string> | null;
1474
+ /**
1475
+ * Create a cache control breakpoint at this content block.
1476
+ */
1477
+ cache_control?: CacheControlEphemeral | null;
1478
+ /**
1479
+ * Citations configuration for fetched documents. Citations are disabled by
1480
+ * default.
1481
+ */
1482
+ citations?: CitationsConfigParam | null;
1483
+ /**
1484
+ * If true, tool will not be included in initial system prompt. Only loaded when
1485
+ * returned via tool_reference from tool search.
1486
+ */
1487
+ defer_loading?: boolean;
1488
+ /**
1489
+ * Maximum number of tokens used by including web page text content in the context.
1490
+ * The limit is approximate and does not apply to binary content such as PDFs.
1491
+ */
1492
+ max_content_tokens?: number | null;
1493
+ /**
1494
+ * Maximum number of times the tool can be used in the API request.
1495
+ */
1496
+ max_uses?: number | null;
1497
+ /**
1498
+ * When true, guarantees schema validation on tool names and inputs
1499
+ */
1500
+ strict?: boolean;
1501
+ }
1502
+ export interface WebFetchToolResultBlock {
1503
+ /**
1504
+ * Tool invocation directly from the model.
1505
+ */
1506
+ caller: DirectCaller | ServerToolCaller | ServerToolCaller20260120;
1507
+ content: WebFetchToolResultErrorBlock | WebFetchBlock;
1508
+ tool_use_id: string;
1509
+ type: 'web_fetch_tool_result';
1510
+ }
1511
+ export interface WebFetchToolResultBlockParam {
1512
+ content: WebFetchToolResultErrorBlockParam | WebFetchBlockParam;
1513
+ tool_use_id: string;
1514
+ type: 'web_fetch_tool_result';
1515
+ /**
1516
+ * Create a cache control breakpoint at this content block.
1517
+ */
1518
+ cache_control?: CacheControlEphemeral | null;
1519
+ /**
1520
+ * Tool invocation directly from the model.
1521
+ */
1522
+ caller?: DirectCaller | ServerToolCaller | ServerToolCaller20260120;
1523
+ }
1524
+ export interface WebFetchToolResultErrorBlock {
1525
+ error_code: WebFetchToolResultErrorCode;
1526
+ type: 'web_fetch_tool_result_error';
1527
+ }
1528
+ export interface WebFetchToolResultErrorBlockParam {
1529
+ error_code: WebFetchToolResultErrorCode;
1530
+ type: 'web_fetch_tool_result_error';
1531
+ }
1532
+ export type WebFetchToolResultErrorCode = 'invalid_tool_input' | 'url_too_long' | 'url_not_allowed' | 'url_not_accessible' | 'unsupported_content_type' | 'too_many_requests' | 'max_uses_exceeded' | 'unavailable';
1533
+ export interface WebSearchResultBlock {
1534
+ encrypted_content: string;
1535
+ page_age: string | null;
1536
+ title: string;
1537
+ type: 'web_search_result';
1538
+ url: string;
1539
+ }
1540
+ export interface WebSearchResultBlockParam {
1541
+ encrypted_content: string;
1542
+ title: string;
1543
+ type: 'web_search_result';
1544
+ url: string;
1545
+ page_age?: string | null;
1546
+ }
1547
+ export interface WebSearchTool20250305 {
1548
+ /**
1549
+ * Name of the tool.
1550
+ *
1551
+ * This is how the tool will be called by the model and in `tool_use` blocks.
1552
+ */
1553
+ name: 'web_search';
1554
+ type: 'web_search_20250305';
1555
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
1556
+ /**
1557
+ * If provided, only these domains will be included in results. Cannot be used
1558
+ * alongside `blocked_domains`.
1559
+ */
1560
+ allowed_domains?: Array<string> | null;
1561
+ /**
1562
+ * If provided, these domains will never appear in results. Cannot be used
1563
+ * alongside `allowed_domains`.
1564
+ */
1565
+ blocked_domains?: Array<string> | null;
1566
+ /**
1567
+ * Create a cache control breakpoint at this content block.
1568
+ */
1569
+ cache_control?: CacheControlEphemeral | null;
1570
+ /**
1571
+ * If true, tool will not be included in initial system prompt. Only loaded when
1572
+ * returned via tool_reference from tool search.
1573
+ */
1574
+ defer_loading?: boolean;
1575
+ /**
1576
+ * Maximum number of times the tool can be used in the API request.
1577
+ */
1578
+ max_uses?: number | null;
1579
+ /**
1580
+ * When true, guarantees schema validation on tool names and inputs
1581
+ */
1582
+ strict?: boolean;
1583
+ /**
1584
+ * Parameters for the user's location. Used to provide more relevant search
1585
+ * results.
1586
+ */
1587
+ user_location?: WebSearchTool20250305.UserLocation | null;
1588
+ }
1589
+ export declare namespace WebSearchTool20250305 {
1590
+ /**
1591
+ * Parameters for the user's location. Used to provide more relevant search
1592
+ * results.
1593
+ */
1594
+ interface UserLocation {
1595
+ type: 'approximate';
1596
+ /**
1597
+ * The city of the user.
1598
+ */
1599
+ city?: string | null;
1600
+ /**
1601
+ * The two letter
1602
+ * [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the
1603
+ * user.
1604
+ */
1605
+ country?: string | null;
1606
+ /**
1607
+ * The region of the user.
1608
+ */
1609
+ region?: string | null;
1610
+ /**
1611
+ * The [IANA timezone](https://nodatime.org/TimeZones) of the user.
1612
+ */
1613
+ timezone?: string | null;
1614
+ }
1615
+ }
1616
+ export interface WebSearchTool20260209 {
1617
+ /**
1618
+ * Name of the tool.
1619
+ *
1620
+ * This is how the tool will be called by the model and in `tool_use` blocks.
1621
+ */
1622
+ name: 'web_search';
1623
+ type: 'web_search_20260209';
1624
+ allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
1625
+ /**
1626
+ * If provided, only these domains will be included in results. Cannot be used
1627
+ * alongside `blocked_domains`.
1628
+ */
1629
+ allowed_domains?: Array<string> | null;
1630
+ /**
1631
+ * If provided, these domains will never appear in results. Cannot be used
1632
+ * alongside `allowed_domains`.
1633
+ */
1634
+ blocked_domains?: Array<string> | null;
1635
+ /**
1636
+ * Create a cache control breakpoint at this content block.
1637
+ */
1638
+ cache_control?: CacheControlEphemeral | null;
1639
+ /**
1640
+ * If true, tool will not be included in initial system prompt. Only loaded when
1641
+ * returned via tool_reference from tool search.
1642
+ */
1643
+ defer_loading?: boolean;
1644
+ /**
1645
+ * Maximum number of times the tool can be used in the API request.
1646
+ */
1647
+ max_uses?: number | null;
1648
+ /**
1649
+ * When true, guarantees schema validation on tool names and inputs
1650
+ */
1651
+ strict?: boolean;
1652
+ /**
1653
+ * Parameters for the user's location. Used to provide more relevant search
1654
+ * results.
1655
+ */
1656
+ user_location?: WebSearchTool20260209.UserLocation | null;
1657
+ }
1658
+ export declare namespace WebSearchTool20260209 {
1659
+ /**
1660
+ * Parameters for the user's location. Used to provide more relevant search
1661
+ * results.
1662
+ */
1663
+ interface UserLocation {
1664
+ type: 'approximate';
1665
+ /**
1666
+ * The city of the user.
1667
+ */
1668
+ city?: string | null;
1669
+ /**
1670
+ * The two letter
1671
+ * [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the
1672
+ * user.
1673
+ */
1674
+ country?: string | null;
1675
+ /**
1676
+ * The region of the user.
1677
+ */
1678
+ region?: string | null;
1679
+ /**
1680
+ * The [IANA timezone](https://nodatime.org/TimeZones) of the user.
1681
+ */
1682
+ timezone?: string | null;
1683
+ }
1684
+ }
1685
+ export interface WebSearchToolRequestError {
1686
+ error_code: 'invalid_tool_input' | 'unavailable' | 'max_uses_exceeded' | 'too_many_requests' | 'query_too_long' | 'request_too_large';
1687
+ type: 'web_search_tool_result_error';
1688
+ }
1689
+ export interface WebSearchToolResultBlock {
1690
+ /**
1691
+ * Tool invocation directly from the model.
1692
+ */
1693
+ caller: DirectCaller | ServerToolCaller | ServerToolCaller20260120;
1694
+ content: WebSearchToolResultBlockContent;
1695
+ tool_use_id: string;
1696
+ type: 'web_search_tool_result';
1697
+ }
1698
+ export type WebSearchToolResultBlockContent = WebSearchToolResultError | Array<WebSearchResultBlock>;
1699
+ export interface WebSearchToolResultBlockParam {
1700
+ content: WebSearchToolResultBlockParamContent;
1701
+ tool_use_id: string;
1702
+ type: 'web_search_tool_result';
1703
+ /**
1704
+ * Create a cache control breakpoint at this content block.
1705
+ */
1706
+ cache_control?: CacheControlEphemeral | null;
1707
+ /**
1708
+ * Tool invocation directly from the model.
1709
+ */
1710
+ caller?: DirectCaller | ServerToolCaller | ServerToolCaller20260120;
1711
+ }
1712
+ export type WebSearchToolResultBlockParamContent = Array<WebSearchResultBlockParam> | WebSearchToolRequestError;
1713
+ export interface WebSearchToolResultError {
1714
+ error_code: 'invalid_tool_input' | 'unavailable' | 'max_uses_exceeded' | 'too_many_requests' | 'query_too_long' | 'request_too_large';
1715
+ type: 'web_search_tool_result_error';
1716
+ }
1717
+ export type MessageStreamEvent = RawMessageStreamEvent;
1718
+ export type MessageStartEvent = RawMessageStartEvent;
1719
+ export type MessageDeltaEvent = RawMessageDeltaEvent;
1720
+ export type MessageStopEvent = RawMessageStopEvent;
1721
+ export type ContentBlockStartEvent = RawContentBlockStartEvent;
1722
+ export type ContentBlockDeltaEvent = RawContentBlockDeltaEvent;
1723
+ export type ContentBlockStopEvent = RawContentBlockStopEvent;
1724
+ export type MessageCreateParams = MessageCreateParamsNonStreaming | MessageCreateParamsStreaming;
1725
+ export interface MessageCreateParamsBase {
1726
+ /**
1727
+ * The maximum number of tokens to generate before stopping.
1728
+ *
1729
+ * Note that our models may stop _before_ reaching this maximum. This parameter
1730
+ * only specifies the absolute maximum number of tokens to generate.
1731
+ *
1732
+ * Different models have different maximum values for this parameter. See
1733
+ * [models](https://docs.claude.com/en/docs/models-overview) for details.
1734
+ */
1735
+ max_tokens: number;
1736
+ /**
1737
+ * Input messages.
1738
+ *
1739
+ * Our models are trained to operate on alternating `user` and `assistant`
1740
+ * conversational turns. When creating a new `Message`, you specify the prior
1741
+ * conversational turns with the `messages` parameter, and the model then generates
1742
+ * the next `Message` in the conversation. Consecutive `user` or `assistant` turns
1743
+ * in your request will be combined into a single turn.
1744
+ *
1745
+ * Each input message must be an object with a `role` and `content`. You can
1746
+ * specify a single `user`-role message, or you can include multiple `user` and
1747
+ * `assistant` messages.
1748
+ *
1749
+ * If the final message uses the `assistant` role, the response content will
1750
+ * continue immediately from the content in that message. This can be used to
1751
+ * constrain part of the model's response.
1752
+ *
1753
+ * Example with a single `user` message:
1754
+ *
1755
+ * ```json
1756
+ * [{ "role": "user", "content": "Hello, Claude" }]
1757
+ * ```
1758
+ *
1759
+ * Example with multiple conversational turns:
1760
+ *
1761
+ * ```json
1762
+ * [
1763
+ * { "role": "user", "content": "Hello there." },
1764
+ * { "role": "assistant", "content": "Hi, I'm Claude. How can I help you?" },
1765
+ * { "role": "user", "content": "Can you explain LLMs in plain English?" }
1766
+ * ]
1767
+ * ```
1768
+ *
1769
+ * Example with a partially-filled response from Claude:
1770
+ *
1771
+ * ```json
1772
+ * [
1773
+ * {
1774
+ * "role": "user",
1775
+ * "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
1776
+ * },
1777
+ * { "role": "assistant", "content": "The best answer is (" }
1778
+ * ]
1779
+ * ```
1780
+ *
1781
+ * Each input message `content` may be either a single `string` or an array of
1782
+ * content blocks, where each block has a specific `type`. Using a `string` for
1783
+ * `content` is shorthand for an array of one content block of type `"text"`. The
1784
+ * following input messages are equivalent:
1785
+ *
1786
+ * ```json
1787
+ * { "role": "user", "content": "Hello, Claude" }
1788
+ * ```
1789
+ *
1790
+ * ```json
1791
+ * { "role": "user", "content": [{ "type": "text", "text": "Hello, Claude" }] }
1792
+ * ```
1793
+ *
1794
+ * See [input examples](https://docs.claude.com/en/api/messages-examples).
1795
+ *
1796
+ * Note that if you want to include a
1797
+ * [system prompt](https://docs.claude.com/en/docs/system-prompts), you can use the
1798
+ * top-level `system` parameter — there is no `"system"` role for input messages in
1799
+ * the Messages API.
1800
+ *
1801
+ * There is a limit of 100,000 messages in a single request.
1802
+ */
1803
+ messages: Array<MessageParam>;
1804
+ /**
1805
+ * The model that will complete your prompt.\n\nSee
1806
+ * [models](https://docs.anthropic.com/en/docs/models-overview) for additional
1807
+ * details and options.
1808
+ */
1809
+ model: Model;
1810
+ /**
1811
+ * Container identifier for reuse across requests.
1812
+ */
1813
+ container?: string | null;
1814
+ /**
1815
+ * Specifies the geographic region for inference processing. If not specified, the
1816
+ * workspace's `default_inference_geo` is used.
1817
+ */
1818
+ inference_geo?: string | null;
1819
+ /**
1820
+ * An object describing metadata about the request.
1821
+ */
1822
+ metadata?: Metadata;
1823
+ /**
1824
+ * Configuration options for the model's output, such as the output format.
1825
+ */
1826
+ output_config?: OutputConfig;
1827
+ /**
1828
+ * Determines whether to use priority capacity (if available) or standard capacity
1829
+ * for this request.
1830
+ *
1831
+ * Anthropic offers different levels of service for your API requests. See
1832
+ * [service-tiers](https://docs.claude.com/en/api/service-tiers) for details.
1833
+ */
1834
+ service_tier?: 'auto' | 'standard_only';
1835
+ /**
1836
+ * Custom text sequences that will cause the model to stop generating.
1837
+ *
1838
+ * Our models will normally stop when they have naturally completed their turn,
1839
+ * which will result in a response `stop_reason` of `"end_turn"`.
1840
+ *
1841
+ * If you want the model to stop generating when it encounters custom strings of
1842
+ * text, you can use the `stop_sequences` parameter. If the model encounters one of
1843
+ * the custom sequences, the response `stop_reason` value will be `"stop_sequence"`
1844
+ * and the response `stop_sequence` value will contain the matched stop sequence.
1845
+ */
1846
+ stop_sequences?: Array<string>;
1847
+ /**
1848
+ * Whether to incrementally stream the response using server-sent events.
1849
+ *
1850
+ * See [streaming](https://docs.claude.com/en/api/messages-streaming) for details.
1851
+ */
1852
+ stream?: boolean;
1853
+ /**
1854
+ * System prompt.
1855
+ *
1856
+ * A system prompt is a way of providing context and instructions to Claude, such
1857
+ * as specifying a particular goal or role. See our
1858
+ * [guide to system prompts](https://docs.claude.com/en/docs/system-prompts).
1859
+ */
1860
+ system?: string | Array<TextBlockParam>;
1861
+ /**
1862
+ * Amount of randomness injected into the response.
1863
+ *
1864
+ * Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0`
1865
+ * for analytical / multiple choice, and closer to `1.0` for creative and
1866
+ * generative tasks.
1867
+ *
1868
+ * Note that even with `temperature` of `0.0`, the results will not be fully
1869
+ * deterministic.
1870
+ */
1871
+ temperature?: number;
1872
+ /**
1873
+ * Configuration for enabling Claude's extended thinking.
1874
+ *
1875
+ * When enabled, responses include `thinking` content blocks showing Claude's
1876
+ * thinking process before the final answer. Requires a minimum budget of 1,024
1877
+ * tokens and counts towards your `max_tokens` limit.
1878
+ *
1879
+ * See
1880
+ * [extended thinking](https://docs.claude.com/en/docs/build-with-claude/extended-thinking)
1881
+ * for details.
1882
+ */
1883
+ thinking?: ThinkingConfigParam;
1884
+ /**
1885
+ * How the model should use the provided tools. The model can use a specific tool,
1886
+ * any available tool, decide by itself, or not use tools at all.
1887
+ */
1888
+ tool_choice?: ToolChoice;
1889
+ /**
1890
+ * Definitions of tools that the model may use.
1891
+ *
1892
+ * If you include `tools` in your API request, the model may return `tool_use`
1893
+ * content blocks that represent the model's use of those tools. You can then run
1894
+ * those tools using the tool input generated by the model and then optionally
1895
+ * return results back to the model using `tool_result` content blocks.
1896
+ *
1897
+ * There are two types of tools: **client tools** and **server tools**. The
1898
+ * behavior described below applies to client tools. For
1899
+ * [server tools](https://docs.claude.com/en/docs/agents-and-tools/tool-use/overview#server-tools),
1900
+ * see their individual documentation as each has its own behavior (e.g., the
1901
+ * [web search tool](https://docs.claude.com/en/docs/agents-and-tools/tool-use/web-search-tool)).
1902
+ *
1903
+ * Each tool definition includes:
1904
+ *
1905
+ * - `name`: Name of the tool.
1906
+ * - `description`: Optional, but strongly-recommended description of the tool.
1907
+ * - `input_schema`: [JSON schema](https://json-schema.org/draft/2020-12) for the
1908
+ * tool `input` shape that the model will produce in `tool_use` output content
1909
+ * blocks.
1910
+ *
1911
+ * For example, if you defined `tools` as:
1912
+ *
1913
+ * ```json
1914
+ * [
1915
+ * {
1916
+ * "name": "get_stock_price",
1917
+ * "description": "Get the current stock price for a given ticker symbol.",
1918
+ * "input_schema": {
1919
+ * "type": "object",
1920
+ * "properties": {
1921
+ * "ticker": {
1922
+ * "type": "string",
1923
+ * "description": "The stock ticker symbol, e.g. AAPL for Apple Inc."
1924
+ * }
1925
+ * },
1926
+ * "required": ["ticker"]
1927
+ * }
1928
+ * }
1929
+ * ]
1930
+ * ```
1931
+ *
1932
+ * And then asked the model "What's the S&P 500 at today?", the model might produce
1933
+ * `tool_use` content blocks in the response like this:
1934
+ *
1935
+ * ```json
1936
+ * [
1937
+ * {
1938
+ * "type": "tool_use",
1939
+ * "id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
1940
+ * "name": "get_stock_price",
1941
+ * "input": { "ticker": "^GSPC" }
1942
+ * }
1943
+ * ]
1944
+ * ```
1945
+ *
1946
+ * You might then run your `get_stock_price` tool with `{"ticker": "^GSPC"}` as an
1947
+ * input, and return the following back to the model in a subsequent `user`
1948
+ * message:
1949
+ *
1950
+ * ```json
1951
+ * [
1952
+ * {
1953
+ * "type": "tool_result",
1954
+ * "tool_use_id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
1955
+ * "content": "259.75 USD"
1956
+ * }
1957
+ * ]
1958
+ * ```
1959
+ *
1960
+ * Tools can be used for workflows that include running client-side tools and
1961
+ * functions, or more generally whenever you want the model to produce a particular
1962
+ * JSON structure of output.
1963
+ *
1964
+ * See our [guide](https://docs.claude.com/en/docs/tool-use) for more details.
1965
+ */
1966
+ tools?: Array<ToolUnion>;
1967
+ /**
1968
+ * Only sample from the top K options for each subsequent token.
1969
+ *
1970
+ * Used to remove "long tail" low probability responses.
1971
+ * [Learn more technical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277).
1972
+ *
1973
+ * Recommended for advanced use cases only. You usually only need to use
1974
+ * `temperature`.
1975
+ */
1976
+ top_k?: number;
1977
+ /**
1978
+ * Use nucleus sampling.
1979
+ *
1980
+ * In nucleus sampling, we compute the cumulative distribution over all the options
1981
+ * for each subsequent token in decreasing probability order and cut it off once it
1982
+ * reaches a particular probability specified by `top_p`. You should either alter
1983
+ * `temperature` or `top_p`, but not both.
1984
+ *
1985
+ * Recommended for advanced use cases only. You usually only need to use
1986
+ * `temperature`.
1987
+ */
1988
+ top_p?: number;
1989
+ }
1990
+ export declare namespace MessageCreateParams {
1991
+ type MessageCreateParamsNonStreaming = MessagesAPI.MessageCreateParamsNonStreaming;
1992
+ type MessageCreateParamsStreaming = MessagesAPI.MessageCreateParamsStreaming;
1993
+ }
1994
+ export interface MessageCreateParamsNonStreaming extends MessageCreateParamsBase {
1995
+ /**
1996
+ * Whether to incrementally stream the response using server-sent events.
1997
+ *
1998
+ * See [streaming](https://docs.claude.com/en/api/messages-streaming) for details.
1999
+ */
2000
+ stream?: false;
2001
+ }
2002
+ export interface MessageCreateParamsStreaming extends MessageCreateParamsBase {
2003
+ /**
2004
+ * Whether to incrementally stream the response using server-sent events.
2005
+ *
2006
+ * See [streaming](https://docs.claude.com/en/api/messages-streaming) for details.
2007
+ */
2008
+ stream: true;
2009
+ }
2010
+ export type MessageStreamParams = ParseableMessageCreateParams;
2011
+ export interface MessageCountTokensParams {
2012
+ /**
2013
+ * Input messages.
2014
+ *
2015
+ * Our models are trained to operate on alternating `user` and `assistant`
2016
+ * conversational turns. When creating a new `Message`, you specify the prior
2017
+ * conversational turns with the `messages` parameter, and the model then generates
2018
+ * the next `Message` in the conversation. Consecutive `user` or `assistant` turns
2019
+ * in your request will be combined into a single turn.
2020
+ *
2021
+ * Each input message must be an object with a `role` and `content`. You can
2022
+ * specify a single `user`-role message, or you can include multiple `user` and
2023
+ * `assistant` messages.
2024
+ *
2025
+ * If the final message uses the `assistant` role, the response content will
2026
+ * continue immediately from the content in that message. This can be used to
2027
+ * constrain part of the model's response.
2028
+ *
2029
+ * Example with a single `user` message:
2030
+ *
2031
+ * ```json
2032
+ * [{ "role": "user", "content": "Hello, Claude" }]
2033
+ * ```
2034
+ *
2035
+ * Example with multiple conversational turns:
2036
+ *
2037
+ * ```json
2038
+ * [
2039
+ * { "role": "user", "content": "Hello there." },
2040
+ * { "role": "assistant", "content": "Hi, I'm Claude. How can I help you?" },
2041
+ * { "role": "user", "content": "Can you explain LLMs in plain English?" }
2042
+ * ]
2043
+ * ```
2044
+ *
2045
+ * Example with a partially-filled response from Claude:
2046
+ *
2047
+ * ```json
2048
+ * [
2049
+ * {
2050
+ * "role": "user",
2051
+ * "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
2052
+ * },
2053
+ * { "role": "assistant", "content": "The best answer is (" }
2054
+ * ]
2055
+ * ```
2056
+ *
2057
+ * Each input message `content` may be either a single `string` or an array of
2058
+ * content blocks, where each block has a specific `type`. Using a `string` for
2059
+ * `content` is shorthand for an array of one content block of type `"text"`. The
2060
+ * following input messages are equivalent:
2061
+ *
2062
+ * ```json
2063
+ * { "role": "user", "content": "Hello, Claude" }
2064
+ * ```
2065
+ *
2066
+ * ```json
2067
+ * { "role": "user", "content": [{ "type": "text", "text": "Hello, Claude" }] }
2068
+ * ```
2069
+ *
2070
+ * See [input examples](https://docs.claude.com/en/api/messages-examples).
2071
+ *
2072
+ * Note that if you want to include a
2073
+ * [system prompt](https://docs.claude.com/en/docs/system-prompts), you can use the
2074
+ * top-level `system` parameter — there is no `"system"` role for input messages in
2075
+ * the Messages API.
2076
+ *
2077
+ * There is a limit of 100,000 messages in a single request.
2078
+ */
2079
+ messages: Array<MessageParam>;
2080
+ /**
2081
+ * The model that will complete your prompt.\n\nSee
2082
+ * [models](https://docs.anthropic.com/en/docs/models-overview) for additional
2083
+ * details and options.
2084
+ */
2085
+ model: Model;
2086
+ /**
2087
+ * Configuration options for the model's output, such as the output format.
2088
+ */
2089
+ output_config?: OutputConfig;
2090
+ /**
2091
+ * System prompt.
2092
+ *
2093
+ * A system prompt is a way of providing context and instructions to Claude, such
2094
+ * as specifying a particular goal or role. See our
2095
+ * [guide to system prompts](https://docs.claude.com/en/docs/system-prompts).
2096
+ */
2097
+ system?: string | Array<TextBlockParam>;
2098
+ /**
2099
+ * Configuration for enabling Claude's extended thinking.
2100
+ *
2101
+ * When enabled, responses include `thinking` content blocks showing Claude's
2102
+ * thinking process before the final answer. Requires a minimum budget of 1,024
2103
+ * tokens and counts towards your `max_tokens` limit.
2104
+ *
2105
+ * See
2106
+ * [extended thinking](https://docs.claude.com/en/docs/build-with-claude/extended-thinking)
2107
+ * for details.
2108
+ */
2109
+ thinking?: ThinkingConfigParam;
2110
+ /**
2111
+ * How the model should use the provided tools. The model can use a specific tool,
2112
+ * any available tool, decide by itself, or not use tools at all.
2113
+ */
2114
+ tool_choice?: ToolChoice;
2115
+ /**
2116
+ * Definitions of tools that the model may use.
2117
+ *
2118
+ * If you include `tools` in your API request, the model may return `tool_use`
2119
+ * content blocks that represent the model's use of those tools. You can then run
2120
+ * those tools using the tool input generated by the model and then optionally
2121
+ * return results back to the model using `tool_result` content blocks.
2122
+ *
2123
+ * There are two types of tools: **client tools** and **server tools**. The
2124
+ * behavior described below applies to client tools. For
2125
+ * [server tools](https://docs.claude.com/en/docs/agents-and-tools/tool-use/overview#server-tools),
2126
+ * see their individual documentation as each has its own behavior (e.g., the
2127
+ * [web search tool](https://docs.claude.com/en/docs/agents-and-tools/tool-use/web-search-tool)).
2128
+ *
2129
+ * Each tool definition includes:
2130
+ *
2131
+ * - `name`: Name of the tool.
2132
+ * - `description`: Optional, but strongly-recommended description of the tool.
2133
+ * - `input_schema`: [JSON schema](https://json-schema.org/draft/2020-12) for the
2134
+ * tool `input` shape that the model will produce in `tool_use` output content
2135
+ * blocks.
2136
+ *
2137
+ * For example, if you defined `tools` as:
2138
+ *
2139
+ * ```json
2140
+ * [
2141
+ * {
2142
+ * "name": "get_stock_price",
2143
+ * "description": "Get the current stock price for a given ticker symbol.",
2144
+ * "input_schema": {
2145
+ * "type": "object",
2146
+ * "properties": {
2147
+ * "ticker": {
2148
+ * "type": "string",
2149
+ * "description": "The stock ticker symbol, e.g. AAPL for Apple Inc."
2150
+ * }
2151
+ * },
2152
+ * "required": ["ticker"]
2153
+ * }
2154
+ * }
2155
+ * ]
2156
+ * ```
2157
+ *
2158
+ * And then asked the model "What's the S&P 500 at today?", the model might produce
2159
+ * `tool_use` content blocks in the response like this:
2160
+ *
2161
+ * ```json
2162
+ * [
2163
+ * {
2164
+ * "type": "tool_use",
2165
+ * "id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
2166
+ * "name": "get_stock_price",
2167
+ * "input": { "ticker": "^GSPC" }
2168
+ * }
2169
+ * ]
2170
+ * ```
2171
+ *
2172
+ * You might then run your `get_stock_price` tool with `{"ticker": "^GSPC"}` as an
2173
+ * input, and return the following back to the model in a subsequent `user`
2174
+ * message:
2175
+ *
2176
+ * ```json
2177
+ * [
2178
+ * {
2179
+ * "type": "tool_result",
2180
+ * "tool_use_id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
2181
+ * "content": "259.75 USD"
2182
+ * }
2183
+ * ]
2184
+ * ```
2185
+ *
2186
+ * Tools can be used for workflows that include running client-side tools and
2187
+ * functions, or more generally whenever you want the model to produce a particular
2188
+ * JSON structure of output.
2189
+ *
2190
+ * See our [guide](https://docs.claude.com/en/docs/tool-use) for more details.
2191
+ */
2192
+ tools?: Array<MessageCountTokensTool>;
2193
+ }
2194
+ export declare namespace Messages {
2195
+ export { type Base64ImageSource as Base64ImageSource, type Base64PDFSource as Base64PDFSource, type BashCodeExecutionOutputBlock as BashCodeExecutionOutputBlock, type BashCodeExecutionOutputBlockParam as BashCodeExecutionOutputBlockParam, type BashCodeExecutionResultBlock as BashCodeExecutionResultBlock, type BashCodeExecutionResultBlockParam as BashCodeExecutionResultBlockParam, type BashCodeExecutionToolResultBlock as BashCodeExecutionToolResultBlock, type BashCodeExecutionToolResultBlockParam as BashCodeExecutionToolResultBlockParam, type BashCodeExecutionToolResultError as BashCodeExecutionToolResultError, type BashCodeExecutionToolResultErrorCode as BashCodeExecutionToolResultErrorCode, type BashCodeExecutionToolResultErrorParam as BashCodeExecutionToolResultErrorParam, type CacheControlEphemeral as CacheControlEphemeral, type CacheCreation as CacheCreation, type CitationCharLocation as CitationCharLocation, type CitationCharLocationParam as CitationCharLocationParam, type CitationContentBlockLocation as CitationContentBlockLocation, type CitationContentBlockLocationParam as CitationContentBlockLocationParam, type CitationPageLocation as CitationPageLocation, type CitationPageLocationParam as CitationPageLocationParam, type CitationSearchResultLocationParam as CitationSearchResultLocationParam, type CitationWebSearchResultLocationParam as CitationWebSearchResultLocationParam, type CitationsConfig as CitationsConfig, type CitationsConfigParam as CitationsConfigParam, type CitationsDelta as CitationsDelta, type CitationsSearchResultLocation as CitationsSearchResultLocation, type CitationsWebSearchResultLocation as CitationsWebSearchResultLocation, type CodeExecutionOutputBlock as CodeExecutionOutputBlock, type CodeExecutionOutputBlockParam as CodeExecutionOutputBlockParam, type CodeExecutionResultBlock as CodeExecutionResultBlock, type CodeExecutionResultBlockParam as CodeExecutionResultBlockParam, type CodeExecutionTool20250522 as CodeExecutionTool20250522, type CodeExecutionTool20250825 as CodeExecutionTool20250825, type CodeExecutionTool20260120 as CodeExecutionTool20260120, type CodeExecutionToolResultBlock as CodeExecutionToolResultBlock, type CodeExecutionToolResultBlockContent as CodeExecutionToolResultBlockContent, type CodeExecutionToolResultBlockParam as CodeExecutionToolResultBlockParam, type CodeExecutionToolResultBlockParamContent as CodeExecutionToolResultBlockParamContent, type CodeExecutionToolResultError as CodeExecutionToolResultError, type CodeExecutionToolResultErrorCode as CodeExecutionToolResultErrorCode, type CodeExecutionToolResultErrorParam as CodeExecutionToolResultErrorParam, type Container as Container, type ContainerUploadBlock as ContainerUploadBlock, type ContainerUploadBlockParam as ContainerUploadBlockParam, type ContentBlock as ContentBlock, type ContentBlockParam as ContentBlockParam, type ContentBlockStartEvent as ContentBlockStartEvent, type ContentBlockStopEvent as ContentBlockStopEvent, type ContentBlockSource as ContentBlockSource, type ContentBlockSourceContent as ContentBlockSourceContent, type DirectCaller as DirectCaller, type DocumentBlock as DocumentBlock, type DocumentBlockParam as DocumentBlockParam, type EncryptedCodeExecutionResultBlock as EncryptedCodeExecutionResultBlock, type EncryptedCodeExecutionResultBlockParam as EncryptedCodeExecutionResultBlockParam, type ImageBlockParam as ImageBlockParam, type InputJSONDelta as InputJSONDelta, type JSONOutputFormat as JSONOutputFormat, type MemoryTool20250818 as MemoryTool20250818, type Message as Message, type MessageCountTokensTool as MessageCountTokensTool, type MessageDeltaEvent as MessageDeltaEvent, type MessageDeltaUsage as MessageDeltaUsage, type MessageParam as MessageParam, type MessageTokensCount as MessageTokensCount, type Metadata as Metadata, type Model as Model, type OutputConfig as OutputConfig, type PlainTextSource as PlainTextSource, type RawContentBlockDelta as RawContentBlockDelta, type RawContentBlockDeltaEvent as RawContentBlockDeltaEvent, type RawContentBlockStartEvent as RawContentBlockStartEvent, type RawContentBlockStopEvent as RawContentBlockStopEvent, type RawMessageDeltaEvent as RawMessageDeltaEvent, type RawMessageStartEvent as RawMessageStartEvent, type RawMessageStopEvent as RawMessageStopEvent, type RawMessageStreamEvent as RawMessageStreamEvent, type RedactedThinkingBlock as RedactedThinkingBlock, type RedactedThinkingBlockParam as RedactedThinkingBlockParam, type SearchResultBlockParam as SearchResultBlockParam, type ServerToolCaller as ServerToolCaller, type ServerToolCaller20260120 as ServerToolCaller20260120, type ServerToolUsage as ServerToolUsage, type ServerToolUseBlock as ServerToolUseBlock, type ServerToolUseBlockParam as ServerToolUseBlockParam, type SignatureDelta as SignatureDelta, type StopReason as StopReason, type TextBlock as TextBlock, type TextBlockParam as TextBlockParam, type TextCitation as TextCitation, type TextCitationParam as TextCitationParam, type TextDelta as TextDelta, type TextEditorCodeExecutionCreateResultBlock as TextEditorCodeExecutionCreateResultBlock, type TextEditorCodeExecutionCreateResultBlockParam as TextEditorCodeExecutionCreateResultBlockParam, type TextEditorCodeExecutionStrReplaceResultBlock as TextEditorCodeExecutionStrReplaceResultBlock, type TextEditorCodeExecutionStrReplaceResultBlockParam as TextEditorCodeExecutionStrReplaceResultBlockParam, type TextEditorCodeExecutionToolResultBlock as TextEditorCodeExecutionToolResultBlock, type TextEditorCodeExecutionToolResultBlockParam as TextEditorCodeExecutionToolResultBlockParam, type TextEditorCodeExecutionToolResultError as TextEditorCodeExecutionToolResultError, type TextEditorCodeExecutionToolResultErrorCode as TextEditorCodeExecutionToolResultErrorCode, type TextEditorCodeExecutionToolResultErrorParam as TextEditorCodeExecutionToolResultErrorParam, type TextEditorCodeExecutionViewResultBlock as TextEditorCodeExecutionViewResultBlock, type TextEditorCodeExecutionViewResultBlockParam as TextEditorCodeExecutionViewResultBlockParam, type ThinkingBlock as ThinkingBlock, type ThinkingBlockParam as ThinkingBlockParam, type ThinkingConfigAdaptive as ThinkingConfigAdaptive, type ThinkingConfigDisabled as ThinkingConfigDisabled, type ThinkingConfigEnabled as ThinkingConfigEnabled, type ThinkingConfigParam as ThinkingConfigParam, type ThinkingDelta as ThinkingDelta, type Tool as Tool, type ToolBash20250124 as ToolBash20250124, type ToolChoice as ToolChoice, type ToolChoiceAny as ToolChoiceAny, type ToolChoiceAuto as ToolChoiceAuto, type ToolChoiceNone as ToolChoiceNone, type ToolChoiceTool as ToolChoiceTool, type ToolReferenceBlock as ToolReferenceBlock, type ToolReferenceBlockParam as ToolReferenceBlockParam, type ToolResultBlockParam as ToolResultBlockParam, type ToolSearchToolBm25_20251119 as ToolSearchToolBm25_20251119, type ToolSearchToolRegex20251119 as ToolSearchToolRegex20251119, type ToolSearchToolResultBlock as ToolSearchToolResultBlock, type ToolSearchToolResultBlockParam as ToolSearchToolResultBlockParam, type ToolSearchToolResultError as ToolSearchToolResultError, type ToolSearchToolResultErrorCode as ToolSearchToolResultErrorCode, type ToolSearchToolResultErrorParam as ToolSearchToolResultErrorParam, type ToolSearchToolSearchResultBlock as ToolSearchToolSearchResultBlock, type ToolSearchToolSearchResultBlockParam as ToolSearchToolSearchResultBlockParam, type ToolTextEditor20250124 as ToolTextEditor20250124, type ToolTextEditor20250429 as ToolTextEditor20250429, type ToolTextEditor20250728 as ToolTextEditor20250728, type ToolUnion as ToolUnion, type ToolUseBlock as ToolUseBlock, type ToolUseBlockParam as ToolUseBlockParam, type URLImageSource as URLImageSource, type URLPDFSource as URLPDFSource, type Usage as Usage, type WebFetchBlock as WebFetchBlock, type WebFetchBlockParam as WebFetchBlockParam, type WebFetchTool20250910 as WebFetchTool20250910, type WebFetchTool20260209 as WebFetchTool20260209, type WebFetchToolResultBlock as WebFetchToolResultBlock, type WebFetchToolResultBlockParam as WebFetchToolResultBlockParam, type WebFetchToolResultErrorBlock as WebFetchToolResultErrorBlock, type WebFetchToolResultErrorBlockParam as WebFetchToolResultErrorBlockParam, type WebFetchToolResultErrorCode as WebFetchToolResultErrorCode, type WebSearchResultBlock as WebSearchResultBlock, type WebSearchResultBlockParam as WebSearchResultBlockParam, type WebSearchTool20250305 as WebSearchTool20250305, type WebSearchTool20260209 as WebSearchTool20260209, type WebSearchToolRequestError as WebSearchToolRequestError, type WebSearchToolResultBlock as WebSearchToolResultBlock, type WebSearchToolResultBlockContent as WebSearchToolResultBlockContent, type WebSearchToolResultBlockParam as WebSearchToolResultBlockParam, type WebSearchToolResultBlockParamContent as WebSearchToolResultBlockParamContent, type WebSearchToolResultError as WebSearchToolResultError, type MessageStreamEvent as MessageStreamEvent, type MessageStartEvent as MessageStartEvent, type MessageStopEvent as MessageStopEvent, type ContentBlockDeltaEvent as ContentBlockDeltaEvent, type MessageCreateParams as MessageCreateParams, type MessageCreateParamsNonStreaming as MessageCreateParamsNonStreaming, type MessageCreateParamsStreaming as MessageCreateParamsStreaming, type MessageStreamParams as MessageStreamParams, type MessageCountTokensParams as MessageCountTokensParams, };
2196
+ export { Batches as Batches, type DeletedMessageBatch as DeletedMessageBatch, type MessageBatch as MessageBatch, type MessageBatchCanceledResult as MessageBatchCanceledResult, type MessageBatchErroredResult as MessageBatchErroredResult, type MessageBatchExpiredResult as MessageBatchExpiredResult, type MessageBatchIndividualResponse as MessageBatchIndividualResponse, type MessageBatchRequestCounts as MessageBatchRequestCounts, type MessageBatchResult as MessageBatchResult, type MessageBatchSucceededResult as MessageBatchSucceededResult, type MessageBatchesPage as MessageBatchesPage, type BatchCreateParams as BatchCreateParams, type BatchListParams as BatchListParams, };
2197
+ }
2198
+ //# sourceMappingURL=messages.d.ts.map