@adaptic/maestro 1.0.1 → 1.1.1

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 (604) hide show
  1. package/.claude/commands/init-maestro.md +292 -29
  2. package/.gitignore +29 -0
  3. package/README.md +220 -344
  4. package/bin/maestro.mjs +462 -7
  5. package/lib/action-executor.js +225 -0
  6. package/lib/index.js +16 -0
  7. package/lib/singleton.js +116 -0
  8. package/lib/tool-definitions.js +510 -0
  9. package/package.json +12 -2
  10. package/scaffold/CLAUDE.md +207 -0
  11. package/scripts/daemon/maestro-daemon.mjs +37 -0
  12. package/scripts/local-triggers/generate-plists.sh +235 -0
  13. package/scripts/local-triggers/install-all.sh +18 -12
  14. package/scripts/setup/init-agent.sh +58 -27
  15. package/scripts/slack-events-server.mjs +10 -0
  16. package/scripts/huddle/node_modules/.package-lock.json +0 -50
  17. package/scripts/huddle/node_modules/@anthropic-ai/sdk/CHANGELOG.md +0 -1677
  18. package/scripts/huddle/node_modules/@anthropic-ai/sdk/LICENSE +0 -8
  19. package/scripts/huddle/node_modules/@anthropic-ai/sdk/README.md +0 -674
  20. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts +0 -3
  21. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts.map +0 -1
  22. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts +0 -3
  23. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts.map +0 -1
  24. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js +0 -226
  25. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js.map +0 -1
  26. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs +0 -223
  27. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs.map +0 -1
  28. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.mts +0 -2
  29. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.mts.map +0 -1
  30. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.ts +0 -2
  31. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.ts.map +0 -1
  32. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.js +0 -6
  33. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.js.map +0 -1
  34. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.mjs +0 -2
  35. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.mjs.map +0 -1
  36. package/scripts/huddle/node_modules/@anthropic-ai/sdk/bin/cli +0 -53
  37. package/scripts/huddle/node_modules/@anthropic-ai/sdk/bin/migration-config.json +0 -7
  38. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.mts +0 -225
  39. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.mts.map +0 -1
  40. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.ts +0 -225
  41. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.ts.map +0 -1
  42. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.js +0 -536
  43. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.js.map +0 -1
  44. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.mjs +0 -531
  45. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.mjs.map +0 -1
  46. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts +0 -49
  47. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts.map +0 -1
  48. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts +0 -49
  49. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts.map +0 -1
  50. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.js +0 -76
  51. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.js.map +0 -1
  52. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.mjs +0 -72
  53. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.mjs.map +0 -1
  54. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.mts +0 -47
  55. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.mts.map +0 -1
  56. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.ts +0 -47
  57. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.ts.map +0 -1
  58. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.js +0 -114
  59. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.js.map +0 -1
  60. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.mjs +0 -98
  61. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.mjs.map +0 -1
  62. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.mts +0 -63
  63. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.mts.map +0 -1
  64. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.ts +0 -63
  65. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.ts.map +0 -1
  66. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.js +0 -123
  67. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.js.map +0 -1
  68. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.mjs +0 -117
  69. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.mjs.map +0 -1
  70. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.mts +0 -6
  71. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.mts.map +0 -1
  72. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.ts +0 -6
  73. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.ts.map +0 -1
  74. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.js +0 -11
  75. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.js.map +0 -1
  76. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.mjs +0 -7
  77. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.mjs.map +0 -1
  78. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.mts +0 -31
  79. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.mts.map +0 -1
  80. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.ts +0 -31
  81. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.ts.map +0 -1
  82. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.js +0 -282
  83. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.js.map +0 -1
  84. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.mjs +0 -277
  85. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.mjs.map +0 -1
  86. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.mts +0 -3
  87. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.mts.map +0 -1
  88. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.ts +0 -3
  89. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.ts.map +0 -1
  90. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.js +0 -6
  91. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.js.map +0 -1
  92. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.mjs +0 -2
  93. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.mjs.map +0 -1
  94. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.mts +0 -2
  95. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.mts.map +0 -1
  96. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.ts +0 -2
  97. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.ts.map +0 -1
  98. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.js +0 -6
  99. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.js.map +0 -1
  100. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.mjs +0 -2
  101. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.mjs.map +0 -1
  102. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.mts +0 -7
  103. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.mts.map +0 -1
  104. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.ts +0 -7
  105. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.ts.map +0 -1
  106. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.js +0 -35
  107. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.js.map +0 -1
  108. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.mjs +0 -8
  109. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.mjs.map +0 -1
  110. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts +0 -73
  111. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts.map +0 -1
  112. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts +0 -73
  113. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts.map +0 -1
  114. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.js +0 -4
  115. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.js.map +0 -1
  116. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs +0 -3
  117. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs.map +0 -1
  118. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.mts +0 -5
  119. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.mts.map +0 -1
  120. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.ts +0 -5
  121. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.ts.map +0 -1
  122. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.js +0 -15
  123. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.js.map +0 -1
  124. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.mjs +0 -12
  125. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.mjs.map +0 -1
  126. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts +0 -10
  127. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts.map +0 -1
  128. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts +0 -10
  129. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts.map +0 -1
  130. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js +0 -39
  131. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js.map +0 -1
  132. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs +0 -35
  133. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs.map +0 -1
  134. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts +0 -17
  135. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts.map +0 -1
  136. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts +0 -17
  137. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts.map +0 -1
  138. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.js +0 -113
  139. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.js.map +0 -1
  140. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs +0 -108
  141. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs.map +0 -1
  142. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts +0 -15
  143. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts.map +0 -1
  144. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts +0 -15
  145. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts.map +0 -1
  146. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.js +0 -162
  147. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.js.map +0 -1
  148. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs +0 -157
  149. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs.map +0 -1
  150. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.mts +0 -3
  151. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.mts.map +0 -1
  152. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.ts +0 -3
  153. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.ts.map +0 -1
  154. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.js +0 -41
  155. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.js.map +0 -1
  156. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.mjs +0 -36
  157. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.mjs.map +0 -1
  158. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.mts +0 -22
  159. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.mts.map +0 -1
  160. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.ts +0 -22
  161. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.ts.map +0 -1
  162. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.js +0 -79
  163. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.js.map +0 -1
  164. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.mjs +0 -74
  165. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.mjs.map +0 -1
  166. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.mts +0 -17
  167. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.mts.map +0 -1
  168. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.ts +0 -17
  169. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.ts.map +0 -1
  170. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.js +0 -55
  171. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.js.map +0 -1
  172. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.mjs +0 -51
  173. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.mjs.map +0 -1
  174. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts +0 -34
  175. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts.map +0 -1
  176. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts +0 -34
  177. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts.map +0 -1
  178. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.js +0 -14
  179. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.js.map +0 -1
  180. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.mjs +0 -10
  181. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.mjs.map +0 -1
  182. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts +0 -28
  183. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts +0 -28
  184. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.mts +0 -20
  185. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.mts.map +0 -1
  186. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.ts +0 -20
  187. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.ts.map +0 -1
  188. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.js +0 -92
  189. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.js.map +0 -1
  190. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.mjs +0 -85
  191. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.mjs.map +0 -1
  192. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts +0 -8
  193. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts.map +0 -1
  194. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts +0 -8
  195. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts.map +0 -1
  196. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.js +0 -38
  197. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.js.map +0 -1
  198. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs +0 -35
  199. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs.map +0 -1
  200. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts +0 -45
  201. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts.map +0 -1
  202. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts +0 -45
  203. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts.map +0 -1
  204. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.js +0 -96
  205. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.js.map +0 -1
  206. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.mjs +0 -93
  207. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.mjs.map +0 -1
  208. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/tslib.js +0 -81
  209. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/tslib.mjs +0 -17
  210. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.mts +0 -67
  211. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.mts.map +0 -1
  212. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.ts +0 -67
  213. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.ts.map +0 -1
  214. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.js +0 -4
  215. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.js.map +0 -1
  216. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.mjs +0 -3
  217. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.mjs.map +0 -1
  218. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts +0 -42
  219. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts.map +0 -1
  220. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts +0 -42
  221. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts.map +0 -1
  222. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.js +0 -146
  223. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.js.map +0 -1
  224. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.mjs +0 -136
  225. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.mjs.map +0 -1
  226. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts +0 -3
  227. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts.map +0 -1
  228. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts +0 -3
  229. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts.map +0 -1
  230. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.js +0 -38
  231. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.js.map +0 -1
  232. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs +0 -33
  233. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs.map +0 -1
  234. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts +0 -4
  235. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts.map +0 -1
  236. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts +0 -4
  237. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts.map +0 -1
  238. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js +0 -31
  239. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js.map +0 -1
  240. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs +0 -26
  241. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs.map +0 -1
  242. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts +0 -9
  243. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts.map +0 -1
  244. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts +0 -9
  245. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts.map +0 -1
  246. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.js +0 -22
  247. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.js.map +0 -1
  248. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs +0 -18
  249. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs.map +0 -1
  250. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts +0 -37
  251. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts.map +0 -1
  252. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts +0 -37
  253. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts.map +0 -1
  254. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.js +0 -86
  255. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.js.map +0 -1
  256. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs +0 -80
  257. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs.map +0 -1
  258. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts +0 -15
  259. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts.map +0 -1
  260. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts +0 -15
  261. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts.map +0 -1
  262. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.js +0 -58
  263. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.js.map +0 -1
  264. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs +0 -53
  265. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs.map +0 -1
  266. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts +0 -2
  267. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts.map +0 -1
  268. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts +0 -2
  269. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts.map +0 -1
  270. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js +0 -7
  271. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js.map +0 -1
  272. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs +0 -3
  273. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs.map +0 -1
  274. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts +0 -5
  275. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts.map +0 -1
  276. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts +0 -5
  277. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts.map +0 -1
  278. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js +0 -19
  279. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js.map +0 -1
  280. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs +0 -15
  281. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs.map +0 -1
  282. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts +0 -16
  283. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts.map +0 -1
  284. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts +0 -16
  285. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts.map +0 -1
  286. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.js +0 -109
  287. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.js.map +0 -1
  288. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs +0 -92
  289. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs.map +0 -1
  290. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.mts +0 -7
  291. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.mts.map +0 -1
  292. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.ts +0 -7
  293. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.ts.map +0 -1
  294. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.js +0 -11
  295. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.js.map +0 -1
  296. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.mjs +0 -8
  297. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.mjs.map +0 -1
  298. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts +0 -114
  299. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts.map +0 -1
  300. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts +0 -114
  301. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts.map +0 -1
  302. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js +0 -553
  303. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js.map +0 -1
  304. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs +0 -549
  305. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs.map +0 -1
  306. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts +0 -114
  307. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts.map +0 -1
  308. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts +0 -114
  309. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts.map +0 -1
  310. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +0 -553
  311. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.js.map +0 -1
  312. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs +0 -549
  313. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs.map +0 -1
  314. package/scripts/huddle/node_modules/@anthropic-ai/sdk/package.json +0 -185
  315. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.mts +0 -2
  316. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.mts.map +0 -1
  317. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.ts +0 -2
  318. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.ts.map +0 -1
  319. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.js +0 -6
  320. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.js.map +0 -1
  321. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.mjs +0 -2
  322. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.mjs.map +0 -1
  323. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.mts +0 -2
  324. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.mts.map +0 -1
  325. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.ts +0 -2
  326. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.ts.map +0 -1
  327. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.js +0 -6
  328. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.js.map +0 -1
  329. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.mjs +0 -2
  330. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.mjs.map +0 -1
  331. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts +0 -61
  332. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts.map +0 -1
  333. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts +0 -61
  334. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts.map +0 -1
  335. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.js +0 -25
  336. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.js.map +0 -1
  337. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs +0 -20
  338. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs.map +0 -1
  339. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts +0 -151
  340. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts.map +0 -1
  341. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts +0 -151
  342. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts.map +0 -1
  343. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.js +0 -122
  344. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.js.map +0 -1
  345. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs +0 -118
  346. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs.map +0 -1
  347. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts +0 -5
  348. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts.map +0 -1
  349. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts +0 -5
  350. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts.map +0 -1
  351. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.js +0 -13
  352. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.js.map +0 -1
  353. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs +0 -6
  354. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs.map +0 -1
  355. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts +0 -343
  356. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts.map +0 -1
  357. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts +0 -343
  358. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts.map +0 -1
  359. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js +0 -204
  360. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js.map +0 -1
  361. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs +0 -200
  362. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs.map +0 -1
  363. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts +0 -3
  364. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts.map +0 -1
  365. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts +0 -3
  366. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts.map +0 -1
  367. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js +0 -9
  368. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js.map +0 -1
  369. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs +0 -4
  370. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs.map +0 -1
  371. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts +0 -1561
  372. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts.map +0 -1
  373. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts +0 -1561
  374. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts.map +0 -1
  375. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js +0 -86
  376. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js.map +0 -1
  377. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs +0 -81
  378. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs.map +0 -1
  379. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts +0 -2
  380. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts.map +0 -1
  381. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts +0 -2
  382. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts.map +0 -1
  383. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.js +0 -6
  384. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.js.map +0 -1
  385. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs +0 -3
  386. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs.map +0 -1
  387. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts +0 -74
  388. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts.map +0 -1
  389. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts +0 -74
  390. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts.map +0 -1
  391. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.js +0 -60
  392. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.js.map +0 -1
  393. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs +0 -56
  394. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs.map +0 -1
  395. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.mts +0 -2
  396. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.mts.map +0 -1
  397. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.ts +0 -2
  398. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.ts.map +0 -1
  399. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.js +0 -6
  400. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.js.map +0 -1
  401. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.mjs +0 -3
  402. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.mjs.map +0 -1
  403. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.mts +0 -183
  404. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.mts.map +0 -1
  405. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.ts +0 -183
  406. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.ts.map +0 -1
  407. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.js +0 -23
  408. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.js.map +0 -1
  409. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.mjs +0 -19
  410. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.mjs.map +0 -1
  411. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.mts +0 -6
  412. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.mts.map +0 -1
  413. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.ts +0 -6
  414. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.ts.map +0 -1
  415. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.js +0 -15
  416. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.js.map +0 -1
  417. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.mjs +0 -7
  418. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.mjs.map +0 -1
  419. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts +0 -304
  420. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts.map +0 -1
  421. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts +0 -304
  422. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts.map +0 -1
  423. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.js +0 -153
  424. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.js.map +0 -1
  425. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs +0 -149
  426. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs.map +0 -1
  427. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts +0 -3
  428. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts.map +0 -1
  429. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts +0 -3
  430. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts.map +0 -1
  431. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.js +0 -9
  432. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.js.map +0 -1
  433. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs +0 -4
  434. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs.map +0 -1
  435. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts +0 -1264
  436. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts.map +0 -1
  437. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts +0 -1264
  438. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts.map +0 -1
  439. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.js +0 -72
  440. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.js.map +0 -1
  441. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs +0 -67
  442. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs.map +0 -1
  443. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.mts +0 -2
  444. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.mts.map +0 -1
  445. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.ts +0 -2
  446. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.ts.map +0 -1
  447. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.js +0 -6
  448. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.js.map +0 -1
  449. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.mjs +0 -3
  450. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.mjs.map +0 -1
  451. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.mts +0 -59
  452. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.mts.map +0 -1
  453. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.ts +0 -59
  454. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.ts.map +0 -1
  455. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.js +0 -45
  456. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.js.map +0 -1
  457. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.mjs +0 -41
  458. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.mjs.map +0 -1
  459. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.mts +0 -42
  460. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.mts.map +0 -1
  461. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.ts +0 -42
  462. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.ts.map +0 -1
  463. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.js +0 -4
  464. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.js.map +0 -1
  465. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.mjs +0 -3
  466. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.mjs.map +0 -1
  467. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts +0 -2
  468. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts.map +0 -1
  469. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts +0 -2
  470. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts.map +0 -1
  471. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.js +0 -4
  472. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.js.map +0 -1
  473. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.mjs +0 -3
  474. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.mjs.map +0 -1
  475. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.mts +0 -2
  476. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.mts.map +0 -1
  477. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.ts +0 -2
  478. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.ts.map +0 -1
  479. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.js +0 -5
  480. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.js.map +0 -1
  481. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.mjs +0 -2
  482. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.mjs.map +0 -1
  483. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/README.md +0 -3
  484. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/parser.ts +0 -264
  485. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/api-promise.ts +0 -2
  486. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/client.ts +0 -1070
  487. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/README.md +0 -3
  488. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/api-promise.ts +0 -101
  489. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/error.ts +0 -133
  490. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/pagination.ts +0 -201
  491. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/resource.ts +0 -11
  492. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/streaming.ts +0 -331
  493. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/uploads.ts +0 -2
  494. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/error.ts +0 -2
  495. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/index.ts +0 -23
  496. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/README.md +0 -3
  497. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/builtin-types.ts +0 -93
  498. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/constants.ts +0 -12
  499. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/decoders/jsonl.ts +0 -48
  500. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/decoders/line.ts +0 -135
  501. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/detect-platform.ts +0 -196
  502. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/errors.ts +0 -33
  503. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/headers.ts +0 -99
  504. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/parse.ts +0 -84
  505. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/request-options.ts +0 -39
  506. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/shim-types.d.ts +0 -28
  507. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/shims.ts +0 -107
  508. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/stream-utils.ts +0 -32
  509. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/to-file.ts +0 -159
  510. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/types.ts +0 -92
  511. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/uploads.ts +0 -193
  512. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/base64.ts +0 -40
  513. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/bytes.ts +0 -32
  514. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/env.ts +0 -18
  515. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/log.ts +0 -127
  516. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/path.ts +0 -65
  517. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/sleep.ts +0 -3
  518. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/uuid.ts +0 -17
  519. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/values.ts +0 -102
  520. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils.ts +0 -8
  521. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/lib/.keep +0 -4
  522. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/lib/BetaMessageStream.ts +0 -683
  523. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/lib/MessageStream.ts +0 -684
  524. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/pagination.ts +0 -2
  525. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resource.ts +0 -2
  526. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/beta.ts +0 -380
  527. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/files.ts +0 -258
  528. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/index.ts +0 -148
  529. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/batches.ts +0 -502
  530. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/index.ts +0 -135
  531. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/messages.ts +0 -2249
  532. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages.ts +0 -3
  533. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/models.ts +0 -118
  534. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta.ts +0 -3
  535. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +0 -231
  536. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/index.ts +0 -121
  537. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages/batches.ts +0 -396
  538. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages/index.ts +0 -110
  539. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages/messages.ts +0 -1783
  540. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages.ts +0 -3
  541. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/models.ts +0 -103
  542. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/shared.ts +0 -72
  543. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/top-level.ts +0 -3
  544. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources.ts +0 -1
  545. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/streaming.ts +0 -2
  546. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/tsconfig.json +0 -11
  547. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/uploads.ts +0 -2
  548. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/version.ts +0 -1
  549. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.mts +0 -2
  550. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.mts.map +0 -1
  551. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.ts +0 -2
  552. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.ts.map +0 -1
  553. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.js +0 -6
  554. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.js.map +0 -1
  555. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.mjs +0 -2
  556. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.mjs.map +0 -1
  557. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.mts +0 -2
  558. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.mts.map +0 -1
  559. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.ts +0 -2
  560. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.ts.map +0 -1
  561. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.js +0 -6
  562. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.js.map +0 -1
  563. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.mjs +0 -2
  564. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.mjs.map +0 -1
  565. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.mts +0 -2
  566. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.mts.map +0 -1
  567. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.ts +0 -2
  568. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.ts.map +0 -1
  569. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.js +0 -5
  570. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.js.map +0 -1
  571. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.mjs +0 -2
  572. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.mjs.map +0 -1
  573. package/scripts/huddle/node_modules/dotenv/CHANGELOG.md +0 -520
  574. package/scripts/huddle/node_modules/dotenv/LICENSE +0 -23
  575. package/scripts/huddle/node_modules/dotenv/README-es.md +0 -411
  576. package/scripts/huddle/node_modules/dotenv/README.md +0 -645
  577. package/scripts/huddle/node_modules/dotenv/SECURITY.md +0 -1
  578. package/scripts/huddle/node_modules/dotenv/config.d.ts +0 -1
  579. package/scripts/huddle/node_modules/dotenv/config.js +0 -9
  580. package/scripts/huddle/node_modules/dotenv/lib/cli-options.js +0 -17
  581. package/scripts/huddle/node_modules/dotenv/lib/env-options.js +0 -28
  582. package/scripts/huddle/node_modules/dotenv/lib/main.d.ts +0 -162
  583. package/scripts/huddle/node_modules/dotenv/lib/main.js +0 -386
  584. package/scripts/huddle/node_modules/dotenv/package.json +0 -62
  585. package/scripts/huddle/node_modules/ws/LICENSE +0 -20
  586. package/scripts/huddle/node_modules/ws/README.md +0 -548
  587. package/scripts/huddle/node_modules/ws/browser.js +0 -8
  588. package/scripts/huddle/node_modules/ws/index.js +0 -22
  589. package/scripts/huddle/node_modules/ws/lib/buffer-util.js +0 -131
  590. package/scripts/huddle/node_modules/ws/lib/constants.js +0 -19
  591. package/scripts/huddle/node_modules/ws/lib/event-target.js +0 -292
  592. package/scripts/huddle/node_modules/ws/lib/extension.js +0 -203
  593. package/scripts/huddle/node_modules/ws/lib/limiter.js +0 -55
  594. package/scripts/huddle/node_modules/ws/lib/permessage-deflate.js +0 -528
  595. package/scripts/huddle/node_modules/ws/lib/receiver.js +0 -706
  596. package/scripts/huddle/node_modules/ws/lib/sender.js +0 -602
  597. package/scripts/huddle/node_modules/ws/lib/stream.js +0 -161
  598. package/scripts/huddle/node_modules/ws/lib/subprotocol.js +0 -62
  599. package/scripts/huddle/node_modules/ws/lib/validation.js +0 -152
  600. package/scripts/huddle/node_modules/ws/lib/websocket-server.js +0 -554
  601. package/scripts/huddle/node_modules/ws/lib/websocket.js +0 -1393
  602. package/scripts/huddle/node_modules/ws/package.json +0 -70
  603. package/scripts/huddle/node_modules/ws/wrapper.mjs +0 -21
  604. package/scripts/local-triggers/plists/ai.adaptic.slack-events-server.plist +0 -45
@@ -1,343 +0,0 @@
1
- import { APIResource } from "../../../core/resource.mjs";
2
- import * as BetaAPI from "../beta.mjs";
3
- import { APIPromise } from "../../../core/api-promise.mjs";
4
- import * as BetaMessagesAPI from "./messages.mjs";
5
- import { Page, type PageParams, PagePromise } from "../../../core/pagination.mjs";
6
- import { RequestOptions } from "../../../internal/request-options.mjs";
7
- import { JSONLDecoder } from "../../../internal/decoders/jsonl.mjs";
8
- export declare class Batches extends APIResource {
9
- /**
10
- * Send a batch of Message creation requests.
11
- *
12
- * The Message Batches API can be used to process multiple Messages API requests at
13
- * once. Once a Message Batch is created, it begins processing immediately. Batches
14
- * can take up to 24 hours to complete.
15
- *
16
- * Learn more about the Message Batches API in our
17
- * [user guide](/en/docs/build-with-claude/batch-processing)
18
- *
19
- * @example
20
- * ```ts
21
- * const betaMessageBatch =
22
- * await client.beta.messages.batches.create({
23
- * requests: [
24
- * {
25
- * custom_id: 'my-custom-id-1',
26
- * params: {
27
- * max_tokens: 1024,
28
- * messages: [
29
- * { content: 'Hello, world', role: 'user' },
30
- * ],
31
- * model: 'claude-3-7-sonnet-20250219',
32
- * },
33
- * },
34
- * ],
35
- * });
36
- * ```
37
- */
38
- create(params: BatchCreateParams, options?: RequestOptions): APIPromise<BetaMessageBatch>;
39
- /**
40
- * This endpoint is idempotent and can be used to poll for Message Batch
41
- * completion. To access the results of a Message Batch, make a request to the
42
- * `results_url` field in the response.
43
- *
44
- * Learn more about the Message Batches API in our
45
- * [user guide](/en/docs/build-with-claude/batch-processing)
46
- *
47
- * @example
48
- * ```ts
49
- * const betaMessageBatch =
50
- * await client.beta.messages.batches.retrieve(
51
- * 'message_batch_id',
52
- * );
53
- * ```
54
- */
55
- retrieve(messageBatchID: string, params?: BatchRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<BetaMessageBatch>;
56
- /**
57
- * List all Message Batches within a Workspace. Most recently created batches are
58
- * returned first.
59
- *
60
- * Learn more about the Message Batches API in our
61
- * [user guide](/en/docs/build-with-claude/batch-processing)
62
- *
63
- * @example
64
- * ```ts
65
- * // Automatically fetches more pages as needed.
66
- * for await (const betaMessageBatch of client.beta.messages.batches.list()) {
67
- * // ...
68
- * }
69
- * ```
70
- */
71
- list(params?: BatchListParams | null | undefined, options?: RequestOptions): PagePromise<BetaMessageBatchesPage, BetaMessageBatch>;
72
- /**
73
- * Delete a Message Batch.
74
- *
75
- * Message Batches can only be deleted once they've finished processing. If you'd
76
- * like to delete an in-progress batch, you must first cancel it.
77
- *
78
- * Learn more about the Message Batches API in our
79
- * [user guide](/en/docs/build-with-claude/batch-processing)
80
- *
81
- * @example
82
- * ```ts
83
- * const betaDeletedMessageBatch =
84
- * await client.beta.messages.batches.delete(
85
- * 'message_batch_id',
86
- * );
87
- * ```
88
- */
89
- delete(messageBatchID: string, params?: BatchDeleteParams | null | undefined, options?: RequestOptions): APIPromise<BetaDeletedMessageBatch>;
90
- /**
91
- * Batches may be canceled any time before processing ends. Once cancellation is
92
- * initiated, the batch enters a `canceling` state, at which time the system may
93
- * complete any in-progress, non-interruptible requests before finalizing
94
- * cancellation.
95
- *
96
- * The number of canceled requests is specified in `request_counts`. To determine
97
- * which requests were canceled, check the individual results within the batch.
98
- * Note that cancellation may not result in any canceled requests if they were
99
- * non-interruptible.
100
- *
101
- * Learn more about the Message Batches API in our
102
- * [user guide](/en/docs/build-with-claude/batch-processing)
103
- *
104
- * @example
105
- * ```ts
106
- * const betaMessageBatch =
107
- * await client.beta.messages.batches.cancel(
108
- * 'message_batch_id',
109
- * );
110
- * ```
111
- */
112
- cancel(messageBatchID: string, params?: BatchCancelParams | null | undefined, options?: RequestOptions): APIPromise<BetaMessageBatch>;
113
- /**
114
- * Streams the results of a Message Batch as a `.jsonl` file.
115
- *
116
- * Each line in the file is a JSON object containing the result of a single request
117
- * in the Message Batch. Results are not guaranteed to be in the same order as
118
- * requests. Use the `custom_id` field to match results to requests.
119
- *
120
- * Learn more about the Message Batches API in our
121
- * [user guide](/en/docs/build-with-claude/batch-processing)
122
- *
123
- * @example
124
- * ```ts
125
- * const betaMessageBatchIndividualResponse =
126
- * await client.beta.messages.batches.results(
127
- * 'message_batch_id',
128
- * );
129
- * ```
130
- */
131
- results(messageBatchID: string, params?: BatchResultsParams | undefined, options?: RequestOptions): Promise<JSONLDecoder<BetaMessageBatchIndividualResponse>>;
132
- }
133
- export type BetaMessageBatchesPage = Page<BetaMessageBatch>;
134
- export interface BetaDeletedMessageBatch {
135
- /**
136
- * ID of the Message Batch.
137
- */
138
- id: string;
139
- /**
140
- * Deleted object type.
141
- *
142
- * For Message Batches, this is always `"message_batch_deleted"`.
143
- */
144
- type: 'message_batch_deleted';
145
- }
146
- export interface BetaMessageBatch {
147
- /**
148
- * Unique object identifier.
149
- *
150
- * The format and length of IDs may change over time.
151
- */
152
- id: string;
153
- /**
154
- * RFC 3339 datetime string representing the time at which the Message Batch was
155
- * archived and its results became unavailable.
156
- */
157
- archived_at: string | null;
158
- /**
159
- * RFC 3339 datetime string representing the time at which cancellation was
160
- * initiated for the Message Batch. Specified only if cancellation was initiated.
161
- */
162
- cancel_initiated_at: string | null;
163
- /**
164
- * RFC 3339 datetime string representing the time at which the Message Batch was
165
- * created.
166
- */
167
- created_at: string;
168
- /**
169
- * RFC 3339 datetime string representing the time at which processing for the
170
- * Message Batch ended. Specified only once processing ends.
171
- *
172
- * Processing ends when every request in a Message Batch has either succeeded,
173
- * errored, canceled, or expired.
174
- */
175
- ended_at: string | null;
176
- /**
177
- * RFC 3339 datetime string representing the time at which the Message Batch will
178
- * expire and end processing, which is 24 hours after creation.
179
- */
180
- expires_at: string;
181
- /**
182
- * Processing status of the Message Batch.
183
- */
184
- processing_status: 'in_progress' | 'canceling' | 'ended';
185
- /**
186
- * Tallies requests within the Message Batch, categorized by their status.
187
- *
188
- * Requests start as `processing` and move to one of the other statuses only once
189
- * processing of the entire batch ends. The sum of all values always matches the
190
- * total number of requests in the batch.
191
- */
192
- request_counts: BetaMessageBatchRequestCounts;
193
- /**
194
- * URL to a `.jsonl` file containing the results of the Message Batch requests.
195
- * Specified only once processing ends.
196
- *
197
- * Results in the file are not guaranteed to be in the same order as requests. Use
198
- * the `custom_id` field to match results to requests.
199
- */
200
- results_url: string | null;
201
- /**
202
- * Object type.
203
- *
204
- * For Message Batches, this is always `"message_batch"`.
205
- */
206
- type: 'message_batch';
207
- }
208
- export interface BetaMessageBatchCanceledResult {
209
- type: 'canceled';
210
- }
211
- export interface BetaMessageBatchErroredResult {
212
- error: BetaAPI.BetaErrorResponse;
213
- type: 'errored';
214
- }
215
- export interface BetaMessageBatchExpiredResult {
216
- type: 'expired';
217
- }
218
- /**
219
- * This is a single line in the response `.jsonl` file and does not represent the
220
- * response as a whole.
221
- */
222
- export interface BetaMessageBatchIndividualResponse {
223
- /**
224
- * Developer-provided ID created for each request in a Message Batch. Useful for
225
- * matching results to requests, as results may be given out of request order.
226
- *
227
- * Must be unique for each request within the Message Batch.
228
- */
229
- custom_id: string;
230
- /**
231
- * Processing result for this request.
232
- *
233
- * Contains a Message output if processing was successful, an error response if
234
- * processing failed, or the reason why processing was not attempted, such as
235
- * cancellation or expiration.
236
- */
237
- result: BetaMessageBatchResult;
238
- }
239
- export interface BetaMessageBatchRequestCounts {
240
- /**
241
- * Number of requests in the Message Batch that have been canceled.
242
- *
243
- * This is zero until processing of the entire Message Batch has ended.
244
- */
245
- canceled: number;
246
- /**
247
- * Number of requests in the Message Batch that encountered an error.
248
- *
249
- * This is zero until processing of the entire Message Batch has ended.
250
- */
251
- errored: number;
252
- /**
253
- * Number of requests in the Message Batch that have expired.
254
- *
255
- * This is zero until processing of the entire Message Batch has ended.
256
- */
257
- expired: number;
258
- /**
259
- * Number of requests in the Message Batch that are processing.
260
- */
261
- processing: number;
262
- /**
263
- * Number of requests in the Message Batch that have completed successfully.
264
- *
265
- * This is zero until processing of the entire Message Batch has ended.
266
- */
267
- succeeded: number;
268
- }
269
- /**
270
- * Processing result for this request.
271
- *
272
- * Contains a Message output if processing was successful, an error response if
273
- * processing failed, or the reason why processing was not attempted, such as
274
- * cancellation or expiration.
275
- */
276
- export type BetaMessageBatchResult = BetaMessageBatchSucceededResult | BetaMessageBatchErroredResult | BetaMessageBatchCanceledResult | BetaMessageBatchExpiredResult;
277
- export interface BetaMessageBatchSucceededResult {
278
- message: BetaMessagesAPI.BetaMessage;
279
- type: 'succeeded';
280
- }
281
- export interface BatchCreateParams {
282
- /**
283
- * Body param: List of requests for prompt completion. Each is an individual
284
- * request to create a Message.
285
- */
286
- requests: Array<BatchCreateParams.Request>;
287
- /**
288
- * Header param: Optional header to specify the beta version(s) you want to use.
289
- */
290
- betas?: Array<BetaAPI.AnthropicBeta>;
291
- }
292
- export declare namespace BatchCreateParams {
293
- interface Request {
294
- /**
295
- * Developer-provided ID created for each request in a Message Batch. Useful for
296
- * matching results to requests, as results may be given out of request order.
297
- *
298
- * Must be unique for each request within the Message Batch.
299
- */
300
- custom_id: string;
301
- /**
302
- * Messages API creation parameters for the individual request.
303
- *
304
- * See the [Messages API reference](/en/api/messages) for full documentation on
305
- * available parameters.
306
- */
307
- params: Omit<BetaMessagesAPI.MessageCreateParamsNonStreaming, 'betas'>;
308
- }
309
- }
310
- export interface BatchRetrieveParams {
311
- /**
312
- * Optional header to specify the beta version(s) you want to use.
313
- */
314
- betas?: Array<BetaAPI.AnthropicBeta>;
315
- }
316
- export interface BatchListParams extends PageParams {
317
- /**
318
- * Header param: Optional header to specify the beta version(s) you want to use.
319
- */
320
- betas?: Array<BetaAPI.AnthropicBeta>;
321
- }
322
- export interface BatchDeleteParams {
323
- /**
324
- * Optional header to specify the beta version(s) you want to use.
325
- */
326
- betas?: Array<BetaAPI.AnthropicBeta>;
327
- }
328
- export interface BatchCancelParams {
329
- /**
330
- * Optional header to specify the beta version(s) you want to use.
331
- */
332
- betas?: Array<BetaAPI.AnthropicBeta>;
333
- }
334
- export interface BatchResultsParams {
335
- /**
336
- * Optional header to specify the beta version(s) you want to use.
337
- */
338
- betas?: Array<BetaAPI.AnthropicBeta>;
339
- }
340
- export declare namespace Batches {
341
- export { type BetaDeletedMessageBatch as BetaDeletedMessageBatch, type BetaMessageBatch as BetaMessageBatch, type BetaMessageBatchCanceledResult as BetaMessageBatchCanceledResult, type BetaMessageBatchErroredResult as BetaMessageBatchErroredResult, type BetaMessageBatchExpiredResult as BetaMessageBatchExpiredResult, type BetaMessageBatchIndividualResponse as BetaMessageBatchIndividualResponse, type BetaMessageBatchRequestCounts as BetaMessageBatchRequestCounts, type BetaMessageBatchResult as BetaMessageBatchResult, type BetaMessageBatchSucceededResult as BetaMessageBatchSucceededResult, type BetaMessageBatchesPage as BetaMessageBatchesPage, type BatchCreateParams as BatchCreateParams, type BatchRetrieveParams as BatchRetrieveParams, type BatchListParams as BatchListParams, type BatchDeleteParams as BatchDeleteParams, type BatchCancelParams as BatchCancelParams, type BatchResultsParams as BatchResultsParams, };
342
- }
343
- //# sourceMappingURL=batches.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"batches.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/messages/batches.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,KAAK,eAAe;OACpB,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,WAAW,EAAE;OAEtC,EAAE,cAAc,EAAE;OAClB,EAAE,YAAY,EAAE;AAIvB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAYzF;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CACN,cAAc,EAAE,MAAM,EACtB,MAAM,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAW/B;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,MAAM,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,sBAAsB,EAAE,gBAAgB,CAAC;IAYxD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,MAAM,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAWtC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,MAAM,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAW/B;;;;;;;;;;;;;;;;;OAiBG;IACG,OAAO,CACX,cAAc,EAAE,MAAM,EACtB,MAAM,GAAE,kBAAkB,GAAG,SAAc,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,YAAY,CAAC,kCAAkC,CAAC,CAAC;CA0B7D;AAED,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,gBAAgB,CAAC,CAAC;AAE5D,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,IAAI,EAAE,uBAAuB,CAAC;CAC/B;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;;OAGG;IACH,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnC;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,iBAAiB,EAAE,aAAa,GAAG,WAAW,GAAG,OAAO,CAAC;IAEzD;;;;;;OAMG;IACH,cAAc,EAAE,6BAA6B,CAAC;IAE9C;;;;;;OAMG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;;;OAIG;IACH,IAAI,EAAE,eAAe,CAAC;CACvB;AAED,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,OAAO,CAAC,iBAAiB,CAAC;IAEjC,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,SAAS,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,kCAAkC;IACjD;;;;;OAKG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,MAAM,EAAE,sBAAsB,CAAC;CAChC;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;GAMG;AACH,MAAM,MAAM,sBAAsB,GAC9B,+BAA+B,GAC/B,6BAA6B,GAC7B,8BAA8B,GAC9B,6BAA6B,CAAC;AAElC,MAAM,WAAW,+BAA+B;IAC9C,OAAO,EAAE,eAAe,CAAC,WAAW,CAAC;IAErC,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAE3C;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;CACtC;AAED,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,OAAO;QACtB;;;;;WAKG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;;;;WAKG;QACH,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;KACxE;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;CACtC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -1,343 +0,0 @@
1
- import { APIResource } from "../../../core/resource.js";
2
- import * as BetaAPI from "../beta.js";
3
- import { APIPromise } from "../../../core/api-promise.js";
4
- import * as BetaMessagesAPI from "./messages.js";
5
- import { Page, type PageParams, PagePromise } from "../../../core/pagination.js";
6
- import { RequestOptions } from "../../../internal/request-options.js";
7
- import { JSONLDecoder } from "../../../internal/decoders/jsonl.js";
8
- export declare class Batches extends APIResource {
9
- /**
10
- * Send a batch of Message creation requests.
11
- *
12
- * The Message Batches API can be used to process multiple Messages API requests at
13
- * once. Once a Message Batch is created, it begins processing immediately. Batches
14
- * can take up to 24 hours to complete.
15
- *
16
- * Learn more about the Message Batches API in our
17
- * [user guide](/en/docs/build-with-claude/batch-processing)
18
- *
19
- * @example
20
- * ```ts
21
- * const betaMessageBatch =
22
- * await client.beta.messages.batches.create({
23
- * requests: [
24
- * {
25
- * custom_id: 'my-custom-id-1',
26
- * params: {
27
- * max_tokens: 1024,
28
- * messages: [
29
- * { content: 'Hello, world', role: 'user' },
30
- * ],
31
- * model: 'claude-3-7-sonnet-20250219',
32
- * },
33
- * },
34
- * ],
35
- * });
36
- * ```
37
- */
38
- create(params: BatchCreateParams, options?: RequestOptions): APIPromise<BetaMessageBatch>;
39
- /**
40
- * This endpoint is idempotent and can be used to poll for Message Batch
41
- * completion. To access the results of a Message Batch, make a request to the
42
- * `results_url` field in the response.
43
- *
44
- * Learn more about the Message Batches API in our
45
- * [user guide](/en/docs/build-with-claude/batch-processing)
46
- *
47
- * @example
48
- * ```ts
49
- * const betaMessageBatch =
50
- * await client.beta.messages.batches.retrieve(
51
- * 'message_batch_id',
52
- * );
53
- * ```
54
- */
55
- retrieve(messageBatchID: string, params?: BatchRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<BetaMessageBatch>;
56
- /**
57
- * List all Message Batches within a Workspace. Most recently created batches are
58
- * returned first.
59
- *
60
- * Learn more about the Message Batches API in our
61
- * [user guide](/en/docs/build-with-claude/batch-processing)
62
- *
63
- * @example
64
- * ```ts
65
- * // Automatically fetches more pages as needed.
66
- * for await (const betaMessageBatch of client.beta.messages.batches.list()) {
67
- * // ...
68
- * }
69
- * ```
70
- */
71
- list(params?: BatchListParams | null | undefined, options?: RequestOptions): PagePromise<BetaMessageBatchesPage, BetaMessageBatch>;
72
- /**
73
- * Delete a Message Batch.
74
- *
75
- * Message Batches can only be deleted once they've finished processing. If you'd
76
- * like to delete an in-progress batch, you must first cancel it.
77
- *
78
- * Learn more about the Message Batches API in our
79
- * [user guide](/en/docs/build-with-claude/batch-processing)
80
- *
81
- * @example
82
- * ```ts
83
- * const betaDeletedMessageBatch =
84
- * await client.beta.messages.batches.delete(
85
- * 'message_batch_id',
86
- * );
87
- * ```
88
- */
89
- delete(messageBatchID: string, params?: BatchDeleteParams | null | undefined, options?: RequestOptions): APIPromise<BetaDeletedMessageBatch>;
90
- /**
91
- * Batches may be canceled any time before processing ends. Once cancellation is
92
- * initiated, the batch enters a `canceling` state, at which time the system may
93
- * complete any in-progress, non-interruptible requests before finalizing
94
- * cancellation.
95
- *
96
- * The number of canceled requests is specified in `request_counts`. To determine
97
- * which requests were canceled, check the individual results within the batch.
98
- * Note that cancellation may not result in any canceled requests if they were
99
- * non-interruptible.
100
- *
101
- * Learn more about the Message Batches API in our
102
- * [user guide](/en/docs/build-with-claude/batch-processing)
103
- *
104
- * @example
105
- * ```ts
106
- * const betaMessageBatch =
107
- * await client.beta.messages.batches.cancel(
108
- * 'message_batch_id',
109
- * );
110
- * ```
111
- */
112
- cancel(messageBatchID: string, params?: BatchCancelParams | null | undefined, options?: RequestOptions): APIPromise<BetaMessageBatch>;
113
- /**
114
- * Streams the results of a Message Batch as a `.jsonl` file.
115
- *
116
- * Each line in the file is a JSON object containing the result of a single request
117
- * in the Message Batch. Results are not guaranteed to be in the same order as
118
- * requests. Use the `custom_id` field to match results to requests.
119
- *
120
- * Learn more about the Message Batches API in our
121
- * [user guide](/en/docs/build-with-claude/batch-processing)
122
- *
123
- * @example
124
- * ```ts
125
- * const betaMessageBatchIndividualResponse =
126
- * await client.beta.messages.batches.results(
127
- * 'message_batch_id',
128
- * );
129
- * ```
130
- */
131
- results(messageBatchID: string, params?: BatchResultsParams | undefined, options?: RequestOptions): Promise<JSONLDecoder<BetaMessageBatchIndividualResponse>>;
132
- }
133
- export type BetaMessageBatchesPage = Page<BetaMessageBatch>;
134
- export interface BetaDeletedMessageBatch {
135
- /**
136
- * ID of the Message Batch.
137
- */
138
- id: string;
139
- /**
140
- * Deleted object type.
141
- *
142
- * For Message Batches, this is always `"message_batch_deleted"`.
143
- */
144
- type: 'message_batch_deleted';
145
- }
146
- export interface BetaMessageBatch {
147
- /**
148
- * Unique object identifier.
149
- *
150
- * The format and length of IDs may change over time.
151
- */
152
- id: string;
153
- /**
154
- * RFC 3339 datetime string representing the time at which the Message Batch was
155
- * archived and its results became unavailable.
156
- */
157
- archived_at: string | null;
158
- /**
159
- * RFC 3339 datetime string representing the time at which cancellation was
160
- * initiated for the Message Batch. Specified only if cancellation was initiated.
161
- */
162
- cancel_initiated_at: string | null;
163
- /**
164
- * RFC 3339 datetime string representing the time at which the Message Batch was
165
- * created.
166
- */
167
- created_at: string;
168
- /**
169
- * RFC 3339 datetime string representing the time at which processing for the
170
- * Message Batch ended. Specified only once processing ends.
171
- *
172
- * Processing ends when every request in a Message Batch has either succeeded,
173
- * errored, canceled, or expired.
174
- */
175
- ended_at: string | null;
176
- /**
177
- * RFC 3339 datetime string representing the time at which the Message Batch will
178
- * expire and end processing, which is 24 hours after creation.
179
- */
180
- expires_at: string;
181
- /**
182
- * Processing status of the Message Batch.
183
- */
184
- processing_status: 'in_progress' | 'canceling' | 'ended';
185
- /**
186
- * Tallies requests within the Message Batch, categorized by their status.
187
- *
188
- * Requests start as `processing` and move to one of the other statuses only once
189
- * processing of the entire batch ends. The sum of all values always matches the
190
- * total number of requests in the batch.
191
- */
192
- request_counts: BetaMessageBatchRequestCounts;
193
- /**
194
- * URL to a `.jsonl` file containing the results of the Message Batch requests.
195
- * Specified only once processing ends.
196
- *
197
- * Results in the file are not guaranteed to be in the same order as requests. Use
198
- * the `custom_id` field to match results to requests.
199
- */
200
- results_url: string | null;
201
- /**
202
- * Object type.
203
- *
204
- * For Message Batches, this is always `"message_batch"`.
205
- */
206
- type: 'message_batch';
207
- }
208
- export interface BetaMessageBatchCanceledResult {
209
- type: 'canceled';
210
- }
211
- export interface BetaMessageBatchErroredResult {
212
- error: BetaAPI.BetaErrorResponse;
213
- type: 'errored';
214
- }
215
- export interface BetaMessageBatchExpiredResult {
216
- type: 'expired';
217
- }
218
- /**
219
- * This is a single line in the response `.jsonl` file and does not represent the
220
- * response as a whole.
221
- */
222
- export interface BetaMessageBatchIndividualResponse {
223
- /**
224
- * Developer-provided ID created for each request in a Message Batch. Useful for
225
- * matching results to requests, as results may be given out of request order.
226
- *
227
- * Must be unique for each request within the Message Batch.
228
- */
229
- custom_id: string;
230
- /**
231
- * Processing result for this request.
232
- *
233
- * Contains a Message output if processing was successful, an error response if
234
- * processing failed, or the reason why processing was not attempted, such as
235
- * cancellation or expiration.
236
- */
237
- result: BetaMessageBatchResult;
238
- }
239
- export interface BetaMessageBatchRequestCounts {
240
- /**
241
- * Number of requests in the Message Batch that have been canceled.
242
- *
243
- * This is zero until processing of the entire Message Batch has ended.
244
- */
245
- canceled: number;
246
- /**
247
- * Number of requests in the Message Batch that encountered an error.
248
- *
249
- * This is zero until processing of the entire Message Batch has ended.
250
- */
251
- errored: number;
252
- /**
253
- * Number of requests in the Message Batch that have expired.
254
- *
255
- * This is zero until processing of the entire Message Batch has ended.
256
- */
257
- expired: number;
258
- /**
259
- * Number of requests in the Message Batch that are processing.
260
- */
261
- processing: number;
262
- /**
263
- * Number of requests in the Message Batch that have completed successfully.
264
- *
265
- * This is zero until processing of the entire Message Batch has ended.
266
- */
267
- succeeded: number;
268
- }
269
- /**
270
- * Processing result for this request.
271
- *
272
- * Contains a Message output if processing was successful, an error response if
273
- * processing failed, or the reason why processing was not attempted, such as
274
- * cancellation or expiration.
275
- */
276
- export type BetaMessageBatchResult = BetaMessageBatchSucceededResult | BetaMessageBatchErroredResult | BetaMessageBatchCanceledResult | BetaMessageBatchExpiredResult;
277
- export interface BetaMessageBatchSucceededResult {
278
- message: BetaMessagesAPI.BetaMessage;
279
- type: 'succeeded';
280
- }
281
- export interface BatchCreateParams {
282
- /**
283
- * Body param: List of requests for prompt completion. Each is an individual
284
- * request to create a Message.
285
- */
286
- requests: Array<BatchCreateParams.Request>;
287
- /**
288
- * Header param: Optional header to specify the beta version(s) you want to use.
289
- */
290
- betas?: Array<BetaAPI.AnthropicBeta>;
291
- }
292
- export declare namespace BatchCreateParams {
293
- interface Request {
294
- /**
295
- * Developer-provided ID created for each request in a Message Batch. Useful for
296
- * matching results to requests, as results may be given out of request order.
297
- *
298
- * Must be unique for each request within the Message Batch.
299
- */
300
- custom_id: string;
301
- /**
302
- * Messages API creation parameters for the individual request.
303
- *
304
- * See the [Messages API reference](/en/api/messages) for full documentation on
305
- * available parameters.
306
- */
307
- params: Omit<BetaMessagesAPI.MessageCreateParamsNonStreaming, 'betas'>;
308
- }
309
- }
310
- export interface BatchRetrieveParams {
311
- /**
312
- * Optional header to specify the beta version(s) you want to use.
313
- */
314
- betas?: Array<BetaAPI.AnthropicBeta>;
315
- }
316
- export interface BatchListParams extends PageParams {
317
- /**
318
- * Header param: Optional header to specify the beta version(s) you want to use.
319
- */
320
- betas?: Array<BetaAPI.AnthropicBeta>;
321
- }
322
- export interface BatchDeleteParams {
323
- /**
324
- * Optional header to specify the beta version(s) you want to use.
325
- */
326
- betas?: Array<BetaAPI.AnthropicBeta>;
327
- }
328
- export interface BatchCancelParams {
329
- /**
330
- * Optional header to specify the beta version(s) you want to use.
331
- */
332
- betas?: Array<BetaAPI.AnthropicBeta>;
333
- }
334
- export interface BatchResultsParams {
335
- /**
336
- * Optional header to specify the beta version(s) you want to use.
337
- */
338
- betas?: Array<BetaAPI.AnthropicBeta>;
339
- }
340
- export declare namespace Batches {
341
- export { type BetaDeletedMessageBatch as BetaDeletedMessageBatch, type BetaMessageBatch as BetaMessageBatch, type BetaMessageBatchCanceledResult as BetaMessageBatchCanceledResult, type BetaMessageBatchErroredResult as BetaMessageBatchErroredResult, type BetaMessageBatchExpiredResult as BetaMessageBatchExpiredResult, type BetaMessageBatchIndividualResponse as BetaMessageBatchIndividualResponse, type BetaMessageBatchRequestCounts as BetaMessageBatchRequestCounts, type BetaMessageBatchResult as BetaMessageBatchResult, type BetaMessageBatchSucceededResult as BetaMessageBatchSucceededResult, type BetaMessageBatchesPage as BetaMessageBatchesPage, type BatchCreateParams as BatchCreateParams, type BatchRetrieveParams as BatchRetrieveParams, type BatchListParams as BatchListParams, type BatchDeleteParams as BatchDeleteParams, type BatchCancelParams as BatchCancelParams, type BatchResultsParams as BatchResultsParams, };
342
- }
343
- //# sourceMappingURL=batches.d.ts.map