@adaptic/maestro 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (589) hide show
  1. package/package.json +3 -2
  2. package/scripts/huddle/node_modules/.package-lock.json +0 -50
  3. package/scripts/huddle/node_modules/@anthropic-ai/sdk/CHANGELOG.md +0 -1677
  4. package/scripts/huddle/node_modules/@anthropic-ai/sdk/LICENSE +0 -8
  5. package/scripts/huddle/node_modules/@anthropic-ai/sdk/README.md +0 -674
  6. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts +0 -3
  7. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts.map +0 -1
  8. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts +0 -3
  9. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts.map +0 -1
  10. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js +0 -226
  11. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js.map +0 -1
  12. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs +0 -223
  13. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs.map +0 -1
  14. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.mts +0 -2
  15. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.mts.map +0 -1
  16. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.ts +0 -2
  17. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.ts.map +0 -1
  18. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.js +0 -6
  19. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.js.map +0 -1
  20. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.mjs +0 -2
  21. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.mjs.map +0 -1
  22. package/scripts/huddle/node_modules/@anthropic-ai/sdk/bin/cli +0 -53
  23. package/scripts/huddle/node_modules/@anthropic-ai/sdk/bin/migration-config.json +0 -7
  24. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.mts +0 -225
  25. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.mts.map +0 -1
  26. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.ts +0 -225
  27. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.ts.map +0 -1
  28. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.js +0 -536
  29. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.js.map +0 -1
  30. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.mjs +0 -531
  31. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.mjs.map +0 -1
  32. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts +0 -49
  33. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts.map +0 -1
  34. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts +0 -49
  35. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts.map +0 -1
  36. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.js +0 -76
  37. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.js.map +0 -1
  38. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.mjs +0 -72
  39. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.mjs.map +0 -1
  40. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.mts +0 -47
  41. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.mts.map +0 -1
  42. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.ts +0 -47
  43. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.ts.map +0 -1
  44. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.js +0 -114
  45. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.js.map +0 -1
  46. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.mjs +0 -98
  47. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.mjs.map +0 -1
  48. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.mts +0 -63
  49. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.mts.map +0 -1
  50. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.ts +0 -63
  51. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.ts.map +0 -1
  52. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.js +0 -123
  53. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.js.map +0 -1
  54. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.mjs +0 -117
  55. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.mjs.map +0 -1
  56. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.mts +0 -6
  57. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.mts.map +0 -1
  58. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.ts +0 -6
  59. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.ts.map +0 -1
  60. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.js +0 -11
  61. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.js.map +0 -1
  62. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.mjs +0 -7
  63. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.mjs.map +0 -1
  64. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.mts +0 -31
  65. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.mts.map +0 -1
  66. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.ts +0 -31
  67. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.ts.map +0 -1
  68. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.js +0 -282
  69. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.js.map +0 -1
  70. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.mjs +0 -277
  71. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.mjs.map +0 -1
  72. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.mts +0 -3
  73. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.mts.map +0 -1
  74. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.ts +0 -3
  75. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.ts.map +0 -1
  76. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.js +0 -6
  77. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.js.map +0 -1
  78. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.mjs +0 -2
  79. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.mjs.map +0 -1
  80. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.mts +0 -2
  81. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.mts.map +0 -1
  82. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.ts +0 -2
  83. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.ts.map +0 -1
  84. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.js +0 -6
  85. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.js.map +0 -1
  86. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.mjs +0 -2
  87. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.mjs.map +0 -1
  88. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.mts +0 -7
  89. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.mts.map +0 -1
  90. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.ts +0 -7
  91. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.ts.map +0 -1
  92. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.js +0 -35
  93. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.js.map +0 -1
  94. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.mjs +0 -8
  95. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.mjs.map +0 -1
  96. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts +0 -73
  97. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts.map +0 -1
  98. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts +0 -73
  99. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts.map +0 -1
  100. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.js +0 -4
  101. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.js.map +0 -1
  102. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs +0 -3
  103. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs.map +0 -1
  104. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.mts +0 -5
  105. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.mts.map +0 -1
  106. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.ts +0 -5
  107. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.ts.map +0 -1
  108. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.js +0 -15
  109. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.js.map +0 -1
  110. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.mjs +0 -12
  111. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.mjs.map +0 -1
  112. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts +0 -10
  113. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts.map +0 -1
  114. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts +0 -10
  115. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts.map +0 -1
  116. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js +0 -39
  117. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js.map +0 -1
  118. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs +0 -35
  119. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs.map +0 -1
  120. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts +0 -17
  121. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts.map +0 -1
  122. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts +0 -17
  123. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts.map +0 -1
  124. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.js +0 -113
  125. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.js.map +0 -1
  126. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs +0 -108
  127. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs.map +0 -1
  128. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts +0 -15
  129. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts.map +0 -1
  130. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts +0 -15
  131. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts.map +0 -1
  132. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.js +0 -162
  133. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.js.map +0 -1
  134. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs +0 -157
  135. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs.map +0 -1
  136. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.mts +0 -3
  137. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.mts.map +0 -1
  138. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.ts +0 -3
  139. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.ts.map +0 -1
  140. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.js +0 -41
  141. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.js.map +0 -1
  142. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.mjs +0 -36
  143. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.mjs.map +0 -1
  144. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.mts +0 -22
  145. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.mts.map +0 -1
  146. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.ts +0 -22
  147. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.ts.map +0 -1
  148. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.js +0 -79
  149. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.js.map +0 -1
  150. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.mjs +0 -74
  151. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.mjs.map +0 -1
  152. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.mts +0 -17
  153. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.mts.map +0 -1
  154. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.ts +0 -17
  155. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.ts.map +0 -1
  156. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.js +0 -55
  157. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.js.map +0 -1
  158. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.mjs +0 -51
  159. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.mjs.map +0 -1
  160. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts +0 -34
  161. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts.map +0 -1
  162. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts +0 -34
  163. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts.map +0 -1
  164. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.js +0 -14
  165. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.js.map +0 -1
  166. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.mjs +0 -10
  167. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.mjs.map +0 -1
  168. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts +0 -28
  169. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts +0 -28
  170. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.mts +0 -20
  171. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.mts.map +0 -1
  172. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.ts +0 -20
  173. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.ts.map +0 -1
  174. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.js +0 -92
  175. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.js.map +0 -1
  176. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.mjs +0 -85
  177. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.mjs.map +0 -1
  178. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts +0 -8
  179. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts.map +0 -1
  180. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts +0 -8
  181. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts.map +0 -1
  182. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.js +0 -38
  183. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.js.map +0 -1
  184. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs +0 -35
  185. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs.map +0 -1
  186. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts +0 -45
  187. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts.map +0 -1
  188. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts +0 -45
  189. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts.map +0 -1
  190. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.js +0 -96
  191. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.js.map +0 -1
  192. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.mjs +0 -93
  193. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.mjs.map +0 -1
  194. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/tslib.js +0 -81
  195. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/tslib.mjs +0 -17
  196. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.mts +0 -67
  197. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.mts.map +0 -1
  198. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.ts +0 -67
  199. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.ts.map +0 -1
  200. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.js +0 -4
  201. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.js.map +0 -1
  202. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.mjs +0 -3
  203. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.mjs.map +0 -1
  204. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts +0 -42
  205. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts.map +0 -1
  206. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts +0 -42
  207. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts.map +0 -1
  208. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.js +0 -146
  209. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.js.map +0 -1
  210. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.mjs +0 -136
  211. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.mjs.map +0 -1
  212. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts +0 -3
  213. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts.map +0 -1
  214. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts +0 -3
  215. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts.map +0 -1
  216. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.js +0 -38
  217. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.js.map +0 -1
  218. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs +0 -33
  219. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs.map +0 -1
  220. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts +0 -4
  221. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts.map +0 -1
  222. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts +0 -4
  223. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts.map +0 -1
  224. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js +0 -31
  225. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js.map +0 -1
  226. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs +0 -26
  227. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs.map +0 -1
  228. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts +0 -9
  229. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts.map +0 -1
  230. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts +0 -9
  231. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts.map +0 -1
  232. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.js +0 -22
  233. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.js.map +0 -1
  234. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs +0 -18
  235. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs.map +0 -1
  236. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts +0 -37
  237. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts.map +0 -1
  238. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts +0 -37
  239. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts.map +0 -1
  240. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.js +0 -86
  241. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.js.map +0 -1
  242. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs +0 -80
  243. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs.map +0 -1
  244. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts +0 -15
  245. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts.map +0 -1
  246. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts +0 -15
  247. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts.map +0 -1
  248. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.js +0 -58
  249. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.js.map +0 -1
  250. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs +0 -53
  251. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs.map +0 -1
  252. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts +0 -2
  253. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts.map +0 -1
  254. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts +0 -2
  255. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts.map +0 -1
  256. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js +0 -7
  257. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js.map +0 -1
  258. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs +0 -3
  259. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs.map +0 -1
  260. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts +0 -5
  261. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts.map +0 -1
  262. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts +0 -5
  263. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts.map +0 -1
  264. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js +0 -19
  265. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js.map +0 -1
  266. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs +0 -15
  267. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs.map +0 -1
  268. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts +0 -16
  269. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts.map +0 -1
  270. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts +0 -16
  271. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts.map +0 -1
  272. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.js +0 -109
  273. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.js.map +0 -1
  274. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs +0 -92
  275. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs.map +0 -1
  276. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.mts +0 -7
  277. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.mts.map +0 -1
  278. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.ts +0 -7
  279. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.ts.map +0 -1
  280. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.js +0 -11
  281. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.js.map +0 -1
  282. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.mjs +0 -8
  283. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.mjs.map +0 -1
  284. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts +0 -114
  285. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts.map +0 -1
  286. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts +0 -114
  287. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts.map +0 -1
  288. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js +0 -553
  289. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js.map +0 -1
  290. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs +0 -549
  291. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs.map +0 -1
  292. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts +0 -114
  293. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts.map +0 -1
  294. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts +0 -114
  295. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts.map +0 -1
  296. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +0 -553
  297. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.js.map +0 -1
  298. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs +0 -549
  299. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs.map +0 -1
  300. package/scripts/huddle/node_modules/@anthropic-ai/sdk/package.json +0 -185
  301. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.mts +0 -2
  302. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.mts.map +0 -1
  303. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.ts +0 -2
  304. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.ts.map +0 -1
  305. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.js +0 -6
  306. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.js.map +0 -1
  307. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.mjs +0 -2
  308. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.mjs.map +0 -1
  309. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.mts +0 -2
  310. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.mts.map +0 -1
  311. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.ts +0 -2
  312. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.ts.map +0 -1
  313. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.js +0 -6
  314. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.js.map +0 -1
  315. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.mjs +0 -2
  316. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.mjs.map +0 -1
  317. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts +0 -61
  318. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts.map +0 -1
  319. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts +0 -61
  320. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts.map +0 -1
  321. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.js +0 -25
  322. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.js.map +0 -1
  323. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs +0 -20
  324. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs.map +0 -1
  325. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts +0 -151
  326. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts.map +0 -1
  327. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts +0 -151
  328. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts.map +0 -1
  329. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.js +0 -122
  330. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.js.map +0 -1
  331. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs +0 -118
  332. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs.map +0 -1
  333. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts +0 -5
  334. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts.map +0 -1
  335. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts +0 -5
  336. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts.map +0 -1
  337. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.js +0 -13
  338. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.js.map +0 -1
  339. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs +0 -6
  340. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs.map +0 -1
  341. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts +0 -343
  342. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts.map +0 -1
  343. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts +0 -343
  344. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts.map +0 -1
  345. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js +0 -204
  346. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js.map +0 -1
  347. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs +0 -200
  348. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs.map +0 -1
  349. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts +0 -3
  350. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts.map +0 -1
  351. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts +0 -3
  352. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts.map +0 -1
  353. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js +0 -9
  354. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js.map +0 -1
  355. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs +0 -4
  356. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs.map +0 -1
  357. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts +0 -1561
  358. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts.map +0 -1
  359. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts +0 -1561
  360. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts.map +0 -1
  361. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js +0 -86
  362. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js.map +0 -1
  363. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs +0 -81
  364. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs.map +0 -1
  365. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts +0 -2
  366. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts.map +0 -1
  367. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts +0 -2
  368. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts.map +0 -1
  369. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.js +0 -6
  370. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.js.map +0 -1
  371. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs +0 -3
  372. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs.map +0 -1
  373. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts +0 -74
  374. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts.map +0 -1
  375. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts +0 -74
  376. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts.map +0 -1
  377. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.js +0 -60
  378. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.js.map +0 -1
  379. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs +0 -56
  380. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs.map +0 -1
  381. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.mts +0 -2
  382. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.mts.map +0 -1
  383. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.ts +0 -2
  384. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.ts.map +0 -1
  385. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.js +0 -6
  386. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.js.map +0 -1
  387. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.mjs +0 -3
  388. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.mjs.map +0 -1
  389. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.mts +0 -183
  390. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.mts.map +0 -1
  391. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.ts +0 -183
  392. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.ts.map +0 -1
  393. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.js +0 -23
  394. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.js.map +0 -1
  395. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.mjs +0 -19
  396. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.mjs.map +0 -1
  397. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.mts +0 -6
  398. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.mts.map +0 -1
  399. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.ts +0 -6
  400. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.ts.map +0 -1
  401. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.js +0 -15
  402. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.js.map +0 -1
  403. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.mjs +0 -7
  404. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.mjs.map +0 -1
  405. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts +0 -304
  406. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts.map +0 -1
  407. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts +0 -304
  408. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts.map +0 -1
  409. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.js +0 -153
  410. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.js.map +0 -1
  411. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs +0 -149
  412. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs.map +0 -1
  413. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts +0 -3
  414. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts.map +0 -1
  415. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts +0 -3
  416. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts.map +0 -1
  417. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.js +0 -9
  418. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.js.map +0 -1
  419. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs +0 -4
  420. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs.map +0 -1
  421. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts +0 -1264
  422. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts.map +0 -1
  423. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts +0 -1264
  424. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts.map +0 -1
  425. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.js +0 -72
  426. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.js.map +0 -1
  427. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs +0 -67
  428. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs.map +0 -1
  429. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.mts +0 -2
  430. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.mts.map +0 -1
  431. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.ts +0 -2
  432. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.ts.map +0 -1
  433. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.js +0 -6
  434. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.js.map +0 -1
  435. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.mjs +0 -3
  436. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.mjs.map +0 -1
  437. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.mts +0 -59
  438. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.mts.map +0 -1
  439. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.ts +0 -59
  440. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.ts.map +0 -1
  441. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.js +0 -45
  442. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.js.map +0 -1
  443. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.mjs +0 -41
  444. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.mjs.map +0 -1
  445. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.mts +0 -42
  446. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.mts.map +0 -1
  447. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.ts +0 -42
  448. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.ts.map +0 -1
  449. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.js +0 -4
  450. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.js.map +0 -1
  451. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.mjs +0 -3
  452. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.mjs.map +0 -1
  453. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts +0 -2
  454. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts.map +0 -1
  455. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts +0 -2
  456. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts.map +0 -1
  457. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.js +0 -4
  458. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.js.map +0 -1
  459. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.mjs +0 -3
  460. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.mjs.map +0 -1
  461. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.mts +0 -2
  462. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.mts.map +0 -1
  463. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.ts +0 -2
  464. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.ts.map +0 -1
  465. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.js +0 -5
  466. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.js.map +0 -1
  467. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.mjs +0 -2
  468. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.mjs.map +0 -1
  469. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/README.md +0 -3
  470. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/parser.ts +0 -264
  471. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/api-promise.ts +0 -2
  472. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/client.ts +0 -1070
  473. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/README.md +0 -3
  474. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/api-promise.ts +0 -101
  475. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/error.ts +0 -133
  476. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/pagination.ts +0 -201
  477. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/resource.ts +0 -11
  478. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/streaming.ts +0 -331
  479. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/uploads.ts +0 -2
  480. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/error.ts +0 -2
  481. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/index.ts +0 -23
  482. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/README.md +0 -3
  483. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/builtin-types.ts +0 -93
  484. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/constants.ts +0 -12
  485. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/decoders/jsonl.ts +0 -48
  486. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/decoders/line.ts +0 -135
  487. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/detect-platform.ts +0 -196
  488. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/errors.ts +0 -33
  489. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/headers.ts +0 -99
  490. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/parse.ts +0 -84
  491. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/request-options.ts +0 -39
  492. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/shim-types.d.ts +0 -28
  493. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/shims.ts +0 -107
  494. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/stream-utils.ts +0 -32
  495. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/to-file.ts +0 -159
  496. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/types.ts +0 -92
  497. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/uploads.ts +0 -193
  498. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/base64.ts +0 -40
  499. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/bytes.ts +0 -32
  500. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/env.ts +0 -18
  501. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/log.ts +0 -127
  502. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/path.ts +0 -65
  503. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/sleep.ts +0 -3
  504. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/uuid.ts +0 -17
  505. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/values.ts +0 -102
  506. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils.ts +0 -8
  507. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/lib/.keep +0 -4
  508. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/lib/BetaMessageStream.ts +0 -683
  509. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/lib/MessageStream.ts +0 -684
  510. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/pagination.ts +0 -2
  511. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resource.ts +0 -2
  512. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/beta.ts +0 -380
  513. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/files.ts +0 -258
  514. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/index.ts +0 -148
  515. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/batches.ts +0 -502
  516. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/index.ts +0 -135
  517. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/messages.ts +0 -2249
  518. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages.ts +0 -3
  519. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/models.ts +0 -118
  520. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta.ts +0 -3
  521. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +0 -231
  522. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/index.ts +0 -121
  523. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages/batches.ts +0 -396
  524. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages/index.ts +0 -110
  525. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages/messages.ts +0 -1783
  526. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages.ts +0 -3
  527. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/models.ts +0 -103
  528. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/shared.ts +0 -72
  529. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/top-level.ts +0 -3
  530. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources.ts +0 -1
  531. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/streaming.ts +0 -2
  532. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/tsconfig.json +0 -11
  533. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/uploads.ts +0 -2
  534. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/version.ts +0 -1
  535. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.mts +0 -2
  536. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.mts.map +0 -1
  537. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.ts +0 -2
  538. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.ts.map +0 -1
  539. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.js +0 -6
  540. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.js.map +0 -1
  541. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.mjs +0 -2
  542. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.mjs.map +0 -1
  543. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.mts +0 -2
  544. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.mts.map +0 -1
  545. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.ts +0 -2
  546. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.ts.map +0 -1
  547. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.js +0 -6
  548. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.js.map +0 -1
  549. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.mjs +0 -2
  550. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.mjs.map +0 -1
  551. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.mts +0 -2
  552. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.mts.map +0 -1
  553. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.ts +0 -2
  554. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.ts.map +0 -1
  555. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.js +0 -5
  556. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.js.map +0 -1
  557. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.mjs +0 -2
  558. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.mjs.map +0 -1
  559. package/scripts/huddle/node_modules/dotenv/CHANGELOG.md +0 -520
  560. package/scripts/huddle/node_modules/dotenv/LICENSE +0 -23
  561. package/scripts/huddle/node_modules/dotenv/README-es.md +0 -411
  562. package/scripts/huddle/node_modules/dotenv/README.md +0 -645
  563. package/scripts/huddle/node_modules/dotenv/SECURITY.md +0 -1
  564. package/scripts/huddle/node_modules/dotenv/config.d.ts +0 -1
  565. package/scripts/huddle/node_modules/dotenv/config.js +0 -9
  566. package/scripts/huddle/node_modules/dotenv/lib/cli-options.js +0 -17
  567. package/scripts/huddle/node_modules/dotenv/lib/env-options.js +0 -28
  568. package/scripts/huddle/node_modules/dotenv/lib/main.d.ts +0 -162
  569. package/scripts/huddle/node_modules/dotenv/lib/main.js +0 -386
  570. package/scripts/huddle/node_modules/dotenv/package.json +0 -62
  571. package/scripts/huddle/node_modules/ws/LICENSE +0 -20
  572. package/scripts/huddle/node_modules/ws/README.md +0 -548
  573. package/scripts/huddle/node_modules/ws/browser.js +0 -8
  574. package/scripts/huddle/node_modules/ws/index.js +0 -22
  575. package/scripts/huddle/node_modules/ws/lib/buffer-util.js +0 -131
  576. package/scripts/huddle/node_modules/ws/lib/constants.js +0 -19
  577. package/scripts/huddle/node_modules/ws/lib/event-target.js +0 -292
  578. package/scripts/huddle/node_modules/ws/lib/extension.js +0 -203
  579. package/scripts/huddle/node_modules/ws/lib/limiter.js +0 -55
  580. package/scripts/huddle/node_modules/ws/lib/permessage-deflate.js +0 -528
  581. package/scripts/huddle/node_modules/ws/lib/receiver.js +0 -706
  582. package/scripts/huddle/node_modules/ws/lib/sender.js +0 -602
  583. package/scripts/huddle/node_modules/ws/lib/stream.js +0 -161
  584. package/scripts/huddle/node_modules/ws/lib/subprotocol.js +0 -62
  585. package/scripts/huddle/node_modules/ws/lib/validation.js +0 -152
  586. package/scripts/huddle/node_modules/ws/lib/websocket-server.js +0 -554
  587. package/scripts/huddle/node_modules/ws/lib/websocket.js +0 -1393
  588. package/scripts/huddle/node_modules/ws/package.json +0 -70
  589. package/scripts/huddle/node_modules/ws/wrapper.mjs +0 -21
@@ -1,1264 +0,0 @@
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 * as BatchesAPI from "./batches.js";
7
- import { BatchCreateParams, BatchListParams, Batches, DeletedMessageBatch, MessageBatch, MessageBatchCanceledResult, MessageBatchErroredResult, MessageBatchExpiredResult, MessageBatchIndividualResponse, MessageBatchRequestCounts, MessageBatchResult, MessageBatchSucceededResult, MessageBatchesPage } from "./batches.js";
8
- import * as MessagesAPI from "./messages.js";
9
- export declare class Messages extends APIResource {
10
- batches: BatchesAPI.Batches;
11
- /**
12
- * Send a structured list of input messages with text and/or image content, and the
13
- * model will generate the next message in the conversation.
14
- *
15
- * The Messages API can be used for either single queries or stateless multi-turn
16
- * conversations.
17
- *
18
- * Learn more about the Messages API in our [user guide](/en/docs/initial-setup)
19
- *
20
- * @example
21
- * ```ts
22
- * const message = await client.messages.create({
23
- * max_tokens: 1024,
24
- * messages: [{ content: 'Hello, world', role: 'user' }],
25
- * model: 'claude-3-7-sonnet-20250219',
26
- * });
27
- * ```
28
- */
29
- create(body: MessageCreateParamsNonStreaming, options?: RequestOptions): APIPromise<Message>;
30
- create(body: MessageCreateParamsStreaming, options?: RequestOptions): APIPromise<Stream<RawMessageStreamEvent>>;
31
- create(body: MessageCreateParamsBase, options?: RequestOptions): APIPromise<Stream<RawMessageStreamEvent> | Message>;
32
- /**
33
- * Create a Message stream
34
- */
35
- stream(body: MessageStreamParams, options?: RequestOptions): MessageStream;
36
- /**
37
- * Count the number of tokens in a Message.
38
- *
39
- * The Token Count API can be used to count the number of tokens in a Message,
40
- * including tools, images, and documents, without creating it.
41
- *
42
- * Learn more about token counting in our
43
- * [user guide](/en/docs/build-with-claude/token-counting)
44
- *
45
- * @example
46
- * ```ts
47
- * const messageTokensCount =
48
- * await client.messages.countTokens({
49
- * messages: [{ content: 'string', role: 'user' }],
50
- * model: 'claude-3-7-sonnet-latest',
51
- * });
52
- * ```
53
- */
54
- countTokens(body: MessageCountTokensParams, options?: RequestOptions): APIPromise<MessageTokensCount>;
55
- }
56
- export interface Base64ImageSource {
57
- data: string;
58
- media_type: 'image/jpeg' | 'image/png' | 'image/gif' | 'image/webp';
59
- type: 'base64';
60
- }
61
- export interface Base64PDFSource {
62
- data: string;
63
- media_type: 'application/pdf';
64
- type: 'base64';
65
- }
66
- export interface CacheControlEphemeral {
67
- type: 'ephemeral';
68
- }
69
- export interface CitationCharLocation {
70
- cited_text: string;
71
- document_index: number;
72
- document_title: string | null;
73
- end_char_index: number;
74
- start_char_index: number;
75
- type: 'char_location';
76
- }
77
- export interface CitationCharLocationParam {
78
- cited_text: string;
79
- document_index: number;
80
- document_title: string | null;
81
- end_char_index: number;
82
- start_char_index: number;
83
- type: 'char_location';
84
- }
85
- export interface CitationContentBlockLocation {
86
- cited_text: string;
87
- document_index: number;
88
- document_title: string | null;
89
- end_block_index: number;
90
- start_block_index: number;
91
- type: 'content_block_location';
92
- }
93
- export interface CitationContentBlockLocationParam {
94
- cited_text: string;
95
- document_index: number;
96
- document_title: string | null;
97
- end_block_index: number;
98
- start_block_index: number;
99
- type: 'content_block_location';
100
- }
101
- export interface CitationPageLocation {
102
- cited_text: string;
103
- document_index: number;
104
- document_title: string | null;
105
- end_page_number: number;
106
- start_page_number: number;
107
- type: 'page_location';
108
- }
109
- export interface CitationPageLocationParam {
110
- cited_text: string;
111
- document_index: number;
112
- document_title: string | null;
113
- end_page_number: number;
114
- start_page_number: number;
115
- type: 'page_location';
116
- }
117
- export interface CitationWebSearchResultLocationParam {
118
- cited_text: string;
119
- encrypted_index: string;
120
- title: string | null;
121
- type: 'web_search_result_location';
122
- url: string;
123
- }
124
- export interface CitationsConfigParam {
125
- enabled?: boolean;
126
- }
127
- export interface CitationsDelta {
128
- citation: CitationCharLocation | CitationPageLocation | CitationContentBlockLocation | CitationsWebSearchResultLocation;
129
- type: 'citations_delta';
130
- }
131
- export interface CitationsWebSearchResultLocation {
132
- cited_text: string;
133
- encrypted_index: string;
134
- title: string | null;
135
- type: 'web_search_result_location';
136
- url: string;
137
- }
138
- export type ContentBlock = TextBlock | ToolUseBlock | ServerToolUseBlock | WebSearchToolResultBlock | ThinkingBlock | RedactedThinkingBlock;
139
- /**
140
- * Regular text content.
141
- */
142
- export type ContentBlockParam = ServerToolUseBlockParam | WebSearchToolResultBlockParam | TextBlockParam | ImageBlockParam | ToolUseBlockParam | ToolResultBlockParam | DocumentBlockParam | ThinkingBlockParam | RedactedThinkingBlockParam;
143
- export interface ContentBlockSource {
144
- content: string | Array<ContentBlockSourceContent>;
145
- type: 'content';
146
- }
147
- export type ContentBlockSourceContent = TextBlockParam | ImageBlockParam;
148
- export interface DocumentBlockParam {
149
- source: Base64PDFSource | PlainTextSource | ContentBlockSource | URLPDFSource;
150
- type: 'document';
151
- /**
152
- * Create a cache control breakpoint at this content block.
153
- */
154
- cache_control?: CacheControlEphemeral | null;
155
- citations?: CitationsConfigParam;
156
- context?: string | null;
157
- title?: string | null;
158
- }
159
- export interface ImageBlockParam {
160
- source: Base64ImageSource | URLImageSource;
161
- type: 'image';
162
- /**
163
- * Create a cache control breakpoint at this content block.
164
- */
165
- cache_control?: CacheControlEphemeral | null;
166
- }
167
- export interface InputJSONDelta {
168
- partial_json: string;
169
- type: 'input_json_delta';
170
- }
171
- export interface Message {
172
- /**
173
- * Unique object identifier.
174
- *
175
- * The format and length of IDs may change over time.
176
- */
177
- id: string;
178
- /**
179
- * Content generated by the model.
180
- *
181
- * This is an array of content blocks, each of which has a `type` that determines
182
- * its shape.
183
- *
184
- * Example:
185
- *
186
- * ```json
187
- * [{ "type": "text", "text": "Hi, I'm Claude." }]
188
- * ```
189
- *
190
- * If the request input `messages` ended with an `assistant` turn, then the
191
- * response `content` will continue directly from that last turn. You can use this
192
- * to constrain the model's output.
193
- *
194
- * For example, if the input `messages` were:
195
- *
196
- * ```json
197
- * [
198
- * {
199
- * "role": "user",
200
- * "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
201
- * },
202
- * { "role": "assistant", "content": "The best answer is (" }
203
- * ]
204
- * ```
205
- *
206
- * Then the response `content` might be:
207
- *
208
- * ```json
209
- * [{ "type": "text", "text": "B)" }]
210
- * ```
211
- */
212
- content: Array<ContentBlock>;
213
- /**
214
- * The model that will complete your prompt.\n\nSee
215
- * [models](https://docs.anthropic.com/en/docs/models-overview) for additional
216
- * details and options.
217
- */
218
- model: Model;
219
- /**
220
- * Conversational role of the generated message.
221
- *
222
- * This will always be `"assistant"`.
223
- */
224
- role: 'assistant';
225
- /**
226
- * The reason that we stopped.
227
- *
228
- * This may be one the following values:
229
- *
230
- * - `"end_turn"`: the model reached a natural stopping point
231
- * - `"max_tokens"`: we exceeded the requested `max_tokens` or the model's maximum
232
- * - `"stop_sequence"`: one of your provided custom `stop_sequences` was generated
233
- * - `"tool_use"`: the model invoked one or more tools
234
- *
235
- * In non-streaming mode this value is always non-null. In streaming mode, it is
236
- * null in the `message_start` event and non-null otherwise.
237
- */
238
- stop_reason: StopReason | null;
239
- /**
240
- * Which custom stop sequence was generated, if any.
241
- *
242
- * This value will be a non-null string if one of your custom stop sequences was
243
- * generated.
244
- */
245
- stop_sequence: string | null;
246
- /**
247
- * Object type.
248
- *
249
- * For Messages, this is always `"message"`.
250
- */
251
- type: 'message';
252
- /**
253
- * Billing and rate-limit usage.
254
- *
255
- * Anthropic's API bills and rate-limits by token counts, as tokens represent the
256
- * underlying cost to our systems.
257
- *
258
- * Under the hood, the API transforms requests into a format suitable for the
259
- * model. The model's output then goes through a parsing stage before becoming an
260
- * API response. As a result, the token counts in `usage` will not match one-to-one
261
- * with the exact visible content of an API request or response.
262
- *
263
- * For example, `output_tokens` will be non-zero, even for an empty string response
264
- * from Claude.
265
- *
266
- * Total input tokens in a request is the summation of `input_tokens`,
267
- * `cache_creation_input_tokens`, and `cache_read_input_tokens`.
268
- */
269
- usage: Usage;
270
- }
271
- export type MessageCountTokensTool = Tool | ToolBash20250124 | ToolTextEditor20250124 | WebSearchTool20250305;
272
- export interface MessageDeltaUsage {
273
- /**
274
- * The cumulative number of input tokens used to create the cache entry.
275
- */
276
- cache_creation_input_tokens: number | null;
277
- /**
278
- * The cumulative number of input tokens read from the cache.
279
- */
280
- cache_read_input_tokens: number | null;
281
- /**
282
- * The cumulative number of input tokens which were used.
283
- */
284
- input_tokens: number | null;
285
- /**
286
- * The cumulative number of output tokens which were used.
287
- */
288
- output_tokens: number;
289
- /**
290
- * The number of server tool requests.
291
- */
292
- server_tool_use: ServerToolUsage | null;
293
- }
294
- export interface MessageParam {
295
- content: string | Array<ContentBlockParam>;
296
- role: 'user' | 'assistant';
297
- }
298
- export interface MessageTokensCount {
299
- /**
300
- * The total number of tokens across the provided list of messages, system prompt,
301
- * and tools.
302
- */
303
- input_tokens: number;
304
- }
305
- export interface Metadata {
306
- /**
307
- * An external identifier for the user who is associated with the request.
308
- *
309
- * This should be a uuid, hash value, or other opaque identifier. Anthropic may use
310
- * this id to help detect abuse. Do not include any identifying information such as
311
- * name, email address, or phone number.
312
- */
313
- user_id?: string | null;
314
- }
315
- /**
316
- * The model that will complete your prompt.\n\nSee
317
- * [models](https://docs.anthropic.com/en/docs/models-overview) for additional
318
- * details and options.
319
- */
320
- export type Model = 'claude-3-7-sonnet-latest' | 'claude-3-7-sonnet-20250219' | 'claude-3-5-haiku-latest' | 'claude-3-5-haiku-20241022' | 'claude-sonnet-4-20250514' | 'claude-sonnet-4-0' | 'claude-4-sonnet-20250514' | 'claude-3-5-sonnet-latest' | 'claude-3-5-sonnet-20241022' | 'claude-3-5-sonnet-20240620' | 'claude-opus-4-0' | 'claude-opus-4-20250514' | 'claude-4-opus-20250514' | 'claude-3-opus-latest' | 'claude-3-opus-20240229' | 'claude-3-sonnet-20240229' | 'claude-3-haiku-20240307' | 'claude-2.1' | 'claude-2.0' | (string & {});
321
- export interface PlainTextSource {
322
- data: string;
323
- media_type: 'text/plain';
324
- type: 'text';
325
- }
326
- export type RawContentBlockDelta = TextDelta | InputJSONDelta | CitationsDelta | ThinkingDelta | SignatureDelta;
327
- export interface RawContentBlockDeltaEvent {
328
- delta: RawContentBlockDelta;
329
- index: number;
330
- type: 'content_block_delta';
331
- }
332
- export interface RawContentBlockStartEvent {
333
- content_block: TextBlock | ToolUseBlock | ServerToolUseBlock | WebSearchToolResultBlock | ThinkingBlock | RedactedThinkingBlock;
334
- index: number;
335
- type: 'content_block_start';
336
- }
337
- export interface RawContentBlockStopEvent {
338
- index: number;
339
- type: 'content_block_stop';
340
- }
341
- export interface RawMessageDeltaEvent {
342
- delta: RawMessageDeltaEvent.Delta;
343
- type: 'message_delta';
344
- /**
345
- * Billing and rate-limit usage.
346
- *
347
- * Anthropic's API bills and rate-limits by token counts, as tokens represent the
348
- * underlying cost to our systems.
349
- *
350
- * Under the hood, the API transforms requests into a format suitable for the
351
- * model. The model's output then goes through a parsing stage before becoming an
352
- * API response. As a result, the token counts in `usage` will not match one-to-one
353
- * with the exact visible content of an API request or response.
354
- *
355
- * For example, `output_tokens` will be non-zero, even for an empty string response
356
- * from Claude.
357
- *
358
- * Total input tokens in a request is the summation of `input_tokens`,
359
- * `cache_creation_input_tokens`, and `cache_read_input_tokens`.
360
- */
361
- usage: MessageDeltaUsage;
362
- }
363
- export declare namespace RawMessageDeltaEvent {
364
- interface Delta {
365
- stop_reason: MessagesAPI.StopReason | null;
366
- stop_sequence: string | null;
367
- }
368
- }
369
- export interface RawMessageStartEvent {
370
- message: Message;
371
- type: 'message_start';
372
- }
373
- export interface RawMessageStopEvent {
374
- type: 'message_stop';
375
- }
376
- export type RawMessageStreamEvent = RawMessageStartEvent | RawMessageDeltaEvent | RawMessageStopEvent | RawContentBlockStartEvent | RawContentBlockDeltaEvent | RawContentBlockStopEvent;
377
- export interface RedactedThinkingBlock {
378
- data: string;
379
- type: 'redacted_thinking';
380
- }
381
- export interface RedactedThinkingBlockParam {
382
- data: string;
383
- type: 'redacted_thinking';
384
- }
385
- export interface ServerToolUsage {
386
- /**
387
- * The number of web search tool requests.
388
- */
389
- web_search_requests: number;
390
- }
391
- export interface ServerToolUseBlock {
392
- id: string;
393
- input: unknown;
394
- name: 'web_search';
395
- type: 'server_tool_use';
396
- }
397
- export interface ServerToolUseBlockParam {
398
- id: string;
399
- input: unknown;
400
- name: 'web_search';
401
- type: 'server_tool_use';
402
- /**
403
- * Create a cache control breakpoint at this content block.
404
- */
405
- cache_control?: CacheControlEphemeral | null;
406
- }
407
- export interface SignatureDelta {
408
- signature: string;
409
- type: 'signature_delta';
410
- }
411
- export type StopReason = 'end_turn' | 'max_tokens' | 'stop_sequence' | 'tool_use' | 'pause_turn' | 'refusal';
412
- export interface TextBlock {
413
- /**
414
- * Citations supporting the text block.
415
- *
416
- * The type of citation returned will depend on the type of document being cited.
417
- * Citing a PDF results in `page_location`, plain text results in `char_location`,
418
- * and content document results in `content_block_location`.
419
- */
420
- citations: Array<TextCitation> | null;
421
- text: string;
422
- type: 'text';
423
- }
424
- export interface TextBlockParam {
425
- text: string;
426
- type: 'text';
427
- /**
428
- * Create a cache control breakpoint at this content block.
429
- */
430
- cache_control?: CacheControlEphemeral | null;
431
- citations?: Array<TextCitationParam> | null;
432
- }
433
- export type TextCitation = CitationCharLocation | CitationPageLocation | CitationContentBlockLocation | CitationsWebSearchResultLocation;
434
- export type TextCitationParam = CitationCharLocationParam | CitationPageLocationParam | CitationContentBlockLocationParam | CitationWebSearchResultLocationParam;
435
- export interface TextDelta {
436
- text: string;
437
- type: 'text_delta';
438
- }
439
- export interface ThinkingBlock {
440
- signature: string;
441
- thinking: string;
442
- type: 'thinking';
443
- }
444
- export interface ThinkingBlockParam {
445
- signature: string;
446
- thinking: string;
447
- type: 'thinking';
448
- }
449
- export interface ThinkingConfigDisabled {
450
- type: 'disabled';
451
- }
452
- export interface ThinkingConfigEnabled {
453
- /**
454
- * Determines how many tokens Claude can use for its internal reasoning process.
455
- * Larger budgets can enable more thorough analysis for complex problems, improving
456
- * response quality.
457
- *
458
- * Must be ≥1024 and less than `max_tokens`.
459
- *
460
- * See
461
- * [extended thinking](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking)
462
- * for details.
463
- */
464
- budget_tokens: number;
465
- type: 'enabled';
466
- }
467
- /**
468
- * Configuration for enabling Claude's extended thinking.
469
- *
470
- * When enabled, responses include `thinking` content blocks showing Claude's
471
- * thinking process before the final answer. Requires a minimum budget of 1,024
472
- * tokens and counts towards your `max_tokens` limit.
473
- *
474
- * See
475
- * [extended thinking](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking)
476
- * for details.
477
- */
478
- export type ThinkingConfigParam = ThinkingConfigEnabled | ThinkingConfigDisabled;
479
- export interface ThinkingDelta {
480
- thinking: string;
481
- type: 'thinking_delta';
482
- }
483
- export interface Tool {
484
- /**
485
- * [JSON schema](https://json-schema.org/draft/2020-12) for this tool's input.
486
- *
487
- * This defines the shape of the `input` that your tool accepts and that the model
488
- * will produce.
489
- */
490
- input_schema: Tool.InputSchema;
491
- /**
492
- * Name of the tool.
493
- *
494
- * This is how the tool will be called by the model and in `tool_use` blocks.
495
- */
496
- name: string;
497
- /**
498
- * Create a cache control breakpoint at this content block.
499
- */
500
- cache_control?: CacheControlEphemeral | null;
501
- /**
502
- * Description of what this tool does.
503
- *
504
- * Tool descriptions should be as detailed as possible. The more information that
505
- * the model has about what the tool is and how to use it, the better it will
506
- * perform. You can use natural language descriptions to reinforce important
507
- * aspects of the tool input JSON schema.
508
- */
509
- description?: string;
510
- type?: 'custom' | null;
511
- }
512
- export declare namespace Tool {
513
- /**
514
- * [JSON schema](https://json-schema.org/draft/2020-12) for this tool's input.
515
- *
516
- * This defines the shape of the `input` that your tool accepts and that the model
517
- * will produce.
518
- */
519
- interface InputSchema {
520
- type: 'object';
521
- properties?: unknown | null;
522
- [k: string]: unknown;
523
- }
524
- }
525
- export interface ToolBash20250124 {
526
- /**
527
- * Name of the tool.
528
- *
529
- * This is how the tool will be called by the model and in `tool_use` blocks.
530
- */
531
- name: 'bash';
532
- type: 'bash_20250124';
533
- /**
534
- * Create a cache control breakpoint at this content block.
535
- */
536
- cache_control?: CacheControlEphemeral | null;
537
- }
538
- /**
539
- * How the model should use the provided tools. The model can use a specific tool,
540
- * any available tool, decide by itself, or not use tools at all.
541
- */
542
- export type ToolChoice = ToolChoiceAuto | ToolChoiceAny | ToolChoiceTool | ToolChoiceNone;
543
- /**
544
- * The model will use any available tools.
545
- */
546
- export interface ToolChoiceAny {
547
- type: 'any';
548
- /**
549
- * Whether to disable parallel tool use.
550
- *
551
- * Defaults to `false`. If set to `true`, the model will output exactly one tool
552
- * use.
553
- */
554
- disable_parallel_tool_use?: boolean;
555
- }
556
- /**
557
- * The model will automatically decide whether to use tools.
558
- */
559
- export interface ToolChoiceAuto {
560
- type: 'auto';
561
- /**
562
- * Whether to disable parallel tool use.
563
- *
564
- * Defaults to `false`. If set to `true`, the model will output at most one tool
565
- * use.
566
- */
567
- disable_parallel_tool_use?: boolean;
568
- }
569
- /**
570
- * The model will not be allowed to use tools.
571
- */
572
- export interface ToolChoiceNone {
573
- type: 'none';
574
- }
575
- /**
576
- * The model will use the specified tool with `tool_choice.name`.
577
- */
578
- export interface ToolChoiceTool {
579
- /**
580
- * The name of the tool to use.
581
- */
582
- name: string;
583
- type: 'tool';
584
- /**
585
- * Whether to disable parallel tool use.
586
- *
587
- * Defaults to `false`. If set to `true`, the model will output exactly one tool
588
- * use.
589
- */
590
- disable_parallel_tool_use?: boolean;
591
- }
592
- export interface ToolResultBlockParam {
593
- tool_use_id: string;
594
- type: 'tool_result';
595
- /**
596
- * Create a cache control breakpoint at this content block.
597
- */
598
- cache_control?: CacheControlEphemeral | null;
599
- content?: string | Array<TextBlockParam | ImageBlockParam>;
600
- is_error?: boolean;
601
- }
602
- export interface ToolTextEditor20250124 {
603
- /**
604
- * Name of the tool.
605
- *
606
- * This is how the tool will be called by the model and in `tool_use` blocks.
607
- */
608
- name: 'str_replace_editor';
609
- type: 'text_editor_20250124';
610
- /**
611
- * Create a cache control breakpoint at this content block.
612
- */
613
- cache_control?: CacheControlEphemeral | null;
614
- }
615
- export type ToolUnion = Tool | ToolBash20250124 | ToolTextEditor20250124 | WebSearchTool20250305;
616
- export interface ToolUseBlock {
617
- id: string;
618
- input: unknown;
619
- name: string;
620
- type: 'tool_use';
621
- }
622
- export interface ToolUseBlockParam {
623
- id: string;
624
- input: unknown;
625
- name: string;
626
- type: 'tool_use';
627
- /**
628
- * Create a cache control breakpoint at this content block.
629
- */
630
- cache_control?: CacheControlEphemeral | null;
631
- }
632
- export interface URLImageSource {
633
- type: 'url';
634
- url: string;
635
- }
636
- export interface URLPDFSource {
637
- type: 'url';
638
- url: string;
639
- }
640
- export interface Usage {
641
- /**
642
- * The number of input tokens used to create the cache entry.
643
- */
644
- cache_creation_input_tokens: number | null;
645
- /**
646
- * The number of input tokens read from the cache.
647
- */
648
- cache_read_input_tokens: number | null;
649
- /**
650
- * The number of input tokens which were used.
651
- */
652
- input_tokens: number;
653
- /**
654
- * The number of output tokens which were used.
655
- */
656
- output_tokens: number;
657
- /**
658
- * The number of server tool requests.
659
- */
660
- server_tool_use: ServerToolUsage | null;
661
- /**
662
- * If the request used the priority, standard, or batch tier.
663
- */
664
- service_tier: 'standard' | 'priority' | 'batch' | null;
665
- }
666
- export interface WebSearchResultBlock {
667
- encrypted_content: string;
668
- page_age: string | null;
669
- title: string;
670
- type: 'web_search_result';
671
- url: string;
672
- }
673
- export interface WebSearchResultBlockParam {
674
- encrypted_content: string;
675
- title: string;
676
- type: 'web_search_result';
677
- url: string;
678
- page_age?: string | null;
679
- }
680
- export interface WebSearchTool20250305 {
681
- /**
682
- * Name of the tool.
683
- *
684
- * This is how the tool will be called by the model and in `tool_use` blocks.
685
- */
686
- name: 'web_search';
687
- type: 'web_search_20250305';
688
- /**
689
- * If provided, only these domains will be included in results. Cannot be used
690
- * alongside `blocked_domains`.
691
- */
692
- allowed_domains?: Array<string> | null;
693
- /**
694
- * If provided, these domains will never appear in results. Cannot be used
695
- * alongside `allowed_domains`.
696
- */
697
- blocked_domains?: Array<string> | null;
698
- /**
699
- * Create a cache control breakpoint at this content block.
700
- */
701
- cache_control?: CacheControlEphemeral | null;
702
- /**
703
- * Maximum number of times the tool can be used in the API request.
704
- */
705
- max_uses?: number | null;
706
- /**
707
- * Parameters for the user's location. Used to provide more relevant search
708
- * results.
709
- */
710
- user_location?: WebSearchTool20250305.UserLocation | null;
711
- }
712
- export declare namespace WebSearchTool20250305 {
713
- /**
714
- * Parameters for the user's location. Used to provide more relevant search
715
- * results.
716
- */
717
- interface UserLocation {
718
- type: 'approximate';
719
- /**
720
- * The city of the user.
721
- */
722
- city?: string | null;
723
- /**
724
- * The two letter
725
- * [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the
726
- * user.
727
- */
728
- country?: string | null;
729
- /**
730
- * The region of the user.
731
- */
732
- region?: string | null;
733
- /**
734
- * The [IANA timezone](https://nodatime.org/TimeZones) of the user.
735
- */
736
- timezone?: string | null;
737
- }
738
- }
739
- export interface WebSearchToolRequestError {
740
- error_code: 'invalid_tool_input' | 'unavailable' | 'max_uses_exceeded' | 'too_many_requests' | 'query_too_long';
741
- type: 'web_search_tool_result_error';
742
- }
743
- export interface WebSearchToolResultBlock {
744
- content: WebSearchToolResultBlockContent;
745
- tool_use_id: string;
746
- type: 'web_search_tool_result';
747
- }
748
- export type WebSearchToolResultBlockContent = WebSearchToolResultError | Array<WebSearchResultBlock>;
749
- export interface WebSearchToolResultBlockParam {
750
- content: WebSearchToolResultBlockParamContent;
751
- tool_use_id: string;
752
- type: 'web_search_tool_result';
753
- /**
754
- * Create a cache control breakpoint at this content block.
755
- */
756
- cache_control?: CacheControlEphemeral | null;
757
- }
758
- export type WebSearchToolResultBlockParamContent = Array<WebSearchResultBlockParam> | WebSearchToolRequestError;
759
- export interface WebSearchToolResultError {
760
- error_code: 'invalid_tool_input' | 'unavailable' | 'max_uses_exceeded' | 'too_many_requests' | 'query_too_long';
761
- type: 'web_search_tool_result_error';
762
- }
763
- export type MessageStreamEvent = RawMessageStreamEvent;
764
- export type MessageStartEvent = RawMessageStartEvent;
765
- export type MessageDeltaEvent = RawMessageDeltaEvent;
766
- export type MessageStopEvent = RawMessageStopEvent;
767
- export type ContentBlockStartEvent = RawContentBlockStartEvent;
768
- export type ContentBlockDeltaEvent = RawContentBlockDeltaEvent;
769
- export type ContentBlockStopEvent = RawContentBlockStopEvent;
770
- export type MessageCreateParams = MessageCreateParamsNonStreaming | MessageCreateParamsStreaming;
771
- export interface MessageCreateParamsBase {
772
- /**
773
- * The maximum number of tokens to generate before stopping.
774
- *
775
- * Note that our models may stop _before_ reaching this maximum. This parameter
776
- * only specifies the absolute maximum number of tokens to generate.
777
- *
778
- * Different models have different maximum values for this parameter. See
779
- * [models](https://docs.anthropic.com/en/docs/models-overview) for details.
780
- */
781
- max_tokens: number;
782
- /**
783
- * Input messages.
784
- *
785
- * Our models are trained to operate on alternating `user` and `assistant`
786
- * conversational turns. When creating a new `Message`, you specify the prior
787
- * conversational turns with the `messages` parameter, and the model then generates
788
- * the next `Message` in the conversation. Consecutive `user` or `assistant` turns
789
- * in your request will be combined into a single turn.
790
- *
791
- * Each input message must be an object with a `role` and `content`. You can
792
- * specify a single `user`-role message, or you can include multiple `user` and
793
- * `assistant` messages.
794
- *
795
- * If the final message uses the `assistant` role, the response content will
796
- * continue immediately from the content in that message. This can be used to
797
- * constrain part of the model's response.
798
- *
799
- * Example with a single `user` message:
800
- *
801
- * ```json
802
- * [{ "role": "user", "content": "Hello, Claude" }]
803
- * ```
804
- *
805
- * Example with multiple conversational turns:
806
- *
807
- * ```json
808
- * [
809
- * { "role": "user", "content": "Hello there." },
810
- * { "role": "assistant", "content": "Hi, I'm Claude. How can I help you?" },
811
- * { "role": "user", "content": "Can you explain LLMs in plain English?" }
812
- * ]
813
- * ```
814
- *
815
- * Example with a partially-filled response from Claude:
816
- *
817
- * ```json
818
- * [
819
- * {
820
- * "role": "user",
821
- * "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
822
- * },
823
- * { "role": "assistant", "content": "The best answer is (" }
824
- * ]
825
- * ```
826
- *
827
- * Each input message `content` may be either a single `string` or an array of
828
- * content blocks, where each block has a specific `type`. Using a `string` for
829
- * `content` is shorthand for an array of one content block of type `"text"`. The
830
- * following input messages are equivalent:
831
- *
832
- * ```json
833
- * { "role": "user", "content": "Hello, Claude" }
834
- * ```
835
- *
836
- * ```json
837
- * { "role": "user", "content": [{ "type": "text", "text": "Hello, Claude" }] }
838
- * ```
839
- *
840
- * Starting with Claude 3 models, you can also send image content blocks:
841
- *
842
- * ```json
843
- * {
844
- * "role": "user",
845
- * "content": [
846
- * {
847
- * "type": "image",
848
- * "source": {
849
- * "type": "base64",
850
- * "media_type": "image/jpeg",
851
- * "data": "/9j/4AAQSkZJRg..."
852
- * }
853
- * },
854
- * { "type": "text", "text": "What is in this image?" }
855
- * ]
856
- * }
857
- * ```
858
- *
859
- * We currently support the `base64` source type for images, and the `image/jpeg`,
860
- * `image/png`, `image/gif`, and `image/webp` media types.
861
- *
862
- * See [examples](https://docs.anthropic.com/en/api/messages-examples#vision) for
863
- * more input examples.
864
- *
865
- * Note that if you want to include a
866
- * [system prompt](https://docs.anthropic.com/en/docs/system-prompts), you can use
867
- * the top-level `system` parameter — there is no `"system"` role for input
868
- * messages in the Messages API.
869
- *
870
- * There is a limit of 100000 messages in a single request.
871
- */
872
- messages: Array<MessageParam>;
873
- /**
874
- * The model that will complete your prompt.\n\nSee
875
- * [models](https://docs.anthropic.com/en/docs/models-overview) for additional
876
- * details and options.
877
- */
878
- model: Model;
879
- /**
880
- * An object describing metadata about the request.
881
- */
882
- metadata?: Metadata;
883
- /**
884
- * Determines whether to use priority capacity (if available) or standard capacity
885
- * for this request.
886
- *
887
- * Anthropic offers different levels of service for your API requests. See
888
- * [service-tiers](https://docs.anthropic.com/en/api/service-tiers) for details.
889
- */
890
- service_tier?: 'auto' | 'standard_only';
891
- /**
892
- * Custom text sequences that will cause the model to stop generating.
893
- *
894
- * Our models will normally stop when they have naturally completed their turn,
895
- * which will result in a response `stop_reason` of `"end_turn"`.
896
- *
897
- * If you want the model to stop generating when it encounters custom strings of
898
- * text, you can use the `stop_sequences` parameter. If the model encounters one of
899
- * the custom sequences, the response `stop_reason` value will be `"stop_sequence"`
900
- * and the response `stop_sequence` value will contain the matched stop sequence.
901
- */
902
- stop_sequences?: Array<string>;
903
- /**
904
- * Whether to incrementally stream the response using server-sent events.
905
- *
906
- * See [streaming](https://docs.anthropic.com/en/api/messages-streaming) for
907
- * details.
908
- */
909
- stream?: boolean;
910
- /**
911
- * System prompt.
912
- *
913
- * A system prompt is a way of providing context and instructions to Claude, such
914
- * as specifying a particular goal or role. See our
915
- * [guide to system prompts](https://docs.anthropic.com/en/docs/system-prompts).
916
- */
917
- system?: string | Array<TextBlockParam>;
918
- /**
919
- * Amount of randomness injected into the response.
920
- *
921
- * Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0`
922
- * for analytical / multiple choice, and closer to `1.0` for creative and
923
- * generative tasks.
924
- *
925
- * Note that even with `temperature` of `0.0`, the results will not be fully
926
- * deterministic.
927
- */
928
- temperature?: number;
929
- /**
930
- * Configuration for enabling Claude's extended thinking.
931
- *
932
- * When enabled, responses include `thinking` content blocks showing Claude's
933
- * thinking process before the final answer. Requires a minimum budget of 1,024
934
- * tokens and counts towards your `max_tokens` limit.
935
- *
936
- * See
937
- * [extended thinking](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking)
938
- * for details.
939
- */
940
- thinking?: ThinkingConfigParam;
941
- /**
942
- * How the model should use the provided tools. The model can use a specific tool,
943
- * any available tool, decide by itself, or not use tools at all.
944
- */
945
- tool_choice?: ToolChoice;
946
- /**
947
- * Definitions of tools that the model may use.
948
- *
949
- * If you include `tools` in your API request, the model may return `tool_use`
950
- * content blocks that represent the model's use of those tools. You can then run
951
- * those tools using the tool input generated by the model and then optionally
952
- * return results back to the model using `tool_result` content blocks.
953
- *
954
- * Each tool definition includes:
955
- *
956
- * - `name`: Name of the tool.
957
- * - `description`: Optional, but strongly-recommended description of the tool.
958
- * - `input_schema`: [JSON schema](https://json-schema.org/draft/2020-12) for the
959
- * tool `input` shape that the model will produce in `tool_use` output content
960
- * blocks.
961
- *
962
- * For example, if you defined `tools` as:
963
- *
964
- * ```json
965
- * [
966
- * {
967
- * "name": "get_stock_price",
968
- * "description": "Get the current stock price for a given ticker symbol.",
969
- * "input_schema": {
970
- * "type": "object",
971
- * "properties": {
972
- * "ticker": {
973
- * "type": "string",
974
- * "description": "The stock ticker symbol, e.g. AAPL for Apple Inc."
975
- * }
976
- * },
977
- * "required": ["ticker"]
978
- * }
979
- * }
980
- * ]
981
- * ```
982
- *
983
- * And then asked the model "What's the S&P 500 at today?", the model might produce
984
- * `tool_use` content blocks in the response like this:
985
- *
986
- * ```json
987
- * [
988
- * {
989
- * "type": "tool_use",
990
- * "id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
991
- * "name": "get_stock_price",
992
- * "input": { "ticker": "^GSPC" }
993
- * }
994
- * ]
995
- * ```
996
- *
997
- * You might then run your `get_stock_price` tool with `{"ticker": "^GSPC"}` as an
998
- * input, and return the following back to the model in a subsequent `user`
999
- * message:
1000
- *
1001
- * ```json
1002
- * [
1003
- * {
1004
- * "type": "tool_result",
1005
- * "tool_use_id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
1006
- * "content": "259.75 USD"
1007
- * }
1008
- * ]
1009
- * ```
1010
- *
1011
- * Tools can be used for workflows that include running client-side tools and
1012
- * functions, or more generally whenever you want the model to produce a particular
1013
- * JSON structure of output.
1014
- *
1015
- * See our [guide](https://docs.anthropic.com/en/docs/tool-use) for more details.
1016
- */
1017
- tools?: Array<ToolUnion>;
1018
- /**
1019
- * Only sample from the top K options for each subsequent token.
1020
- *
1021
- * Used to remove "long tail" low probability responses.
1022
- * [Learn more technical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277).
1023
- *
1024
- * Recommended for advanced use cases only. You usually only need to use
1025
- * `temperature`.
1026
- */
1027
- top_k?: number;
1028
- /**
1029
- * Use nucleus sampling.
1030
- *
1031
- * In nucleus sampling, we compute the cumulative distribution over all the options
1032
- * for each subsequent token in decreasing probability order and cut it off once it
1033
- * reaches a particular probability specified by `top_p`. You should either alter
1034
- * `temperature` or `top_p`, but not both.
1035
- *
1036
- * Recommended for advanced use cases only. You usually only need to use
1037
- * `temperature`.
1038
- */
1039
- top_p?: number;
1040
- }
1041
- export declare namespace MessageCreateParams {
1042
- type MessageCreateParamsNonStreaming = MessagesAPI.MessageCreateParamsNonStreaming;
1043
- type MessageCreateParamsStreaming = MessagesAPI.MessageCreateParamsStreaming;
1044
- }
1045
- export interface MessageCreateParamsNonStreaming extends MessageCreateParamsBase {
1046
- /**
1047
- * Whether to incrementally stream the response using server-sent events.
1048
- *
1049
- * See [streaming](https://docs.anthropic.com/en/api/messages-streaming) for
1050
- * details.
1051
- */
1052
- stream?: false;
1053
- }
1054
- export interface MessageCreateParamsStreaming extends MessageCreateParamsBase {
1055
- /**
1056
- * Whether to incrementally stream the response using server-sent events.
1057
- *
1058
- * See [streaming](https://docs.anthropic.com/en/api/messages-streaming) for
1059
- * details.
1060
- */
1061
- stream: true;
1062
- }
1063
- export type MessageStreamParams = MessageCreateParamsBase;
1064
- export interface MessageCountTokensParams {
1065
- /**
1066
- * Input messages.
1067
- *
1068
- * Our models are trained to operate on alternating `user` and `assistant`
1069
- * conversational turns. When creating a new `Message`, you specify the prior
1070
- * conversational turns with the `messages` parameter, and the model then generates
1071
- * the next `Message` in the conversation. Consecutive `user` or `assistant` turns
1072
- * in your request will be combined into a single turn.
1073
- *
1074
- * Each input message must be an object with a `role` and `content`. You can
1075
- * specify a single `user`-role message, or you can include multiple `user` and
1076
- * `assistant` messages.
1077
- *
1078
- * If the final message uses the `assistant` role, the response content will
1079
- * continue immediately from the content in that message. This can be used to
1080
- * constrain part of the model's response.
1081
- *
1082
- * Example with a single `user` message:
1083
- *
1084
- * ```json
1085
- * [{ "role": "user", "content": "Hello, Claude" }]
1086
- * ```
1087
- *
1088
- * Example with multiple conversational turns:
1089
- *
1090
- * ```json
1091
- * [
1092
- * { "role": "user", "content": "Hello there." },
1093
- * { "role": "assistant", "content": "Hi, I'm Claude. How can I help you?" },
1094
- * { "role": "user", "content": "Can you explain LLMs in plain English?" }
1095
- * ]
1096
- * ```
1097
- *
1098
- * Example with a partially-filled response from Claude:
1099
- *
1100
- * ```json
1101
- * [
1102
- * {
1103
- * "role": "user",
1104
- * "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
1105
- * },
1106
- * { "role": "assistant", "content": "The best answer is (" }
1107
- * ]
1108
- * ```
1109
- *
1110
- * Each input message `content` may be either a single `string` or an array of
1111
- * content blocks, where each block has a specific `type`. Using a `string` for
1112
- * `content` is shorthand for an array of one content block of type `"text"`. The
1113
- * following input messages are equivalent:
1114
- *
1115
- * ```json
1116
- * { "role": "user", "content": "Hello, Claude" }
1117
- * ```
1118
- *
1119
- * ```json
1120
- * { "role": "user", "content": [{ "type": "text", "text": "Hello, Claude" }] }
1121
- * ```
1122
- *
1123
- * Starting with Claude 3 models, you can also send image content blocks:
1124
- *
1125
- * ```json
1126
- * {
1127
- * "role": "user",
1128
- * "content": [
1129
- * {
1130
- * "type": "image",
1131
- * "source": {
1132
- * "type": "base64",
1133
- * "media_type": "image/jpeg",
1134
- * "data": "/9j/4AAQSkZJRg..."
1135
- * }
1136
- * },
1137
- * { "type": "text", "text": "What is in this image?" }
1138
- * ]
1139
- * }
1140
- * ```
1141
- *
1142
- * We currently support the `base64` source type for images, and the `image/jpeg`,
1143
- * `image/png`, `image/gif`, and `image/webp` media types.
1144
- *
1145
- * See [examples](https://docs.anthropic.com/en/api/messages-examples#vision) for
1146
- * more input examples.
1147
- *
1148
- * Note that if you want to include a
1149
- * [system prompt](https://docs.anthropic.com/en/docs/system-prompts), you can use
1150
- * the top-level `system` parameter — there is no `"system"` role for input
1151
- * messages in the Messages API.
1152
- *
1153
- * There is a limit of 100000 messages in a single request.
1154
- */
1155
- messages: Array<MessageParam>;
1156
- /**
1157
- * The model that will complete your prompt.\n\nSee
1158
- * [models](https://docs.anthropic.com/en/docs/models-overview) for additional
1159
- * details and options.
1160
- */
1161
- model: Model;
1162
- /**
1163
- * System prompt.
1164
- *
1165
- * A system prompt is a way of providing context and instructions to Claude, such
1166
- * as specifying a particular goal or role. See our
1167
- * [guide to system prompts](https://docs.anthropic.com/en/docs/system-prompts).
1168
- */
1169
- system?: string | Array<TextBlockParam>;
1170
- /**
1171
- * Configuration for enabling Claude's extended thinking.
1172
- *
1173
- * When enabled, responses include `thinking` content blocks showing Claude's
1174
- * thinking process before the final answer. Requires a minimum budget of 1,024
1175
- * tokens and counts towards your `max_tokens` limit.
1176
- *
1177
- * See
1178
- * [extended thinking](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking)
1179
- * for details.
1180
- */
1181
- thinking?: ThinkingConfigParam;
1182
- /**
1183
- * How the model should use the provided tools. The model can use a specific tool,
1184
- * any available tool, decide by itself, or not use tools at all.
1185
- */
1186
- tool_choice?: ToolChoice;
1187
- /**
1188
- * Definitions of tools that the model may use.
1189
- *
1190
- * If you include `tools` in your API request, the model may return `tool_use`
1191
- * content blocks that represent the model's use of those tools. You can then run
1192
- * those tools using the tool input generated by the model and then optionally
1193
- * return results back to the model using `tool_result` content blocks.
1194
- *
1195
- * Each tool definition includes:
1196
- *
1197
- * - `name`: Name of the tool.
1198
- * - `description`: Optional, but strongly-recommended description of the tool.
1199
- * - `input_schema`: [JSON schema](https://json-schema.org/draft/2020-12) for the
1200
- * tool `input` shape that the model will produce in `tool_use` output content
1201
- * blocks.
1202
- *
1203
- * For example, if you defined `tools` as:
1204
- *
1205
- * ```json
1206
- * [
1207
- * {
1208
- * "name": "get_stock_price",
1209
- * "description": "Get the current stock price for a given ticker symbol.",
1210
- * "input_schema": {
1211
- * "type": "object",
1212
- * "properties": {
1213
- * "ticker": {
1214
- * "type": "string",
1215
- * "description": "The stock ticker symbol, e.g. AAPL for Apple Inc."
1216
- * }
1217
- * },
1218
- * "required": ["ticker"]
1219
- * }
1220
- * }
1221
- * ]
1222
- * ```
1223
- *
1224
- * And then asked the model "What's the S&P 500 at today?", the model might produce
1225
- * `tool_use` content blocks in the response like this:
1226
- *
1227
- * ```json
1228
- * [
1229
- * {
1230
- * "type": "tool_use",
1231
- * "id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
1232
- * "name": "get_stock_price",
1233
- * "input": { "ticker": "^GSPC" }
1234
- * }
1235
- * ]
1236
- * ```
1237
- *
1238
- * You might then run your `get_stock_price` tool with `{"ticker": "^GSPC"}` as an
1239
- * input, and return the following back to the model in a subsequent `user`
1240
- * message:
1241
- *
1242
- * ```json
1243
- * [
1244
- * {
1245
- * "type": "tool_result",
1246
- * "tool_use_id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
1247
- * "content": "259.75 USD"
1248
- * }
1249
- * ]
1250
- * ```
1251
- *
1252
- * Tools can be used for workflows that include running client-side tools and
1253
- * functions, or more generally whenever you want the model to produce a particular
1254
- * JSON structure of output.
1255
- *
1256
- * See our [guide](https://docs.anthropic.com/en/docs/tool-use) for more details.
1257
- */
1258
- tools?: Array<MessageCountTokensTool>;
1259
- }
1260
- export declare namespace Messages {
1261
- export { type Base64ImageSource as Base64ImageSource, type Base64PDFSource as Base64PDFSource, type CacheControlEphemeral as CacheControlEphemeral, 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 CitationWebSearchResultLocationParam as CitationWebSearchResultLocationParam, type CitationsConfigParam as CitationsConfigParam, type CitationsDelta as CitationsDelta, type CitationsWebSearchResultLocation as CitationsWebSearchResultLocation, 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 DocumentBlockParam as DocumentBlockParam, type ImageBlockParam as ImageBlockParam, type InputJSONDelta as InputJSONDelta, 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 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 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 ThinkingBlock as ThinkingBlock, type ThinkingBlockParam as ThinkingBlockParam, 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 ToolResultBlockParam as ToolResultBlockParam, type ToolTextEditor20250124 as ToolTextEditor20250124, 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 WebSearchResultBlock as WebSearchResultBlock, type WebSearchResultBlockParam as WebSearchResultBlockParam, type WebSearchTool20250305 as WebSearchTool20250305, 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, };
1262
- 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, };
1263
- }
1264
- //# sourceMappingURL=messages.d.ts.map