@adaptic/maestro 1.0.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 (854) hide show
  1. package/.claude/commands/init-agent.md +99 -0
  2. package/.claude/commands/init-maestro.md +565 -0
  3. package/.claude/settings.json +114 -0
  4. package/.env.example +152 -0
  5. package/README.md +491 -0
  6. package/agents/board-prep/agent.md +80 -0
  7. package/agents/browser-operator/agent.md +52 -0
  8. package/agents/calendar-ops/agent.md +50 -0
  9. package/agents/capital-raising/agent.md +69 -0
  10. package/agents/ceo-briefing/agent.md +72 -0
  11. package/agents/communications/agent.md +69 -0
  12. package/agents/competitive-intelligence/agent.md +49 -0
  13. package/agents/corporate-development/agent.md +66 -0
  14. package/agents/decision-log/agent.md +65 -0
  15. package/agents/desktop-operator/agent.md +59 -0
  16. package/agents/engineering-coordination/agent.md +51 -0
  17. package/agents/founder-voice/agent.md +72 -0
  18. package/agents/fund-ops/agent.md +52 -0
  19. package/agents/gmail-operator/agent.md +62 -0
  20. package/agents/hiring-org-design/agent.md +119 -0
  21. package/agents/inbound-dispatcher/agent.md +66 -0
  22. package/agents/legal-structuring/agent.md +65 -0
  23. package/agents/market-research/agent.md +48 -0
  24. package/agents/partnerships/agent.md +59 -0
  25. package/agents/platform-architecture/agent.md +57 -0
  26. package/agents/pmo-execution/agent.md +60 -0
  27. package/agents/product-strategy/agent.md +50 -0
  28. package/agents/regulatory-dfsa/agent.md +96 -0
  29. package/agents/risk-register/agent.md +62 -0
  30. package/agents/rollup-target-sourcing/agent.md +59 -0
  31. package/agents/session-spawner/agent.md +64 -0
  32. package/agents/slack-operator/agent.md +60 -0
  33. package/agents/sophie-chief-of-staff/agent.md +134 -0
  34. package/agents/strategic-planning/agent.md +54 -0
  35. package/agents/whatsapp-operator/agent.md +60 -0
  36. package/agents/workflow-automation/agent.md +61 -0
  37. package/bin/maestro.mjs +388 -0
  38. package/desktop-control/README.md +56 -0
  39. package/desktop-control/app-profiles/gmail.yaml +120 -0
  40. package/desktop-control/app-profiles/slack.yaml +315 -0
  41. package/desktop-control/app-profiles/whatsapp.yaml +107 -0
  42. package/docs/architecture/agent-topology.md +2222 -0
  43. package/docs/architecture/continuous-monitoring.md +221 -0
  44. package/docs/architecture/mcp-capability-map.md +560 -0
  45. package/docs/architecture/system-architecture.md +1273 -0
  46. package/docs/business-synthesis/ADAPTIC-GROUP-FINAL-OWNERSHIP-STRUCTURE.pdf +13667 -10
  47. package/docs/business-synthesis/adaptic-overview.md +296 -0
  48. package/docs/business-synthesis/executive-operating-model.md +261 -0
  49. package/docs/governance/action-approval-model.md +331 -0
  50. package/docs/governance/communications-policy.md +410 -0
  51. package/docs/governance/desktop-control-safety.md +499 -0
  52. package/docs/guides/agent-persona-setup.md +600 -0
  53. package/docs/operating-charter.md +87 -0
  54. package/docs/prompts/board-pack-cover-template.md +37 -0
  55. package/docs/prompts/decision-recommendation-template.md +88 -0
  56. package/docs/prompts/followup-message-template.md +141 -0
  57. package/docs/prompts/investor-letter-template.md +52 -0
  58. package/docs/prompts/morning-brief-template.md +82 -0
  59. package/docs/prompts/presentation-template.md +58 -0
  60. package/docs/prompts/weekly-strategic-memo-template.md +104 -0
  61. package/docs/runbooks/mac-mini-bootstrap.md +404 -0
  62. package/docs/runbooks/perpetual-operations.md +505 -0
  63. package/docs/runbooks/recovery-and-failover.md +588 -0
  64. package/docs/superpowers/plans/2026-04-02-phase0-operational-foundation.md +2550 -0
  65. package/docs/superpowers/plans/2026-04-03-phase1-executive-core.md +1085 -0
  66. package/docs/superpowers/plans/2026-04-03-phase2-people-product-commercial.md +739 -0
  67. package/docs/superpowers/plans/2026-04-05-information-barrier-implementation.md +926 -0
  68. package/docs/superpowers/plans/2026-04-06-session-context-dedup.md +1994 -0
  69. package/docs/superpowers/specs/2026-04-02-phase0-operational-foundation-design.md +842 -0
  70. package/docs/superpowers/specs/2026-04-03-phase1-executive-core-design.md +516 -0
  71. package/docs/superpowers/specs/2026-04-03-phase2-people-product-commercial-design.md +452 -0
  72. package/docs/superpowers/specs/2026-04-03-phase3-4-final-towers-design.md +129 -0
  73. package/docs/superpowers/specs/2026-04-05-information-barrier-design.md +678 -0
  74. package/docs/superpowers/specs/2026-04-05-reactive-daemon-design.md +237 -0
  75. package/docs/superpowers/specs/2026-04-06-session-context-dedup-design.md +369 -0
  76. package/docs/workflows/executive-cadence.md +218 -0
  77. package/ingest/README.md +87 -0
  78. package/mcp/README.md +51 -0
  79. package/package.json +48 -0
  80. package/plugins/maestro-skills/plugin.json +55 -0
  81. package/plugins/maestro-skills/skills/board-deck.md +68 -0
  82. package/plugins/maestro-skills/skills/decision-brief.md +89 -0
  83. package/plugins/maestro-skills/skills/draft-comms.md +84 -0
  84. package/plugins/maestro-skills/skills/evening-wrap.md +53 -0
  85. package/plugins/maestro-skills/skills/hiring-triage.md +74 -0
  86. package/plugins/maestro-skills/skills/inbox-triage.md +61 -0
  87. package/plugins/maestro-skills/skills/morning-brief.md +54 -0
  88. package/plugins/maestro-skills/skills/pipeline-review.md +76 -0
  89. package/plugins/maestro-skills/skills/regulatory-status.md +81 -0
  90. package/plugins/maestro-skills/skills/schedule-meeting.md +91 -0
  91. package/plugins/maestro-skills/skills/slack-followup.md +64 -0
  92. package/plugins/maestro-skills/skills/weekly-memo.md +70 -0
  93. package/policies/action-classification.yaml +110 -0
  94. package/policies/information-barriers.yaml +119 -0
  95. package/policies/prompt-injection-defence.yaml +138 -0
  96. package/public/assets/adaptic-icon-dark.png +0 -0
  97. package/public/assets/adaptic-icon-dark.svg +4 -0
  98. package/public/assets/adaptic-icon-light.svg +4 -0
  99. package/public/assets/adaptic-logo-dark.svg +17 -0
  100. package/public/assets/adaptic-logo-light.svg +17 -0
  101. package/scaffold/CLAUDE.md +21 -0
  102. package/scaffold/config/agent.ts +69 -0
  103. package/scaffold/config/agent.ts.example +218 -0
  104. package/schedules/README.md +49 -0
  105. package/schedules/triggers/backlog-executor.md +102 -0
  106. package/schedules/triggers/daily-evening-wrap.md +142 -0
  107. package/schedules/triggers/daily-midday-sweep.md +58 -0
  108. package/schedules/triggers/daily-morning-brief.md +55 -0
  109. package/schedules/triggers/inbox-processor.md +115 -0
  110. package/schedules/triggers/meeting-action-capture.md +60 -0
  111. package/schedules/triggers/meeting-prep.md +69 -0
  112. package/schedules/triggers/quarterly-self-assessment.md +54 -0
  113. package/schedules/triggers/weekly-engineering-health.md +37 -0
  114. package/schedules/triggers/weekly-execution.md +67 -0
  115. package/schedules/triggers/weekly-hiring.md +53 -0
  116. package/schedules/triggers/weekly-priorities.md +38 -0
  117. package/schedules/triggers/weekly-strategic-memo.md +124 -0
  118. package/scripts/__pycache__/disclosure_assessment.cpython-313.pyc +0 -0
  119. package/scripts/__pycache__/disclosure_boundaries.cpython-313.pyc +0 -0
  120. package/scripts/__pycache__/email_quote_thread.cpython-313.pyc +0 -0
  121. package/scripts/__pycache__/email_thread_dedup.cpython-313.pyc +0 -0
  122. package/scripts/__pycache__/mehran-inbox-poller.cpython-313.pyc +0 -0
  123. package/scripts/__pycache__/outbound_dedup.cpython-313.pyc +0 -0
  124. package/scripts/__pycache__/pre-draft-context.cpython-313.pyc +0 -0
  125. package/scripts/__pycache__/pre_draft_lookup.cpython-313.pyc +0 -0
  126. package/scripts/__pycache__/send-email-as-mehran.cpython-313.pyc +0 -0
  127. package/scripts/__pycache__/send-email-threaded.cpython-313.pyc +0 -0
  128. package/scripts/__pycache__/send-email-with-attachment.cpython-313.pyc +0 -0
  129. package/scripts/__pycache__/validate_outbound.cpython-313.pyc +0 -0
  130. package/scripts/airtable-crm-populate.md +99 -0
  131. package/scripts/archive-email.sh +41 -0
  132. package/scripts/comms-monitor.sh +285 -0
  133. package/scripts/configure-whatsapp-sandbox.sh +201 -0
  134. package/scripts/continuous-monitor.sh +86 -0
  135. package/scripts/daemon/classifier.mjs +355 -0
  136. package/scripts/daemon/context-compiler.mjs +490 -0
  137. package/scripts/daemon/dispatcher.mjs +385 -0
  138. package/scripts/daemon/health.mjs +72 -0
  139. package/scripts/daemon/prompt-builder.mjs +426 -0
  140. package/scripts/daemon/responder.mjs +547 -0
  141. package/scripts/daemon/session-lock.mjs +520 -0
  142. package/scripts/daemon/sophie-daemon.mjs +521 -0
  143. package/scripts/daemon/test-context-compiler.mjs +238 -0
  144. package/scripts/daemon/test-integration.mjs +130 -0
  145. package/scripts/daemon/test-session-lock.mjs +215 -0
  146. package/scripts/disclosure_assessment.py +873 -0
  147. package/scripts/disclosure_boundaries.py +562 -0
  148. package/scripts/email-signature-mehran.html +52 -0
  149. package/scripts/email-signature.html +44 -0
  150. package/scripts/email_quote_thread.py +167 -0
  151. package/scripts/email_thread_dedup.py +361 -0
  152. package/scripts/emergency-stop.sh +41 -0
  153. package/scripts/healthcheck.sh +110 -0
  154. package/scripts/hooks/block-mcp-slack-send.sh +7 -0
  155. package/scripts/hooks/post-action-log.sh +17 -0
  156. package/scripts/hooks/pre-send-audit.sh +57 -0
  157. package/scripts/hooks/session-end-log.sh +27 -0
  158. package/scripts/huddle/audio-bridge.mjs +664 -0
  159. package/scripts/huddle/boot-slack-cdp.sh +102 -0
  160. package/scripts/huddle/huddle-controller.mjs +942 -0
  161. package/scripts/huddle/huddle-server.mjs +1059 -0
  162. package/scripts/huddle/launch-slack.sh +232 -0
  163. package/scripts/huddle/node_modules/.package-lock.json +50 -0
  164. package/scripts/huddle/node_modules/@anthropic-ai/sdk/CHANGELOG.md +1677 -0
  165. package/scripts/huddle/node_modules/@anthropic-ai/sdk/LICENSE +8 -0
  166. package/scripts/huddle/node_modules/@anthropic-ai/sdk/README.md +674 -0
  167. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts +3 -0
  168. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts.map +1 -0
  169. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts +3 -0
  170. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts.map +1 -0
  171. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js +226 -0
  172. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js.map +1 -0
  173. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs +223 -0
  174. package/scripts/huddle/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs.map +1 -0
  175. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.mts +2 -0
  176. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.mts.map +1 -0
  177. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.ts +2 -0
  178. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.d.ts.map +1 -0
  179. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.js +6 -0
  180. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.js.map +1 -0
  181. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.mjs +2 -0
  182. package/scripts/huddle/node_modules/@anthropic-ai/sdk/api-promise.mjs.map +1 -0
  183. package/scripts/huddle/node_modules/@anthropic-ai/sdk/bin/cli +53 -0
  184. package/scripts/huddle/node_modules/@anthropic-ai/sdk/bin/migration-config.json +7 -0
  185. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.mts +225 -0
  186. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.mts.map +1 -0
  187. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.ts +225 -0
  188. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.d.ts.map +1 -0
  189. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.js +536 -0
  190. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.js.map +1 -0
  191. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.mjs +531 -0
  192. package/scripts/huddle/node_modules/@anthropic-ai/sdk/client.mjs.map +1 -0
  193. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts +49 -0
  194. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts.map +1 -0
  195. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts +49 -0
  196. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts.map +1 -0
  197. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.js +76 -0
  198. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.js.map +1 -0
  199. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.mjs +72 -0
  200. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/api-promise.mjs.map +1 -0
  201. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.mts +47 -0
  202. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.mts.map +1 -0
  203. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.ts +47 -0
  204. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.d.ts.map +1 -0
  205. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.js +114 -0
  206. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.js.map +1 -0
  207. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.mjs +98 -0
  208. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/error.mjs.map +1 -0
  209. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.mts +63 -0
  210. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.mts.map +1 -0
  211. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.ts +63 -0
  212. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.d.ts.map +1 -0
  213. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.js +123 -0
  214. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.js.map +1 -0
  215. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.mjs +117 -0
  216. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/pagination.mjs.map +1 -0
  217. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.mts +6 -0
  218. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.mts.map +1 -0
  219. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.ts +6 -0
  220. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.d.ts.map +1 -0
  221. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.js +11 -0
  222. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.js.map +1 -0
  223. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.mjs +7 -0
  224. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/resource.mjs.map +1 -0
  225. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.mts +31 -0
  226. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.mts.map +1 -0
  227. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.ts +31 -0
  228. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.d.ts.map +1 -0
  229. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.js +282 -0
  230. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.js.map +1 -0
  231. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.mjs +277 -0
  232. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/streaming.mjs.map +1 -0
  233. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.mts +3 -0
  234. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.mts.map +1 -0
  235. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.ts +3 -0
  236. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.d.ts.map +1 -0
  237. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.js +6 -0
  238. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.js.map +1 -0
  239. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.mjs +2 -0
  240. package/scripts/huddle/node_modules/@anthropic-ai/sdk/core/uploads.mjs.map +1 -0
  241. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.mts +2 -0
  242. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.mts.map +1 -0
  243. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.ts +2 -0
  244. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.d.ts.map +1 -0
  245. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.js +6 -0
  246. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.js.map +1 -0
  247. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.mjs +2 -0
  248. package/scripts/huddle/node_modules/@anthropic-ai/sdk/error.mjs.map +1 -0
  249. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.mts +7 -0
  250. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.mts.map +1 -0
  251. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.ts +7 -0
  252. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.d.ts.map +1 -0
  253. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.js +35 -0
  254. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.js.map +1 -0
  255. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.mjs +8 -0
  256. package/scripts/huddle/node_modules/@anthropic-ai/sdk/index.mjs.map +1 -0
  257. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts +73 -0
  258. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts.map +1 -0
  259. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts +73 -0
  260. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts.map +1 -0
  261. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.js +4 -0
  262. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.js.map +1 -0
  263. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs +3 -0
  264. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs.map +1 -0
  265. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.mts +5 -0
  266. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.mts.map +1 -0
  267. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.ts +5 -0
  268. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.d.ts.map +1 -0
  269. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.js +15 -0
  270. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.js.map +1 -0
  271. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.mjs +12 -0
  272. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/constants.mjs.map +1 -0
  273. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts +10 -0
  274. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts.map +1 -0
  275. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts +10 -0
  276. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts.map +1 -0
  277. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js +39 -0
  278. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js.map +1 -0
  279. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs +35 -0
  280. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs.map +1 -0
  281. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts +17 -0
  282. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts.map +1 -0
  283. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts +17 -0
  284. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts.map +1 -0
  285. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.js +113 -0
  286. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.js.map +1 -0
  287. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs +108 -0
  288. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs.map +1 -0
  289. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts +15 -0
  290. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts.map +1 -0
  291. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts +15 -0
  292. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts.map +1 -0
  293. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.js +162 -0
  294. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.js.map +1 -0
  295. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs +157 -0
  296. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs.map +1 -0
  297. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.mts +3 -0
  298. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.mts.map +1 -0
  299. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.ts +3 -0
  300. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.d.ts.map +1 -0
  301. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.js +41 -0
  302. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.js.map +1 -0
  303. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.mjs +36 -0
  304. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/errors.mjs.map +1 -0
  305. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.mts +22 -0
  306. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.mts.map +1 -0
  307. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.ts +22 -0
  308. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.d.ts.map +1 -0
  309. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.js +79 -0
  310. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.js.map +1 -0
  311. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.mjs +74 -0
  312. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/headers.mjs.map +1 -0
  313. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.mts +17 -0
  314. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.mts.map +1 -0
  315. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.ts +17 -0
  316. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.d.ts.map +1 -0
  317. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.js +55 -0
  318. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.js.map +1 -0
  319. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.mjs +51 -0
  320. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/parse.mjs.map +1 -0
  321. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts +34 -0
  322. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts.map +1 -0
  323. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts +34 -0
  324. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts.map +1 -0
  325. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.js +14 -0
  326. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.js.map +1 -0
  327. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.mjs +10 -0
  328. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/request-options.mjs.map +1 -0
  329. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts +28 -0
  330. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts +28 -0
  331. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.mts +20 -0
  332. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.mts.map +1 -0
  333. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.ts +20 -0
  334. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.d.ts.map +1 -0
  335. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.js +92 -0
  336. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.js.map +1 -0
  337. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.mjs +85 -0
  338. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/shims.mjs.map +1 -0
  339. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts +8 -0
  340. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts.map +1 -0
  341. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts +8 -0
  342. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts.map +1 -0
  343. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.js +38 -0
  344. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.js.map +1 -0
  345. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs +35 -0
  346. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs.map +1 -0
  347. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts +45 -0
  348. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts.map +1 -0
  349. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts +45 -0
  350. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts.map +1 -0
  351. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.js +96 -0
  352. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.js.map +1 -0
  353. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.mjs +93 -0
  354. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/to-file.mjs.map +1 -0
  355. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/tslib.js +81 -0
  356. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/tslib.mjs +17 -0
  357. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.mts +67 -0
  358. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.mts.map +1 -0
  359. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.ts +67 -0
  360. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.d.ts.map +1 -0
  361. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.js +4 -0
  362. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.js.map +1 -0
  363. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.mjs +3 -0
  364. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/types.mjs.map +1 -0
  365. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts +42 -0
  366. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts.map +1 -0
  367. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts +42 -0
  368. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts.map +1 -0
  369. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.js +146 -0
  370. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.js.map +1 -0
  371. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.mjs +136 -0
  372. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/uploads.mjs.map +1 -0
  373. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts +3 -0
  374. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts.map +1 -0
  375. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts +3 -0
  376. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts.map +1 -0
  377. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.js +38 -0
  378. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.js.map +1 -0
  379. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs +33 -0
  380. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs.map +1 -0
  381. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts +4 -0
  382. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts.map +1 -0
  383. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts +4 -0
  384. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts.map +1 -0
  385. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js +31 -0
  386. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js.map +1 -0
  387. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs +26 -0
  388. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs.map +1 -0
  389. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts +9 -0
  390. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts.map +1 -0
  391. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts +9 -0
  392. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts.map +1 -0
  393. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.js +22 -0
  394. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.js.map +1 -0
  395. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs +18 -0
  396. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs.map +1 -0
  397. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts +37 -0
  398. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts.map +1 -0
  399. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts +37 -0
  400. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts.map +1 -0
  401. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.js +86 -0
  402. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.js.map +1 -0
  403. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs +80 -0
  404. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs.map +1 -0
  405. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts +15 -0
  406. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts.map +1 -0
  407. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts +15 -0
  408. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts.map +1 -0
  409. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.js +58 -0
  410. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.js.map +1 -0
  411. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs +53 -0
  412. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs.map +1 -0
  413. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts +2 -0
  414. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts.map +1 -0
  415. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts +2 -0
  416. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts.map +1 -0
  417. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js +7 -0
  418. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js.map +1 -0
  419. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs +3 -0
  420. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs.map +1 -0
  421. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts +5 -0
  422. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts.map +1 -0
  423. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts +5 -0
  424. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts.map +1 -0
  425. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js +19 -0
  426. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js.map +1 -0
  427. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs +15 -0
  428. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs.map +1 -0
  429. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts +16 -0
  430. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts.map +1 -0
  431. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts +16 -0
  432. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts.map +1 -0
  433. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.js +109 -0
  434. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.js.map +1 -0
  435. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs +92 -0
  436. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs.map +1 -0
  437. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.mts +7 -0
  438. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.mts.map +1 -0
  439. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.ts +7 -0
  440. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.d.ts.map +1 -0
  441. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.js +11 -0
  442. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.js.map +1 -0
  443. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.mjs +8 -0
  444. package/scripts/huddle/node_modules/@anthropic-ai/sdk/internal/utils.mjs.map +1 -0
  445. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts +114 -0
  446. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts.map +1 -0
  447. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts +114 -0
  448. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts.map +1 -0
  449. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js +553 -0
  450. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js.map +1 -0
  451. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs +549 -0
  452. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs.map +1 -0
  453. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts +114 -0
  454. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts.map +1 -0
  455. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts +114 -0
  456. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts.map +1 -0
  457. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +553 -0
  458. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.js.map +1 -0
  459. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs +549 -0
  460. package/scripts/huddle/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs.map +1 -0
  461. package/scripts/huddle/node_modules/@anthropic-ai/sdk/package.json +185 -0
  462. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.mts +2 -0
  463. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.mts.map +1 -0
  464. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.ts +2 -0
  465. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.d.ts.map +1 -0
  466. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.js +6 -0
  467. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.js.map +1 -0
  468. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.mjs +2 -0
  469. package/scripts/huddle/node_modules/@anthropic-ai/sdk/pagination.mjs.map +1 -0
  470. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.mts +2 -0
  471. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.mts.map +1 -0
  472. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.ts +2 -0
  473. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.d.ts.map +1 -0
  474. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.js +6 -0
  475. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.js.map +1 -0
  476. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.mjs +2 -0
  477. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resource.mjs.map +1 -0
  478. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts +61 -0
  479. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts.map +1 -0
  480. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts +61 -0
  481. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts.map +1 -0
  482. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.js +25 -0
  483. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.js.map +1 -0
  484. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs +20 -0
  485. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs.map +1 -0
  486. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts +151 -0
  487. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts.map +1 -0
  488. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts +151 -0
  489. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts.map +1 -0
  490. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.js +122 -0
  491. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.js.map +1 -0
  492. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs +118 -0
  493. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs.map +1 -0
  494. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts +5 -0
  495. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts.map +1 -0
  496. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts +5 -0
  497. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts.map +1 -0
  498. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.js +13 -0
  499. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.js.map +1 -0
  500. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs +6 -0
  501. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs.map +1 -0
  502. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts +343 -0
  503. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts.map +1 -0
  504. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts +343 -0
  505. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts.map +1 -0
  506. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js +204 -0
  507. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js.map +1 -0
  508. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs +200 -0
  509. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs.map +1 -0
  510. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts +3 -0
  511. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts.map +1 -0
  512. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts +3 -0
  513. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts.map +1 -0
  514. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js +9 -0
  515. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js.map +1 -0
  516. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs +4 -0
  517. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs.map +1 -0
  518. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts +1561 -0
  519. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts.map +1 -0
  520. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts +1561 -0
  521. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts.map +1 -0
  522. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js +86 -0
  523. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js.map +1 -0
  524. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs +81 -0
  525. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs.map +1 -0
  526. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts +2 -0
  527. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts.map +1 -0
  528. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts +2 -0
  529. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts.map +1 -0
  530. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.js +6 -0
  531. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.js.map +1 -0
  532. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs +3 -0
  533. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs.map +1 -0
  534. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts +74 -0
  535. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts.map +1 -0
  536. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts +74 -0
  537. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts.map +1 -0
  538. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.js +60 -0
  539. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.js.map +1 -0
  540. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs +56 -0
  541. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs.map +1 -0
  542. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.mts +2 -0
  543. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.mts.map +1 -0
  544. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.ts +2 -0
  545. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.d.ts.map +1 -0
  546. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.js +6 -0
  547. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.js.map +1 -0
  548. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.mjs +3 -0
  549. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/beta.mjs.map +1 -0
  550. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.mts +183 -0
  551. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.mts.map +1 -0
  552. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.ts +183 -0
  553. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.d.ts.map +1 -0
  554. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.js +23 -0
  555. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.js.map +1 -0
  556. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.mjs +19 -0
  557. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/completions.mjs.map +1 -0
  558. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.mts +6 -0
  559. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.mts.map +1 -0
  560. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.ts +6 -0
  561. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.d.ts.map +1 -0
  562. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.js +15 -0
  563. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.js.map +1 -0
  564. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.mjs +7 -0
  565. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/index.mjs.map +1 -0
  566. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts +304 -0
  567. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts.map +1 -0
  568. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts +304 -0
  569. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts.map +1 -0
  570. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.js +153 -0
  571. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.js.map +1 -0
  572. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs +149 -0
  573. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs.map +1 -0
  574. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts +3 -0
  575. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts.map +1 -0
  576. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts +3 -0
  577. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts.map +1 -0
  578. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.js +9 -0
  579. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.js.map +1 -0
  580. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs +4 -0
  581. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs.map +1 -0
  582. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts +1264 -0
  583. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts.map +1 -0
  584. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts +1264 -0
  585. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts.map +1 -0
  586. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.js +72 -0
  587. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.js.map +1 -0
  588. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs +67 -0
  589. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs.map +1 -0
  590. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.mts +2 -0
  591. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.mts.map +1 -0
  592. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.ts +2 -0
  593. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.d.ts.map +1 -0
  594. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.js +6 -0
  595. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.js.map +1 -0
  596. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.mjs +3 -0
  597. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/messages.mjs.map +1 -0
  598. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.mts +59 -0
  599. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.mts.map +1 -0
  600. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.ts +59 -0
  601. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.d.ts.map +1 -0
  602. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.js +45 -0
  603. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.js.map +1 -0
  604. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.mjs +41 -0
  605. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/models.mjs.map +1 -0
  606. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.mts +42 -0
  607. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.mts.map +1 -0
  608. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.ts +42 -0
  609. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.d.ts.map +1 -0
  610. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.js +4 -0
  611. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.js.map +1 -0
  612. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.mjs +3 -0
  613. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/shared.mjs.map +1 -0
  614. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts +2 -0
  615. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts.map +1 -0
  616. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts +2 -0
  617. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts.map +1 -0
  618. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.js +4 -0
  619. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.js.map +1 -0
  620. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.mjs +3 -0
  621. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources/top-level.mjs.map +1 -0
  622. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.mts +2 -0
  623. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.mts.map +1 -0
  624. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.ts +2 -0
  625. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.d.ts.map +1 -0
  626. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.js +5 -0
  627. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.js.map +1 -0
  628. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.mjs +2 -0
  629. package/scripts/huddle/node_modules/@anthropic-ai/sdk/resources.mjs.map +1 -0
  630. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/README.md +3 -0
  631. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/parser.ts +264 -0
  632. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/api-promise.ts +2 -0
  633. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/client.ts +1070 -0
  634. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/README.md +3 -0
  635. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/api-promise.ts +101 -0
  636. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/error.ts +133 -0
  637. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/pagination.ts +201 -0
  638. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/resource.ts +11 -0
  639. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/streaming.ts +331 -0
  640. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/core/uploads.ts +2 -0
  641. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/error.ts +2 -0
  642. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/index.ts +23 -0
  643. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/README.md +3 -0
  644. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/builtin-types.ts +93 -0
  645. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/constants.ts +12 -0
  646. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/decoders/jsonl.ts +48 -0
  647. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/decoders/line.ts +135 -0
  648. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/detect-platform.ts +196 -0
  649. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/errors.ts +33 -0
  650. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/headers.ts +99 -0
  651. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/parse.ts +84 -0
  652. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/request-options.ts +39 -0
  653. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/shim-types.d.ts +28 -0
  654. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/shims.ts +107 -0
  655. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/stream-utils.ts +32 -0
  656. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/to-file.ts +159 -0
  657. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/types.ts +92 -0
  658. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/uploads.ts +193 -0
  659. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/base64.ts +40 -0
  660. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/bytes.ts +32 -0
  661. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/env.ts +18 -0
  662. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/log.ts +127 -0
  663. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/path.ts +65 -0
  664. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/sleep.ts +3 -0
  665. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/uuid.ts +17 -0
  666. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils/values.ts +102 -0
  667. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/internal/utils.ts +8 -0
  668. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/lib/.keep +4 -0
  669. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/lib/BetaMessageStream.ts +683 -0
  670. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/lib/MessageStream.ts +684 -0
  671. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/pagination.ts +2 -0
  672. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resource.ts +2 -0
  673. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/beta.ts +380 -0
  674. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/files.ts +258 -0
  675. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/index.ts +148 -0
  676. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/batches.ts +502 -0
  677. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/index.ts +135 -0
  678. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/messages.ts +2249 -0
  679. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/messages.ts +3 -0
  680. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta/models.ts +118 -0
  681. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/beta.ts +3 -0
  682. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +231 -0
  683. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/index.ts +121 -0
  684. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages/batches.ts +396 -0
  685. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages/index.ts +110 -0
  686. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages/messages.ts +1783 -0
  687. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/messages.ts +3 -0
  688. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/models.ts +103 -0
  689. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/shared.ts +72 -0
  690. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources/top-level.ts +3 -0
  691. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/resources.ts +1 -0
  692. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/streaming.ts +2 -0
  693. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/tsconfig.json +11 -0
  694. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/uploads.ts +2 -0
  695. package/scripts/huddle/node_modules/@anthropic-ai/sdk/src/version.ts +1 -0
  696. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.mts +2 -0
  697. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.mts.map +1 -0
  698. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.ts +2 -0
  699. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.d.ts.map +1 -0
  700. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.js +6 -0
  701. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.js.map +1 -0
  702. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.mjs +2 -0
  703. package/scripts/huddle/node_modules/@anthropic-ai/sdk/streaming.mjs.map +1 -0
  704. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.mts +2 -0
  705. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.mts.map +1 -0
  706. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.ts +2 -0
  707. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.d.ts.map +1 -0
  708. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.js +6 -0
  709. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.js.map +1 -0
  710. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.mjs +2 -0
  711. package/scripts/huddle/node_modules/@anthropic-ai/sdk/uploads.mjs.map +1 -0
  712. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.mts +2 -0
  713. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.mts.map +1 -0
  714. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.ts +2 -0
  715. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.d.ts.map +1 -0
  716. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.js +5 -0
  717. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.js.map +1 -0
  718. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.mjs +2 -0
  719. package/scripts/huddle/node_modules/@anthropic-ai/sdk/version.mjs.map +1 -0
  720. package/scripts/huddle/node_modules/dotenv/CHANGELOG.md +520 -0
  721. package/scripts/huddle/node_modules/dotenv/LICENSE +23 -0
  722. package/scripts/huddle/node_modules/dotenv/README-es.md +411 -0
  723. package/scripts/huddle/node_modules/dotenv/README.md +645 -0
  724. package/scripts/huddle/node_modules/dotenv/SECURITY.md +1 -0
  725. package/scripts/huddle/node_modules/dotenv/config.d.ts +1 -0
  726. package/scripts/huddle/node_modules/dotenv/config.js +9 -0
  727. package/scripts/huddle/node_modules/dotenv/lib/cli-options.js +17 -0
  728. package/scripts/huddle/node_modules/dotenv/lib/env-options.js +28 -0
  729. package/scripts/huddle/node_modules/dotenv/lib/main.d.ts +162 -0
  730. package/scripts/huddle/node_modules/dotenv/lib/main.js +386 -0
  731. package/scripts/huddle/node_modules/dotenv/package.json +62 -0
  732. package/scripts/huddle/node_modules/ws/LICENSE +20 -0
  733. package/scripts/huddle/node_modules/ws/README.md +548 -0
  734. package/scripts/huddle/node_modules/ws/browser.js +8 -0
  735. package/scripts/huddle/node_modules/ws/index.js +22 -0
  736. package/scripts/huddle/node_modules/ws/lib/buffer-util.js +131 -0
  737. package/scripts/huddle/node_modules/ws/lib/constants.js +19 -0
  738. package/scripts/huddle/node_modules/ws/lib/event-target.js +292 -0
  739. package/scripts/huddle/node_modules/ws/lib/extension.js +203 -0
  740. package/scripts/huddle/node_modules/ws/lib/limiter.js +55 -0
  741. package/scripts/huddle/node_modules/ws/lib/permessage-deflate.js +528 -0
  742. package/scripts/huddle/node_modules/ws/lib/receiver.js +706 -0
  743. package/scripts/huddle/node_modules/ws/lib/sender.js +602 -0
  744. package/scripts/huddle/node_modules/ws/lib/stream.js +161 -0
  745. package/scripts/huddle/node_modules/ws/lib/subprotocol.js +62 -0
  746. package/scripts/huddle/node_modules/ws/lib/validation.js +152 -0
  747. package/scripts/huddle/node_modules/ws/lib/websocket-server.js +554 -0
  748. package/scripts/huddle/node_modules/ws/lib/websocket.js +1393 -0
  749. package/scripts/huddle/node_modules/ws/package.json +70 -0
  750. package/scripts/huddle/node_modules/ws/wrapper.mjs +21 -0
  751. package/scripts/huddle/package-lock.json +62 -0
  752. package/scripts/huddle/package.json +22 -0
  753. package/scripts/huddle/setup-audio.sh +239 -0
  754. package/scripts/huddle/start-call.mjs +318 -0
  755. package/scripts/huddle/test-pipeline.mjs +263 -0
  756. package/scripts/llm_email_dedup.py +434 -0
  757. package/scripts/local-triggers/install-all.sh +43 -0
  758. package/scripts/local-triggers/plists/ai.adaptic.slack-events-server.plist +45 -0
  759. package/scripts/local-triggers/plists/ai.adaptic.sophie-backlog-executor.plist +21 -0
  760. package/scripts/local-triggers/plists/ai.adaptic.sophie-daemon.plist +32 -0
  761. package/scripts/local-triggers/plists/ai.adaptic.sophie-inbox-processor.plist +21 -0
  762. package/scripts/local-triggers/plists/ai.adaptic.sophie-meeting-action-capture.plist +21 -0
  763. package/scripts/local-triggers/plists/ai.adaptic.sophie-meeting-prep.plist +21 -0
  764. package/scripts/local-triggers/plists/ai.adaptic.sophie-midday-sweep.plist +26 -0
  765. package/scripts/local-triggers/plists/ai.adaptic.sophie-quarterly-self-assessment.plist +62 -0
  766. package/scripts/local-triggers/plists/ai.adaptic.sophie-weekly-engineering-health.plist +28 -0
  767. package/scripts/local-triggers/plists/ai.adaptic.sophie-weekly-execution.plist +28 -0
  768. package/scripts/local-triggers/plists/ai.adaptic.sophie-weekly-hiring.plist +28 -0
  769. package/scripts/local-triggers/plists/ai.adaptic.sophie-weekly-priorities.plist +28 -0
  770. package/scripts/local-triggers/plists/ai.adaptic.sophie-weekly-strategic-memo.plist +28 -0
  771. package/scripts/local-triggers/run-trigger.sh +44 -0
  772. package/scripts/media-generation/README.md +103 -0
  773. package/scripts/media-generation/gemini-image-client.mjs +173 -0
  774. package/scripts/media-generation/generate-assets.mjs +289 -0
  775. package/scripts/media-generation/veo-video-client.mjs +219 -0
  776. package/scripts/mehran-inbox-poller.py +437 -0
  777. package/scripts/outbound-dedup-cleanup.sh +43 -0
  778. package/scripts/outbound-dedup.sh +476 -0
  779. package/scripts/outbound_dedup.py +115 -0
  780. package/scripts/parse-voice-transcript.mjs +486 -0
  781. package/scripts/pdf-generation/README.md +61 -0
  782. package/scripts/pdf-generation/build-document.mjs +230 -0
  783. package/scripts/pdf-generation/templates/board-pack.latex +136 -0
  784. package/scripts/pdf-generation/templates/corporate-letter.latex +126 -0
  785. package/scripts/pdf-generation/templates/memo.latex +114 -0
  786. package/scripts/poll-slack-events.sh +33 -0
  787. package/scripts/poller/calendar-poller.mjs +12 -0
  788. package/scripts/poller/gmail-poller.mjs +156 -0
  789. package/scripts/poller/imap-client.mjs +286 -0
  790. package/scripts/poller/index.mjs +73 -0
  791. package/scripts/poller/intra-session-check.mjs +267 -0
  792. package/scripts/poller/mehran-gmail-poller.mjs +98 -0
  793. package/scripts/poller/slack-poller.mjs +716 -0
  794. package/scripts/poller/trigger.mjs +47 -0
  795. package/scripts/poller/utils.mjs +253 -0
  796. package/scripts/poller-launchd/ai.adaptic.sophie-poller.plist +40 -0
  797. package/scripts/poller-launchd/ai.adaptic.sophie-whatsapp-handler.plist +39 -0
  798. package/scripts/poller-launchd/install.sh +38 -0
  799. package/scripts/post-interaction-indexer.py +1598 -0
  800. package/scripts/pre-draft-context.py +994 -0
  801. package/scripts/pre_draft_lookup.py +258 -0
  802. package/scripts/rag-indexer.py +629 -0
  803. package/scripts/resume-operations.sh +40 -0
  804. package/scripts/search-mehran-inbox.py +181 -0
  805. package/scripts/self-optimization/compute-metrics.py +377 -0
  806. package/scripts/send-difc-rfp.sh +98 -0
  807. package/scripts/send-email-as-mehran.py +369 -0
  808. package/scripts/send-email-threaded.py +336 -0
  809. package/scripts/send-email-with-attachment.py +360 -0
  810. package/scripts/send-email.sh +93 -0
  811. package/scripts/send-sms.sh +151 -0
  812. package/scripts/send-whatsapp.sh +261 -0
  813. package/scripts/session-start.sh +106 -0
  814. package/scripts/setup/configure-macos.sh +508 -0
  815. package/scripts/setup/init-agent.sh +450 -0
  816. package/scripts/slack-events-ctl.sh +177 -0
  817. package/scripts/slack-events-server.mjs +989 -0
  818. package/scripts/slack-react.mjs +89 -0
  819. package/scripts/slack-responded.sh +185 -0
  820. package/scripts/slack-send.sh +190 -0
  821. package/scripts/slack-typing.mjs +196 -0
  822. package/scripts/slack-upload-v2.py +95 -0
  823. package/scripts/sms-handler.mjs +436 -0
  824. package/scripts/sophie-inbox-poller.py +406 -0
  825. package/scripts/spawn-session.sh +85 -0
  826. package/scripts/system-verify.sh +171 -0
  827. package/scripts/test-email-thread-dedup.py +239 -0
  828. package/scripts/test-information-barriers.py +484 -0
  829. package/scripts/test-llm-email-dedup.py +251 -0
  830. package/scripts/test-pre-draft-integration.py +203 -0
  831. package/scripts/test-rag-phase2.sh +442 -0
  832. package/scripts/test-rag-search.sh +251 -0
  833. package/scripts/test-voice-parser.mjs +316 -0
  834. package/scripts/user-context-search.py +660 -0
  835. package/scripts/validate-outbound.py +1493 -0
  836. package/scripts/whatsapp-handler.mjs +525 -0
  837. package/teams/desktop-operations.yaml +34 -0
  838. package/teams/executive-office.yaml +27 -0
  839. package/teams/legal-and-regulatory.yaml +24 -0
  840. package/teams/platform-and-engineering.yaml +23 -0
  841. package/teams/strategy-and-growth.yaml +29 -0
  842. package/workflows/continuous/inbound-monitor.yaml +168 -0
  843. package/workflows/daily/applicant-triage.yaml +197 -0
  844. package/workflows/daily/comms-triage.yaml +80 -0
  845. package/workflows/daily/evening-wrap.yaml +65 -0
  846. package/workflows/daily/morning-brief.yaml +147 -0
  847. package/workflows/daily/slack-followup-sweep.yaml +87 -0
  848. package/workflows/event-driven/README.md +50 -0
  849. package/workflows/monthly/board-readiness.yaml +76 -0
  850. package/workflows/quarterly/strategic-scenario-analysis.yaml +85 -0
  851. package/workflows/session-protocol.md +171 -0
  852. package/workflows/weekly/hiring-review.yaml +169 -0
  853. package/workflows/weekly/rollup-pipeline-review.yaml +76 -0
  854. package/workflows/weekly/strategic-memo.yaml +79 -0
@@ -0,0 +1,1783 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIPromise } from '../../core/api-promise';
4
+ import { APIResource } from '../../core/resource';
5
+ import { Stream } from '../../core/streaming';
6
+ import { RequestOptions } from '../../internal/request-options';
7
+ import { MessageStream } from '../../lib/MessageStream';
8
+ import * as BatchesAPI from './batches';
9
+ import {
10
+ BatchCreateParams,
11
+ BatchListParams,
12
+ Batches,
13
+ DeletedMessageBatch,
14
+ MessageBatch,
15
+ MessageBatchCanceledResult,
16
+ MessageBatchErroredResult,
17
+ MessageBatchExpiredResult,
18
+ MessageBatchIndividualResponse,
19
+ MessageBatchRequestCounts,
20
+ MessageBatchResult,
21
+ MessageBatchSucceededResult,
22
+ MessageBatchesPage,
23
+ } from './batches';
24
+ import * as MessagesAPI from './messages';
25
+
26
+ import { MODEL_NONSTREAMING_TOKENS } from '../../internal/constants';
27
+
28
+ export class Messages extends APIResource {
29
+ batches: BatchesAPI.Batches = new BatchesAPI.Batches(this._client);
30
+
31
+ /**
32
+ * Send a structured list of input messages with text and/or image content, and the
33
+ * model will generate the next message in the conversation.
34
+ *
35
+ * The Messages API can be used for either single queries or stateless multi-turn
36
+ * conversations.
37
+ *
38
+ * Learn more about the Messages API in our [user guide](/en/docs/initial-setup)
39
+ *
40
+ * @example
41
+ * ```ts
42
+ * const message = await client.messages.create({
43
+ * max_tokens: 1024,
44
+ * messages: [{ content: 'Hello, world', role: 'user' }],
45
+ * model: 'claude-3-7-sonnet-20250219',
46
+ * });
47
+ * ```
48
+ */
49
+ create(body: MessageCreateParamsNonStreaming, options?: RequestOptions): APIPromise<Message>;
50
+ create(
51
+ body: MessageCreateParamsStreaming,
52
+ options?: RequestOptions,
53
+ ): APIPromise<Stream<RawMessageStreamEvent>>;
54
+ create(
55
+ body: MessageCreateParamsBase,
56
+ options?: RequestOptions,
57
+ ): APIPromise<Stream<RawMessageStreamEvent> | Message>;
58
+ create(
59
+ body: MessageCreateParams,
60
+ options?: RequestOptions,
61
+ ): APIPromise<Message> | APIPromise<Stream<RawMessageStreamEvent>> {
62
+ if (body.model in DEPRECATED_MODELS) {
63
+ console.warn(
64
+ `The model '${body.model}' is deprecated and will reach end-of-life on ${
65
+ DEPRECATED_MODELS[body.model]
66
+ }\nPlease migrate to a newer model. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.`,
67
+ );
68
+ }
69
+ let timeout = (this._client as any)._options.timeout as number | null;
70
+ if (!body.stream && timeout == null) {
71
+ const maxNonstreamingTokens = MODEL_NONSTREAMING_TOKENS[body.model] ?? undefined;
72
+ timeout = this._client.calculateNonstreamingTimeout(body.max_tokens, maxNonstreamingTokens);
73
+ }
74
+ return this._client.post('/v1/messages', {
75
+ body,
76
+ timeout: timeout ?? 600000,
77
+ ...options,
78
+ stream: body.stream ?? false,
79
+ }) as APIPromise<Message> | APIPromise<Stream<RawMessageStreamEvent>>;
80
+ }
81
+
82
+ /**
83
+ * Create a Message stream
84
+ */
85
+ stream(body: MessageStreamParams, options?: RequestOptions): MessageStream {
86
+ return MessageStream.createMessage(this, body, options);
87
+ }
88
+
89
+ /**
90
+ * Count the number of tokens in a Message.
91
+ *
92
+ * The Token Count API can be used to count the number of tokens in a Message,
93
+ * including tools, images, and documents, without creating it.
94
+ *
95
+ * Learn more about token counting in our
96
+ * [user guide](/en/docs/build-with-claude/token-counting)
97
+ *
98
+ * @example
99
+ * ```ts
100
+ * const messageTokensCount =
101
+ * await client.messages.countTokens({
102
+ * messages: [{ content: 'string', role: 'user' }],
103
+ * model: 'claude-3-7-sonnet-latest',
104
+ * });
105
+ * ```
106
+ */
107
+ countTokens(body: MessageCountTokensParams, options?: RequestOptions): APIPromise<MessageTokensCount> {
108
+ return this._client.post('/v1/messages/count_tokens', { body, ...options });
109
+ }
110
+ }
111
+
112
+ export interface Base64ImageSource {
113
+ data: string;
114
+
115
+ media_type: 'image/jpeg' | 'image/png' | 'image/gif' | 'image/webp';
116
+
117
+ type: 'base64';
118
+ }
119
+
120
+ export interface Base64PDFSource {
121
+ data: string;
122
+
123
+ media_type: 'application/pdf';
124
+
125
+ type: 'base64';
126
+ }
127
+
128
+ export interface CacheControlEphemeral {
129
+ type: 'ephemeral';
130
+ }
131
+
132
+ export interface CitationCharLocation {
133
+ cited_text: string;
134
+
135
+ document_index: number;
136
+
137
+ document_title: string | null;
138
+
139
+ end_char_index: number;
140
+
141
+ start_char_index: number;
142
+
143
+ type: 'char_location';
144
+ }
145
+
146
+ export interface CitationCharLocationParam {
147
+ cited_text: string;
148
+
149
+ document_index: number;
150
+
151
+ document_title: string | null;
152
+
153
+ end_char_index: number;
154
+
155
+ start_char_index: number;
156
+
157
+ type: 'char_location';
158
+ }
159
+
160
+ export interface CitationContentBlockLocation {
161
+ cited_text: string;
162
+
163
+ document_index: number;
164
+
165
+ document_title: string | null;
166
+
167
+ end_block_index: number;
168
+
169
+ start_block_index: number;
170
+
171
+ type: 'content_block_location';
172
+ }
173
+
174
+ export interface CitationContentBlockLocationParam {
175
+ cited_text: string;
176
+
177
+ document_index: number;
178
+
179
+ document_title: string | null;
180
+
181
+ end_block_index: number;
182
+
183
+ start_block_index: number;
184
+
185
+ type: 'content_block_location';
186
+ }
187
+
188
+ export interface CitationPageLocation {
189
+ cited_text: string;
190
+
191
+ document_index: number;
192
+
193
+ document_title: string | null;
194
+
195
+ end_page_number: number;
196
+
197
+ start_page_number: number;
198
+
199
+ type: 'page_location';
200
+ }
201
+
202
+ export interface CitationPageLocationParam {
203
+ cited_text: string;
204
+
205
+ document_index: number;
206
+
207
+ document_title: string | null;
208
+
209
+ end_page_number: number;
210
+
211
+ start_page_number: number;
212
+
213
+ type: 'page_location';
214
+ }
215
+
216
+ export interface CitationWebSearchResultLocationParam {
217
+ cited_text: string;
218
+
219
+ encrypted_index: string;
220
+
221
+ title: string | null;
222
+
223
+ type: 'web_search_result_location';
224
+
225
+ url: string;
226
+ }
227
+
228
+ export interface CitationsConfigParam {
229
+ enabled?: boolean;
230
+ }
231
+
232
+ export interface CitationsDelta {
233
+ citation:
234
+ | CitationCharLocation
235
+ | CitationPageLocation
236
+ | CitationContentBlockLocation
237
+ | CitationsWebSearchResultLocation;
238
+
239
+ type: 'citations_delta';
240
+ }
241
+
242
+ export interface CitationsWebSearchResultLocation {
243
+ cited_text: string;
244
+
245
+ encrypted_index: string;
246
+
247
+ title: string | null;
248
+
249
+ type: 'web_search_result_location';
250
+
251
+ url: string;
252
+ }
253
+
254
+ export type ContentBlock =
255
+ | TextBlock
256
+ | ToolUseBlock
257
+ | ServerToolUseBlock
258
+ | WebSearchToolResultBlock
259
+ | ThinkingBlock
260
+ | RedactedThinkingBlock;
261
+
262
+ /**
263
+ * Regular text content.
264
+ */
265
+ export type ContentBlockParam =
266
+ | ServerToolUseBlockParam
267
+ | WebSearchToolResultBlockParam
268
+ | TextBlockParam
269
+ | ImageBlockParam
270
+ | ToolUseBlockParam
271
+ | ToolResultBlockParam
272
+ | DocumentBlockParam
273
+ | ThinkingBlockParam
274
+ | RedactedThinkingBlockParam;
275
+
276
+ export interface ContentBlockSource {
277
+ content: string | Array<ContentBlockSourceContent>;
278
+
279
+ type: 'content';
280
+ }
281
+
282
+ export type ContentBlockSourceContent = TextBlockParam | ImageBlockParam;
283
+
284
+ export interface DocumentBlockParam {
285
+ source: Base64PDFSource | PlainTextSource | ContentBlockSource | URLPDFSource;
286
+
287
+ type: 'document';
288
+
289
+ /**
290
+ * Create a cache control breakpoint at this content block.
291
+ */
292
+ cache_control?: CacheControlEphemeral | null;
293
+
294
+ citations?: CitationsConfigParam;
295
+
296
+ context?: string | null;
297
+
298
+ title?: string | null;
299
+ }
300
+
301
+ export interface ImageBlockParam {
302
+ source: Base64ImageSource | URLImageSource;
303
+
304
+ type: 'image';
305
+
306
+ /**
307
+ * Create a cache control breakpoint at this content block.
308
+ */
309
+ cache_control?: CacheControlEphemeral | null;
310
+ }
311
+
312
+ export interface InputJSONDelta {
313
+ partial_json: string;
314
+
315
+ type: 'input_json_delta';
316
+ }
317
+
318
+ export interface Message {
319
+ /**
320
+ * Unique object identifier.
321
+ *
322
+ * The format and length of IDs may change over time.
323
+ */
324
+ id: string;
325
+
326
+ /**
327
+ * Content generated by the model.
328
+ *
329
+ * This is an array of content blocks, each of which has a `type` that determines
330
+ * its shape.
331
+ *
332
+ * Example:
333
+ *
334
+ * ```json
335
+ * [{ "type": "text", "text": "Hi, I'm Claude." }]
336
+ * ```
337
+ *
338
+ * If the request input `messages` ended with an `assistant` turn, then the
339
+ * response `content` will continue directly from that last turn. You can use this
340
+ * to constrain the model's output.
341
+ *
342
+ * For example, if the input `messages` were:
343
+ *
344
+ * ```json
345
+ * [
346
+ * {
347
+ * "role": "user",
348
+ * "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
349
+ * },
350
+ * { "role": "assistant", "content": "The best answer is (" }
351
+ * ]
352
+ * ```
353
+ *
354
+ * Then the response `content` might be:
355
+ *
356
+ * ```json
357
+ * [{ "type": "text", "text": "B)" }]
358
+ * ```
359
+ */
360
+ content: Array<ContentBlock>;
361
+
362
+ /**
363
+ * The model that will complete your prompt.\n\nSee
364
+ * [models](https://docs.anthropic.com/en/docs/models-overview) for additional
365
+ * details and options.
366
+ */
367
+ model: Model;
368
+
369
+ /**
370
+ * Conversational role of the generated message.
371
+ *
372
+ * This will always be `"assistant"`.
373
+ */
374
+ role: 'assistant';
375
+
376
+ /**
377
+ * The reason that we stopped.
378
+ *
379
+ * This may be one the following values:
380
+ *
381
+ * - `"end_turn"`: the model reached a natural stopping point
382
+ * - `"max_tokens"`: we exceeded the requested `max_tokens` or the model's maximum
383
+ * - `"stop_sequence"`: one of your provided custom `stop_sequences` was generated
384
+ * - `"tool_use"`: the model invoked one or more tools
385
+ *
386
+ * In non-streaming mode this value is always non-null. In streaming mode, it is
387
+ * null in the `message_start` event and non-null otherwise.
388
+ */
389
+ stop_reason: StopReason | null;
390
+
391
+ /**
392
+ * Which custom stop sequence was generated, if any.
393
+ *
394
+ * This value will be a non-null string if one of your custom stop sequences was
395
+ * generated.
396
+ */
397
+ stop_sequence: string | null;
398
+
399
+ /**
400
+ * Object type.
401
+ *
402
+ * For Messages, this is always `"message"`.
403
+ */
404
+ type: 'message';
405
+
406
+ /**
407
+ * Billing and rate-limit usage.
408
+ *
409
+ * Anthropic's API bills and rate-limits by token counts, as tokens represent the
410
+ * underlying cost to our systems.
411
+ *
412
+ * Under the hood, the API transforms requests into a format suitable for the
413
+ * model. The model's output then goes through a parsing stage before becoming an
414
+ * API response. As a result, the token counts in `usage` will not match one-to-one
415
+ * with the exact visible content of an API request or response.
416
+ *
417
+ * For example, `output_tokens` will be non-zero, even for an empty string response
418
+ * from Claude.
419
+ *
420
+ * Total input tokens in a request is the summation of `input_tokens`,
421
+ * `cache_creation_input_tokens`, and `cache_read_input_tokens`.
422
+ */
423
+ usage: Usage;
424
+ }
425
+
426
+ export type MessageCountTokensTool = Tool | ToolBash20250124 | ToolTextEditor20250124 | WebSearchTool20250305;
427
+
428
+ export interface MessageDeltaUsage {
429
+ /**
430
+ * The cumulative number of input tokens used to create the cache entry.
431
+ */
432
+ cache_creation_input_tokens: number | null;
433
+
434
+ /**
435
+ * The cumulative number of input tokens read from the cache.
436
+ */
437
+ cache_read_input_tokens: number | null;
438
+
439
+ /**
440
+ * The cumulative number of input tokens which were used.
441
+ */
442
+ input_tokens: number | null;
443
+
444
+ /**
445
+ * The cumulative number of output tokens which were used.
446
+ */
447
+ output_tokens: number;
448
+
449
+ /**
450
+ * The number of server tool requests.
451
+ */
452
+ server_tool_use: ServerToolUsage | null;
453
+ }
454
+
455
+ export interface MessageParam {
456
+ content: string | Array<ContentBlockParam>;
457
+
458
+ role: 'user' | 'assistant';
459
+ }
460
+
461
+ export interface MessageTokensCount {
462
+ /**
463
+ * The total number of tokens across the provided list of messages, system prompt,
464
+ * and tools.
465
+ */
466
+ input_tokens: number;
467
+ }
468
+
469
+ export interface Metadata {
470
+ /**
471
+ * An external identifier for the user who is associated with the request.
472
+ *
473
+ * This should be a uuid, hash value, or other opaque identifier. Anthropic may use
474
+ * this id to help detect abuse. Do not include any identifying information such as
475
+ * name, email address, or phone number.
476
+ */
477
+ user_id?: string | null;
478
+ }
479
+
480
+ /**
481
+ * The model that will complete your prompt.\n\nSee
482
+ * [models](https://docs.anthropic.com/en/docs/models-overview) for additional
483
+ * details and options.
484
+ */
485
+ export type Model =
486
+ | 'claude-3-7-sonnet-latest'
487
+ | 'claude-3-7-sonnet-20250219'
488
+ | 'claude-3-5-haiku-latest'
489
+ | 'claude-3-5-haiku-20241022'
490
+ | 'claude-sonnet-4-20250514'
491
+ | 'claude-sonnet-4-0'
492
+ | 'claude-4-sonnet-20250514'
493
+ | 'claude-3-5-sonnet-latest'
494
+ | 'claude-3-5-sonnet-20241022'
495
+ | 'claude-3-5-sonnet-20240620'
496
+ | 'claude-opus-4-0'
497
+ | 'claude-opus-4-20250514'
498
+ | 'claude-4-opus-20250514'
499
+ | 'claude-3-opus-latest'
500
+ | 'claude-3-opus-20240229'
501
+ | 'claude-3-sonnet-20240229'
502
+ | 'claude-3-haiku-20240307'
503
+ | 'claude-2.1'
504
+ | 'claude-2.0'
505
+ | (string & {});
506
+
507
+ const DEPRECATED_MODELS: {
508
+ [K in Model]?: string;
509
+ } = {
510
+ 'claude-1.3': 'November 6th, 2024',
511
+ 'claude-1.3-100k': 'November 6th, 2024',
512
+ 'claude-instant-1.1': 'November 6th, 2024',
513
+ 'claude-instant-1.1-100k': 'November 6th, 2024',
514
+ 'claude-instant-1.2': 'November 6th, 2024',
515
+ 'claude-3-sonnet-20240229': 'July 21st, 2025',
516
+ 'claude-2.1': 'July 21st, 2025',
517
+ 'claude-2.0': 'July 21st, 2025',
518
+ };
519
+
520
+ export interface PlainTextSource {
521
+ data: string;
522
+
523
+ media_type: 'text/plain';
524
+
525
+ type: 'text';
526
+ }
527
+
528
+ export type RawContentBlockDelta =
529
+ | TextDelta
530
+ | InputJSONDelta
531
+ | CitationsDelta
532
+ | ThinkingDelta
533
+ | SignatureDelta;
534
+
535
+ export interface RawContentBlockDeltaEvent {
536
+ delta: RawContentBlockDelta;
537
+
538
+ index: number;
539
+
540
+ type: 'content_block_delta';
541
+ }
542
+
543
+ export interface RawContentBlockStartEvent {
544
+ content_block:
545
+ | TextBlock
546
+ | ToolUseBlock
547
+ | ServerToolUseBlock
548
+ | WebSearchToolResultBlock
549
+ | ThinkingBlock
550
+ | RedactedThinkingBlock;
551
+
552
+ index: number;
553
+
554
+ type: 'content_block_start';
555
+ }
556
+
557
+ export interface RawContentBlockStopEvent {
558
+ index: number;
559
+
560
+ type: 'content_block_stop';
561
+ }
562
+
563
+ export interface RawMessageDeltaEvent {
564
+ delta: RawMessageDeltaEvent.Delta;
565
+
566
+ type: 'message_delta';
567
+
568
+ /**
569
+ * Billing and rate-limit usage.
570
+ *
571
+ * Anthropic's API bills and rate-limits by token counts, as tokens represent the
572
+ * underlying cost to our systems.
573
+ *
574
+ * Under the hood, the API transforms requests into a format suitable for the
575
+ * model. The model's output then goes through a parsing stage before becoming an
576
+ * API response. As a result, the token counts in `usage` will not match one-to-one
577
+ * with the exact visible content of an API request or response.
578
+ *
579
+ * For example, `output_tokens` will be non-zero, even for an empty string response
580
+ * from Claude.
581
+ *
582
+ * Total input tokens in a request is the summation of `input_tokens`,
583
+ * `cache_creation_input_tokens`, and `cache_read_input_tokens`.
584
+ */
585
+ usage: MessageDeltaUsage;
586
+ }
587
+
588
+ export namespace RawMessageDeltaEvent {
589
+ export interface Delta {
590
+ stop_reason: MessagesAPI.StopReason | null;
591
+
592
+ stop_sequence: string | null;
593
+ }
594
+ }
595
+
596
+ export interface RawMessageStartEvent {
597
+ message: Message;
598
+
599
+ type: 'message_start';
600
+ }
601
+
602
+ export interface RawMessageStopEvent {
603
+ type: 'message_stop';
604
+ }
605
+
606
+ export type RawMessageStreamEvent =
607
+ | RawMessageStartEvent
608
+ | RawMessageDeltaEvent
609
+ | RawMessageStopEvent
610
+ | RawContentBlockStartEvent
611
+ | RawContentBlockDeltaEvent
612
+ | RawContentBlockStopEvent;
613
+
614
+ export interface RedactedThinkingBlock {
615
+ data: string;
616
+
617
+ type: 'redacted_thinking';
618
+ }
619
+
620
+ export interface RedactedThinkingBlockParam {
621
+ data: string;
622
+
623
+ type: 'redacted_thinking';
624
+ }
625
+
626
+ export interface ServerToolUsage {
627
+ /**
628
+ * The number of web search tool requests.
629
+ */
630
+ web_search_requests: number;
631
+ }
632
+
633
+ export interface ServerToolUseBlock {
634
+ id: string;
635
+
636
+ input: unknown;
637
+
638
+ name: 'web_search';
639
+
640
+ type: 'server_tool_use';
641
+ }
642
+
643
+ export interface ServerToolUseBlockParam {
644
+ id: string;
645
+
646
+ input: unknown;
647
+
648
+ name: 'web_search';
649
+
650
+ type: 'server_tool_use';
651
+
652
+ /**
653
+ * Create a cache control breakpoint at this content block.
654
+ */
655
+ cache_control?: CacheControlEphemeral | null;
656
+ }
657
+
658
+ export interface SignatureDelta {
659
+ signature: string;
660
+
661
+ type: 'signature_delta';
662
+ }
663
+
664
+ export type StopReason = 'end_turn' | 'max_tokens' | 'stop_sequence' | 'tool_use' | 'pause_turn' | 'refusal';
665
+
666
+ export interface TextBlock {
667
+ /**
668
+ * Citations supporting the text block.
669
+ *
670
+ * The type of citation returned will depend on the type of document being cited.
671
+ * Citing a PDF results in `page_location`, plain text results in `char_location`,
672
+ * and content document results in `content_block_location`.
673
+ */
674
+ citations: Array<TextCitation> | null;
675
+
676
+ text: string;
677
+
678
+ type: 'text';
679
+ }
680
+
681
+ export interface TextBlockParam {
682
+ text: string;
683
+
684
+ type: 'text';
685
+
686
+ /**
687
+ * Create a cache control breakpoint at this content block.
688
+ */
689
+ cache_control?: CacheControlEphemeral | null;
690
+
691
+ citations?: Array<TextCitationParam> | null;
692
+ }
693
+
694
+ export type TextCitation =
695
+ | CitationCharLocation
696
+ | CitationPageLocation
697
+ | CitationContentBlockLocation
698
+ | CitationsWebSearchResultLocation;
699
+
700
+ export type TextCitationParam =
701
+ | CitationCharLocationParam
702
+ | CitationPageLocationParam
703
+ | CitationContentBlockLocationParam
704
+ | CitationWebSearchResultLocationParam;
705
+
706
+ export interface TextDelta {
707
+ text: string;
708
+
709
+ type: 'text_delta';
710
+ }
711
+
712
+ export interface ThinkingBlock {
713
+ signature: string;
714
+
715
+ thinking: string;
716
+
717
+ type: 'thinking';
718
+ }
719
+
720
+ export interface ThinkingBlockParam {
721
+ signature: string;
722
+
723
+ thinking: string;
724
+
725
+ type: 'thinking';
726
+ }
727
+
728
+ export interface ThinkingConfigDisabled {
729
+ type: 'disabled';
730
+ }
731
+
732
+ export interface ThinkingConfigEnabled {
733
+ /**
734
+ * Determines how many tokens Claude can use for its internal reasoning process.
735
+ * Larger budgets can enable more thorough analysis for complex problems, improving
736
+ * response quality.
737
+ *
738
+ * Must be ≥1024 and less than `max_tokens`.
739
+ *
740
+ * See
741
+ * [extended thinking](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking)
742
+ * for details.
743
+ */
744
+ budget_tokens: number;
745
+
746
+ type: 'enabled';
747
+ }
748
+
749
+ /**
750
+ * Configuration for enabling Claude's extended thinking.
751
+ *
752
+ * When enabled, responses include `thinking` content blocks showing Claude's
753
+ * thinking process before the final answer. Requires a minimum budget of 1,024
754
+ * tokens and counts towards your `max_tokens` limit.
755
+ *
756
+ * See
757
+ * [extended thinking](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking)
758
+ * for details.
759
+ */
760
+ export type ThinkingConfigParam = ThinkingConfigEnabled | ThinkingConfigDisabled;
761
+
762
+ export interface ThinkingDelta {
763
+ thinking: string;
764
+
765
+ type: 'thinking_delta';
766
+ }
767
+
768
+ export interface Tool {
769
+ /**
770
+ * [JSON schema](https://json-schema.org/draft/2020-12) for this tool's input.
771
+ *
772
+ * This defines the shape of the `input` that your tool accepts and that the model
773
+ * will produce.
774
+ */
775
+ input_schema: Tool.InputSchema;
776
+
777
+ /**
778
+ * Name of the tool.
779
+ *
780
+ * This is how the tool will be called by the model and in `tool_use` blocks.
781
+ */
782
+ name: string;
783
+
784
+ /**
785
+ * Create a cache control breakpoint at this content block.
786
+ */
787
+ cache_control?: CacheControlEphemeral | null;
788
+
789
+ /**
790
+ * Description of what this tool does.
791
+ *
792
+ * Tool descriptions should be as detailed as possible. The more information that
793
+ * the model has about what the tool is and how to use it, the better it will
794
+ * perform. You can use natural language descriptions to reinforce important
795
+ * aspects of the tool input JSON schema.
796
+ */
797
+ description?: string;
798
+
799
+ type?: 'custom' | null;
800
+ }
801
+
802
+ export namespace Tool {
803
+ /**
804
+ * [JSON schema](https://json-schema.org/draft/2020-12) for this tool's input.
805
+ *
806
+ * This defines the shape of the `input` that your tool accepts and that the model
807
+ * will produce.
808
+ */
809
+ export interface InputSchema {
810
+ type: 'object';
811
+
812
+ properties?: unknown | null;
813
+
814
+ [k: string]: unknown;
815
+ }
816
+ }
817
+
818
+ export interface ToolBash20250124 {
819
+ /**
820
+ * Name of the tool.
821
+ *
822
+ * This is how the tool will be called by the model and in `tool_use` blocks.
823
+ */
824
+ name: 'bash';
825
+
826
+ type: 'bash_20250124';
827
+
828
+ /**
829
+ * Create a cache control breakpoint at this content block.
830
+ */
831
+ cache_control?: CacheControlEphemeral | null;
832
+ }
833
+
834
+ /**
835
+ * How the model should use the provided tools. The model can use a specific tool,
836
+ * any available tool, decide by itself, or not use tools at all.
837
+ */
838
+ export type ToolChoice = ToolChoiceAuto | ToolChoiceAny | ToolChoiceTool | ToolChoiceNone;
839
+
840
+ /**
841
+ * The model will use any available tools.
842
+ */
843
+ export interface ToolChoiceAny {
844
+ type: 'any';
845
+
846
+ /**
847
+ * Whether to disable parallel tool use.
848
+ *
849
+ * Defaults to `false`. If set to `true`, the model will output exactly one tool
850
+ * use.
851
+ */
852
+ disable_parallel_tool_use?: boolean;
853
+ }
854
+
855
+ /**
856
+ * The model will automatically decide whether to use tools.
857
+ */
858
+ export interface ToolChoiceAuto {
859
+ type: 'auto';
860
+
861
+ /**
862
+ * Whether to disable parallel tool use.
863
+ *
864
+ * Defaults to `false`. If set to `true`, the model will output at most one tool
865
+ * use.
866
+ */
867
+ disable_parallel_tool_use?: boolean;
868
+ }
869
+
870
+ /**
871
+ * The model will not be allowed to use tools.
872
+ */
873
+ export interface ToolChoiceNone {
874
+ type: 'none';
875
+ }
876
+
877
+ /**
878
+ * The model will use the specified tool with `tool_choice.name`.
879
+ */
880
+ export interface ToolChoiceTool {
881
+ /**
882
+ * The name of the tool to use.
883
+ */
884
+ name: string;
885
+
886
+ type: 'tool';
887
+
888
+ /**
889
+ * Whether to disable parallel tool use.
890
+ *
891
+ * Defaults to `false`. If set to `true`, the model will output exactly one tool
892
+ * use.
893
+ */
894
+ disable_parallel_tool_use?: boolean;
895
+ }
896
+
897
+ export interface ToolResultBlockParam {
898
+ tool_use_id: string;
899
+
900
+ type: 'tool_result';
901
+
902
+ /**
903
+ * Create a cache control breakpoint at this content block.
904
+ */
905
+ cache_control?: CacheControlEphemeral | null;
906
+
907
+ content?: string | Array<TextBlockParam | ImageBlockParam>;
908
+
909
+ is_error?: boolean;
910
+ }
911
+
912
+ export interface ToolTextEditor20250124 {
913
+ /**
914
+ * Name of the tool.
915
+ *
916
+ * This is how the tool will be called by the model and in `tool_use` blocks.
917
+ */
918
+ name: 'str_replace_editor';
919
+
920
+ type: 'text_editor_20250124';
921
+
922
+ /**
923
+ * Create a cache control breakpoint at this content block.
924
+ */
925
+ cache_control?: CacheControlEphemeral | null;
926
+ }
927
+
928
+ export type ToolUnion = Tool | ToolBash20250124 | ToolTextEditor20250124 | WebSearchTool20250305;
929
+
930
+ export interface ToolUseBlock {
931
+ id: string;
932
+
933
+ input: unknown;
934
+
935
+ name: string;
936
+
937
+ type: 'tool_use';
938
+ }
939
+
940
+ export interface ToolUseBlockParam {
941
+ id: string;
942
+
943
+ input: unknown;
944
+
945
+ name: string;
946
+
947
+ type: 'tool_use';
948
+
949
+ /**
950
+ * Create a cache control breakpoint at this content block.
951
+ */
952
+ cache_control?: CacheControlEphemeral | null;
953
+ }
954
+
955
+ export interface URLImageSource {
956
+ type: 'url';
957
+
958
+ url: string;
959
+ }
960
+
961
+ export interface URLPDFSource {
962
+ type: 'url';
963
+
964
+ url: string;
965
+ }
966
+
967
+ export interface Usage {
968
+ /**
969
+ * The number of input tokens used to create the cache entry.
970
+ */
971
+ cache_creation_input_tokens: number | null;
972
+
973
+ /**
974
+ * The number of input tokens read from the cache.
975
+ */
976
+ cache_read_input_tokens: number | null;
977
+
978
+ /**
979
+ * The number of input tokens which were used.
980
+ */
981
+ input_tokens: number;
982
+
983
+ /**
984
+ * The number of output tokens which were used.
985
+ */
986
+ output_tokens: number;
987
+
988
+ /**
989
+ * The number of server tool requests.
990
+ */
991
+ server_tool_use: ServerToolUsage | null;
992
+
993
+ /**
994
+ * If the request used the priority, standard, or batch tier.
995
+ */
996
+ service_tier: 'standard' | 'priority' | 'batch' | null;
997
+ }
998
+
999
+ export interface WebSearchResultBlock {
1000
+ encrypted_content: string;
1001
+
1002
+ page_age: string | null;
1003
+
1004
+ title: string;
1005
+
1006
+ type: 'web_search_result';
1007
+
1008
+ url: string;
1009
+ }
1010
+
1011
+ export interface WebSearchResultBlockParam {
1012
+ encrypted_content: string;
1013
+
1014
+ title: string;
1015
+
1016
+ type: 'web_search_result';
1017
+
1018
+ url: string;
1019
+
1020
+ page_age?: string | null;
1021
+ }
1022
+
1023
+ export interface WebSearchTool20250305 {
1024
+ /**
1025
+ * Name of the tool.
1026
+ *
1027
+ * This is how the tool will be called by the model and in `tool_use` blocks.
1028
+ */
1029
+ name: 'web_search';
1030
+
1031
+ type: 'web_search_20250305';
1032
+
1033
+ /**
1034
+ * If provided, only these domains will be included in results. Cannot be used
1035
+ * alongside `blocked_domains`.
1036
+ */
1037
+ allowed_domains?: Array<string> | null;
1038
+
1039
+ /**
1040
+ * If provided, these domains will never appear in results. Cannot be used
1041
+ * alongside `allowed_domains`.
1042
+ */
1043
+ blocked_domains?: Array<string> | null;
1044
+
1045
+ /**
1046
+ * Create a cache control breakpoint at this content block.
1047
+ */
1048
+ cache_control?: CacheControlEphemeral | null;
1049
+
1050
+ /**
1051
+ * Maximum number of times the tool can be used in the API request.
1052
+ */
1053
+ max_uses?: number | null;
1054
+
1055
+ /**
1056
+ * Parameters for the user's location. Used to provide more relevant search
1057
+ * results.
1058
+ */
1059
+ user_location?: WebSearchTool20250305.UserLocation | null;
1060
+ }
1061
+
1062
+ export namespace WebSearchTool20250305 {
1063
+ /**
1064
+ * Parameters for the user's location. Used to provide more relevant search
1065
+ * results.
1066
+ */
1067
+ export interface UserLocation {
1068
+ type: 'approximate';
1069
+
1070
+ /**
1071
+ * The city of the user.
1072
+ */
1073
+ city?: string | null;
1074
+
1075
+ /**
1076
+ * The two letter
1077
+ * [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the
1078
+ * user.
1079
+ */
1080
+ country?: string | null;
1081
+
1082
+ /**
1083
+ * The region of the user.
1084
+ */
1085
+ region?: string | null;
1086
+
1087
+ /**
1088
+ * The [IANA timezone](https://nodatime.org/TimeZones) of the user.
1089
+ */
1090
+ timezone?: string | null;
1091
+ }
1092
+ }
1093
+
1094
+ export interface WebSearchToolRequestError {
1095
+ error_code:
1096
+ | 'invalid_tool_input'
1097
+ | 'unavailable'
1098
+ | 'max_uses_exceeded'
1099
+ | 'too_many_requests'
1100
+ | 'query_too_long';
1101
+
1102
+ type: 'web_search_tool_result_error';
1103
+ }
1104
+
1105
+ export interface WebSearchToolResultBlock {
1106
+ content: WebSearchToolResultBlockContent;
1107
+
1108
+ tool_use_id: string;
1109
+
1110
+ type: 'web_search_tool_result';
1111
+ }
1112
+
1113
+ export type WebSearchToolResultBlockContent = WebSearchToolResultError | Array<WebSearchResultBlock>;
1114
+
1115
+ export interface WebSearchToolResultBlockParam {
1116
+ content: WebSearchToolResultBlockParamContent;
1117
+
1118
+ tool_use_id: string;
1119
+
1120
+ type: 'web_search_tool_result';
1121
+
1122
+ /**
1123
+ * Create a cache control breakpoint at this content block.
1124
+ */
1125
+ cache_control?: CacheControlEphemeral | null;
1126
+ }
1127
+
1128
+ export type WebSearchToolResultBlockParamContent =
1129
+ | Array<WebSearchResultBlockParam>
1130
+ | WebSearchToolRequestError;
1131
+
1132
+ export interface WebSearchToolResultError {
1133
+ error_code:
1134
+ | 'invalid_tool_input'
1135
+ | 'unavailable'
1136
+ | 'max_uses_exceeded'
1137
+ | 'too_many_requests'
1138
+ | 'query_too_long';
1139
+
1140
+ type: 'web_search_tool_result_error';
1141
+ }
1142
+
1143
+ export type MessageStreamEvent = RawMessageStreamEvent;
1144
+
1145
+ export type MessageStartEvent = RawMessageStartEvent;
1146
+
1147
+ export type MessageDeltaEvent = RawMessageDeltaEvent;
1148
+
1149
+ export type MessageStopEvent = RawMessageStopEvent;
1150
+
1151
+ export type ContentBlockStartEvent = RawContentBlockStartEvent;
1152
+
1153
+ export type ContentBlockDeltaEvent = RawContentBlockDeltaEvent;
1154
+
1155
+ export type ContentBlockStopEvent = RawContentBlockStopEvent;
1156
+
1157
+ export type MessageCreateParams = MessageCreateParamsNonStreaming | MessageCreateParamsStreaming;
1158
+
1159
+ export interface MessageCreateParamsBase {
1160
+ /**
1161
+ * The maximum number of tokens to generate before stopping.
1162
+ *
1163
+ * Note that our models may stop _before_ reaching this maximum. This parameter
1164
+ * only specifies the absolute maximum number of tokens to generate.
1165
+ *
1166
+ * Different models have different maximum values for this parameter. See
1167
+ * [models](https://docs.anthropic.com/en/docs/models-overview) for details.
1168
+ */
1169
+ max_tokens: number;
1170
+
1171
+ /**
1172
+ * Input messages.
1173
+ *
1174
+ * Our models are trained to operate on alternating `user` and `assistant`
1175
+ * conversational turns. When creating a new `Message`, you specify the prior
1176
+ * conversational turns with the `messages` parameter, and the model then generates
1177
+ * the next `Message` in the conversation. Consecutive `user` or `assistant` turns
1178
+ * in your request will be combined into a single turn.
1179
+ *
1180
+ * Each input message must be an object with a `role` and `content`. You can
1181
+ * specify a single `user`-role message, or you can include multiple `user` and
1182
+ * `assistant` messages.
1183
+ *
1184
+ * If the final message uses the `assistant` role, the response content will
1185
+ * continue immediately from the content in that message. This can be used to
1186
+ * constrain part of the model's response.
1187
+ *
1188
+ * Example with a single `user` message:
1189
+ *
1190
+ * ```json
1191
+ * [{ "role": "user", "content": "Hello, Claude" }]
1192
+ * ```
1193
+ *
1194
+ * Example with multiple conversational turns:
1195
+ *
1196
+ * ```json
1197
+ * [
1198
+ * { "role": "user", "content": "Hello there." },
1199
+ * { "role": "assistant", "content": "Hi, I'm Claude. How can I help you?" },
1200
+ * { "role": "user", "content": "Can you explain LLMs in plain English?" }
1201
+ * ]
1202
+ * ```
1203
+ *
1204
+ * Example with a partially-filled response from Claude:
1205
+ *
1206
+ * ```json
1207
+ * [
1208
+ * {
1209
+ * "role": "user",
1210
+ * "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
1211
+ * },
1212
+ * { "role": "assistant", "content": "The best answer is (" }
1213
+ * ]
1214
+ * ```
1215
+ *
1216
+ * Each input message `content` may be either a single `string` or an array of
1217
+ * content blocks, where each block has a specific `type`. Using a `string` for
1218
+ * `content` is shorthand for an array of one content block of type `"text"`. The
1219
+ * following input messages are equivalent:
1220
+ *
1221
+ * ```json
1222
+ * { "role": "user", "content": "Hello, Claude" }
1223
+ * ```
1224
+ *
1225
+ * ```json
1226
+ * { "role": "user", "content": [{ "type": "text", "text": "Hello, Claude" }] }
1227
+ * ```
1228
+ *
1229
+ * Starting with Claude 3 models, you can also send image content blocks:
1230
+ *
1231
+ * ```json
1232
+ * {
1233
+ * "role": "user",
1234
+ * "content": [
1235
+ * {
1236
+ * "type": "image",
1237
+ * "source": {
1238
+ * "type": "base64",
1239
+ * "media_type": "image/jpeg",
1240
+ * "data": "/9j/4AAQSkZJRg..."
1241
+ * }
1242
+ * },
1243
+ * { "type": "text", "text": "What is in this image?" }
1244
+ * ]
1245
+ * }
1246
+ * ```
1247
+ *
1248
+ * We currently support the `base64` source type for images, and the `image/jpeg`,
1249
+ * `image/png`, `image/gif`, and `image/webp` media types.
1250
+ *
1251
+ * See [examples](https://docs.anthropic.com/en/api/messages-examples#vision) for
1252
+ * more input examples.
1253
+ *
1254
+ * Note that if you want to include a
1255
+ * [system prompt](https://docs.anthropic.com/en/docs/system-prompts), you can use
1256
+ * the top-level `system` parameter — there is no `"system"` role for input
1257
+ * messages in the Messages API.
1258
+ *
1259
+ * There is a limit of 100000 messages in a single request.
1260
+ */
1261
+ messages: Array<MessageParam>;
1262
+
1263
+ /**
1264
+ * The model that will complete your prompt.\n\nSee
1265
+ * [models](https://docs.anthropic.com/en/docs/models-overview) for additional
1266
+ * details and options.
1267
+ */
1268
+ model: Model;
1269
+
1270
+ /**
1271
+ * An object describing metadata about the request.
1272
+ */
1273
+ metadata?: Metadata;
1274
+
1275
+ /**
1276
+ * Determines whether to use priority capacity (if available) or standard capacity
1277
+ * for this request.
1278
+ *
1279
+ * Anthropic offers different levels of service for your API requests. See
1280
+ * [service-tiers](https://docs.anthropic.com/en/api/service-tiers) for details.
1281
+ */
1282
+ service_tier?: 'auto' | 'standard_only';
1283
+
1284
+ /**
1285
+ * Custom text sequences that will cause the model to stop generating.
1286
+ *
1287
+ * Our models will normally stop when they have naturally completed their turn,
1288
+ * which will result in a response `stop_reason` of `"end_turn"`.
1289
+ *
1290
+ * If you want the model to stop generating when it encounters custom strings of
1291
+ * text, you can use the `stop_sequences` parameter. If the model encounters one of
1292
+ * the custom sequences, the response `stop_reason` value will be `"stop_sequence"`
1293
+ * and the response `stop_sequence` value will contain the matched stop sequence.
1294
+ */
1295
+ stop_sequences?: Array<string>;
1296
+
1297
+ /**
1298
+ * Whether to incrementally stream the response using server-sent events.
1299
+ *
1300
+ * See [streaming](https://docs.anthropic.com/en/api/messages-streaming) for
1301
+ * details.
1302
+ */
1303
+ stream?: boolean;
1304
+
1305
+ /**
1306
+ * System prompt.
1307
+ *
1308
+ * A system prompt is a way of providing context and instructions to Claude, such
1309
+ * as specifying a particular goal or role. See our
1310
+ * [guide to system prompts](https://docs.anthropic.com/en/docs/system-prompts).
1311
+ */
1312
+ system?: string | Array<TextBlockParam>;
1313
+
1314
+ /**
1315
+ * Amount of randomness injected into the response.
1316
+ *
1317
+ * Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0`
1318
+ * for analytical / multiple choice, and closer to `1.0` for creative and
1319
+ * generative tasks.
1320
+ *
1321
+ * Note that even with `temperature` of `0.0`, the results will not be fully
1322
+ * deterministic.
1323
+ */
1324
+ temperature?: number;
1325
+
1326
+ /**
1327
+ * Configuration for enabling Claude's extended thinking.
1328
+ *
1329
+ * When enabled, responses include `thinking` content blocks showing Claude's
1330
+ * thinking process before the final answer. Requires a minimum budget of 1,024
1331
+ * tokens and counts towards your `max_tokens` limit.
1332
+ *
1333
+ * See
1334
+ * [extended thinking](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking)
1335
+ * for details.
1336
+ */
1337
+ thinking?: ThinkingConfigParam;
1338
+
1339
+ /**
1340
+ * How the model should use the provided tools. The model can use a specific tool,
1341
+ * any available tool, decide by itself, or not use tools at all.
1342
+ */
1343
+ tool_choice?: ToolChoice;
1344
+
1345
+ /**
1346
+ * Definitions of tools that the model may use.
1347
+ *
1348
+ * If you include `tools` in your API request, the model may return `tool_use`
1349
+ * content blocks that represent the model's use of those tools. You can then run
1350
+ * those tools using the tool input generated by the model and then optionally
1351
+ * return results back to the model using `tool_result` content blocks.
1352
+ *
1353
+ * Each tool definition includes:
1354
+ *
1355
+ * - `name`: Name of the tool.
1356
+ * - `description`: Optional, but strongly-recommended description of the tool.
1357
+ * - `input_schema`: [JSON schema](https://json-schema.org/draft/2020-12) for the
1358
+ * tool `input` shape that the model will produce in `tool_use` output content
1359
+ * blocks.
1360
+ *
1361
+ * For example, if you defined `tools` as:
1362
+ *
1363
+ * ```json
1364
+ * [
1365
+ * {
1366
+ * "name": "get_stock_price",
1367
+ * "description": "Get the current stock price for a given ticker symbol.",
1368
+ * "input_schema": {
1369
+ * "type": "object",
1370
+ * "properties": {
1371
+ * "ticker": {
1372
+ * "type": "string",
1373
+ * "description": "The stock ticker symbol, e.g. AAPL for Apple Inc."
1374
+ * }
1375
+ * },
1376
+ * "required": ["ticker"]
1377
+ * }
1378
+ * }
1379
+ * ]
1380
+ * ```
1381
+ *
1382
+ * And then asked the model "What's the S&P 500 at today?", the model might produce
1383
+ * `tool_use` content blocks in the response like this:
1384
+ *
1385
+ * ```json
1386
+ * [
1387
+ * {
1388
+ * "type": "tool_use",
1389
+ * "id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
1390
+ * "name": "get_stock_price",
1391
+ * "input": { "ticker": "^GSPC" }
1392
+ * }
1393
+ * ]
1394
+ * ```
1395
+ *
1396
+ * You might then run your `get_stock_price` tool with `{"ticker": "^GSPC"}` as an
1397
+ * input, and return the following back to the model in a subsequent `user`
1398
+ * message:
1399
+ *
1400
+ * ```json
1401
+ * [
1402
+ * {
1403
+ * "type": "tool_result",
1404
+ * "tool_use_id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
1405
+ * "content": "259.75 USD"
1406
+ * }
1407
+ * ]
1408
+ * ```
1409
+ *
1410
+ * Tools can be used for workflows that include running client-side tools and
1411
+ * functions, or more generally whenever you want the model to produce a particular
1412
+ * JSON structure of output.
1413
+ *
1414
+ * See our [guide](https://docs.anthropic.com/en/docs/tool-use) for more details.
1415
+ */
1416
+ tools?: Array<ToolUnion>;
1417
+
1418
+ /**
1419
+ * Only sample from the top K options for each subsequent token.
1420
+ *
1421
+ * Used to remove "long tail" low probability responses.
1422
+ * [Learn more technical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277).
1423
+ *
1424
+ * Recommended for advanced use cases only. You usually only need to use
1425
+ * `temperature`.
1426
+ */
1427
+ top_k?: number;
1428
+
1429
+ /**
1430
+ * Use nucleus sampling.
1431
+ *
1432
+ * In nucleus sampling, we compute the cumulative distribution over all the options
1433
+ * for each subsequent token in decreasing probability order and cut it off once it
1434
+ * reaches a particular probability specified by `top_p`. You should either alter
1435
+ * `temperature` or `top_p`, but not both.
1436
+ *
1437
+ * Recommended for advanced use cases only. You usually only need to use
1438
+ * `temperature`.
1439
+ */
1440
+ top_p?: number;
1441
+ }
1442
+
1443
+ export namespace MessageCreateParams {
1444
+ export type MessageCreateParamsNonStreaming = MessagesAPI.MessageCreateParamsNonStreaming;
1445
+ export type MessageCreateParamsStreaming = MessagesAPI.MessageCreateParamsStreaming;
1446
+ }
1447
+
1448
+ export interface MessageCreateParamsNonStreaming extends MessageCreateParamsBase {
1449
+ /**
1450
+ * Whether to incrementally stream the response using server-sent events.
1451
+ *
1452
+ * See [streaming](https://docs.anthropic.com/en/api/messages-streaming) for
1453
+ * details.
1454
+ */
1455
+ stream?: false;
1456
+ }
1457
+
1458
+ export interface MessageCreateParamsStreaming extends MessageCreateParamsBase {
1459
+ /**
1460
+ * Whether to incrementally stream the response using server-sent events.
1461
+ *
1462
+ * See [streaming](https://docs.anthropic.com/en/api/messages-streaming) for
1463
+ * details.
1464
+ */
1465
+ stream: true;
1466
+ }
1467
+
1468
+ export type MessageStreamParams = MessageCreateParamsBase;
1469
+
1470
+ export interface MessageCountTokensParams {
1471
+ /**
1472
+ * Input messages.
1473
+ *
1474
+ * Our models are trained to operate on alternating `user` and `assistant`
1475
+ * conversational turns. When creating a new `Message`, you specify the prior
1476
+ * conversational turns with the `messages` parameter, and the model then generates
1477
+ * the next `Message` in the conversation. Consecutive `user` or `assistant` turns
1478
+ * in your request will be combined into a single turn.
1479
+ *
1480
+ * Each input message must be an object with a `role` and `content`. You can
1481
+ * specify a single `user`-role message, or you can include multiple `user` and
1482
+ * `assistant` messages.
1483
+ *
1484
+ * If the final message uses the `assistant` role, the response content will
1485
+ * continue immediately from the content in that message. This can be used to
1486
+ * constrain part of the model's response.
1487
+ *
1488
+ * Example with a single `user` message:
1489
+ *
1490
+ * ```json
1491
+ * [{ "role": "user", "content": "Hello, Claude" }]
1492
+ * ```
1493
+ *
1494
+ * Example with multiple conversational turns:
1495
+ *
1496
+ * ```json
1497
+ * [
1498
+ * { "role": "user", "content": "Hello there." },
1499
+ * { "role": "assistant", "content": "Hi, I'm Claude. How can I help you?" },
1500
+ * { "role": "user", "content": "Can you explain LLMs in plain English?" }
1501
+ * ]
1502
+ * ```
1503
+ *
1504
+ * Example with a partially-filled response from Claude:
1505
+ *
1506
+ * ```json
1507
+ * [
1508
+ * {
1509
+ * "role": "user",
1510
+ * "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
1511
+ * },
1512
+ * { "role": "assistant", "content": "The best answer is (" }
1513
+ * ]
1514
+ * ```
1515
+ *
1516
+ * Each input message `content` may be either a single `string` or an array of
1517
+ * content blocks, where each block has a specific `type`. Using a `string` for
1518
+ * `content` is shorthand for an array of one content block of type `"text"`. The
1519
+ * following input messages are equivalent:
1520
+ *
1521
+ * ```json
1522
+ * { "role": "user", "content": "Hello, Claude" }
1523
+ * ```
1524
+ *
1525
+ * ```json
1526
+ * { "role": "user", "content": [{ "type": "text", "text": "Hello, Claude" }] }
1527
+ * ```
1528
+ *
1529
+ * Starting with Claude 3 models, you can also send image content blocks:
1530
+ *
1531
+ * ```json
1532
+ * {
1533
+ * "role": "user",
1534
+ * "content": [
1535
+ * {
1536
+ * "type": "image",
1537
+ * "source": {
1538
+ * "type": "base64",
1539
+ * "media_type": "image/jpeg",
1540
+ * "data": "/9j/4AAQSkZJRg..."
1541
+ * }
1542
+ * },
1543
+ * { "type": "text", "text": "What is in this image?" }
1544
+ * ]
1545
+ * }
1546
+ * ```
1547
+ *
1548
+ * We currently support the `base64` source type for images, and the `image/jpeg`,
1549
+ * `image/png`, `image/gif`, and `image/webp` media types.
1550
+ *
1551
+ * See [examples](https://docs.anthropic.com/en/api/messages-examples#vision) for
1552
+ * more input examples.
1553
+ *
1554
+ * Note that if you want to include a
1555
+ * [system prompt](https://docs.anthropic.com/en/docs/system-prompts), you can use
1556
+ * the top-level `system` parameter — there is no `"system"` role for input
1557
+ * messages in the Messages API.
1558
+ *
1559
+ * There is a limit of 100000 messages in a single request.
1560
+ */
1561
+ messages: Array<MessageParam>;
1562
+
1563
+ /**
1564
+ * The model that will complete your prompt.\n\nSee
1565
+ * [models](https://docs.anthropic.com/en/docs/models-overview) for additional
1566
+ * details and options.
1567
+ */
1568
+ model: Model;
1569
+
1570
+ /**
1571
+ * System prompt.
1572
+ *
1573
+ * A system prompt is a way of providing context and instructions to Claude, such
1574
+ * as specifying a particular goal or role. See our
1575
+ * [guide to system prompts](https://docs.anthropic.com/en/docs/system-prompts).
1576
+ */
1577
+ system?: string | Array<TextBlockParam>;
1578
+
1579
+ /**
1580
+ * Configuration for enabling Claude's extended thinking.
1581
+ *
1582
+ * When enabled, responses include `thinking` content blocks showing Claude's
1583
+ * thinking process before the final answer. Requires a minimum budget of 1,024
1584
+ * tokens and counts towards your `max_tokens` limit.
1585
+ *
1586
+ * See
1587
+ * [extended thinking](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking)
1588
+ * for details.
1589
+ */
1590
+ thinking?: ThinkingConfigParam;
1591
+
1592
+ /**
1593
+ * How the model should use the provided tools. The model can use a specific tool,
1594
+ * any available tool, decide by itself, or not use tools at all.
1595
+ */
1596
+ tool_choice?: ToolChoice;
1597
+
1598
+ /**
1599
+ * Definitions of tools that the model may use.
1600
+ *
1601
+ * If you include `tools` in your API request, the model may return `tool_use`
1602
+ * content blocks that represent the model's use of those tools. You can then run
1603
+ * those tools using the tool input generated by the model and then optionally
1604
+ * return results back to the model using `tool_result` content blocks.
1605
+ *
1606
+ * Each tool definition includes:
1607
+ *
1608
+ * - `name`: Name of the tool.
1609
+ * - `description`: Optional, but strongly-recommended description of the tool.
1610
+ * - `input_schema`: [JSON schema](https://json-schema.org/draft/2020-12) for the
1611
+ * tool `input` shape that the model will produce in `tool_use` output content
1612
+ * blocks.
1613
+ *
1614
+ * For example, if you defined `tools` as:
1615
+ *
1616
+ * ```json
1617
+ * [
1618
+ * {
1619
+ * "name": "get_stock_price",
1620
+ * "description": "Get the current stock price for a given ticker symbol.",
1621
+ * "input_schema": {
1622
+ * "type": "object",
1623
+ * "properties": {
1624
+ * "ticker": {
1625
+ * "type": "string",
1626
+ * "description": "The stock ticker symbol, e.g. AAPL for Apple Inc."
1627
+ * }
1628
+ * },
1629
+ * "required": ["ticker"]
1630
+ * }
1631
+ * }
1632
+ * ]
1633
+ * ```
1634
+ *
1635
+ * And then asked the model "What's the S&P 500 at today?", the model might produce
1636
+ * `tool_use` content blocks in the response like this:
1637
+ *
1638
+ * ```json
1639
+ * [
1640
+ * {
1641
+ * "type": "tool_use",
1642
+ * "id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
1643
+ * "name": "get_stock_price",
1644
+ * "input": { "ticker": "^GSPC" }
1645
+ * }
1646
+ * ]
1647
+ * ```
1648
+ *
1649
+ * You might then run your `get_stock_price` tool with `{"ticker": "^GSPC"}` as an
1650
+ * input, and return the following back to the model in a subsequent `user`
1651
+ * message:
1652
+ *
1653
+ * ```json
1654
+ * [
1655
+ * {
1656
+ * "type": "tool_result",
1657
+ * "tool_use_id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
1658
+ * "content": "259.75 USD"
1659
+ * }
1660
+ * ]
1661
+ * ```
1662
+ *
1663
+ * Tools can be used for workflows that include running client-side tools and
1664
+ * functions, or more generally whenever you want the model to produce a particular
1665
+ * JSON structure of output.
1666
+ *
1667
+ * See our [guide](https://docs.anthropic.com/en/docs/tool-use) for more details.
1668
+ */
1669
+ tools?: Array<MessageCountTokensTool>;
1670
+ }
1671
+
1672
+ Messages.Batches = Batches;
1673
+
1674
+ export declare namespace Messages {
1675
+ export {
1676
+ type Base64ImageSource as Base64ImageSource,
1677
+ type Base64PDFSource as Base64PDFSource,
1678
+ type CacheControlEphemeral as CacheControlEphemeral,
1679
+ type CitationCharLocation as CitationCharLocation,
1680
+ type CitationCharLocationParam as CitationCharLocationParam,
1681
+ type CitationContentBlockLocation as CitationContentBlockLocation,
1682
+ type CitationContentBlockLocationParam as CitationContentBlockLocationParam,
1683
+ type CitationPageLocation as CitationPageLocation,
1684
+ type CitationPageLocationParam as CitationPageLocationParam,
1685
+ type CitationWebSearchResultLocationParam as CitationWebSearchResultLocationParam,
1686
+ type CitationsConfigParam as CitationsConfigParam,
1687
+ type CitationsDelta as CitationsDelta,
1688
+ type CitationsWebSearchResultLocation as CitationsWebSearchResultLocation,
1689
+ type ContentBlock as ContentBlock,
1690
+ type ContentBlockParam as ContentBlockParam,
1691
+ type ContentBlockStartEvent as ContentBlockStartEvent,
1692
+ type ContentBlockStopEvent as ContentBlockStopEvent,
1693
+ type ContentBlockSource as ContentBlockSource,
1694
+ type ContentBlockSourceContent as ContentBlockSourceContent,
1695
+ type DocumentBlockParam as DocumentBlockParam,
1696
+ type ImageBlockParam as ImageBlockParam,
1697
+ type InputJSONDelta as InputJSONDelta,
1698
+ type Message as Message,
1699
+ type MessageCountTokensTool as MessageCountTokensTool,
1700
+ type MessageDeltaEvent as MessageDeltaEvent,
1701
+ type MessageDeltaUsage as MessageDeltaUsage,
1702
+ type MessageParam as MessageParam,
1703
+ type MessageTokensCount as MessageTokensCount,
1704
+ type Metadata as Metadata,
1705
+ type Model as Model,
1706
+ type PlainTextSource as PlainTextSource,
1707
+ type RawContentBlockDelta as RawContentBlockDelta,
1708
+ type RawContentBlockDeltaEvent as RawContentBlockDeltaEvent,
1709
+ type RawContentBlockStartEvent as RawContentBlockStartEvent,
1710
+ type RawContentBlockStopEvent as RawContentBlockStopEvent,
1711
+ type RawMessageDeltaEvent as RawMessageDeltaEvent,
1712
+ type RawMessageStartEvent as RawMessageStartEvent,
1713
+ type RawMessageStopEvent as RawMessageStopEvent,
1714
+ type RawMessageStreamEvent as RawMessageStreamEvent,
1715
+ type RedactedThinkingBlock as RedactedThinkingBlock,
1716
+ type RedactedThinkingBlockParam as RedactedThinkingBlockParam,
1717
+ type ServerToolUsage as ServerToolUsage,
1718
+ type ServerToolUseBlock as ServerToolUseBlock,
1719
+ type ServerToolUseBlockParam as ServerToolUseBlockParam,
1720
+ type SignatureDelta as SignatureDelta,
1721
+ type StopReason as StopReason,
1722
+ type TextBlock as TextBlock,
1723
+ type TextBlockParam as TextBlockParam,
1724
+ type TextCitation as TextCitation,
1725
+ type TextCitationParam as TextCitationParam,
1726
+ type TextDelta as TextDelta,
1727
+ type ThinkingBlock as ThinkingBlock,
1728
+ type ThinkingBlockParam as ThinkingBlockParam,
1729
+ type ThinkingConfigDisabled as ThinkingConfigDisabled,
1730
+ type ThinkingConfigEnabled as ThinkingConfigEnabled,
1731
+ type ThinkingConfigParam as ThinkingConfigParam,
1732
+ type ThinkingDelta as ThinkingDelta,
1733
+ type Tool as Tool,
1734
+ type ToolBash20250124 as ToolBash20250124,
1735
+ type ToolChoice as ToolChoice,
1736
+ type ToolChoiceAny as ToolChoiceAny,
1737
+ type ToolChoiceAuto as ToolChoiceAuto,
1738
+ type ToolChoiceNone as ToolChoiceNone,
1739
+ type ToolChoiceTool as ToolChoiceTool,
1740
+ type ToolResultBlockParam as ToolResultBlockParam,
1741
+ type ToolTextEditor20250124 as ToolTextEditor20250124,
1742
+ type ToolUnion as ToolUnion,
1743
+ type ToolUseBlock as ToolUseBlock,
1744
+ type ToolUseBlockParam as ToolUseBlockParam,
1745
+ type URLImageSource as URLImageSource,
1746
+ type URLPDFSource as URLPDFSource,
1747
+ type Usage as Usage,
1748
+ type WebSearchResultBlock as WebSearchResultBlock,
1749
+ type WebSearchResultBlockParam as WebSearchResultBlockParam,
1750
+ type WebSearchTool20250305 as WebSearchTool20250305,
1751
+ type WebSearchToolRequestError as WebSearchToolRequestError,
1752
+ type WebSearchToolResultBlock as WebSearchToolResultBlock,
1753
+ type WebSearchToolResultBlockContent as WebSearchToolResultBlockContent,
1754
+ type WebSearchToolResultBlockParam as WebSearchToolResultBlockParam,
1755
+ type WebSearchToolResultBlockParamContent as WebSearchToolResultBlockParamContent,
1756
+ type WebSearchToolResultError as WebSearchToolResultError,
1757
+ type MessageStreamEvent as MessageStreamEvent,
1758
+ type MessageStartEvent as MessageStartEvent,
1759
+ type MessageStopEvent as MessageStopEvent,
1760
+ type ContentBlockDeltaEvent as ContentBlockDeltaEvent,
1761
+ type MessageCreateParams as MessageCreateParams,
1762
+ type MessageCreateParamsNonStreaming as MessageCreateParamsNonStreaming,
1763
+ type MessageCreateParamsStreaming as MessageCreateParamsStreaming,
1764
+ type MessageStreamParams as MessageStreamParams,
1765
+ type MessageCountTokensParams as MessageCountTokensParams,
1766
+ };
1767
+
1768
+ export {
1769
+ Batches as Batches,
1770
+ type DeletedMessageBatch as DeletedMessageBatch,
1771
+ type MessageBatch as MessageBatch,
1772
+ type MessageBatchCanceledResult as MessageBatchCanceledResult,
1773
+ type MessageBatchErroredResult as MessageBatchErroredResult,
1774
+ type MessageBatchExpiredResult as MessageBatchExpiredResult,
1775
+ type MessageBatchIndividualResponse as MessageBatchIndividualResponse,
1776
+ type MessageBatchRequestCounts as MessageBatchRequestCounts,
1777
+ type MessageBatchResult as MessageBatchResult,
1778
+ type MessageBatchSucceededResult as MessageBatchSucceededResult,
1779
+ type MessageBatchesPage as MessageBatchesPage,
1780
+ type BatchCreateParams as BatchCreateParams,
1781
+ type BatchListParams as BatchListParams,
1782
+ };
1783
+ }