@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,8 +0,0 @@
1
- Copyright 2023 Anthropic, PBC.
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
-
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8
-
@@ -1,674 +0,0 @@
1
- # Anthropic TypeScript API Library
2
-
3
- [![NPM version](https://img.shields.io/npm/v/@anthropic-ai/sdk.svg)](https://npmjs.org/package/@anthropic-ai/sdk) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@anthropic-ai/sdk)
4
-
5
- This library provides convenient access to the Anthropic REST API from server-side TypeScript or JavaScript.
6
-
7
- The REST API documentation can be found on [docs.anthropic.com](https://docs.anthropic.com/claude/reference/). The full API of this library can be found in [api.md](api.md).
8
-
9
- ## Installation
10
-
11
- ```sh
12
- npm install @anthropic-ai/sdk
13
- ```
14
-
15
- ## Usage
16
-
17
- The full API of this library can be found in [api.md](api.md).
18
-
19
- <!-- prettier-ignore -->
20
- ```js
21
- import Anthropic from '@anthropic-ai/sdk';
22
-
23
- const client = new Anthropic({
24
- apiKey: process.env['ANTHROPIC_API_KEY'], // This is the default and can be omitted
25
- });
26
-
27
- async function main() {
28
- const message = await client.messages.create({
29
- max_tokens: 1024,
30
- messages: [{ role: 'user', content: 'Hello, Claude' }],
31
- model: 'claude-3-5-sonnet-latest',
32
- });
33
-
34
- console.log(message.content);
35
- }
36
-
37
- main();
38
- ```
39
-
40
- ## Streaming responses
41
-
42
- We provide support for streaming responses using Server Sent Events (SSE).
43
-
44
- ```ts
45
- import Anthropic from '@anthropic-ai/sdk';
46
-
47
- const client = new Anthropic();
48
-
49
- const stream = await client.messages.create({
50
- max_tokens: 1024,
51
- messages: [{ role: 'user', content: 'Hello, Claude' }],
52
- model: 'claude-3-5-sonnet-latest',
53
- stream: true,
54
- });
55
- for await (const messageStreamEvent of stream) {
56
- console.log(messageStreamEvent.type);
57
- }
58
- ```
59
-
60
- If you need to cancel a stream, you can `break` from the loop
61
- or call `stream.controller.abort()`.
62
-
63
- ### Request & Response types
64
-
65
- This library includes TypeScript definitions for all request params and response fields. You may import and use them like so:
66
-
67
- <!-- prettier-ignore -->
68
- ```ts
69
- import Anthropic from '@anthropic-ai/sdk';
70
-
71
- const client = new Anthropic({
72
- apiKey: process.env['ANTHROPIC_API_KEY'], // This is the default and can be omitted
73
- });
74
-
75
- async function main() {
76
- const params: Anthropic.MessageCreateParams = {
77
- max_tokens: 1024,
78
- messages: [{ role: 'user', content: 'Hello, Claude' }],
79
- model: 'claude-3-5-sonnet-latest',
80
- };
81
- const message: Anthropic.Message = await client.messages.create(params);
82
- }
83
-
84
- main();
85
- ```
86
-
87
- Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
88
-
89
- ## Counting Tokens
90
-
91
- You can see the exact usage for a given request through the `usage` response property, e.g.
92
-
93
- ```ts
94
- const message = await client.messages.create(...)
95
- console.log(message.usage)
96
- // { input_tokens: 25, output_tokens: 13 }
97
- ```
98
-
99
- ## Streaming Helpers
100
-
101
- This library provides several conveniences for streaming messages, for example:
102
-
103
- ```ts
104
- import Anthropic from '@anthropic-ai/sdk';
105
-
106
- const anthropic = new Anthropic();
107
-
108
- async function main() {
109
- const stream = anthropic.messages
110
- .stream({
111
- model: 'claude-3-5-sonnet-latest',
112
- max_tokens: 1024,
113
- messages: [
114
- {
115
- role: 'user',
116
- content: 'Say hello there!',
117
- },
118
- ],
119
- })
120
- .on('text', (text) => {
121
- console.log(text);
122
- });
123
-
124
- const message = await stream.finalMessage();
125
- console.log(message);
126
- }
127
-
128
- main();
129
- ```
130
-
131
- Streaming with `client.messages.stream(...)` exposes [various helpers for your convenience](helpers.md) including event handlers and accumulation.
132
-
133
- Alternatively, you can use `client.messages.create({ ..., stream: true })` which only returns an async iterable of the events in the stream and thus uses less memory (it does not build up a final message object for you).
134
-
135
- ## Message Batches
136
-
137
- This SDK provides beta support for the [Message Batches API](https://docs.anthropic.com/en/docs/build-with-claude/message-batches) under the `client.beta.messages.batches` namespace.
138
-
139
- ### Creating a batch
140
-
141
- Message Batches takes an array of requests, where each object has a `custom_id` identifier, and the exact same request `params` as the standard Messages API:
142
-
143
- ```ts
144
- await anthropic.beta.messages.batches.create({
145
- requests: [
146
- {
147
- custom_id: 'my-first-request',
148
- params: {
149
- model: 'claude-3-5-sonnet-latest',
150
- max_tokens: 1024,
151
- messages: [{ role: 'user', content: 'Hello, world' }],
152
- },
153
- },
154
- {
155
- custom_id: 'my-second-request',
156
- params: {
157
- model: 'claude-3-5-sonnet-latest',
158
- max_tokens: 1024,
159
- messages: [{ role: 'user', content: 'Hi again, friend' }],
160
- },
161
- },
162
- ],
163
- });
164
- ```
165
-
166
- ### Getting results from a batch
167
-
168
- Once a Message Batch has been processed, indicated by `.processing_status === 'ended'`, you can access the results with `.batches.results()`
169
-
170
- ```ts
171
- const results = await anthropic.beta.messages.batches.results(batch_id);
172
- for await (const entry of results) {
173
- if (entry.result.type === 'succeeded') {
174
- console.log(entry.result.message.content);
175
- }
176
- }
177
- ```
178
-
179
- ## Tool use
180
-
181
- This SDK provides support for tool use, aka function calling. More details can be found in [the documentation](https://docs.anthropic.com/claude/docs/tool-use).
182
-
183
- ## AWS Bedrock
184
-
185
- We provide support for the [Anthropic Bedrock API](https://aws.amazon.com/bedrock/claude/) through a [separate package](https://github.com/anthropics/anthropic-sdk-typescript/tree/main/packages/bedrock-sdk).
186
-
187
- ## File uploads
188
-
189
- Request parameters that correspond to file uploads can be passed in many different forms:
190
-
191
- - `File` (or an object with the same structure)
192
- - a `fetch` `Response` (or an object with the same structure)
193
- - an `fs.ReadStream`
194
- - the return value of our `toFile` helper
195
-
196
- Note that we recommend you set the content-type explicitly as the files API will not infer it for you:
197
-
198
- ```ts
199
- import fs from 'fs';
200
- import Anthropic, { toFile } from '@anthropic-ai/sdk';
201
-
202
- const client = new Anthropic();
203
-
204
- // If you have access to Node `fs` we recommend using `fs.createReadStream()`:
205
- await client.beta.files.upload({
206
- file: await toFile(fs.createReadStream('/path/to/file'), undefined, { type: 'application/json' }),
207
- betas: ['files-api-2025-04-14'],
208
- });
209
-
210
- // Or if you have the web `File` API you can pass a `File` instance:
211
- await client.beta.files.upload({
212
- file: new File(['my bytes'], 'file.txt', { type: 'text/plain' }),
213
- betas: ['files-api-2025-04-14'],
214
- });
215
- // You can also pass a `fetch` `Response`:
216
- await client.beta.files.upload({
217
- file: await fetch('https://somesite/file'),
218
- betas: ['files-api-2025-04-14'],
219
- });
220
-
221
- // Or a `Buffer` / `Uint8Array`
222
- await client.beta.files.upload({
223
- file: await toFile(Buffer.from('my bytes'), 'file', { type: 'text/plain' }),
224
- betas: ['files-api-2025-04-14'],
225
- });
226
- await client.beta.files.upload({
227
- file: await toFile(new Uint8Array([0, 1, 2]), 'file', { type: 'text/plain' }),
228
- betas: ['files-api-2025-04-14'],
229
- });
230
- ```
231
-
232
- ## Handling errors
233
-
234
- When the library is unable to connect to the API,
235
- or if the API returns a non-success status code (i.e., 4xx or 5xx response),
236
- a subclass of `APIError` will be thrown:
237
-
238
- <!-- prettier-ignore -->
239
- ```ts
240
- async function main() {
241
- const message = await client.messages
242
- .create({
243
- max_tokens: 1024,
244
- messages: [{ role: 'user', content: 'Hello, Claude' }],
245
- model: 'claude-3-5-sonnet-latest',
246
- })
247
- .catch(async (err) => {
248
- if (err instanceof Anthropic.APIError) {
249
- console.log(err.status); // 400
250
- console.log(err.name); // BadRequestError
251
- console.log(err.headers); // {server: 'nginx', ...}
252
- } else {
253
- throw err;
254
- }
255
- });
256
- }
257
-
258
- main();
259
- ```
260
-
261
- Error codes are as follows:
262
-
263
- | Status Code | Error Type |
264
- | ----------- | -------------------------- |
265
- | 400 | `BadRequestError` |
266
- | 401 | `AuthenticationError` |
267
- | 403 | `PermissionDeniedError` |
268
- | 404 | `NotFoundError` |
269
- | 422 | `UnprocessableEntityError` |
270
- | 429 | `RateLimitError` |
271
- | >=500 | `InternalServerError` |
272
- | N/A | `APIConnectionError` |
273
-
274
- ## Request IDs
275
-
276
- > For more information on debugging requests, see [these docs](https://docs.anthropic.com/en/api/errors#request-id)
277
-
278
- All object responses in the SDK provide a `_request_id` property which is added from the `request-id` response header so that you can quickly log failing requests and report them back to Anthropic.
279
-
280
- ```ts
281
- const message = await client.messages.create({
282
- max_tokens: 1024,
283
- messages: [{ role: 'user', content: 'Hello, Claude' }],
284
- model: 'claude-3-5-sonnet-latest',
285
- });
286
- console.log(message._request_id); // req_018EeWyXxfu5pfWkrYcMdjWG
287
- ```
288
-
289
- ### Retries
290
-
291
- Certain errors will be automatically retried 2 times by default, with a short exponential backoff.
292
- Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,
293
- 429 Rate Limit, and >=500 Internal errors will all be retried by default.
294
-
295
- You can use the `maxRetries` option to configure or disable this:
296
-
297
- <!-- prettier-ignore -->
298
- ```js
299
- // Configure the default for all requests:
300
- const client = new Anthropic({
301
- maxRetries: 0, // default is 2
302
- });
303
-
304
- // Or, configure per-request:
305
- await client.messages.create({ max_tokens: 1024, messages: [{ role: 'user', content: 'Hello, Claude' }], model: 'claude-3-5-sonnet-latest' }, {
306
- maxRetries: 5,
307
- });
308
- ```
309
-
310
- ### Timeouts
311
-
312
- By default requests time out after 10 minutes. However if you have specified a large `max_tokens` value and are
313
- _not_ streaming, the default timeout will be calculated dynamically using the formula:
314
-
315
- ```typescript
316
- const minimum = 10 * 60;
317
- const calculated = (60 * 60 * maxTokens) / 128_000;
318
- return calculated < minimum ? minimum * 1000 : calculated * 1000;
319
- ```
320
-
321
- which will result in a timeout up to 60 minutes, scaled by the `max_tokens` parameter, unless overriden at the request or client level.
322
-
323
- You can configure this with a `timeout` option:
324
-
325
- <!-- prettier-ignore -->
326
- ```ts
327
- // Configure the default for all requests:
328
- const client = new Anthropic({
329
- timeout: 20 * 1000, // 20 seconds (default is 10 minutes)
330
- });
331
-
332
- // Override per-request:
333
- await client.messages.create({ max_tokens: 1024, messages: [{ role: 'user', content: 'Hello, Claude' }], model: 'claude-3-5-sonnet-latest' }, {
334
- timeout: 5 * 1000,
335
- });
336
- ```
337
-
338
- On timeout, an `APIConnectionTimeoutError` is thrown.
339
-
340
- Note that requests which time out will be [retried twice by default](#retries).
341
-
342
- ### Long Requests
343
-
344
- > [!IMPORTANT]
345
- > We highly encourage you use the streaming [Messages API](#streaming-responses) for longer running requests.
346
-
347
- We do not recommend setting a large `max_tokens` values without using streaming.
348
- Some networks may drop idle connections after a certain period of time, which
349
- can cause the request to fail or [timeout](#timeouts) without receiving a response from Anthropic.
350
-
351
- This SDK will also throw an error if a non-streaming request is expected to be above roughly 10 minutes long.
352
- Passing `stream: true` or [overriding](#timeouts) the `timeout` option at the client or request level disables this error.
353
-
354
- An expected request latency longer than the [timeout](#timeouts) for a non-streaming request
355
- will result in the client terminating the connection and retrying without receiving a response.
356
-
357
- When supported by the `fetch` implementation, we set a [TCP socket keep-alive](https://tldp.org/HOWTO/TCP-Keepalive-HOWTO/overview.html) option in order
358
- to reduce the impact of idle connection timeouts on some networks.
359
- This can be [overriden](#configuring-an-https-agent-eg-for-proxies) by configuring a custom proxy.
360
-
361
- ## Auto-pagination
362
-
363
- List methods in the Anthropic API are paginated.
364
- You can use the `for await … of` syntax to iterate through items across all pages:
365
-
366
- ```ts
367
- async function fetchAllBetaMessagesBatches(params) {
368
- const allBetaMessagesBatches = [];
369
- // Automatically fetches more pages as needed.
370
- for await (const betaMessageBatch of client.beta.messages.batches.list({ limit: 20 })) {
371
- allBetaMessagesBatches.push(betaMessageBatch);
372
- }
373
- return allBetaMessagesBatches;
374
- }
375
- ```
376
-
377
- Alternatively, you can request a single page at a time:
378
-
379
- ```ts
380
- let page = await client.beta.messages.batches.list({ limit: 20 });
381
- for (const betaMessageBatch of page.data) {
382
- console.log(betaMessageBatch);
383
- }
384
-
385
- // Convenience methods are provided for manually paginating:
386
- while (page.hasNextPage()) {
387
- page = await page.getNextPage();
388
- // ...
389
- }
390
- ```
391
-
392
- ## Default Headers
393
-
394
- We automatically send the `anthropic-version` header set to `2023-06-01`.
395
-
396
- If you need to, you can override it by setting default headers on a per-request basis.
397
-
398
- Be aware that doing so may result in incorrect types and other unexpected or undefined behavior in the SDK.
399
-
400
- ```ts
401
- import Anthropic from '@anthropic-ai/sdk';
402
-
403
- const client = new Anthropic();
404
-
405
- const message = await client.messages.create(
406
- {
407
- max_tokens: 1024,
408
- messages: [{ role: 'user', content: 'Hello, Claude' }],
409
- model: 'claude-3-5-sonnet-latest',
410
- },
411
- { headers: { 'anthropic-version': 'My-Custom-Value' } },
412
- );
413
- ```
414
-
415
- ## Advanced Usage
416
-
417
- ### Accessing raw Response data (e.g., headers)
418
-
419
- The "raw" `Response` returned by `fetch()` can be accessed through the `.asResponse()` method on the `APIPromise` type that all methods return.
420
- This method returns as soon as the headers for a successful response are received and does not consume the response body, so you are free to write custom parsing or streaming logic.
421
-
422
- You can also use the `.withResponse()` method to get the raw `Response` along with the parsed data.
423
- Unlike `.asResponse()` this method consumes the body, returning once it is parsed.
424
-
425
- <!-- prettier-ignore -->
426
- ```ts
427
- const client = new Anthropic();
428
-
429
- const response = await client.messages
430
- .create({
431
- max_tokens: 1024,
432
- messages: [{ role: 'user', content: 'Hello, Claude' }],
433
- model: 'claude-3-5-sonnet-latest',
434
- })
435
- .asResponse();
436
- console.log(response.headers.get('X-My-Header'));
437
- console.log(response.statusText); // access the underlying Response object
438
-
439
- const { data: message, response: raw } = await client.messages
440
- .create({
441
- max_tokens: 1024,
442
- messages: [{ role: 'user', content: 'Hello, Claude' }],
443
- model: 'claude-3-5-sonnet-latest',
444
- })
445
- .withResponse();
446
- console.log(raw.headers.get('X-My-Header'));
447
- console.log(message.content);
448
- ```
449
-
450
- ### Logging
451
-
452
- > [!IMPORTANT]
453
- > All log messages are intended for debugging only. The format and content of log messages
454
- > may change between releases.
455
-
456
- #### Log levels
457
-
458
- The log level can be configured in two ways:
459
-
460
- 1. Via the `ANTHROPIC_LOG` environment variable
461
- 2. Using the `logLevel` client option (overrides the environment variable if set)
462
-
463
- ```ts
464
- import Anthropic from '@anthropic-ai/sdk';
465
-
466
- const client = new Anthropic({
467
- logLevel: 'debug', // Show all log messages
468
- });
469
- ```
470
-
471
- Available log levels, from most to least verbose:
472
-
473
- - `'debug'` - Show debug messages, info, warnings, and errors
474
- - `'info'` - Show info messages, warnings, and errors
475
- - `'warn'` - Show warnings and errors (default)
476
- - `'error'` - Show only errors
477
- - `'off'` - Disable all logging
478
-
479
- At the `'debug'` level, all HTTP requests and responses are logged, including headers and bodies.
480
- Some authentication-related headers are redacted, but sensitive data in request and response bodies
481
- may still be visible.
482
-
483
- #### Custom logger
484
-
485
- By default, this library logs to `globalThis.console`. You can also provide a custom logger.
486
- Most logging libraries are supported, including [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log). If your logger doesn't work, please open an issue.
487
-
488
- When providing a custom logger, the `logLevel` option still controls which messages are emitted, messages
489
- below the configured level will not be sent to your logger.
490
-
491
- ```ts
492
- import Anthropic from '@anthropic-ai/sdk';
493
- import pino from 'pino';
494
-
495
- const logger = pino();
496
-
497
- const client = new Anthropic({
498
- logger: logger.child({ name: 'Anthropic' }),
499
- logLevel: 'debug', // Send all messages to pino, allowing it to filter
500
- });
501
- ```
502
-
503
- ### Making custom/undocumented requests
504
-
505
- This library is typed for convenient access to the documented API. If you need to access undocumented
506
- endpoints, params, or response properties, the library can still be used.
507
-
508
- #### Undocumented endpoints
509
-
510
- To make requests to undocumented endpoints, you can use `client.get`, `client.post`, and other HTTP verbs.
511
- Options on the client, such as retries, will be respected when making these requests.
512
-
513
- ```ts
514
- await client.post('/some/path', {
515
- body: { some_prop: 'foo' },
516
- query: { some_query_arg: 'bar' },
517
- });
518
- ```
519
-
520
- #### Undocumented request params
521
-
522
- To make requests using undocumented parameters, you may use `// @ts-expect-error` on the undocumented
523
- parameter. This library doesn't validate at runtime that the request matches the type, so any extra values you
524
- send will be sent as-is.
525
-
526
- ```ts
527
- client.foo.create({
528
- foo: 'my_param',
529
- bar: 12,
530
- // @ts-expect-error baz is not yet public
531
- baz: 'undocumented option',
532
- });
533
- ```
534
-
535
- For requests with the `GET` verb, any extra params will be in the query, all other requests will send the
536
- extra param in the body.
537
-
538
- If you want to explicitly send an extra argument, you can do so with the `query`, `body`, and `headers` request
539
- options.
540
-
541
- #### Undocumented response properties
542
-
543
- To access undocumented response properties, you may access the response object with `// @ts-expect-error` on
544
- the response object, or cast the response object to the requisite type. Like the request params, we do not
545
- validate or strip extra properties from the response from the API.
546
-
547
- ### Customizing the fetch client
548
-
549
- By default, this library expects a global `fetch` function is defined.
550
-
551
- If you want to use a different `fetch` function, you can either polyfill the global:
552
-
553
- ```ts
554
- import fetch from 'my-fetch';
555
-
556
- globalThis.fetch = fetch;
557
- ```
558
-
559
- Or pass it to the client:
560
-
561
- ```ts
562
- import Anthropic from '@anthropic-ai/sdk';
563
- import fetch from 'my-fetch';
564
-
565
- const client = new Anthropic({ fetch });
566
- ```
567
-
568
- ### Fetch options
569
-
570
- If you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)
571
-
572
- ```ts
573
- import Anthropic from '@anthropic-ai/sdk';
574
-
575
- const client = new Anthropic({
576
- fetchOptions: {
577
- // `RequestInit` options
578
- },
579
- });
580
- ```
581
-
582
- #### Configuring proxies
583
-
584
- To modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy
585
- options to requests:
586
-
587
- <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/node.svg" align="top" width="18" height="21"> **Node** <sup>[[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]</sup>
588
-
589
- ```ts
590
- import Anthropic from '@anthropic-ai/sdk';
591
- import * as undici from 'undici';
592
-
593
- const proxyAgent = new undici.ProxyAgent('http://localhost:8888');
594
- const client = new Anthropic({
595
- fetchOptions: {
596
- dispatcher: proxyAgent,
597
- },
598
- });
599
- ```
600
-
601
- <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/bun.svg" align="top" width="18" height="21"> **Bun** <sup>[[docs](https://bun.sh/guides/http/proxy)]</sup>
602
-
603
- ```ts
604
- import Anthropic from '@anthropic-ai/sdk';
605
-
606
- const client = new Anthropic({
607
- fetchOptions: {
608
- proxy: 'http://localhost:8888',
609
- },
610
- });
611
- ```
612
-
613
- <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/deno.svg" align="top" width="18" height="21"> **Deno** <sup>[[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]</sup>
614
-
615
- ```ts
616
- import Anthropic from 'npm:@anthropic-ai/sdk';
617
-
618
- const httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });
619
- const client = new Anthropic({
620
- fetchOptions: {
621
- client: httpClient,
622
- },
623
- });
624
- ```
625
-
626
- ## Frequently Asked Questions
627
-
628
- ## Semantic versioning
629
-
630
- This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
631
-
632
- 1. Changes that only affect static types, without breaking runtime behavior.
633
- 2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_
634
- 3. Changes that we do not expect to impact the vast majority of users in practice.
635
-
636
- We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
637
-
638
- We are keen for your feedback; please open an [issue](https://www.github.com/anthropics/anthropic-sdk-typescript/issues) with questions, bugs, or suggestions.
639
-
640
- ## Requirements
641
-
642
- TypeScript >= 4.9 is supported.
643
-
644
- The following runtimes are supported:
645
-
646
- - Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
647
- - Deno v1.28.0 or higher.
648
- - Bun 1.0 or later.
649
- - Cloudflare Workers.
650
- - Vercel Edge Runtime.
651
- - Jest 28 or greater with the `"node"` environment (`"jsdom"` is not supported at this time).
652
- - Nitro v2.6 or greater.
653
- - Web browsers: disabled by default to avoid exposing your secret API credentials (see our help center for [best practices](https://support.anthropic.com/en/articles/9767949-api-key-best-practices-keeping-your-keys-safe-and-secure)). Enable browser support by explicitly setting `dangerouslyAllowBrowser` to `true`.
654
-
655
- <details>
656
- <summary><b>More explanation</b></summary>
657
- <h3>Why is this dangerous?</h3>
658
- Enabling the <code>dangerouslyAllowBrowser</code> option can be dangerous because it exposes your secret API credentials in the client-side code. Web browsers are inherently less secure than server environments,
659
- any user with access to the browser can potentially inspect, extract, and misuse these credentials. This could lead to unauthorized access using your credentials and potentially compromise sensitive data or functionality.
660
- <h3>When might this not be dangerous?</h3>
661
- In certain scenarios where enabling browser support might not pose significant risks:
662
- <ul>
663
- <li>Internal Tools: If the application is used solely within a controlled internal environment where the users are trusted, the risk of credential exposure can be mitigated.</li>
664
- <li>Development or debugging purpose: Enabling this feature temporarily might be acceptable, provided the credentials are short-lived, aren't also used in production environments, or are frequently rotated.</li>
665
- </ul>
666
- </details>
667
-
668
- Note that React Native is not supported at this time.
669
-
670
- If you are interested in other runtime environments, please open or upvote an issue on GitHub.
671
-
672
- ## Contributing
673
-
674
- See [the contributing documentation](./CONTRIBUTING.md).
@@ -1,3 +0,0 @@
1
- declare const partialParse: (input: string) => unknown;
2
- export { partialParse };
3
- //# sourceMappingURL=parser.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parser.d.mts","sourceRoot":"","sources":["../../src/_vendor/partial-json-parser/parser.ts"],"names":[],"mappings":"AAKA,QAAA,MAgQE,YAAY,GAAI,OAAO,MAAM,KAAG,OAAgE,CAAC;AAEnG,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- declare const partialParse: (input: string) => unknown;
2
- export { partialParse };
3
- //# sourceMappingURL=parser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../src/_vendor/partial-json-parser/parser.ts"],"names":[],"mappings":"AAKA,QAAA,MAgQE,YAAY,GAAI,OAAO,MAAM,KAAG,OAAgE,CAAC;AAEnG,OAAO,EAAE,YAAY,EAAE,CAAC"}