@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,1561 @@
1
+ import { APIResource } from "../../../core/resource.js";
2
+ import * as MessagesMessagesAPI from "./messages.js";
3
+ import * as BetaAPI from "../beta.js";
4
+ import * as MessagesAPI from "../../messages/messages.js";
5
+ import * as BatchesAPI from "./batches.js";
6
+ import { BatchCancelParams, BatchCreateParams, BatchDeleteParams, BatchListParams, BatchResultsParams, BatchRetrieveParams, Batches, BetaDeletedMessageBatch, BetaMessageBatch, BetaMessageBatchCanceledResult, BetaMessageBatchErroredResult, BetaMessageBatchExpiredResult, BetaMessageBatchIndividualResponse, BetaMessageBatchRequestCounts, BetaMessageBatchResult, BetaMessageBatchSucceededResult, BetaMessageBatchesPage } from "./batches.js";
7
+ import { APIPromise } from "../../../core/api-promise.js";
8
+ import { Stream } from "../../../core/streaming.js";
9
+ import { RequestOptions } from "../../../internal/request-options.js";
10
+ import { BetaMessageStream } from "../../../lib/BetaMessageStream.js";
11
+ export declare class Messages extends APIResource {
12
+ batches: BatchesAPI.Batches;
13
+ /**
14
+ * Send a structured list of input messages with text and/or image content, and the
15
+ * model will generate the next message in the conversation.
16
+ *
17
+ * The Messages API can be used for either single queries or stateless multi-turn
18
+ * conversations.
19
+ *
20
+ * Learn more about the Messages API in our [user guide](/en/docs/initial-setup)
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const betaMessage = await client.beta.messages.create({
25
+ * max_tokens: 1024,
26
+ * messages: [{ content: 'Hello, world', role: 'user' }],
27
+ * model: 'claude-3-7-sonnet-20250219',
28
+ * });
29
+ * ```
30
+ */
31
+ create(params: MessageCreateParamsNonStreaming, options?: RequestOptions): APIPromise<BetaMessage>;
32
+ create(params: MessageCreateParamsStreaming, options?: RequestOptions): APIPromise<Stream<BetaRawMessageStreamEvent>>;
33
+ create(params: MessageCreateParamsBase, options?: RequestOptions): APIPromise<Stream<BetaRawMessageStreamEvent> | BetaMessage>;
34
+ /**
35
+ * Create a Message stream
36
+ */
37
+ stream(body: BetaMessageStreamParams, options?: RequestOptions): BetaMessageStream;
38
+ /**
39
+ * Count the number of tokens in a Message.
40
+ *
41
+ * The Token Count API can be used to count the number of tokens in a Message,
42
+ * including tools, images, and documents, without creating it.
43
+ *
44
+ * Learn more about token counting in our
45
+ * [user guide](/en/docs/build-with-claude/token-counting)
46
+ *
47
+ * @example
48
+ * ```ts
49
+ * const betaMessageTokensCount =
50
+ * await client.beta.messages.countTokens({
51
+ * messages: [{ content: 'string', role: 'user' }],
52
+ * model: 'claude-3-7-sonnet-latest',
53
+ * });
54
+ * ```
55
+ */
56
+ countTokens(params: MessageCountTokensParams, options?: RequestOptions): APIPromise<BetaMessageTokensCount>;
57
+ }
58
+ export type BetaMessageStreamParams = MessageCreateParamsBase;
59
+ export interface BetaBase64ImageSource {
60
+ data: string;
61
+ media_type: 'image/jpeg' | 'image/png' | 'image/gif' | 'image/webp';
62
+ type: 'base64';
63
+ }
64
+ export interface BetaBase64PDFBlock {
65
+ source: BetaBase64PDFSource | BetaPlainTextSource | BetaContentBlockSource | BetaURLPDFSource | BetaFileDocumentSource;
66
+ type: 'document';
67
+ /**
68
+ * Create a cache control breakpoint at this content block.
69
+ */
70
+ cache_control?: BetaCacheControlEphemeral | null;
71
+ citations?: BetaCitationsConfigParam;
72
+ context?: string | null;
73
+ title?: string | null;
74
+ }
75
+ export interface BetaBase64PDFSource {
76
+ data: string;
77
+ media_type: 'application/pdf';
78
+ type: 'base64';
79
+ }
80
+ export interface BetaCacheControlEphemeral {
81
+ type: 'ephemeral';
82
+ /**
83
+ * The time-to-live for the cache control breakpoint.
84
+ *
85
+ * This may be one the following values:
86
+ *
87
+ * - `5m`: 5 minutes
88
+ * - `1h`: 1 hour
89
+ *
90
+ * Defaults to `5m`.
91
+ */
92
+ ttl?: '5m' | '1h';
93
+ }
94
+ export interface BetaCacheCreation {
95
+ /**
96
+ * The number of input tokens used to create the 1 hour cache entry.
97
+ */
98
+ ephemeral_1h_input_tokens: number;
99
+ /**
100
+ * The number of input tokens used to create the 5 minute cache entry.
101
+ */
102
+ ephemeral_5m_input_tokens: number;
103
+ }
104
+ export interface BetaCitationCharLocation {
105
+ cited_text: string;
106
+ document_index: number;
107
+ document_title: string | null;
108
+ end_char_index: number;
109
+ start_char_index: number;
110
+ type: 'char_location';
111
+ }
112
+ export interface BetaCitationCharLocationParam {
113
+ cited_text: string;
114
+ document_index: number;
115
+ document_title: string | null;
116
+ end_char_index: number;
117
+ start_char_index: number;
118
+ type: 'char_location';
119
+ }
120
+ export interface BetaCitationContentBlockLocation {
121
+ cited_text: string;
122
+ document_index: number;
123
+ document_title: string | null;
124
+ end_block_index: number;
125
+ start_block_index: number;
126
+ type: 'content_block_location';
127
+ }
128
+ export interface BetaCitationContentBlockLocationParam {
129
+ cited_text: string;
130
+ document_index: number;
131
+ document_title: string | null;
132
+ end_block_index: number;
133
+ start_block_index: number;
134
+ type: 'content_block_location';
135
+ }
136
+ export interface BetaCitationPageLocation {
137
+ cited_text: string;
138
+ document_index: number;
139
+ document_title: string | null;
140
+ end_page_number: number;
141
+ start_page_number: number;
142
+ type: 'page_location';
143
+ }
144
+ export interface BetaCitationPageLocationParam {
145
+ cited_text: string;
146
+ document_index: number;
147
+ document_title: string | null;
148
+ end_page_number: number;
149
+ start_page_number: number;
150
+ type: 'page_location';
151
+ }
152
+ export interface BetaCitationWebSearchResultLocationParam {
153
+ cited_text: string;
154
+ encrypted_index: string;
155
+ title: string | null;
156
+ type: 'web_search_result_location';
157
+ url: string;
158
+ }
159
+ export interface BetaCitationsConfigParam {
160
+ enabled?: boolean;
161
+ }
162
+ export interface BetaCitationsDelta {
163
+ citation: BetaCitationCharLocation | BetaCitationPageLocation | BetaCitationContentBlockLocation | BetaCitationsWebSearchResultLocation;
164
+ type: 'citations_delta';
165
+ }
166
+ export interface BetaCitationsWebSearchResultLocation {
167
+ cited_text: string;
168
+ encrypted_index: string;
169
+ title: string | null;
170
+ type: 'web_search_result_location';
171
+ url: string;
172
+ }
173
+ export interface BetaCodeExecutionOutputBlock {
174
+ file_id: string;
175
+ type: 'code_execution_output';
176
+ }
177
+ export interface BetaCodeExecutionOutputBlockParam {
178
+ file_id: string;
179
+ type: 'code_execution_output';
180
+ }
181
+ export interface BetaCodeExecutionResultBlock {
182
+ content: Array<BetaCodeExecutionOutputBlock>;
183
+ return_code: number;
184
+ stderr: string;
185
+ stdout: string;
186
+ type: 'code_execution_result';
187
+ }
188
+ export interface BetaCodeExecutionResultBlockParam {
189
+ content: Array<BetaCodeExecutionOutputBlockParam>;
190
+ return_code: number;
191
+ stderr: string;
192
+ stdout: string;
193
+ type: 'code_execution_result';
194
+ }
195
+ export interface BetaCodeExecutionTool20250522 {
196
+ /**
197
+ * Name of the tool.
198
+ *
199
+ * This is how the tool will be called by the model and in `tool_use` blocks.
200
+ */
201
+ name: 'code_execution';
202
+ type: 'code_execution_20250522';
203
+ /**
204
+ * Create a cache control breakpoint at this content block.
205
+ */
206
+ cache_control?: BetaCacheControlEphemeral | null;
207
+ }
208
+ export interface BetaCodeExecutionToolResultBlock {
209
+ content: BetaCodeExecutionToolResultBlockContent;
210
+ tool_use_id: string;
211
+ type: 'code_execution_tool_result';
212
+ }
213
+ export type BetaCodeExecutionToolResultBlockContent = BetaCodeExecutionToolResultError | BetaCodeExecutionResultBlock;
214
+ export interface BetaCodeExecutionToolResultBlockParam {
215
+ content: BetaCodeExecutionToolResultBlockParamContent;
216
+ tool_use_id: string;
217
+ type: 'code_execution_tool_result';
218
+ /**
219
+ * Create a cache control breakpoint at this content block.
220
+ */
221
+ cache_control?: BetaCacheControlEphemeral | null;
222
+ }
223
+ export type BetaCodeExecutionToolResultBlockParamContent = BetaCodeExecutionToolResultErrorParam | BetaCodeExecutionResultBlockParam;
224
+ export interface BetaCodeExecutionToolResultError {
225
+ error_code: BetaCodeExecutionToolResultErrorCode;
226
+ type: 'code_execution_tool_result_error';
227
+ }
228
+ export type BetaCodeExecutionToolResultErrorCode = 'invalid_tool_input' | 'unavailable' | 'too_many_requests' | 'execution_time_exceeded';
229
+ export interface BetaCodeExecutionToolResultErrorParam {
230
+ error_code: BetaCodeExecutionToolResultErrorCode;
231
+ type: 'code_execution_tool_result_error';
232
+ }
233
+ /**
234
+ * Information about the container used in the request (for the code execution
235
+ * tool)
236
+ */
237
+ export interface BetaContainer {
238
+ /**
239
+ * Identifier for the container used in this request
240
+ */
241
+ id: string;
242
+ /**
243
+ * The time at which the container will expire.
244
+ */
245
+ expires_at: string;
246
+ }
247
+ /**
248
+ * Response model for a file uploaded to the container.
249
+ */
250
+ export interface BetaContainerUploadBlock {
251
+ file_id: string;
252
+ type: 'container_upload';
253
+ }
254
+ /**
255
+ * A content block that represents a file to be uploaded to the container Files
256
+ * uploaded via this block will be available in the container's input directory.
257
+ */
258
+ export interface BetaContainerUploadBlockParam {
259
+ file_id: string;
260
+ type: 'container_upload';
261
+ /**
262
+ * Create a cache control breakpoint at this content block.
263
+ */
264
+ cache_control?: BetaCacheControlEphemeral | null;
265
+ }
266
+ /**
267
+ * Response model for a file uploaded to the container.
268
+ */
269
+ export type BetaContentBlock = BetaTextBlock | BetaToolUseBlock | BetaServerToolUseBlock | BetaWebSearchToolResultBlock | BetaCodeExecutionToolResultBlock | BetaMCPToolUseBlock | BetaMCPToolResultBlock | BetaContainerUploadBlock | BetaThinkingBlock | BetaRedactedThinkingBlock;
270
+ /**
271
+ * Regular text content.
272
+ */
273
+ export type BetaContentBlockParam = BetaServerToolUseBlockParam | BetaWebSearchToolResultBlockParam | BetaCodeExecutionToolResultBlockParam | BetaMCPToolUseBlockParam | BetaRequestMCPToolResultBlockParam | BetaTextBlockParam | BetaImageBlockParam | BetaToolUseBlockParam | BetaToolResultBlockParam | BetaBase64PDFBlock | BetaThinkingBlockParam | BetaRedactedThinkingBlockParam | BetaContainerUploadBlockParam;
274
+ export interface BetaContentBlockSource {
275
+ content: string | Array<BetaContentBlockSourceContent>;
276
+ type: 'content';
277
+ }
278
+ export type BetaContentBlockSourceContent = BetaTextBlockParam | BetaImageBlockParam;
279
+ export interface BetaFileDocumentSource {
280
+ file_id: string;
281
+ type: 'file';
282
+ }
283
+ export interface BetaFileImageSource {
284
+ file_id: string;
285
+ type: 'file';
286
+ }
287
+ export interface BetaImageBlockParam {
288
+ source: BetaBase64ImageSource | BetaURLImageSource | BetaFileImageSource;
289
+ type: 'image';
290
+ /**
291
+ * Create a cache control breakpoint at this content block.
292
+ */
293
+ cache_control?: BetaCacheControlEphemeral | null;
294
+ }
295
+ export interface BetaInputJSONDelta {
296
+ partial_json: string;
297
+ type: 'input_json_delta';
298
+ }
299
+ export interface BetaMCPToolResultBlock {
300
+ content: string | Array<BetaTextBlock>;
301
+ is_error: boolean;
302
+ tool_use_id: string;
303
+ type: 'mcp_tool_result';
304
+ }
305
+ export interface BetaMCPToolUseBlock {
306
+ id: string;
307
+ input: unknown;
308
+ /**
309
+ * The name of the MCP tool
310
+ */
311
+ name: string;
312
+ /**
313
+ * The name of the MCP server
314
+ */
315
+ server_name: string;
316
+ type: 'mcp_tool_use';
317
+ }
318
+ export interface BetaMCPToolUseBlockParam {
319
+ id: string;
320
+ input: unknown;
321
+ name: string;
322
+ /**
323
+ * The name of the MCP server
324
+ */
325
+ server_name: string;
326
+ type: 'mcp_tool_use';
327
+ /**
328
+ * Create a cache control breakpoint at this content block.
329
+ */
330
+ cache_control?: BetaCacheControlEphemeral | null;
331
+ }
332
+ export interface BetaMessage {
333
+ /**
334
+ * Unique object identifier.
335
+ *
336
+ * The format and length of IDs may change over time.
337
+ */
338
+ id: string;
339
+ /**
340
+ * Information about the container used in the request (for the code execution
341
+ * tool)
342
+ */
343
+ container: BetaContainer | null;
344
+ /**
345
+ * Content generated by the model.
346
+ *
347
+ * This is an array of content blocks, each of which has a `type` that determines
348
+ * its shape.
349
+ *
350
+ * Example:
351
+ *
352
+ * ```json
353
+ * [{ "type": "text", "text": "Hi, I'm Claude." }]
354
+ * ```
355
+ *
356
+ * If the request input `messages` ended with an `assistant` turn, then the
357
+ * response `content` will continue directly from that last turn. You can use this
358
+ * to constrain the model's output.
359
+ *
360
+ * For example, if the input `messages` were:
361
+ *
362
+ * ```json
363
+ * [
364
+ * {
365
+ * "role": "user",
366
+ * "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
367
+ * },
368
+ * { "role": "assistant", "content": "The best answer is (" }
369
+ * ]
370
+ * ```
371
+ *
372
+ * Then the response `content` might be:
373
+ *
374
+ * ```json
375
+ * [{ "type": "text", "text": "B)" }]
376
+ * ```
377
+ */
378
+ content: Array<BetaContentBlock>;
379
+ /**
380
+ * The model that will complete your prompt.\n\nSee
381
+ * [models](https://docs.anthropic.com/en/docs/models-overview) for additional
382
+ * details and options.
383
+ */
384
+ model: MessagesAPI.Model;
385
+ /**
386
+ * Conversational role of the generated message.
387
+ *
388
+ * This will always be `"assistant"`.
389
+ */
390
+ role: 'assistant';
391
+ /**
392
+ * The reason that we stopped.
393
+ *
394
+ * This may be one the following values:
395
+ *
396
+ * - `"end_turn"`: the model reached a natural stopping point
397
+ * - `"max_tokens"`: we exceeded the requested `max_tokens` or the model's maximum
398
+ * - `"stop_sequence"`: one of your provided custom `stop_sequences` was generated
399
+ * - `"tool_use"`: the model invoked one or more tools
400
+ *
401
+ * In non-streaming mode this value is always non-null. In streaming mode, it is
402
+ * null in the `message_start` event and non-null otherwise.
403
+ */
404
+ stop_reason: BetaStopReason | null;
405
+ /**
406
+ * Which custom stop sequence was generated, if any.
407
+ *
408
+ * This value will be a non-null string if one of your custom stop sequences was
409
+ * generated.
410
+ */
411
+ stop_sequence: string | null;
412
+ /**
413
+ * Object type.
414
+ *
415
+ * For Messages, this is always `"message"`.
416
+ */
417
+ type: 'message';
418
+ /**
419
+ * Billing and rate-limit usage.
420
+ *
421
+ * Anthropic's API bills and rate-limits by token counts, as tokens represent the
422
+ * underlying cost to our systems.
423
+ *
424
+ * Under the hood, the API transforms requests into a format suitable for the
425
+ * model. The model's output then goes through a parsing stage before becoming an
426
+ * API response. As a result, the token counts in `usage` will not match one-to-one
427
+ * with the exact visible content of an API request or response.
428
+ *
429
+ * For example, `output_tokens` will be non-zero, even for an empty string response
430
+ * from Claude.
431
+ *
432
+ * Total input tokens in a request is the summation of `input_tokens`,
433
+ * `cache_creation_input_tokens`, and `cache_read_input_tokens`.
434
+ */
435
+ usage: BetaUsage;
436
+ }
437
+ export interface BetaMessageDeltaUsage {
438
+ /**
439
+ * The cumulative number of input tokens used to create the cache entry.
440
+ */
441
+ cache_creation_input_tokens: number | null;
442
+ /**
443
+ * The cumulative number of input tokens read from the cache.
444
+ */
445
+ cache_read_input_tokens: number | null;
446
+ /**
447
+ * The cumulative number of input tokens which were used.
448
+ */
449
+ input_tokens: number | null;
450
+ /**
451
+ * The cumulative number of output tokens which were used.
452
+ */
453
+ output_tokens: number;
454
+ /**
455
+ * The number of server tool requests.
456
+ */
457
+ server_tool_use: BetaServerToolUsage | null;
458
+ }
459
+ export interface BetaMessageParam {
460
+ content: string | Array<BetaContentBlockParam>;
461
+ role: 'user' | 'assistant';
462
+ }
463
+ export interface BetaMessageTokensCount {
464
+ /**
465
+ * The total number of tokens across the provided list of messages, system prompt,
466
+ * and tools.
467
+ */
468
+ input_tokens: number;
469
+ }
470
+ export interface BetaMetadata {
471
+ /**
472
+ * An external identifier for the user who is associated with the request.
473
+ *
474
+ * This should be a uuid, hash value, or other opaque identifier. Anthropic may use
475
+ * this id to help detect abuse. Do not include any identifying information such as
476
+ * name, email address, or phone number.
477
+ */
478
+ user_id?: string | null;
479
+ }
480
+ export interface BetaPlainTextSource {
481
+ data: string;
482
+ media_type: 'text/plain';
483
+ type: 'text';
484
+ }
485
+ export type BetaRawContentBlockDelta = BetaTextDelta | BetaInputJSONDelta | BetaCitationsDelta | BetaThinkingDelta | BetaSignatureDelta;
486
+ export interface BetaRawContentBlockDeltaEvent {
487
+ delta: BetaRawContentBlockDelta;
488
+ index: number;
489
+ type: 'content_block_delta';
490
+ }
491
+ export interface BetaRawContentBlockStartEvent {
492
+ /**
493
+ * Response model for a file uploaded to the container.
494
+ */
495
+ content_block: BetaTextBlock | BetaToolUseBlock | BetaServerToolUseBlock | BetaWebSearchToolResultBlock | BetaCodeExecutionToolResultBlock | BetaMCPToolUseBlock | BetaMCPToolResultBlock | BetaContainerUploadBlock | BetaThinkingBlock | BetaRedactedThinkingBlock;
496
+ index: number;
497
+ type: 'content_block_start';
498
+ }
499
+ export interface BetaRawContentBlockStopEvent {
500
+ index: number;
501
+ type: 'content_block_stop';
502
+ }
503
+ export interface BetaRawMessageDeltaEvent {
504
+ delta: BetaRawMessageDeltaEvent.Delta;
505
+ type: 'message_delta';
506
+ /**
507
+ * Billing and rate-limit usage.
508
+ *
509
+ * Anthropic's API bills and rate-limits by token counts, as tokens represent the
510
+ * underlying cost to our systems.
511
+ *
512
+ * Under the hood, the API transforms requests into a format suitable for the
513
+ * model. The model's output then goes through a parsing stage before becoming an
514
+ * API response. As a result, the token counts in `usage` will not match one-to-one
515
+ * with the exact visible content of an API request or response.
516
+ *
517
+ * For example, `output_tokens` will be non-zero, even for an empty string response
518
+ * from Claude.
519
+ *
520
+ * Total input tokens in a request is the summation of `input_tokens`,
521
+ * `cache_creation_input_tokens`, and `cache_read_input_tokens`.
522
+ */
523
+ usage: BetaMessageDeltaUsage;
524
+ }
525
+ export declare namespace BetaRawMessageDeltaEvent {
526
+ interface Delta {
527
+ /**
528
+ * Information about the container used in the request (for the code execution
529
+ * tool)
530
+ */
531
+ container: MessagesMessagesAPI.BetaContainer | null;
532
+ stop_reason: MessagesMessagesAPI.BetaStopReason | null;
533
+ stop_sequence: string | null;
534
+ }
535
+ }
536
+ export interface BetaRawMessageStartEvent {
537
+ message: BetaMessage;
538
+ type: 'message_start';
539
+ }
540
+ export interface BetaRawMessageStopEvent {
541
+ type: 'message_stop';
542
+ }
543
+ export type BetaRawMessageStreamEvent = BetaRawMessageStartEvent | BetaRawMessageDeltaEvent | BetaRawMessageStopEvent | BetaRawContentBlockStartEvent | BetaRawContentBlockDeltaEvent | BetaRawContentBlockStopEvent;
544
+ export interface BetaRedactedThinkingBlock {
545
+ data: string;
546
+ type: 'redacted_thinking';
547
+ }
548
+ export interface BetaRedactedThinkingBlockParam {
549
+ data: string;
550
+ type: 'redacted_thinking';
551
+ }
552
+ export interface BetaRequestMCPServerToolConfiguration {
553
+ allowed_tools?: Array<string> | null;
554
+ enabled?: boolean | null;
555
+ }
556
+ export interface BetaRequestMCPServerURLDefinition {
557
+ name: string;
558
+ type: 'url';
559
+ url: string;
560
+ authorization_token?: string | null;
561
+ tool_configuration?: BetaRequestMCPServerToolConfiguration | null;
562
+ }
563
+ export interface BetaRequestMCPToolResultBlockParam {
564
+ tool_use_id: string;
565
+ type: 'mcp_tool_result';
566
+ /**
567
+ * Create a cache control breakpoint at this content block.
568
+ */
569
+ cache_control?: BetaCacheControlEphemeral | null;
570
+ content?: string | Array<BetaTextBlockParam>;
571
+ is_error?: boolean;
572
+ }
573
+ export interface BetaServerToolUsage {
574
+ /**
575
+ * The number of web search tool requests.
576
+ */
577
+ web_search_requests: number;
578
+ }
579
+ export interface BetaServerToolUseBlock {
580
+ id: string;
581
+ input: unknown;
582
+ name: 'web_search' | 'code_execution';
583
+ type: 'server_tool_use';
584
+ }
585
+ export interface BetaServerToolUseBlockParam {
586
+ id: string;
587
+ input: unknown;
588
+ name: 'web_search' | 'code_execution';
589
+ type: 'server_tool_use';
590
+ /**
591
+ * Create a cache control breakpoint at this content block.
592
+ */
593
+ cache_control?: BetaCacheControlEphemeral | null;
594
+ }
595
+ export interface BetaSignatureDelta {
596
+ signature: string;
597
+ type: 'signature_delta';
598
+ }
599
+ export type BetaStopReason = 'end_turn' | 'max_tokens' | 'stop_sequence' | 'tool_use' | 'pause_turn' | 'refusal';
600
+ export interface BetaTextBlock {
601
+ /**
602
+ * Citations supporting the text block.
603
+ *
604
+ * The type of citation returned will depend on the type of document being cited.
605
+ * Citing a PDF results in `page_location`, plain text results in `char_location`,
606
+ * and content document results in `content_block_location`.
607
+ */
608
+ citations: Array<BetaTextCitation> | null;
609
+ text: string;
610
+ type: 'text';
611
+ }
612
+ export interface BetaTextBlockParam {
613
+ text: string;
614
+ type: 'text';
615
+ /**
616
+ * Create a cache control breakpoint at this content block.
617
+ */
618
+ cache_control?: BetaCacheControlEphemeral | null;
619
+ citations?: Array<BetaTextCitationParam> | null;
620
+ }
621
+ export type BetaTextCitation = BetaCitationCharLocation | BetaCitationPageLocation | BetaCitationContentBlockLocation | BetaCitationsWebSearchResultLocation;
622
+ export type BetaTextCitationParam = BetaCitationCharLocationParam | BetaCitationPageLocationParam | BetaCitationContentBlockLocationParam | BetaCitationWebSearchResultLocationParam;
623
+ export interface BetaTextDelta {
624
+ text: string;
625
+ type: 'text_delta';
626
+ }
627
+ export interface BetaThinkingBlock {
628
+ signature: string;
629
+ thinking: string;
630
+ type: 'thinking';
631
+ }
632
+ export interface BetaThinkingBlockParam {
633
+ signature: string;
634
+ thinking: string;
635
+ type: 'thinking';
636
+ }
637
+ export interface BetaThinkingConfigDisabled {
638
+ type: 'disabled';
639
+ }
640
+ export interface BetaThinkingConfigEnabled {
641
+ /**
642
+ * Determines how many tokens Claude can use for its internal reasoning process.
643
+ * Larger budgets can enable more thorough analysis for complex problems, improving
644
+ * response quality.
645
+ *
646
+ * Must be ≥1024 and less than `max_tokens`.
647
+ *
648
+ * See
649
+ * [extended thinking](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking)
650
+ * for details.
651
+ */
652
+ budget_tokens: number;
653
+ type: 'enabled';
654
+ }
655
+ /**
656
+ * Configuration for enabling Claude's extended thinking.
657
+ *
658
+ * When enabled, responses include `thinking` content blocks showing Claude's
659
+ * thinking process before the final answer. Requires a minimum budget of 1,024
660
+ * tokens and counts towards your `max_tokens` limit.
661
+ *
662
+ * See
663
+ * [extended thinking](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking)
664
+ * for details.
665
+ */
666
+ export type BetaThinkingConfigParam = BetaThinkingConfigEnabled | BetaThinkingConfigDisabled;
667
+ export interface BetaThinkingDelta {
668
+ thinking: string;
669
+ type: 'thinking_delta';
670
+ }
671
+ export interface BetaTool {
672
+ /**
673
+ * [JSON schema](https://json-schema.org/draft/2020-12) for this tool's input.
674
+ *
675
+ * This defines the shape of the `input` that your tool accepts and that the model
676
+ * will produce.
677
+ */
678
+ input_schema: BetaTool.InputSchema;
679
+ /**
680
+ * Name of the tool.
681
+ *
682
+ * This is how the tool will be called by the model and in `tool_use` blocks.
683
+ */
684
+ name: string;
685
+ /**
686
+ * Create a cache control breakpoint at this content block.
687
+ */
688
+ cache_control?: BetaCacheControlEphemeral | null;
689
+ /**
690
+ * Description of what this tool does.
691
+ *
692
+ * Tool descriptions should be as detailed as possible. The more information that
693
+ * the model has about what the tool is and how to use it, the better it will
694
+ * perform. You can use natural language descriptions to reinforce important
695
+ * aspects of the tool input JSON schema.
696
+ */
697
+ description?: string;
698
+ type?: 'custom' | null;
699
+ }
700
+ export declare namespace BetaTool {
701
+ /**
702
+ * [JSON schema](https://json-schema.org/draft/2020-12) for this tool's input.
703
+ *
704
+ * This defines the shape of the `input` that your tool accepts and that the model
705
+ * will produce.
706
+ */
707
+ interface InputSchema {
708
+ type: 'object';
709
+ properties?: unknown | null;
710
+ [k: string]: unknown;
711
+ }
712
+ }
713
+ export interface BetaToolBash20241022 {
714
+ /**
715
+ * Name of the tool.
716
+ *
717
+ * This is how the tool will be called by the model and in `tool_use` blocks.
718
+ */
719
+ name: 'bash';
720
+ type: 'bash_20241022';
721
+ /**
722
+ * Create a cache control breakpoint at this content block.
723
+ */
724
+ cache_control?: BetaCacheControlEphemeral | null;
725
+ }
726
+ export interface BetaToolBash20250124 {
727
+ /**
728
+ * Name of the tool.
729
+ *
730
+ * This is how the tool will be called by the model and in `tool_use` blocks.
731
+ */
732
+ name: 'bash';
733
+ type: 'bash_20250124';
734
+ /**
735
+ * Create a cache control breakpoint at this content block.
736
+ */
737
+ cache_control?: BetaCacheControlEphemeral | null;
738
+ }
739
+ /**
740
+ * How the model should use the provided tools. The model can use a specific tool,
741
+ * any available tool, decide by itself, or not use tools at all.
742
+ */
743
+ export type BetaToolChoice = BetaToolChoiceAuto | BetaToolChoiceAny | BetaToolChoiceTool | BetaToolChoiceNone;
744
+ /**
745
+ * The model will use any available tools.
746
+ */
747
+ export interface BetaToolChoiceAny {
748
+ type: 'any';
749
+ /**
750
+ * Whether to disable parallel tool use.
751
+ *
752
+ * Defaults to `false`. If set to `true`, the model will output exactly one tool
753
+ * use.
754
+ */
755
+ disable_parallel_tool_use?: boolean;
756
+ }
757
+ /**
758
+ * The model will automatically decide whether to use tools.
759
+ */
760
+ export interface BetaToolChoiceAuto {
761
+ type: 'auto';
762
+ /**
763
+ * Whether to disable parallel tool use.
764
+ *
765
+ * Defaults to `false`. If set to `true`, the model will output at most one tool
766
+ * use.
767
+ */
768
+ disable_parallel_tool_use?: boolean;
769
+ }
770
+ /**
771
+ * The model will not be allowed to use tools.
772
+ */
773
+ export interface BetaToolChoiceNone {
774
+ type: 'none';
775
+ }
776
+ /**
777
+ * The model will use the specified tool with `tool_choice.name`.
778
+ */
779
+ export interface BetaToolChoiceTool {
780
+ /**
781
+ * The name of the tool to use.
782
+ */
783
+ name: string;
784
+ type: 'tool';
785
+ /**
786
+ * Whether to disable parallel tool use.
787
+ *
788
+ * Defaults to `false`. If set to `true`, the model will output exactly one tool
789
+ * use.
790
+ */
791
+ disable_parallel_tool_use?: boolean;
792
+ }
793
+ export interface BetaToolComputerUse20241022 {
794
+ /**
795
+ * The height of the display in pixels.
796
+ */
797
+ display_height_px: number;
798
+ /**
799
+ * The width of the display in pixels.
800
+ */
801
+ display_width_px: number;
802
+ /**
803
+ * Name of the tool.
804
+ *
805
+ * This is how the tool will be called by the model and in `tool_use` blocks.
806
+ */
807
+ name: 'computer';
808
+ type: 'computer_20241022';
809
+ /**
810
+ * Create a cache control breakpoint at this content block.
811
+ */
812
+ cache_control?: BetaCacheControlEphemeral | null;
813
+ /**
814
+ * The X11 display number (e.g. 0, 1) for the display.
815
+ */
816
+ display_number?: number | null;
817
+ }
818
+ export interface BetaToolComputerUse20250124 {
819
+ /**
820
+ * The height of the display in pixels.
821
+ */
822
+ display_height_px: number;
823
+ /**
824
+ * The width of the display in pixels.
825
+ */
826
+ display_width_px: number;
827
+ /**
828
+ * Name of the tool.
829
+ *
830
+ * This is how the tool will be called by the model and in `tool_use` blocks.
831
+ */
832
+ name: 'computer';
833
+ type: 'computer_20250124';
834
+ /**
835
+ * Create a cache control breakpoint at this content block.
836
+ */
837
+ cache_control?: BetaCacheControlEphemeral | null;
838
+ /**
839
+ * The X11 display number (e.g. 0, 1) for the display.
840
+ */
841
+ display_number?: number | null;
842
+ }
843
+ export interface BetaToolResultBlockParam {
844
+ tool_use_id: string;
845
+ type: 'tool_result';
846
+ /**
847
+ * Create a cache control breakpoint at this content block.
848
+ */
849
+ cache_control?: BetaCacheControlEphemeral | null;
850
+ content?: string | Array<BetaTextBlockParam | BetaImageBlockParam>;
851
+ is_error?: boolean;
852
+ }
853
+ export interface BetaToolTextEditor20241022 {
854
+ /**
855
+ * Name of the tool.
856
+ *
857
+ * This is how the tool will be called by the model and in `tool_use` blocks.
858
+ */
859
+ name: 'str_replace_editor';
860
+ type: 'text_editor_20241022';
861
+ /**
862
+ * Create a cache control breakpoint at this content block.
863
+ */
864
+ cache_control?: BetaCacheControlEphemeral | null;
865
+ }
866
+ export interface BetaToolTextEditor20250124 {
867
+ /**
868
+ * Name of the tool.
869
+ *
870
+ * This is how the tool will be called by the model and in `tool_use` blocks.
871
+ */
872
+ name: 'str_replace_editor';
873
+ type: 'text_editor_20250124';
874
+ /**
875
+ * Create a cache control breakpoint at this content block.
876
+ */
877
+ cache_control?: BetaCacheControlEphemeral | null;
878
+ }
879
+ export interface BetaToolTextEditor20250429 {
880
+ /**
881
+ * Name of the tool.
882
+ *
883
+ * This is how the tool will be called by the model and in `tool_use` blocks.
884
+ */
885
+ name: 'str_replace_based_edit_tool';
886
+ type: 'text_editor_20250429';
887
+ /**
888
+ * Create a cache control breakpoint at this content block.
889
+ */
890
+ cache_control?: BetaCacheControlEphemeral | null;
891
+ }
892
+ export type BetaToolUnion = BetaTool | BetaToolComputerUse20241022 | BetaToolBash20241022 | BetaToolTextEditor20241022 | BetaToolComputerUse20250124 | BetaToolBash20250124 | BetaToolTextEditor20250124 | BetaToolTextEditor20250429 | BetaWebSearchTool20250305 | BetaCodeExecutionTool20250522;
893
+ export interface BetaToolUseBlock {
894
+ id: string;
895
+ input: unknown;
896
+ name: string;
897
+ type: 'tool_use';
898
+ }
899
+ export interface BetaToolUseBlockParam {
900
+ id: string;
901
+ input: unknown;
902
+ name: string;
903
+ type: 'tool_use';
904
+ /**
905
+ * Create a cache control breakpoint at this content block.
906
+ */
907
+ cache_control?: BetaCacheControlEphemeral | null;
908
+ }
909
+ export interface BetaURLImageSource {
910
+ type: 'url';
911
+ url: string;
912
+ }
913
+ export interface BetaURLPDFSource {
914
+ type: 'url';
915
+ url: string;
916
+ }
917
+ export interface BetaUsage {
918
+ /**
919
+ * Breakdown of cached tokens by TTL
920
+ */
921
+ cache_creation: BetaCacheCreation | null;
922
+ /**
923
+ * The number of input tokens used to create the cache entry.
924
+ */
925
+ cache_creation_input_tokens: number | null;
926
+ /**
927
+ * The number of input tokens read from the cache.
928
+ */
929
+ cache_read_input_tokens: number | null;
930
+ /**
931
+ * The number of input tokens which were used.
932
+ */
933
+ input_tokens: number;
934
+ /**
935
+ * The number of output tokens which were used.
936
+ */
937
+ output_tokens: number;
938
+ /**
939
+ * The number of server tool requests.
940
+ */
941
+ server_tool_use: BetaServerToolUsage | null;
942
+ /**
943
+ * If the request used the priority, standard, or batch tier.
944
+ */
945
+ service_tier: 'standard' | 'priority' | 'batch' | null;
946
+ }
947
+ export interface BetaWebSearchResultBlock {
948
+ encrypted_content: string;
949
+ page_age: string | null;
950
+ title: string;
951
+ type: 'web_search_result';
952
+ url: string;
953
+ }
954
+ export interface BetaWebSearchResultBlockParam {
955
+ encrypted_content: string;
956
+ title: string;
957
+ type: 'web_search_result';
958
+ url: string;
959
+ page_age?: string | null;
960
+ }
961
+ export interface BetaWebSearchTool20250305 {
962
+ /**
963
+ * Name of the tool.
964
+ *
965
+ * This is how the tool will be called by the model and in `tool_use` blocks.
966
+ */
967
+ name: 'web_search';
968
+ type: 'web_search_20250305';
969
+ /**
970
+ * If provided, only these domains will be included in results. Cannot be used
971
+ * alongside `blocked_domains`.
972
+ */
973
+ allowed_domains?: Array<string> | null;
974
+ /**
975
+ * If provided, these domains will never appear in results. Cannot be used
976
+ * alongside `allowed_domains`.
977
+ */
978
+ blocked_domains?: Array<string> | null;
979
+ /**
980
+ * Create a cache control breakpoint at this content block.
981
+ */
982
+ cache_control?: BetaCacheControlEphemeral | null;
983
+ /**
984
+ * Maximum number of times the tool can be used in the API request.
985
+ */
986
+ max_uses?: number | null;
987
+ /**
988
+ * Parameters for the user's location. Used to provide more relevant search
989
+ * results.
990
+ */
991
+ user_location?: BetaWebSearchTool20250305.UserLocation | null;
992
+ }
993
+ export declare namespace BetaWebSearchTool20250305 {
994
+ /**
995
+ * Parameters for the user's location. Used to provide more relevant search
996
+ * results.
997
+ */
998
+ interface UserLocation {
999
+ type: 'approximate';
1000
+ /**
1001
+ * The city of the user.
1002
+ */
1003
+ city?: string | null;
1004
+ /**
1005
+ * The two letter
1006
+ * [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the
1007
+ * user.
1008
+ */
1009
+ country?: string | null;
1010
+ /**
1011
+ * The region of the user.
1012
+ */
1013
+ region?: string | null;
1014
+ /**
1015
+ * The [IANA timezone](https://nodatime.org/TimeZones) of the user.
1016
+ */
1017
+ timezone?: string | null;
1018
+ }
1019
+ }
1020
+ export interface BetaWebSearchToolRequestError {
1021
+ error_code: BetaWebSearchToolResultErrorCode;
1022
+ type: 'web_search_tool_result_error';
1023
+ }
1024
+ export interface BetaWebSearchToolResultBlock {
1025
+ content: BetaWebSearchToolResultBlockContent;
1026
+ tool_use_id: string;
1027
+ type: 'web_search_tool_result';
1028
+ }
1029
+ export type BetaWebSearchToolResultBlockContent = BetaWebSearchToolResultError | Array<BetaWebSearchResultBlock>;
1030
+ export interface BetaWebSearchToolResultBlockParam {
1031
+ content: BetaWebSearchToolResultBlockParamContent;
1032
+ tool_use_id: string;
1033
+ type: 'web_search_tool_result';
1034
+ /**
1035
+ * Create a cache control breakpoint at this content block.
1036
+ */
1037
+ cache_control?: BetaCacheControlEphemeral | null;
1038
+ }
1039
+ export type BetaWebSearchToolResultBlockParamContent = Array<BetaWebSearchResultBlockParam> | BetaWebSearchToolRequestError;
1040
+ export interface BetaWebSearchToolResultError {
1041
+ error_code: BetaWebSearchToolResultErrorCode;
1042
+ type: 'web_search_tool_result_error';
1043
+ }
1044
+ export type BetaWebSearchToolResultErrorCode = 'invalid_tool_input' | 'unavailable' | 'max_uses_exceeded' | 'too_many_requests' | 'query_too_long';
1045
+ export type MessageCreateParams = MessageCreateParamsNonStreaming | MessageCreateParamsStreaming;
1046
+ export interface MessageCreateParamsBase {
1047
+ /**
1048
+ * Body param: The maximum number of tokens to generate before stopping.
1049
+ *
1050
+ * Note that our models may stop _before_ reaching this maximum. This parameter
1051
+ * only specifies the absolute maximum number of tokens to generate.
1052
+ *
1053
+ * Different models have different maximum values for this parameter. See
1054
+ * [models](https://docs.anthropic.com/en/docs/models-overview) for details.
1055
+ */
1056
+ max_tokens: number;
1057
+ /**
1058
+ * Body param: Input messages.
1059
+ *
1060
+ * Our models are trained to operate on alternating `user` and `assistant`
1061
+ * conversational turns. When creating a new `Message`, you specify the prior
1062
+ * conversational turns with the `messages` parameter, and the model then generates
1063
+ * the next `Message` in the conversation. Consecutive `user` or `assistant` turns
1064
+ * in your request will be combined into a single turn.
1065
+ *
1066
+ * Each input message must be an object with a `role` and `content`. You can
1067
+ * specify a single `user`-role message, or you can include multiple `user` and
1068
+ * `assistant` messages.
1069
+ *
1070
+ * If the final message uses the `assistant` role, the response content will
1071
+ * continue immediately from the content in that message. This can be used to
1072
+ * constrain part of the model's response.
1073
+ *
1074
+ * Example with a single `user` message:
1075
+ *
1076
+ * ```json
1077
+ * [{ "role": "user", "content": "Hello, Claude" }]
1078
+ * ```
1079
+ *
1080
+ * Example with multiple conversational turns:
1081
+ *
1082
+ * ```json
1083
+ * [
1084
+ * { "role": "user", "content": "Hello there." },
1085
+ * { "role": "assistant", "content": "Hi, I'm Claude. How can I help you?" },
1086
+ * { "role": "user", "content": "Can you explain LLMs in plain English?" }
1087
+ * ]
1088
+ * ```
1089
+ *
1090
+ * Example with a partially-filled response from Claude:
1091
+ *
1092
+ * ```json
1093
+ * [
1094
+ * {
1095
+ * "role": "user",
1096
+ * "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
1097
+ * },
1098
+ * { "role": "assistant", "content": "The best answer is (" }
1099
+ * ]
1100
+ * ```
1101
+ *
1102
+ * Each input message `content` may be either a single `string` or an array of
1103
+ * content blocks, where each block has a specific `type`. Using a `string` for
1104
+ * `content` is shorthand for an array of one content block of type `"text"`. The
1105
+ * following input messages are equivalent:
1106
+ *
1107
+ * ```json
1108
+ * { "role": "user", "content": "Hello, Claude" }
1109
+ * ```
1110
+ *
1111
+ * ```json
1112
+ * { "role": "user", "content": [{ "type": "text", "text": "Hello, Claude" }] }
1113
+ * ```
1114
+ *
1115
+ * Starting with Claude 3 models, you can also send image content blocks:
1116
+ *
1117
+ * ```json
1118
+ * {
1119
+ * "role": "user",
1120
+ * "content": [
1121
+ * {
1122
+ * "type": "image",
1123
+ * "source": {
1124
+ * "type": "base64",
1125
+ * "media_type": "image/jpeg",
1126
+ * "data": "/9j/4AAQSkZJRg..."
1127
+ * }
1128
+ * },
1129
+ * { "type": "text", "text": "What is in this image?" }
1130
+ * ]
1131
+ * }
1132
+ * ```
1133
+ *
1134
+ * We currently support the `base64` source type for images, and the `image/jpeg`,
1135
+ * `image/png`, `image/gif`, and `image/webp` media types.
1136
+ *
1137
+ * See [examples](https://docs.anthropic.com/en/api/messages-examples#vision) for
1138
+ * more input examples.
1139
+ *
1140
+ * Note that if you want to include a
1141
+ * [system prompt](https://docs.anthropic.com/en/docs/system-prompts), you can use
1142
+ * the top-level `system` parameter — there is no `"system"` role for input
1143
+ * messages in the Messages API.
1144
+ *
1145
+ * There is a limit of 100000 messages in a single request.
1146
+ */
1147
+ messages: Array<BetaMessageParam>;
1148
+ /**
1149
+ * Body param: The model that will complete your prompt.\n\nSee
1150
+ * [models](https://docs.anthropic.com/en/docs/models-overview) for additional
1151
+ * details and options.
1152
+ */
1153
+ model: MessagesAPI.Model;
1154
+ /**
1155
+ * Body param: Container identifier for reuse across requests.
1156
+ */
1157
+ container?: string | null;
1158
+ /**
1159
+ * Body param: MCP servers to be utilized in this request
1160
+ */
1161
+ mcp_servers?: Array<BetaRequestMCPServerURLDefinition>;
1162
+ /**
1163
+ * Body param: An object describing metadata about the request.
1164
+ */
1165
+ metadata?: BetaMetadata;
1166
+ /**
1167
+ * Body param: Determines whether to use priority capacity (if available) or
1168
+ * standard capacity for this request.
1169
+ *
1170
+ * Anthropic offers different levels of service for your API requests. See
1171
+ * [service-tiers](https://docs.anthropic.com/en/api/service-tiers) for details.
1172
+ */
1173
+ service_tier?: 'auto' | 'standard_only';
1174
+ /**
1175
+ * Body param: Custom text sequences that will cause the model to stop generating.
1176
+ *
1177
+ * Our models will normally stop when they have naturally completed their turn,
1178
+ * which will result in a response `stop_reason` of `"end_turn"`.
1179
+ *
1180
+ * If you want the model to stop generating when it encounters custom strings of
1181
+ * text, you can use the `stop_sequences` parameter. If the model encounters one of
1182
+ * the custom sequences, the response `stop_reason` value will be `"stop_sequence"`
1183
+ * and the response `stop_sequence` value will contain the matched stop sequence.
1184
+ */
1185
+ stop_sequences?: Array<string>;
1186
+ /**
1187
+ * Body param: Whether to incrementally stream the response using server-sent
1188
+ * events.
1189
+ *
1190
+ * See [streaming](https://docs.anthropic.com/en/api/messages-streaming) for
1191
+ * details.
1192
+ */
1193
+ stream?: boolean;
1194
+ /**
1195
+ * Body param: System prompt.
1196
+ *
1197
+ * A system prompt is a way of providing context and instructions to Claude, such
1198
+ * as specifying a particular goal or role. See our
1199
+ * [guide to system prompts](https://docs.anthropic.com/en/docs/system-prompts).
1200
+ */
1201
+ system?: string | Array<BetaTextBlockParam>;
1202
+ /**
1203
+ * Body param: Amount of randomness injected into the response.
1204
+ *
1205
+ * Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0`
1206
+ * for analytical / multiple choice, and closer to `1.0` for creative and
1207
+ * generative tasks.
1208
+ *
1209
+ * Note that even with `temperature` of `0.0`, the results will not be fully
1210
+ * deterministic.
1211
+ */
1212
+ temperature?: number;
1213
+ /**
1214
+ * Body param: Configuration for enabling Claude's extended thinking.
1215
+ *
1216
+ * When enabled, responses include `thinking` content blocks showing Claude's
1217
+ * thinking process before the final answer. Requires a minimum budget of 1,024
1218
+ * tokens and counts towards your `max_tokens` limit.
1219
+ *
1220
+ * See
1221
+ * [extended thinking](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking)
1222
+ * for details.
1223
+ */
1224
+ thinking?: BetaThinkingConfigParam;
1225
+ /**
1226
+ * Body param: How the model should use the provided tools. The model can use a
1227
+ * specific tool, any available tool, decide by itself, or not use tools at all.
1228
+ */
1229
+ tool_choice?: BetaToolChoice;
1230
+ /**
1231
+ * Body param: Definitions of tools that the model may use.
1232
+ *
1233
+ * If you include `tools` in your API request, the model may return `tool_use`
1234
+ * content blocks that represent the model's use of those tools. You can then run
1235
+ * those tools using the tool input generated by the model and then optionally
1236
+ * return results back to the model using `tool_result` content blocks.
1237
+ *
1238
+ * Each tool definition includes:
1239
+ *
1240
+ * - `name`: Name of the tool.
1241
+ * - `description`: Optional, but strongly-recommended description of the tool.
1242
+ * - `input_schema`: [JSON schema](https://json-schema.org/draft/2020-12) for the
1243
+ * tool `input` shape that the model will produce in `tool_use` output content
1244
+ * blocks.
1245
+ *
1246
+ * For example, if you defined `tools` as:
1247
+ *
1248
+ * ```json
1249
+ * [
1250
+ * {
1251
+ * "name": "get_stock_price",
1252
+ * "description": "Get the current stock price for a given ticker symbol.",
1253
+ * "input_schema": {
1254
+ * "type": "object",
1255
+ * "properties": {
1256
+ * "ticker": {
1257
+ * "type": "string",
1258
+ * "description": "The stock ticker symbol, e.g. AAPL for Apple Inc."
1259
+ * }
1260
+ * },
1261
+ * "required": ["ticker"]
1262
+ * }
1263
+ * }
1264
+ * ]
1265
+ * ```
1266
+ *
1267
+ * And then asked the model "What's the S&P 500 at today?", the model might produce
1268
+ * `tool_use` content blocks in the response like this:
1269
+ *
1270
+ * ```json
1271
+ * [
1272
+ * {
1273
+ * "type": "tool_use",
1274
+ * "id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
1275
+ * "name": "get_stock_price",
1276
+ * "input": { "ticker": "^GSPC" }
1277
+ * }
1278
+ * ]
1279
+ * ```
1280
+ *
1281
+ * You might then run your `get_stock_price` tool with `{"ticker": "^GSPC"}` as an
1282
+ * input, and return the following back to the model in a subsequent `user`
1283
+ * message:
1284
+ *
1285
+ * ```json
1286
+ * [
1287
+ * {
1288
+ * "type": "tool_result",
1289
+ * "tool_use_id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
1290
+ * "content": "259.75 USD"
1291
+ * }
1292
+ * ]
1293
+ * ```
1294
+ *
1295
+ * Tools can be used for workflows that include running client-side tools and
1296
+ * functions, or more generally whenever you want the model to produce a particular
1297
+ * JSON structure of output.
1298
+ *
1299
+ * See our [guide](https://docs.anthropic.com/en/docs/tool-use) for more details.
1300
+ */
1301
+ tools?: Array<BetaToolUnion>;
1302
+ /**
1303
+ * Body param: Only sample from the top K options for each subsequent token.
1304
+ *
1305
+ * Used to remove "long tail" low probability responses.
1306
+ * [Learn more technical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277).
1307
+ *
1308
+ * Recommended for advanced use cases only. You usually only need to use
1309
+ * `temperature`.
1310
+ */
1311
+ top_k?: number;
1312
+ /**
1313
+ * Body param: Use nucleus sampling.
1314
+ *
1315
+ * In nucleus sampling, we compute the cumulative distribution over all the options
1316
+ * for each subsequent token in decreasing probability order and cut it off once it
1317
+ * reaches a particular probability specified by `top_p`. You should either alter
1318
+ * `temperature` or `top_p`, but not both.
1319
+ *
1320
+ * Recommended for advanced use cases only. You usually only need to use
1321
+ * `temperature`.
1322
+ */
1323
+ top_p?: number;
1324
+ /**
1325
+ * Header param: Optional header to specify the beta version(s) you want to use.
1326
+ */
1327
+ betas?: Array<BetaAPI.AnthropicBeta>;
1328
+ }
1329
+ export declare namespace MessageCreateParams {
1330
+ type MessageCreateParamsNonStreaming = MessagesMessagesAPI.MessageCreateParamsNonStreaming;
1331
+ type MessageCreateParamsStreaming = MessagesMessagesAPI.MessageCreateParamsStreaming;
1332
+ }
1333
+ export interface MessageCreateParamsNonStreaming extends MessageCreateParamsBase {
1334
+ /**
1335
+ * Body param: Whether to incrementally stream the response using server-sent
1336
+ * events.
1337
+ *
1338
+ * See [streaming](https://docs.anthropic.com/en/api/messages-streaming) for
1339
+ * details.
1340
+ */
1341
+ stream?: false;
1342
+ }
1343
+ export interface MessageCreateParamsStreaming extends MessageCreateParamsBase {
1344
+ /**
1345
+ * Body param: Whether to incrementally stream the response using server-sent
1346
+ * events.
1347
+ *
1348
+ * See [streaming](https://docs.anthropic.com/en/api/messages-streaming) for
1349
+ * details.
1350
+ */
1351
+ stream: true;
1352
+ }
1353
+ export interface MessageCountTokensParams {
1354
+ /**
1355
+ * Body param: Input messages.
1356
+ *
1357
+ * Our models are trained to operate on alternating `user` and `assistant`
1358
+ * conversational turns. When creating a new `Message`, you specify the prior
1359
+ * conversational turns with the `messages` parameter, and the model then generates
1360
+ * the next `Message` in the conversation. Consecutive `user` or `assistant` turns
1361
+ * in your request will be combined into a single turn.
1362
+ *
1363
+ * Each input message must be an object with a `role` and `content`. You can
1364
+ * specify a single `user`-role message, or you can include multiple `user` and
1365
+ * `assistant` messages.
1366
+ *
1367
+ * If the final message uses the `assistant` role, the response content will
1368
+ * continue immediately from the content in that message. This can be used to
1369
+ * constrain part of the model's response.
1370
+ *
1371
+ * Example with a single `user` message:
1372
+ *
1373
+ * ```json
1374
+ * [{ "role": "user", "content": "Hello, Claude" }]
1375
+ * ```
1376
+ *
1377
+ * Example with multiple conversational turns:
1378
+ *
1379
+ * ```json
1380
+ * [
1381
+ * { "role": "user", "content": "Hello there." },
1382
+ * { "role": "assistant", "content": "Hi, I'm Claude. How can I help you?" },
1383
+ * { "role": "user", "content": "Can you explain LLMs in plain English?" }
1384
+ * ]
1385
+ * ```
1386
+ *
1387
+ * Example with a partially-filled response from Claude:
1388
+ *
1389
+ * ```json
1390
+ * [
1391
+ * {
1392
+ * "role": "user",
1393
+ * "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
1394
+ * },
1395
+ * { "role": "assistant", "content": "The best answer is (" }
1396
+ * ]
1397
+ * ```
1398
+ *
1399
+ * Each input message `content` may be either a single `string` or an array of
1400
+ * content blocks, where each block has a specific `type`. Using a `string` for
1401
+ * `content` is shorthand for an array of one content block of type `"text"`. The
1402
+ * following input messages are equivalent:
1403
+ *
1404
+ * ```json
1405
+ * { "role": "user", "content": "Hello, Claude" }
1406
+ * ```
1407
+ *
1408
+ * ```json
1409
+ * { "role": "user", "content": [{ "type": "text", "text": "Hello, Claude" }] }
1410
+ * ```
1411
+ *
1412
+ * Starting with Claude 3 models, you can also send image content blocks:
1413
+ *
1414
+ * ```json
1415
+ * {
1416
+ * "role": "user",
1417
+ * "content": [
1418
+ * {
1419
+ * "type": "image",
1420
+ * "source": {
1421
+ * "type": "base64",
1422
+ * "media_type": "image/jpeg",
1423
+ * "data": "/9j/4AAQSkZJRg..."
1424
+ * }
1425
+ * },
1426
+ * { "type": "text", "text": "What is in this image?" }
1427
+ * ]
1428
+ * }
1429
+ * ```
1430
+ *
1431
+ * We currently support the `base64` source type for images, and the `image/jpeg`,
1432
+ * `image/png`, `image/gif`, and `image/webp` media types.
1433
+ *
1434
+ * See [examples](https://docs.anthropic.com/en/api/messages-examples#vision) for
1435
+ * more input examples.
1436
+ *
1437
+ * Note that if you want to include a
1438
+ * [system prompt](https://docs.anthropic.com/en/docs/system-prompts), you can use
1439
+ * the top-level `system` parameter — there is no `"system"` role for input
1440
+ * messages in the Messages API.
1441
+ *
1442
+ * There is a limit of 100000 messages in a single request.
1443
+ */
1444
+ messages: Array<BetaMessageParam>;
1445
+ /**
1446
+ * Body param: The model that will complete your prompt.\n\nSee
1447
+ * [models](https://docs.anthropic.com/en/docs/models-overview) for additional
1448
+ * details and options.
1449
+ */
1450
+ model: MessagesAPI.Model;
1451
+ /**
1452
+ * Body param: MCP servers to be utilized in this request
1453
+ */
1454
+ mcp_servers?: Array<BetaRequestMCPServerURLDefinition>;
1455
+ /**
1456
+ * Body param: System prompt.
1457
+ *
1458
+ * A system prompt is a way of providing context and instructions to Claude, such
1459
+ * as specifying a particular goal or role. See our
1460
+ * [guide to system prompts](https://docs.anthropic.com/en/docs/system-prompts).
1461
+ */
1462
+ system?: string | Array<BetaTextBlockParam>;
1463
+ /**
1464
+ * Body param: Configuration for enabling Claude's extended thinking.
1465
+ *
1466
+ * When enabled, responses include `thinking` content blocks showing Claude's
1467
+ * thinking process before the final answer. Requires a minimum budget of 1,024
1468
+ * tokens and counts towards your `max_tokens` limit.
1469
+ *
1470
+ * See
1471
+ * [extended thinking](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking)
1472
+ * for details.
1473
+ */
1474
+ thinking?: BetaThinkingConfigParam;
1475
+ /**
1476
+ * Body param: How the model should use the provided tools. The model can use a
1477
+ * specific tool, any available tool, decide by itself, or not use tools at all.
1478
+ */
1479
+ tool_choice?: BetaToolChoice;
1480
+ /**
1481
+ * Body param: Definitions of tools that the model may use.
1482
+ *
1483
+ * If you include `tools` in your API request, the model may return `tool_use`
1484
+ * content blocks that represent the model's use of those tools. You can then run
1485
+ * those tools using the tool input generated by the model and then optionally
1486
+ * return results back to the model using `tool_result` content blocks.
1487
+ *
1488
+ * Each tool definition includes:
1489
+ *
1490
+ * - `name`: Name of the tool.
1491
+ * - `description`: Optional, but strongly-recommended description of the tool.
1492
+ * - `input_schema`: [JSON schema](https://json-schema.org/draft/2020-12) for the
1493
+ * tool `input` shape that the model will produce in `tool_use` output content
1494
+ * blocks.
1495
+ *
1496
+ * For example, if you defined `tools` as:
1497
+ *
1498
+ * ```json
1499
+ * [
1500
+ * {
1501
+ * "name": "get_stock_price",
1502
+ * "description": "Get the current stock price for a given ticker symbol.",
1503
+ * "input_schema": {
1504
+ * "type": "object",
1505
+ * "properties": {
1506
+ * "ticker": {
1507
+ * "type": "string",
1508
+ * "description": "The stock ticker symbol, e.g. AAPL for Apple Inc."
1509
+ * }
1510
+ * },
1511
+ * "required": ["ticker"]
1512
+ * }
1513
+ * }
1514
+ * ]
1515
+ * ```
1516
+ *
1517
+ * And then asked the model "What's the S&P 500 at today?", the model might produce
1518
+ * `tool_use` content blocks in the response like this:
1519
+ *
1520
+ * ```json
1521
+ * [
1522
+ * {
1523
+ * "type": "tool_use",
1524
+ * "id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
1525
+ * "name": "get_stock_price",
1526
+ * "input": { "ticker": "^GSPC" }
1527
+ * }
1528
+ * ]
1529
+ * ```
1530
+ *
1531
+ * You might then run your `get_stock_price` tool with `{"ticker": "^GSPC"}` as an
1532
+ * input, and return the following back to the model in a subsequent `user`
1533
+ * message:
1534
+ *
1535
+ * ```json
1536
+ * [
1537
+ * {
1538
+ * "type": "tool_result",
1539
+ * "tool_use_id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
1540
+ * "content": "259.75 USD"
1541
+ * }
1542
+ * ]
1543
+ * ```
1544
+ *
1545
+ * Tools can be used for workflows that include running client-side tools and
1546
+ * functions, or more generally whenever you want the model to produce a particular
1547
+ * JSON structure of output.
1548
+ *
1549
+ * See our [guide](https://docs.anthropic.com/en/docs/tool-use) for more details.
1550
+ */
1551
+ tools?: Array<BetaTool | BetaToolComputerUse20241022 | BetaToolBash20241022 | BetaToolTextEditor20241022 | BetaToolComputerUse20250124 | BetaToolBash20250124 | BetaToolTextEditor20250124 | BetaToolTextEditor20250429 | BetaWebSearchTool20250305 | BetaCodeExecutionTool20250522>;
1552
+ /**
1553
+ * Header param: Optional header to specify the beta version(s) you want to use.
1554
+ */
1555
+ betas?: Array<BetaAPI.AnthropicBeta>;
1556
+ }
1557
+ export declare namespace Messages {
1558
+ export { type BetaBase64ImageSource as BetaBase64ImageSource, type BetaBase64PDFBlock as BetaBase64PDFBlock, type BetaBase64PDFSource as BetaBase64PDFSource, type BetaCacheControlEphemeral as BetaCacheControlEphemeral, type BetaCacheCreation as BetaCacheCreation, type BetaCitationCharLocation as BetaCitationCharLocation, type BetaCitationCharLocationParam as BetaCitationCharLocationParam, type BetaCitationContentBlockLocation as BetaCitationContentBlockLocation, type BetaCitationContentBlockLocationParam as BetaCitationContentBlockLocationParam, type BetaCitationPageLocation as BetaCitationPageLocation, type BetaCitationPageLocationParam as BetaCitationPageLocationParam, type BetaCitationWebSearchResultLocationParam as BetaCitationWebSearchResultLocationParam, type BetaCitationsConfigParam as BetaCitationsConfigParam, type BetaCitationsDelta as BetaCitationsDelta, type BetaCitationsWebSearchResultLocation as BetaCitationsWebSearchResultLocation, type BetaCodeExecutionOutputBlock as BetaCodeExecutionOutputBlock, type BetaCodeExecutionOutputBlockParam as BetaCodeExecutionOutputBlockParam, type BetaCodeExecutionResultBlock as BetaCodeExecutionResultBlock, type BetaCodeExecutionResultBlockParam as BetaCodeExecutionResultBlockParam, type BetaCodeExecutionTool20250522 as BetaCodeExecutionTool20250522, type BetaCodeExecutionToolResultBlock as BetaCodeExecutionToolResultBlock, type BetaCodeExecutionToolResultBlockContent as BetaCodeExecutionToolResultBlockContent, type BetaCodeExecutionToolResultBlockParam as BetaCodeExecutionToolResultBlockParam, type BetaCodeExecutionToolResultBlockParamContent as BetaCodeExecutionToolResultBlockParamContent, type BetaCodeExecutionToolResultError as BetaCodeExecutionToolResultError, type BetaCodeExecutionToolResultErrorCode as BetaCodeExecutionToolResultErrorCode, type BetaCodeExecutionToolResultErrorParam as BetaCodeExecutionToolResultErrorParam, type BetaContainer as BetaContainer, type BetaContainerUploadBlock as BetaContainerUploadBlock, type BetaContainerUploadBlockParam as BetaContainerUploadBlockParam, type BetaContentBlock as BetaContentBlock, type BetaContentBlockParam as BetaContentBlockParam, type BetaContentBlockSource as BetaContentBlockSource, type BetaContentBlockSourceContent as BetaContentBlockSourceContent, type BetaFileDocumentSource as BetaFileDocumentSource, type BetaFileImageSource as BetaFileImageSource, type BetaImageBlockParam as BetaImageBlockParam, type BetaInputJSONDelta as BetaInputJSONDelta, type BetaMCPToolResultBlock as BetaMCPToolResultBlock, type BetaMCPToolUseBlock as BetaMCPToolUseBlock, type BetaMCPToolUseBlockParam as BetaMCPToolUseBlockParam, type BetaMessage as BetaMessage, type BetaMessageDeltaUsage as BetaMessageDeltaUsage, type BetaMessageParam as BetaMessageParam, type BetaMessageTokensCount as BetaMessageTokensCount, type BetaMetadata as BetaMetadata, type BetaPlainTextSource as BetaPlainTextSource, type BetaRawContentBlockDelta as BetaRawContentBlockDelta, type BetaRawContentBlockDeltaEvent as BetaRawContentBlockDeltaEvent, type BetaRawContentBlockStartEvent as BetaRawContentBlockStartEvent, type BetaRawContentBlockStopEvent as BetaRawContentBlockStopEvent, type BetaRawMessageDeltaEvent as BetaRawMessageDeltaEvent, type BetaRawMessageStartEvent as BetaRawMessageStartEvent, type BetaRawMessageStopEvent as BetaRawMessageStopEvent, type BetaRawMessageStreamEvent as BetaRawMessageStreamEvent, type BetaRedactedThinkingBlock as BetaRedactedThinkingBlock, type BetaRedactedThinkingBlockParam as BetaRedactedThinkingBlockParam, type BetaRequestMCPServerToolConfiguration as BetaRequestMCPServerToolConfiguration, type BetaRequestMCPServerURLDefinition as BetaRequestMCPServerURLDefinition, type BetaRequestMCPToolResultBlockParam as BetaRequestMCPToolResultBlockParam, type BetaServerToolUsage as BetaServerToolUsage, type BetaServerToolUseBlock as BetaServerToolUseBlock, type BetaServerToolUseBlockParam as BetaServerToolUseBlockParam, type BetaSignatureDelta as BetaSignatureDelta, type BetaStopReason as BetaStopReason, type BetaTextBlock as BetaTextBlock, type BetaTextBlockParam as BetaTextBlockParam, type BetaTextCitation as BetaTextCitation, type BetaTextCitationParam as BetaTextCitationParam, type BetaTextDelta as BetaTextDelta, type BetaThinkingBlock as BetaThinkingBlock, type BetaThinkingBlockParam as BetaThinkingBlockParam, type BetaThinkingConfigDisabled as BetaThinkingConfigDisabled, type BetaThinkingConfigEnabled as BetaThinkingConfigEnabled, type BetaThinkingConfigParam as BetaThinkingConfigParam, type BetaThinkingDelta as BetaThinkingDelta, type BetaTool as BetaTool, type BetaToolBash20241022 as BetaToolBash20241022, type BetaToolBash20250124 as BetaToolBash20250124, type BetaToolChoice as BetaToolChoice, type BetaToolChoiceAny as BetaToolChoiceAny, type BetaToolChoiceAuto as BetaToolChoiceAuto, type BetaToolChoiceNone as BetaToolChoiceNone, type BetaToolChoiceTool as BetaToolChoiceTool, type BetaToolComputerUse20241022 as BetaToolComputerUse20241022, type BetaToolComputerUse20250124 as BetaToolComputerUse20250124, type BetaToolResultBlockParam as BetaToolResultBlockParam, type BetaToolTextEditor20241022 as BetaToolTextEditor20241022, type BetaToolTextEditor20250124 as BetaToolTextEditor20250124, type BetaToolTextEditor20250429 as BetaToolTextEditor20250429, type BetaToolUnion as BetaToolUnion, type BetaToolUseBlock as BetaToolUseBlock, type BetaToolUseBlockParam as BetaToolUseBlockParam, type BetaURLImageSource as BetaURLImageSource, type BetaURLPDFSource as BetaURLPDFSource, type BetaUsage as BetaUsage, type BetaWebSearchResultBlock as BetaWebSearchResultBlock, type BetaWebSearchResultBlockParam as BetaWebSearchResultBlockParam, type BetaWebSearchTool20250305 as BetaWebSearchTool20250305, type BetaWebSearchToolRequestError as BetaWebSearchToolRequestError, type BetaWebSearchToolResultBlock as BetaWebSearchToolResultBlock, type BetaWebSearchToolResultBlockContent as BetaWebSearchToolResultBlockContent, type BetaWebSearchToolResultBlockParam as BetaWebSearchToolResultBlockParam, type BetaWebSearchToolResultBlockParamContent as BetaWebSearchToolResultBlockParamContent, type BetaWebSearchToolResultError as BetaWebSearchToolResultError, type BetaWebSearchToolResultErrorCode as BetaWebSearchToolResultErrorCode, type MessageCreateParams as MessageCreateParams, type MessageCreateParamsNonStreaming as MessageCreateParamsNonStreaming, type MessageCreateParamsStreaming as MessageCreateParamsStreaming, type MessageCountTokensParams as MessageCountTokensParams, };
1559
+ export { Batches as Batches, type BetaDeletedMessageBatch as BetaDeletedMessageBatch, type BetaMessageBatch as BetaMessageBatch, type BetaMessageBatchCanceledResult as BetaMessageBatchCanceledResult, type BetaMessageBatchErroredResult as BetaMessageBatchErroredResult, type BetaMessageBatchExpiredResult as BetaMessageBatchExpiredResult, type BetaMessageBatchIndividualResponse as BetaMessageBatchIndividualResponse, type BetaMessageBatchRequestCounts as BetaMessageBatchRequestCounts, type BetaMessageBatchResult as BetaMessageBatchResult, type BetaMessageBatchSucceededResult as BetaMessageBatchSucceededResult, type BetaMessageBatchesPage as BetaMessageBatchesPage, type BatchCreateParams as BatchCreateParams, type BatchRetrieveParams as BatchRetrieveParams, type BatchListParams as BatchListParams, type BatchDeleteParams as BatchDeleteParams, type BatchCancelParams as BatchCancelParams, type BatchResultsParams as BatchResultsParams, };
1560
+ }
1561
+ //# sourceMappingURL=messages.d.ts.map