@anthropic-ai/sdk 0.102.0 → 0.103.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.
- package/CHANGELOG.md +15 -0
- package/client.d.mts +30 -7
- package/client.d.mts.map +1 -1
- package/client.d.ts +30 -7
- package/client.d.ts.map +1 -1
- package/client.js +48 -25
- package/client.js.map +1 -1
- package/client.mjs +47 -24
- package/client.mjs.map +1 -1
- package/core/middleware.d.mts +42 -5
- package/core/middleware.d.mts.map +1 -1
- package/core/middleware.d.ts +42 -5
- package/core/middleware.d.ts.map +1 -1
- package/core/middleware.js +14 -7
- package/core/middleware.js.map +1 -1
- package/core/middleware.mjs +14 -7
- package/core/middleware.mjs.map +1 -1
- package/core/streaming.d.mts +9 -0
- package/core/streaming.d.mts.map +1 -1
- package/core/streaming.d.ts +9 -0
- package/core/streaming.d.ts.map +1 -1
- package/core/streaming.js +11 -0
- package/core/streaming.js.map +1 -1
- package/core/streaming.mjs +11 -0
- package/core/streaming.mjs.map +1 -1
- package/index.d.mts +1 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -0
- package/index.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +0 -3
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +0 -3
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts +46 -3
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +46 -3
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js +12 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -1
- package/internal/utils/log.d.mts +11 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts +11 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +34 -9
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +32 -8
- package/internal/utils/log.mjs.map +1 -1
- package/lib/BetaMessageStream.d.mts.map +1 -1
- package/lib/BetaMessageStream.d.ts.map +1 -1
- package/lib/BetaMessageStream.js +5 -0
- package/lib/BetaMessageStream.js.map +1 -1
- package/lib/BetaMessageStream.mjs +5 -0
- package/lib/BetaMessageStream.mjs.map +1 -1
- package/lib/middleware.d.mts +96 -0
- package/lib/middleware.d.mts.map +1 -0
- package/lib/middleware.d.ts +96 -0
- package/lib/middleware.d.ts.map +1 -0
- package/lib/middleware.js +703 -0
- package/lib/middleware.js.map +1 -0
- package/lib/middleware.mjs +698 -0
- package/lib/middleware.mjs.map +1 -0
- package/lib/tools/BetaToolRunner.d.mts +1 -1
- package/lib/tools/BetaToolRunner.d.mts.map +1 -1
- package/lib/tools/BetaToolRunner.d.ts +1 -1
- package/lib/tools/BetaToolRunner.d.ts.map +1 -1
- package/lib/tools/BetaToolRunner.js +10 -2
- package/lib/tools/BetaToolRunner.js.map +1 -1
- package/lib/tools/BetaToolRunner.mjs +10 -2
- package/lib/tools/BetaToolRunner.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/beta/agents/agents.d.mts +1 -1
- package/resources/beta/agents/agents.d.mts.map +1 -1
- package/resources/beta/agents/agents.d.ts +1 -1
- package/resources/beta/agents/agents.d.ts.map +1 -1
- package/resources/beta/agents/agents.js.map +1 -1
- package/resources/beta/agents/agents.mjs.map +1 -1
- package/resources/beta/beta.d.mts +3 -3
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +3 -3
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/index.d.mts +1 -1
- package/resources/beta/index.d.mts.map +1 -1
- package/resources/beta/index.d.ts +1 -1
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/index.js.map +1 -1
- package/resources/beta/index.mjs.map +1 -1
- package/resources/beta/messages/batches.d.mts +28 -0
- package/resources/beta/messages/batches.d.mts.map +1 -1
- package/resources/beta/messages/batches.d.ts +28 -0
- package/resources/beta/messages/batches.d.ts.map +1 -1
- package/resources/beta/messages/index.d.mts +1 -1
- package/resources/beta/messages/index.d.mts.map +1 -1
- package/resources/beta/messages/index.d.ts +1 -1
- package/resources/beta/messages/index.d.ts.map +1 -1
- package/resources/beta/messages/index.js.map +1 -1
- package/resources/beta/messages/index.mjs.map +1 -1
- package/resources/beta/messages/messages.d.mts +234 -6
- package/resources/beta/messages/messages.d.mts.map +1 -1
- package/resources/beta/messages/messages.d.ts +234 -6
- package/resources/beta/messages/messages.d.ts.map +1 -1
- package/resources/beta/messages/messages.js +7 -0
- package/resources/beta/messages/messages.js.map +1 -1
- package/resources/beta/messages/messages.mjs +7 -0
- package/resources/beta/messages/messages.mjs.map +1 -1
- package/resources/beta/models.d.mts +6 -0
- package/resources/beta/models.d.mts.map +1 -1
- package/resources/beta/models.d.ts +6 -0
- package/resources/beta/models.d.ts.map +1 -1
- package/resources/messages/messages.d.mts +2 -2
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +2 -2
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +1 -0
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +1 -0
- package/resources/messages/messages.mjs.map +1 -1
- package/src/client.ts +55 -24
- package/src/core/middleware.ts +53 -7
- package/src/core/streaming.ts +15 -0
- package/src/index.ts +6 -0
- package/src/internal/parse.ts +0 -4
- package/src/internal/request-options.ts +48 -3
- package/src/internal/utils/log.ts +39 -9
- package/src/lib/BetaMessageStream.ts +5 -0
- package/src/lib/middleware.ts +937 -0
- package/src/lib/tools/BetaToolRunner.ts +12 -3
- package/src/resources/beta/agents/agents.ts +1 -0
- package/src/resources/beta/beta.ts +15 -1
- package/src/resources/beta/index.ts +6 -0
- package/src/resources/beta/messages/batches.ts +30 -0
- package/src/resources/beta/messages/index.ts +6 -0
- package/src/resources/beta/messages/messages.ts +279 -5
- package/src/resources/beta/models.ts +7 -0
- package/src/resources/messages/messages.ts +4 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batches.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/messages/batches.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,OAAO,oBAAgB;AACnC,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,KAAK,eAAe,uBAAmB;AAC9C,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,WAAW,EAAE,qCAAiC;AAE9E,OAAO,EAAE,cAAc,EAAE,8CAA0C;AACnE,OAAO,EAAE,YAAY,EAAE,6CAAyC;AAGhE,OAAO,KAAK,WAAW,oCAAgC;AAEvD,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAYzF;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CACN,cAAc,EAAE,MAAM,EACtB,MAAM,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAW/B;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,MAAM,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,sBAAsB,EAAE,gBAAgB,CAAC;IAYxD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,MAA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.
|
|
426
426
|
*/
|
|
427
427
|
diagnostics?: BetaMessagesAPI.BetaDiagnosticsParam | null;
|
|
428
|
+
/**
|
|
429
|
+
* The `fallback_credit_token` from a prior refusal's `stop_details`.
|
|
430
|
+
*
|
|
431
|
+
* When a preceding request was refused and returned a `fallback_credit_token`,
|
|
432
|
+
* pass that code here on the retry to have the retry's cache-creation tokens for
|
|
433
|
+
* the prefix that was warm on the refused model billed at the cache-read rate.
|
|
434
|
+
* Must be redeemed by the same organization and workspace, with the same request
|
|
435
|
+
* body (optionally extended by one appended `assistant` message whose content is
|
|
436
|
+
* the partial text — with any trailing whitespace stripped from the final text
|
|
437
|
+
* block — and paired server-tool blocks streamed before the refusal; the
|
|
438
|
+
* appended-assistant form is not available for requests with `output_format` set
|
|
439
|
+
* or forced `tool_choice`), on an eligible fallback model, on the same platform,
|
|
440
|
+
* and within 5 minutes of the refusal; a mismatch is a 400. A token minted
|
|
441
|
+
* mid-server-tool-loop whose partial content was continuable may only be redeemed
|
|
442
|
+
* with the appended-assistant form — if an exact-body retry is rejected with a 400
|
|
443
|
+
* saying the token must be redeemed by continuing the partial response, retry with
|
|
444
|
+
* the appended-assistant form instead.
|
|
445
|
+
*
|
|
446
|
+
* When the appended-assistant form is used on a model that otherwise disallows
|
|
447
|
+
* assistant-turn prefill, this token also authorizes that one prefill.
|
|
448
|
+
*/
|
|
449
|
+
fallback_credit_token?: string | null;
|
|
450
|
+
/**
|
|
451
|
+
* Opt-in server-side retry on one or more substitute models when the requested
|
|
452
|
+
* model declines for policy reasons. Tried in order: if the first entry also
|
|
453
|
+
* declines, the second is tried, and so on.
|
|
454
|
+
*/
|
|
455
|
+
fallbacks?: Array<BetaMessagesAPI.BetaFallbackParam> | null;
|
|
428
456
|
/**
|
|
429
457
|
* Specifies the geographic region for inference processing. If not specified, the
|
|
430
458
|
* workspace's `default_inference_geo` is used.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batches.d.ts","sourceRoot":"","sources":["../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OAAO,CAAC,aAAa,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;CACtC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Batches, type BetaDeletedMessageBatch, type BetaMessageBatch, type BetaMessageBatchCanceledResult, type BetaMessageBatchErroredResult, type BetaMessageBatchExpiredResult, type BetaMessageBatchIndividualResponse, type BetaMessageBatchRequestCounts, type BetaMessageBatchResult, type BetaMessageBatchSucceededResult, type BatchCreateParams, type BatchRetrieveParams, type BatchListParams, type BatchDeleteParams, type BatchCancelParams, type BatchResultsParams, type BetaMessageBatchesPage, } from "./batches.mjs";
|
|
2
|
-
export { Messages, type BetaAdvisorMessageIterationUsage, type BetaAdvisorRedactedResultBlock, type BetaAdvisorRedactedResultBlockParam, type BetaAdvisorResultBlock, type BetaAdvisorResultBlockParam, type BetaAdvisorTool20260301, type BetaAdvisorToolResultBlock, type BetaAdvisorToolResultBlockParam, type BetaAdvisorToolResultError, type BetaAdvisorToolResultErrorParam, type BetaAllThinkingTurns, type BetaBase64ImageSource, type BetaBase64PDFSource, type BetaBashCodeExecutionOutputBlock, type BetaBashCodeExecutionOutputBlockParam, type BetaBashCodeExecutionResultBlock, type BetaBashCodeExecutionResultBlockParam, type BetaBashCodeExecutionToolResultBlock, type BetaBashCodeExecutionToolResultBlockParam, type BetaBashCodeExecutionToolResultError, type BetaBashCodeExecutionToolResultErrorParam, type BetaCacheControlEphemeral, type BetaCacheCreation, type BetaCacheMissMessagesChanged, type BetaCacheMissModelChanged, type BetaCacheMissPreviousMessageNotFound, type BetaCacheMissSystemChanged, type BetaCacheMissToolsChanged, type BetaCacheMissUnavailable, type BetaCitationCharLocation, type BetaCitationCharLocationParam, type BetaCitationConfig, type BetaCitationContentBlockLocation, type BetaCitationContentBlockLocationParam, type BetaCitationPageLocation, type BetaCitationPageLocationParam, type BetaCitationSearchResultLocation, type BetaCitationSearchResultLocationParam, type BetaCitationWebSearchResultLocationParam, type BetaCitationsConfigParam, type BetaCitationsDelta, type BetaCitationsWebSearchResultLocation, type BetaClearThinking20251015Edit, type BetaClearThinking20251015EditResponse, type BetaClearToolUses20250919Edit, type BetaClearToolUses20250919EditResponse, type BetaCodeExecutionOutputBlock, type BetaCodeExecutionOutputBlockParam, type BetaCodeExecutionResultBlock, type BetaCodeExecutionResultBlockParam, type BetaCodeExecutionTool20250522, type BetaCodeExecutionTool20250825, type BetaCodeExecutionTool20260120, type BetaCodeExecutionToolResultBlock, type BetaCodeExecutionToolResultBlockContent, type BetaCodeExecutionToolResultBlockParam, type BetaCodeExecutionToolResultBlockParamContent, type BetaCodeExecutionToolResultError, type BetaCodeExecutionToolResultErrorCode, type BetaCodeExecutionToolResultErrorParam, type BetaCompact20260112Edit, type BetaCompactionBlock, type BetaCompactionBlockParam, type BetaCompactionContentBlockDelta, type BetaCompactionIterationUsage, type BetaContainer, type BetaContainerParams, type BetaContainerUploadBlock, type BetaContainerUploadBlockParam, type BetaContentBlock, type BetaContentBlockParam, type BetaContentBlockSource, type BetaContentBlockSourceContent, type BetaContextManagementConfig, type BetaContextManagementResponse, type BetaCountTokensContextManagementResponse, type BetaDiagnostics, type BetaDiagnosticsParam, type BetaDirectCaller, type BetaDocumentBlock, type BetaEncryptedCodeExecutionResultBlock, type BetaEncryptedCodeExecutionResultBlockParam, type BetaFileDocumentSource, type BetaFileImageSource, type BetaImageBlockParam, type BetaInputJSONDelta, type BetaInputTokensClearAtLeast, type BetaInputTokensTrigger, type BetaIterationsUsage, type BetaJSONOutputFormat, type BetaMCPToolResultBlock, type BetaMCPToolUseBlock, type BetaMCPToolUseBlockParam, type BetaMCPToolset, type BetaMemoryTool20250818, type BetaMemoryTool20250818Command, type BetaMemoryTool20250818CreateCommand, type BetaMemoryTool20250818DeleteCommand, type BetaMemoryTool20250818InsertCommand, type BetaMemoryTool20250818RenameCommand, type BetaMemoryTool20250818StrReplaceCommand, type BetaMemoryTool20250818ViewCommand, type BetaMessage, type BetaMessageDeltaUsage, type BetaMessageIterationUsage, type BetaMessageParam, type BetaMessageTokensCount, type BetaMetadata, type BetaMidConversationSystemBlockParam, type BetaOutputConfig, type BetaOutputTokensDetails, type BetaPlainTextSource, type BetaRawContentBlockDelta, type BetaRawContentBlockDeltaEvent, type BetaRawContentBlockStartEvent, type BetaRawContentBlockStopEvent, type BetaRawMessageDeltaEvent, type BetaRawMessageStartEvent, type BetaRawMessageStopEvent, type BetaRawMessageStreamEvent, type BetaRedactedThinkingBlock, type BetaRedactedThinkingBlockParam, type BetaRefusalStopDetails, type BetaRequestDocumentBlock, type BetaRequestMCPServerToolConfiguration, type BetaRequestMCPServerURLDefinition, type BetaRequestMCPToolResultBlockParam, type BetaSearchResultBlockParam, type BetaServerToolCaller, type BetaServerToolCaller20260120, type BetaServerToolUsage, type BetaServerToolUseBlock, type BetaServerToolUseBlockParam, type BetaSignatureDelta, type BetaSkill, type BetaSkillParams, type BetaStopReason, type BetaTextBlock, type BetaTextBlockParam, type BetaTextCitation, type BetaTextCitationParam, type BetaTextDelta, type BetaTextEditorCodeExecutionCreateResultBlock, type BetaTextEditorCodeExecutionCreateResultBlockParam, type BetaTextEditorCodeExecutionStrReplaceResultBlock, type BetaTextEditorCodeExecutionStrReplaceResultBlockParam, type BetaTextEditorCodeExecutionToolResultBlock, type BetaTextEditorCodeExecutionToolResultBlockParam, type BetaTextEditorCodeExecutionToolResultError, type BetaTextEditorCodeExecutionToolResultErrorParam, type BetaTextEditorCodeExecutionViewResultBlock, type BetaTextEditorCodeExecutionViewResultBlockParam, type BetaThinkingBlock, type BetaThinkingBlockParam, type BetaThinkingConfigAdaptive, type BetaThinkingConfigDisabled, type BetaThinkingConfigEnabled, type BetaThinkingConfigParam, type BetaThinkingDelta, type BetaThinkingTurns, type BetaTokenTaskBudget, type BetaTool, type BetaToolBash20241022, type BetaToolBash20250124, type BetaToolChoice, type BetaToolChoiceAny, type BetaToolChoiceAuto, type BetaToolChoiceNone, type BetaToolChoiceTool, type BetaToolComputerUse20241022, type BetaToolComputerUse20250124, type BetaToolComputerUse20251124, type BetaToolReferenceBlock, type BetaToolReferenceBlockParam, type BetaToolResultBlockParam, type BetaToolTextEditor20241022, type BetaToolTextEditor20250124, type BetaToolTextEditor20250429, type BetaToolTextEditor20250728, type BetaToolUnion, type BetaToolUseBlock, type BetaToolUseBlockParam, type BetaToolUsesKeep, type BetaToolUsesTrigger, type BetaURLImageSource, type BetaURLPDFSource, type BetaUsage, type BetaUserLocation, type BetaWebFetchBlock, type BetaWebFetchBlockParam, type BetaWebFetchTool20250910, type BetaWebFetchTool20260209, type BetaWebFetchTool20260309, type BetaWebFetchToolResultBlock, type BetaWebFetchToolResultBlockParam, type BetaWebFetchToolResultErrorBlock, type BetaWebFetchToolResultErrorBlockParam, type BetaWebFetchToolResultErrorCode, type BetaWebSearchResultBlock, type BetaWebSearchResultBlockParam, type BetaWebSearchTool20250305, type BetaWebSearchTool20260209, type BetaWebSearchToolRequestError, type BetaWebSearchToolResultBlock, type BetaWebSearchToolResultBlockContent, type BetaWebSearchToolResultBlockParam, type BetaWebSearchToolResultBlockParamContent, type BetaWebSearchToolResultError, type BetaWebSearchToolResultErrorCode, type BetaBase64PDFBlock, type MessageCreateParams, type MessageCreateParamsNonStreaming, type MessageCreateParamsStreaming, type MessageCountTokensParams, type BetaMessageStreamParams, type BetaToolSearchToolBm25_20251119, type BetaToolSearchToolRegex20251119, type BetaToolSearchToolResultBlock, type BetaToolSearchToolResultBlockParam, type BetaToolSearchToolResultError, type BetaToolSearchToolResultErrorParam, type BetaToolSearchToolSearchResultBlock, type BetaToolSearchToolSearchResultBlockParam, type BetaMCPToolConfig, type BetaMCPToolDefaultConfig, type BetaToolResultContentBlockParam, } from "./messages.mjs";
|
|
2
|
+
export { Messages, type BetaAdvisorMessageIterationUsage, type BetaAdvisorRedactedResultBlock, type BetaAdvisorRedactedResultBlockParam, type BetaAdvisorResultBlock, type BetaAdvisorResultBlockParam, type BetaAdvisorTool20260301, type BetaAdvisorToolResultBlock, type BetaAdvisorToolResultBlockParam, type BetaAdvisorToolResultError, type BetaAdvisorToolResultErrorParam, type BetaAllThinkingTurns, type BetaBase64ImageSource, type BetaBase64PDFSource, type BetaBashCodeExecutionOutputBlock, type BetaBashCodeExecutionOutputBlockParam, type BetaBashCodeExecutionResultBlock, type BetaBashCodeExecutionResultBlockParam, type BetaBashCodeExecutionToolResultBlock, type BetaBashCodeExecutionToolResultBlockParam, type BetaBashCodeExecutionToolResultError, type BetaBashCodeExecutionToolResultErrorParam, type BetaCacheControlEphemeral, type BetaCacheCreation, type BetaCacheMissMessagesChanged, type BetaCacheMissModelChanged, type BetaCacheMissPreviousMessageNotFound, type BetaCacheMissSystemChanged, type BetaCacheMissToolsChanged, type BetaCacheMissUnavailable, type BetaCitationCharLocation, type BetaCitationCharLocationParam, type BetaCitationConfig, type BetaCitationContentBlockLocation, type BetaCitationContentBlockLocationParam, type BetaCitationPageLocation, type BetaCitationPageLocationParam, type BetaCitationSearchResultLocation, type BetaCitationSearchResultLocationParam, type BetaCitationWebSearchResultLocationParam, type BetaCitationsConfigParam, type BetaCitationsDelta, type BetaCitationsWebSearchResultLocation, type BetaClearThinking20251015Edit, type BetaClearThinking20251015EditResponse, type BetaClearToolUses20250919Edit, type BetaClearToolUses20250919EditResponse, type BetaCodeExecutionOutputBlock, type BetaCodeExecutionOutputBlockParam, type BetaCodeExecutionResultBlock, type BetaCodeExecutionResultBlockParam, type BetaCodeExecutionTool20250522, type BetaCodeExecutionTool20250825, type BetaCodeExecutionTool20260120, type BetaCodeExecutionToolResultBlock, type BetaCodeExecutionToolResultBlockContent, type BetaCodeExecutionToolResultBlockParam, type BetaCodeExecutionToolResultBlockParamContent, type BetaCodeExecutionToolResultError, type BetaCodeExecutionToolResultErrorCode, type BetaCodeExecutionToolResultErrorParam, type BetaCompact20260112Edit, type BetaCompactionBlock, type BetaCompactionBlockParam, type BetaCompactionContentBlockDelta, type BetaCompactionIterationUsage, type BetaContainer, type BetaContainerParams, type BetaContainerUploadBlock, type BetaContainerUploadBlockParam, type BetaContentBlock, type BetaContentBlockParam, type BetaContentBlockSource, type BetaContentBlockSourceContent, type BetaContextManagementConfig, type BetaContextManagementResponse, type BetaCountTokensContextManagementResponse, type BetaDiagnostics, type BetaDiagnosticsParam, type BetaDirectCaller, type BetaDocumentBlock, type BetaEncryptedCodeExecutionResultBlock, type BetaEncryptedCodeExecutionResultBlockParam, type BetaFallbackBlock, type BetaFallbackBlockParam, type BetaFallbackInfo, type BetaFallbackInfoParam, type BetaFallbackMessageIterationUsage, type BetaFallbackParam, type BetaFileDocumentSource, type BetaFileImageSource, type BetaImageBlockParam, type BetaInputJSONDelta, type BetaInputTokensClearAtLeast, type BetaInputTokensTrigger, type BetaIterationsUsage, type BetaJSONOutputFormat, type BetaMCPToolResultBlock, type BetaMCPToolUseBlock, type BetaMCPToolUseBlockParam, type BetaMCPToolset, type BetaMemoryTool20250818, type BetaMemoryTool20250818Command, type BetaMemoryTool20250818CreateCommand, type BetaMemoryTool20250818DeleteCommand, type BetaMemoryTool20250818InsertCommand, type BetaMemoryTool20250818RenameCommand, type BetaMemoryTool20250818StrReplaceCommand, type BetaMemoryTool20250818ViewCommand, type BetaMessage, type BetaMessageDeltaUsage, type BetaMessageIterationUsage, type BetaMessageParam, type BetaMessageTokensCount, type BetaMetadata, type BetaMidConversationSystemBlockParam, type BetaOutputConfig, type BetaOutputTokensDetails, type BetaPlainTextSource, type BetaRawContentBlockDelta, type BetaRawContentBlockDeltaEvent, type BetaRawContentBlockStartEvent, type BetaRawContentBlockStopEvent, type BetaRawMessageDeltaEvent, type BetaRawMessageStartEvent, type BetaRawMessageStopEvent, type BetaRawMessageStreamEvent, type BetaRedactedThinkingBlock, type BetaRedactedThinkingBlockParam, type BetaRefusalStopDetails, type BetaRequestDocumentBlock, type BetaRequestMCPServerToolConfiguration, type BetaRequestMCPServerURLDefinition, type BetaRequestMCPToolResultBlockParam, type BetaSearchResultBlockParam, type BetaServerToolCaller, type BetaServerToolCaller20260120, type BetaServerToolUsage, type BetaServerToolUseBlock, type BetaServerToolUseBlockParam, type BetaSignatureDelta, type BetaSkill, type BetaSkillParams, type BetaStopReason, type BetaTextBlock, type BetaTextBlockParam, type BetaTextCitation, type BetaTextCitationParam, type BetaTextDelta, type BetaTextEditorCodeExecutionCreateResultBlock, type BetaTextEditorCodeExecutionCreateResultBlockParam, type BetaTextEditorCodeExecutionStrReplaceResultBlock, type BetaTextEditorCodeExecutionStrReplaceResultBlockParam, type BetaTextEditorCodeExecutionToolResultBlock, type BetaTextEditorCodeExecutionToolResultBlockParam, type BetaTextEditorCodeExecutionToolResultError, type BetaTextEditorCodeExecutionToolResultErrorParam, type BetaTextEditorCodeExecutionViewResultBlock, type BetaTextEditorCodeExecutionViewResultBlockParam, type BetaThinkingBlock, type BetaThinkingBlockParam, type BetaThinkingConfigAdaptive, type BetaThinkingConfigDisabled, type BetaThinkingConfigEnabled, type BetaThinkingConfigParam, type BetaThinkingDelta, type BetaThinkingTurns, type BetaTokenTaskBudget, type BetaTool, type BetaToolBash20241022, type BetaToolBash20250124, type BetaToolChoice, type BetaToolChoiceAny, type BetaToolChoiceAuto, type BetaToolChoiceNone, type BetaToolChoiceTool, type BetaToolComputerUse20241022, type BetaToolComputerUse20250124, type BetaToolComputerUse20251124, type BetaToolReferenceBlock, type BetaToolReferenceBlockParam, type BetaToolResultBlockParam, type BetaToolTextEditor20241022, type BetaToolTextEditor20250124, type BetaToolTextEditor20250429, type BetaToolTextEditor20250728, type BetaToolUnion, type BetaToolUseBlock, type BetaToolUseBlockParam, type BetaToolUsesKeep, type BetaToolUsesTrigger, type BetaURLImageSource, type BetaURLPDFSource, type BetaUsage, type BetaUserLocation, type BetaWebFetchBlock, type BetaWebFetchBlockParam, type BetaWebFetchTool20250910, type BetaWebFetchTool20260209, type BetaWebFetchTool20260309, type BetaWebFetchToolResultBlock, type BetaWebFetchToolResultBlockParam, type BetaWebFetchToolResultErrorBlock, type BetaWebFetchToolResultErrorBlockParam, type BetaWebFetchToolResultErrorCode, type BetaWebSearchResultBlock, type BetaWebSearchResultBlockParam, type BetaWebSearchTool20250305, type BetaWebSearchTool20260209, type BetaWebSearchToolRequestError, type BetaWebSearchToolResultBlock, type BetaWebSearchToolResultBlockContent, type BetaWebSearchToolResultBlockParam, type BetaWebSearchToolResultBlockParamContent, type BetaWebSearchToolResultError, type BetaWebSearchToolResultErrorCode, type BetaBase64PDFBlock, type MessageCreateParams, type MessageCreateParamsNonStreaming, type MessageCreateParamsStreaming, type MessageCountTokensParams, type BetaMessageStreamParams, type BetaToolSearchToolBm25_20251119, type BetaToolSearchToolRegex20251119, type BetaToolSearchToolResultBlock, type BetaToolSearchToolResultBlockParam, type BetaToolSearchToolResultError, type BetaToolSearchToolResultErrorParam, type BetaToolSearchToolSearchResultBlock, type BetaToolSearchToolSearchResultBlockParam, type BetaMCPToolConfig, type BetaMCPToolDefaultConfig, type BetaToolResultContentBlockParam, } from "./messages.mjs";
|
|
3
3
|
export { BetaToolRunner, type BetaToolRunnerParams, ToolError } from "./messages.mjs";
|
|
4
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/messages/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,GAC5B,sBAAkB;AACnB,OAAO,EACL,QAAQ,EACR,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAC/B,KAAK,+BAA+B,EACpC,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,gCAAgC,EACrC,KAAK,qCAAqC,EAC1C,KAAK,gCAAgC,EACrC,KAAK,qCAAqC,EAC1C,KAAK,oCAAoC,EACzC,KAAK,yCAAyC,EAC9C,KAAK,oCAAoC,EACzC,KAAK,yCAAyC,EAC9C,KAAK,yBAAyB,EAC9B,KAAK,iBAA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KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,iCAAiC,EACtC,KAAK,wCAAwC,EAC7C,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,+BAA+B,EACpC,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EACxC,KAAK,wCAAwC,EAC7C,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,+BAA+B,GACrC,uBAAmB;AACpB,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,SAAS,EAAE,uBAAmB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/messages/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,GAC5B,sBAAkB;AACnB,OAAO,EACL,QAAQ,EACR,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,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Aa,EAClB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,KAAK,qCAAqC,EAC1C,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC7B,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,iCAAiC,EACtC,KAAK,wCAAwC,EAC7C,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,+BAA+B,EACpC,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EACxC,KAAK,wCAAwC,EAC7C,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,+BAA+B,GACrC,uBAAmB;AACpB,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,SAAS,EAAE,uBAAmB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Batches, type BetaDeletedMessageBatch, type BetaMessageBatch, type BetaMessageBatchCanceledResult, type BetaMessageBatchErroredResult, type BetaMessageBatchExpiredResult, type BetaMessageBatchIndividualResponse, type BetaMessageBatchRequestCounts, type BetaMessageBatchResult, type BetaMessageBatchSucceededResult, type BatchCreateParams, type BatchRetrieveParams, type BatchListParams, type BatchDeleteParams, type BatchCancelParams, type BatchResultsParams, type BetaMessageBatchesPage, } from "./batches.js";
|
|
2
|
-
export { Messages, type BetaAdvisorMessageIterationUsage, type BetaAdvisorRedactedResultBlock, type BetaAdvisorRedactedResultBlockParam, type BetaAdvisorResultBlock, type BetaAdvisorResultBlockParam, type BetaAdvisorTool20260301, type BetaAdvisorToolResultBlock, type BetaAdvisorToolResultBlockParam, type BetaAdvisorToolResultError, type BetaAdvisorToolResultErrorParam, type BetaAllThinkingTurns, type BetaBase64ImageSource, type BetaBase64PDFSource, type BetaBashCodeExecutionOutputBlock, type BetaBashCodeExecutionOutputBlockParam, type BetaBashCodeExecutionResultBlock, type BetaBashCodeExecutionResultBlockParam, type BetaBashCodeExecutionToolResultBlock, type BetaBashCodeExecutionToolResultBlockParam, type BetaBashCodeExecutionToolResultError, type BetaBashCodeExecutionToolResultErrorParam, type BetaCacheControlEphemeral, type BetaCacheCreation, type BetaCacheMissMessagesChanged, type BetaCacheMissModelChanged, type BetaCacheMissPreviousMessageNotFound, type BetaCacheMissSystemChanged, type BetaCacheMissToolsChanged, type BetaCacheMissUnavailable, type BetaCitationCharLocation, type BetaCitationCharLocationParam, type BetaCitationConfig, type BetaCitationContentBlockLocation, type BetaCitationContentBlockLocationParam, type BetaCitationPageLocation, type BetaCitationPageLocationParam, type BetaCitationSearchResultLocation, type BetaCitationSearchResultLocationParam, type BetaCitationWebSearchResultLocationParam, type BetaCitationsConfigParam, type BetaCitationsDelta, type BetaCitationsWebSearchResultLocation, type BetaClearThinking20251015Edit, type BetaClearThinking20251015EditResponse, type BetaClearToolUses20250919Edit, type BetaClearToolUses20250919EditResponse, type BetaCodeExecutionOutputBlock, type BetaCodeExecutionOutputBlockParam, type BetaCodeExecutionResultBlock, type BetaCodeExecutionResultBlockParam, type BetaCodeExecutionTool20250522, type BetaCodeExecutionTool20250825, type BetaCodeExecutionTool20260120, type BetaCodeExecutionToolResultBlock, type BetaCodeExecutionToolResultBlockContent, type BetaCodeExecutionToolResultBlockParam, type BetaCodeExecutionToolResultBlockParamContent, type BetaCodeExecutionToolResultError, type BetaCodeExecutionToolResultErrorCode, type BetaCodeExecutionToolResultErrorParam, type BetaCompact20260112Edit, type BetaCompactionBlock, type BetaCompactionBlockParam, type BetaCompactionContentBlockDelta, type BetaCompactionIterationUsage, type BetaContainer, type BetaContainerParams, type BetaContainerUploadBlock, type BetaContainerUploadBlockParam, type BetaContentBlock, type BetaContentBlockParam, type BetaContentBlockSource, type BetaContentBlockSourceContent, type BetaContextManagementConfig, type BetaContextManagementResponse, type BetaCountTokensContextManagementResponse, type BetaDiagnostics, type BetaDiagnosticsParam, type BetaDirectCaller, type BetaDocumentBlock, type BetaEncryptedCodeExecutionResultBlock, type BetaEncryptedCodeExecutionResultBlockParam, type BetaFileDocumentSource, type BetaFileImageSource, type BetaImageBlockParam, type BetaInputJSONDelta, type BetaInputTokensClearAtLeast, type BetaInputTokensTrigger, type BetaIterationsUsage, type BetaJSONOutputFormat, type BetaMCPToolResultBlock, type BetaMCPToolUseBlock, type BetaMCPToolUseBlockParam, type BetaMCPToolset, type BetaMemoryTool20250818, type BetaMemoryTool20250818Command, type BetaMemoryTool20250818CreateCommand, type BetaMemoryTool20250818DeleteCommand, type BetaMemoryTool20250818InsertCommand, type BetaMemoryTool20250818RenameCommand, type BetaMemoryTool20250818StrReplaceCommand, type BetaMemoryTool20250818ViewCommand, type BetaMessage, type BetaMessageDeltaUsage, type BetaMessageIterationUsage, type BetaMessageParam, type BetaMessageTokensCount, type BetaMetadata, type BetaMidConversationSystemBlockParam, type BetaOutputConfig, type BetaOutputTokensDetails, type BetaPlainTextSource, type BetaRawContentBlockDelta, type BetaRawContentBlockDeltaEvent, type BetaRawContentBlockStartEvent, type BetaRawContentBlockStopEvent, type BetaRawMessageDeltaEvent, type BetaRawMessageStartEvent, type BetaRawMessageStopEvent, type BetaRawMessageStreamEvent, type BetaRedactedThinkingBlock, type BetaRedactedThinkingBlockParam, type BetaRefusalStopDetails, type BetaRequestDocumentBlock, type BetaRequestMCPServerToolConfiguration, type BetaRequestMCPServerURLDefinition, type BetaRequestMCPToolResultBlockParam, type BetaSearchResultBlockParam, type BetaServerToolCaller, type BetaServerToolCaller20260120, type BetaServerToolUsage, type BetaServerToolUseBlock, type BetaServerToolUseBlockParam, type BetaSignatureDelta, type BetaSkill, type BetaSkillParams, type BetaStopReason, type BetaTextBlock, type BetaTextBlockParam, type BetaTextCitation, type BetaTextCitationParam, type BetaTextDelta, type BetaTextEditorCodeExecutionCreateResultBlock, type BetaTextEditorCodeExecutionCreateResultBlockParam, type BetaTextEditorCodeExecutionStrReplaceResultBlock, type BetaTextEditorCodeExecutionStrReplaceResultBlockParam, type BetaTextEditorCodeExecutionToolResultBlock, type BetaTextEditorCodeExecutionToolResultBlockParam, type BetaTextEditorCodeExecutionToolResultError, type BetaTextEditorCodeExecutionToolResultErrorParam, type BetaTextEditorCodeExecutionViewResultBlock, type BetaTextEditorCodeExecutionViewResultBlockParam, type BetaThinkingBlock, type BetaThinkingBlockParam, type BetaThinkingConfigAdaptive, type BetaThinkingConfigDisabled, type BetaThinkingConfigEnabled, type BetaThinkingConfigParam, type BetaThinkingDelta, type BetaThinkingTurns, type BetaTokenTaskBudget, type BetaTool, type BetaToolBash20241022, type BetaToolBash20250124, type BetaToolChoice, type BetaToolChoiceAny, type BetaToolChoiceAuto, type BetaToolChoiceNone, type BetaToolChoiceTool, type BetaToolComputerUse20241022, type BetaToolComputerUse20250124, type BetaToolComputerUse20251124, type BetaToolReferenceBlock, type BetaToolReferenceBlockParam, type BetaToolResultBlockParam, type BetaToolTextEditor20241022, type BetaToolTextEditor20250124, type BetaToolTextEditor20250429, type BetaToolTextEditor20250728, type BetaToolUnion, type BetaToolUseBlock, type BetaToolUseBlockParam, type BetaToolUsesKeep, type BetaToolUsesTrigger, type BetaURLImageSource, type BetaURLPDFSource, type BetaUsage, type BetaUserLocation, type BetaWebFetchBlock, type BetaWebFetchBlockParam, type BetaWebFetchTool20250910, type BetaWebFetchTool20260209, type BetaWebFetchTool20260309, type BetaWebFetchToolResultBlock, type BetaWebFetchToolResultBlockParam, type BetaWebFetchToolResultErrorBlock, type BetaWebFetchToolResultErrorBlockParam, type BetaWebFetchToolResultErrorCode, type BetaWebSearchResultBlock, type BetaWebSearchResultBlockParam, type BetaWebSearchTool20250305, type BetaWebSearchTool20260209, type BetaWebSearchToolRequestError, type BetaWebSearchToolResultBlock, type BetaWebSearchToolResultBlockContent, type BetaWebSearchToolResultBlockParam, type BetaWebSearchToolResultBlockParamContent, type BetaWebSearchToolResultError, type BetaWebSearchToolResultErrorCode, type BetaBase64PDFBlock, type MessageCreateParams, type MessageCreateParamsNonStreaming, type MessageCreateParamsStreaming, type MessageCountTokensParams, type BetaMessageStreamParams, type BetaToolSearchToolBm25_20251119, type BetaToolSearchToolRegex20251119, type BetaToolSearchToolResultBlock, type BetaToolSearchToolResultBlockParam, type BetaToolSearchToolResultError, type BetaToolSearchToolResultErrorParam, type BetaToolSearchToolSearchResultBlock, type BetaToolSearchToolSearchResultBlockParam, type BetaMCPToolConfig, type BetaMCPToolDefaultConfig, type BetaToolResultContentBlockParam, } from "./messages.js";
|
|
2
|
+
export { Messages, type BetaAdvisorMessageIterationUsage, type BetaAdvisorRedactedResultBlock, type BetaAdvisorRedactedResultBlockParam, type BetaAdvisorResultBlock, type BetaAdvisorResultBlockParam, type BetaAdvisorTool20260301, type BetaAdvisorToolResultBlock, type BetaAdvisorToolResultBlockParam, type BetaAdvisorToolResultError, type BetaAdvisorToolResultErrorParam, type BetaAllThinkingTurns, type BetaBase64ImageSource, type BetaBase64PDFSource, type BetaBashCodeExecutionOutputBlock, type BetaBashCodeExecutionOutputBlockParam, type BetaBashCodeExecutionResultBlock, type BetaBashCodeExecutionResultBlockParam, type BetaBashCodeExecutionToolResultBlock, type BetaBashCodeExecutionToolResultBlockParam, type BetaBashCodeExecutionToolResultError, type BetaBashCodeExecutionToolResultErrorParam, type BetaCacheControlEphemeral, type BetaCacheCreation, type BetaCacheMissMessagesChanged, type BetaCacheMissModelChanged, type BetaCacheMissPreviousMessageNotFound, type BetaCacheMissSystemChanged, type BetaCacheMissToolsChanged, type BetaCacheMissUnavailable, type BetaCitationCharLocation, type BetaCitationCharLocationParam, type BetaCitationConfig, type BetaCitationContentBlockLocation, type BetaCitationContentBlockLocationParam, type BetaCitationPageLocation, type BetaCitationPageLocationParam, type BetaCitationSearchResultLocation, type BetaCitationSearchResultLocationParam, type BetaCitationWebSearchResultLocationParam, type BetaCitationsConfigParam, type BetaCitationsDelta, type BetaCitationsWebSearchResultLocation, type BetaClearThinking20251015Edit, type BetaClearThinking20251015EditResponse, type BetaClearToolUses20250919Edit, type BetaClearToolUses20250919EditResponse, type BetaCodeExecutionOutputBlock, type BetaCodeExecutionOutputBlockParam, type BetaCodeExecutionResultBlock, type BetaCodeExecutionResultBlockParam, type BetaCodeExecutionTool20250522, type BetaCodeExecutionTool20250825, type BetaCodeExecutionTool20260120, type BetaCodeExecutionToolResultBlock, type BetaCodeExecutionToolResultBlockContent, type BetaCodeExecutionToolResultBlockParam, type BetaCodeExecutionToolResultBlockParamContent, type BetaCodeExecutionToolResultError, type BetaCodeExecutionToolResultErrorCode, type BetaCodeExecutionToolResultErrorParam, type BetaCompact20260112Edit, type BetaCompactionBlock, type BetaCompactionBlockParam, type BetaCompactionContentBlockDelta, type BetaCompactionIterationUsage, type BetaContainer, type BetaContainerParams, type BetaContainerUploadBlock, type BetaContainerUploadBlockParam, type BetaContentBlock, type BetaContentBlockParam, type BetaContentBlockSource, type BetaContentBlockSourceContent, type BetaContextManagementConfig, type BetaContextManagementResponse, type BetaCountTokensContextManagementResponse, type BetaDiagnostics, type BetaDiagnosticsParam, type BetaDirectCaller, type BetaDocumentBlock, type BetaEncryptedCodeExecutionResultBlock, type BetaEncryptedCodeExecutionResultBlockParam, type BetaFallbackBlock, type BetaFallbackBlockParam, type BetaFallbackInfo, type BetaFallbackInfoParam, type BetaFallbackMessageIterationUsage, type BetaFallbackParam, type BetaFileDocumentSource, type BetaFileImageSource, type BetaImageBlockParam, type BetaInputJSONDelta, type BetaInputTokensClearAtLeast, type BetaInputTokensTrigger, type BetaIterationsUsage, type BetaJSONOutputFormat, type BetaMCPToolResultBlock, type BetaMCPToolUseBlock, type BetaMCPToolUseBlockParam, type BetaMCPToolset, type BetaMemoryTool20250818, type BetaMemoryTool20250818Command, type BetaMemoryTool20250818CreateCommand, type BetaMemoryTool20250818DeleteCommand, type BetaMemoryTool20250818InsertCommand, type BetaMemoryTool20250818RenameCommand, type BetaMemoryTool20250818StrReplaceCommand, type BetaMemoryTool20250818ViewCommand, type BetaMessage, type BetaMessageDeltaUsage, type BetaMessageIterationUsage, type BetaMessageParam, type BetaMessageTokensCount, type BetaMetadata, type BetaMidConversationSystemBlockParam, type BetaOutputConfig, type BetaOutputTokensDetails, type BetaPlainTextSource, type BetaRawContentBlockDelta, type BetaRawContentBlockDeltaEvent, type BetaRawContentBlockStartEvent, type BetaRawContentBlockStopEvent, type BetaRawMessageDeltaEvent, type BetaRawMessageStartEvent, type BetaRawMessageStopEvent, type BetaRawMessageStreamEvent, type BetaRedactedThinkingBlock, type BetaRedactedThinkingBlockParam, type BetaRefusalStopDetails, type BetaRequestDocumentBlock, type BetaRequestMCPServerToolConfiguration, type BetaRequestMCPServerURLDefinition, type BetaRequestMCPToolResultBlockParam, type BetaSearchResultBlockParam, type BetaServerToolCaller, type BetaServerToolCaller20260120, type BetaServerToolUsage, type BetaServerToolUseBlock, type BetaServerToolUseBlockParam, type BetaSignatureDelta, type BetaSkill, type BetaSkillParams, type BetaStopReason, type BetaTextBlock, type BetaTextBlockParam, type BetaTextCitation, type BetaTextCitationParam, type BetaTextDelta, type BetaTextEditorCodeExecutionCreateResultBlock, type BetaTextEditorCodeExecutionCreateResultBlockParam, type BetaTextEditorCodeExecutionStrReplaceResultBlock, type BetaTextEditorCodeExecutionStrReplaceResultBlockParam, type BetaTextEditorCodeExecutionToolResultBlock, type BetaTextEditorCodeExecutionToolResultBlockParam, type BetaTextEditorCodeExecutionToolResultError, type BetaTextEditorCodeExecutionToolResultErrorParam, type BetaTextEditorCodeExecutionViewResultBlock, type BetaTextEditorCodeExecutionViewResultBlockParam, type BetaThinkingBlock, type BetaThinkingBlockParam, type BetaThinkingConfigAdaptive, type BetaThinkingConfigDisabled, type BetaThinkingConfigEnabled, type BetaThinkingConfigParam, type BetaThinkingDelta, type BetaThinkingTurns, type BetaTokenTaskBudget, type BetaTool, type BetaToolBash20241022, type BetaToolBash20250124, type BetaToolChoice, type BetaToolChoiceAny, type BetaToolChoiceAuto, type BetaToolChoiceNone, type BetaToolChoiceTool, type BetaToolComputerUse20241022, type BetaToolComputerUse20250124, type BetaToolComputerUse20251124, type BetaToolReferenceBlock, type BetaToolReferenceBlockParam, type BetaToolResultBlockParam, type BetaToolTextEditor20241022, type BetaToolTextEditor20250124, type BetaToolTextEditor20250429, type BetaToolTextEditor20250728, type BetaToolUnion, type BetaToolUseBlock, type BetaToolUseBlockParam, type BetaToolUsesKeep, type BetaToolUsesTrigger, type BetaURLImageSource, type BetaURLPDFSource, type BetaUsage, type BetaUserLocation, type BetaWebFetchBlock, type BetaWebFetchBlockParam, type BetaWebFetchTool20250910, type BetaWebFetchTool20260209, type BetaWebFetchTool20260309, type BetaWebFetchToolResultBlock, type BetaWebFetchToolResultBlockParam, type BetaWebFetchToolResultErrorBlock, type BetaWebFetchToolResultErrorBlockParam, type BetaWebFetchToolResultErrorCode, type BetaWebSearchResultBlock, type BetaWebSearchResultBlockParam, type BetaWebSearchTool20250305, type BetaWebSearchTool20260209, type BetaWebSearchToolRequestError, type BetaWebSearchToolResultBlock, type BetaWebSearchToolResultBlockContent, type BetaWebSearchToolResultBlockParam, type BetaWebSearchToolResultBlockParamContent, type BetaWebSearchToolResultError, type BetaWebSearchToolResultErrorCode, type BetaBase64PDFBlock, type MessageCreateParams, type MessageCreateParamsNonStreaming, type MessageCreateParamsStreaming, type MessageCountTokensParams, type BetaMessageStreamParams, type BetaToolSearchToolBm25_20251119, type BetaToolSearchToolRegex20251119, type BetaToolSearchToolResultBlock, type BetaToolSearchToolResultBlockParam, type BetaToolSearchToolResultError, type BetaToolSearchToolResultErrorParam, type BetaToolSearchToolSearchResultBlock, type BetaToolSearchToolSearchResultBlockParam, type BetaMCPToolConfig, type BetaMCPToolDefaultConfig, type BetaToolResultContentBlockParam, } from "./messages.js";
|
|
3
3
|
export { BetaToolRunner, type BetaToolRunnerParams, ToolError } from "./messages.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/messages/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,GAC5B,qBAAkB;AACnB,OAAO,EACL,QAAQ,EACR,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAC/B,KAAK,+BAA+B,EACpC,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,gCAAgC,EACrC,KAAK,qCAAqC,EAC1C,KAAK,gCAA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,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,KAAK,qCAAqC,EAC1C,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC7B,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,iCAAiC,EACtC,KAAK,wCAAwC,EAC7C,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,+BAA+B,EACpC,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EACxC,KAAK,wCAAwC,EAC7C,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,+BAA+B,GACrC,sBAAmB;AACpB,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,SAAS,EAAE,sBAAmB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/messages/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,GAC5B,qBAAkB;AACnB,OAAO,EACL,QAAQ,EACR,KAAK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3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/beta/messages/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAkBmB;AAjBjB,kGAAA,OAAO,OAAA;AAkBT,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/beta/messages/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAkBmB;AAjBjB,kGAAA,OAAO,OAAA;AAkBT,0CA0OoB;AAzOlB,oGAAA,QAAQ,OAAA;AA0OV,0CAAkF;AAAzE,0GAAA,cAAc,OAAA;AAA6B,qGAAA,SAAS,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/beta/messages/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,OAAO,GAiBR,sBAAkB;AACnB,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/beta/messages/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,OAAO,GAiBR,sBAAkB;AACnB,OAAO,EACL,QAAQ,GAyOT,uBAAmB;AACpB,OAAO,EAAE,cAAc,EAA6B,SAAS,EAAE,uBAAmB"}
|
|
@@ -871,11 +871,11 @@ export interface BetaContainerUploadBlockParam {
|
|
|
871
871
|
/**
|
|
872
872
|
* Response model for a file uploaded to the container.
|
|
873
873
|
*/
|
|
874
|
-
export type BetaContentBlock = BetaTextBlock | BetaThinkingBlock | BetaRedactedThinkingBlock | BetaToolUseBlock | BetaServerToolUseBlock | BetaWebSearchToolResultBlock | BetaWebFetchToolResultBlock | BetaAdvisorToolResultBlock | BetaCodeExecutionToolResultBlock | BetaBashCodeExecutionToolResultBlock | BetaTextEditorCodeExecutionToolResultBlock | BetaToolSearchToolResultBlock | BetaMCPToolUseBlock | BetaMCPToolResultBlock | BetaContainerUploadBlock | BetaCompactionBlock;
|
|
874
|
+
export type BetaContentBlock = BetaTextBlock | BetaThinkingBlock | BetaRedactedThinkingBlock | BetaToolUseBlock | BetaServerToolUseBlock | BetaWebSearchToolResultBlock | BetaWebFetchToolResultBlock | BetaAdvisorToolResultBlock | BetaCodeExecutionToolResultBlock | BetaBashCodeExecutionToolResultBlock | BetaTextEditorCodeExecutionToolResultBlock | BetaToolSearchToolResultBlock | BetaMCPToolUseBlock | BetaMCPToolResultBlock | BetaContainerUploadBlock | BetaCompactionBlock | BetaFallbackBlock;
|
|
875
875
|
/**
|
|
876
876
|
* Regular text content.
|
|
877
877
|
*/
|
|
878
|
-
export type BetaContentBlockParam = BetaTextBlockParam | BetaImageBlockParam | BetaRequestDocumentBlock | BetaSearchResultBlockParam | BetaThinkingBlockParam | BetaRedactedThinkingBlockParam | BetaToolUseBlockParam | BetaToolResultBlockParam | BetaServerToolUseBlockParam | BetaWebSearchToolResultBlockParam | BetaWebFetchToolResultBlockParam | BetaAdvisorToolResultBlockParam | BetaCodeExecutionToolResultBlockParam | BetaBashCodeExecutionToolResultBlockParam | BetaTextEditorCodeExecutionToolResultBlockParam | BetaToolSearchToolResultBlockParam | BetaMCPToolUseBlockParam | BetaRequestMCPToolResultBlockParam | BetaContainerUploadBlockParam | BetaCompactionBlockParam | BetaMidConversationSystemBlockParam;
|
|
878
|
+
export type BetaContentBlockParam = BetaTextBlockParam | BetaImageBlockParam | BetaRequestDocumentBlock | BetaSearchResultBlockParam | BetaThinkingBlockParam | BetaRedactedThinkingBlockParam | BetaToolUseBlockParam | BetaToolResultBlockParam | BetaServerToolUseBlockParam | BetaWebSearchToolResultBlockParam | BetaWebFetchToolResultBlockParam | BetaAdvisorToolResultBlockParam | BetaCodeExecutionToolResultBlockParam | BetaBashCodeExecutionToolResultBlockParam | BetaTextEditorCodeExecutionToolResultBlockParam | BetaToolSearchToolResultBlockParam | BetaMCPToolUseBlockParam | BetaRequestMCPToolResultBlockParam | BetaContainerUploadBlockParam | BetaCompactionBlockParam | BetaMidConversationSystemBlockParam | BetaFallbackBlockParam;
|
|
879
879
|
export interface BetaContentBlockSource {
|
|
880
880
|
content: string | Array<BetaContentBlockSourceContent>;
|
|
881
881
|
type: 'content';
|
|
@@ -964,6 +964,149 @@ export interface BetaEncryptedCodeExecutionResultBlockParam {
|
|
|
964
964
|
stderr: string;
|
|
965
965
|
type: 'encrypted_code_execution_result';
|
|
966
966
|
}
|
|
967
|
+
/**
|
|
968
|
+
* Marks the point in `content` where one model's output gives way to the next.
|
|
969
|
+
*
|
|
970
|
+
* One block appears per hop where a preceding model actually ran this turn and
|
|
971
|
+
* declined. A turn routed directly by the sticky decision has no such boundary and
|
|
972
|
+
* carries no block — the signal for whether a fallback model served the response
|
|
973
|
+
* is the presence of a `fallback_message` entry in `usage.iterations`, not this
|
|
974
|
+
* block.
|
|
975
|
+
*
|
|
976
|
+
* The block is treated like a server-tool content block for streaming: it arrives
|
|
977
|
+
* via the standard `content_block_start` / `content_block_stop` pair and carries
|
|
978
|
+
* no deltas.
|
|
979
|
+
*/
|
|
980
|
+
export interface BetaFallbackBlock {
|
|
981
|
+
/**
|
|
982
|
+
* The model whose output ends at this point — the model that declined at this hop.
|
|
983
|
+
* When the declining hop is the requested model, its `model` echoes the top-level
|
|
984
|
+
* `model` string the caller sent (alias or canonical); when the declining hop is a
|
|
985
|
+
* fallback model, its `model` is that model's canonical id.
|
|
986
|
+
*/
|
|
987
|
+
from: BetaFallbackInfo;
|
|
988
|
+
/**
|
|
989
|
+
* The fallback model producing the content that follows this block. Its `model` is
|
|
990
|
+
* always the canonical id.
|
|
991
|
+
*/
|
|
992
|
+
to: BetaFallbackInfo;
|
|
993
|
+
type: 'fallback';
|
|
994
|
+
}
|
|
995
|
+
/**
|
|
996
|
+
* A `fallback` block echoed back from a prior response.
|
|
997
|
+
*
|
|
998
|
+
* Accepted in `messages[].content` and never rendered into the prompt, not
|
|
999
|
+
* validated against the request's `fallbacks` chain or top-level `model`, and
|
|
1000
|
+
* stripped before the sticky-routing cache key is computed.
|
|
1001
|
+
*
|
|
1002
|
+
* Callers should echo the assistant turn verbatim — block included. The block's
|
|
1003
|
+
* position is load-bearing for thinking verification: the thinking runs on either
|
|
1004
|
+
* side of a fallback hop carry independently-rooted verification hash chains, and
|
|
1005
|
+
* this block is the only record of where one chain ends and the next begins. When
|
|
1006
|
+
* thinking runs flank the boundary, omitting the block merges the runs into one
|
|
1007
|
+
* contiguous span whose hashes cannot verify (the request is rejected), and moving
|
|
1008
|
+
* it into the middle of a single run splits that run's chain and is likewise
|
|
1009
|
+
* rejected; between non-thinking blocks the block's placement has no verification
|
|
1010
|
+
* effect.
|
|
1011
|
+
*/
|
|
1012
|
+
export interface BetaFallbackBlockParam {
|
|
1013
|
+
/**
|
|
1014
|
+
* Identifies one hop of a fallback transition.
|
|
1015
|
+
*/
|
|
1016
|
+
from: BetaFallbackInfoParam;
|
|
1017
|
+
/**
|
|
1018
|
+
* Identifies one hop of a fallback transition.
|
|
1019
|
+
*/
|
|
1020
|
+
to: BetaFallbackInfoParam;
|
|
1021
|
+
type: 'fallback';
|
|
1022
|
+
}
|
|
1023
|
+
/**
|
|
1024
|
+
* Identifies one hop of a fallback transition.
|
|
1025
|
+
*/
|
|
1026
|
+
export interface BetaFallbackInfo {
|
|
1027
|
+
/**
|
|
1028
|
+
* The model that will complete your prompt.
|
|
1029
|
+
*
|
|
1030
|
+
* See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
|
|
1031
|
+
* details and options.
|
|
1032
|
+
*/
|
|
1033
|
+
model: MessagesAPI.Model;
|
|
1034
|
+
}
|
|
1035
|
+
/**
|
|
1036
|
+
* Identifies one hop of a fallback transition.
|
|
1037
|
+
*/
|
|
1038
|
+
export interface BetaFallbackInfoParam {
|
|
1039
|
+
/**
|
|
1040
|
+
* The model that will complete your prompt.
|
|
1041
|
+
*
|
|
1042
|
+
* See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
|
|
1043
|
+
* details and options.
|
|
1044
|
+
*/
|
|
1045
|
+
model: MessagesAPI.Model;
|
|
1046
|
+
}
|
|
1047
|
+
/**
|
|
1048
|
+
* Token usage for the fallback-model attempt of a server-side fallback request.
|
|
1049
|
+
*
|
|
1050
|
+
* Produced in place of a `message` entry for whichever hop served the response. A
|
|
1051
|
+
* declined hop produces the existing `message` entry. Whether a fallback model
|
|
1052
|
+
* served the response is signalled by the presence of this entry in
|
|
1053
|
+
* `usage.iterations`.
|
|
1054
|
+
*/
|
|
1055
|
+
export interface BetaFallbackMessageIterationUsage {
|
|
1056
|
+
/**
|
|
1057
|
+
* Breakdown of cached tokens by TTL
|
|
1058
|
+
*/
|
|
1059
|
+
cache_creation: BetaCacheCreation | null;
|
|
1060
|
+
/**
|
|
1061
|
+
* The number of input tokens used to create the cache entry.
|
|
1062
|
+
*/
|
|
1063
|
+
cache_creation_input_tokens: number;
|
|
1064
|
+
/**
|
|
1065
|
+
* The number of input tokens read from the cache.
|
|
1066
|
+
*/
|
|
1067
|
+
cache_read_input_tokens: number;
|
|
1068
|
+
/**
|
|
1069
|
+
* The number of input tokens which were used.
|
|
1070
|
+
*/
|
|
1071
|
+
input_tokens: number;
|
|
1072
|
+
/**
|
|
1073
|
+
* The model that will complete your prompt.
|
|
1074
|
+
*
|
|
1075
|
+
* See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
|
|
1076
|
+
* details and options.
|
|
1077
|
+
*/
|
|
1078
|
+
model: MessagesAPI.Model;
|
|
1079
|
+
/**
|
|
1080
|
+
* The number of output tokens which were used.
|
|
1081
|
+
*/
|
|
1082
|
+
output_tokens: number;
|
|
1083
|
+
/**
|
|
1084
|
+
* Usage for the fallback-model attempt that served the response
|
|
1085
|
+
*/
|
|
1086
|
+
type: 'fallback_message';
|
|
1087
|
+
}
|
|
1088
|
+
/**
|
|
1089
|
+
* One entry in the `fallbacks` chain on a `/v1/messages` request.
|
|
1090
|
+
*
|
|
1091
|
+
* `model` is required. The four override fields (`max_tokens`, `thinking`,
|
|
1092
|
+
* `output_config`, and `speed`) replace the corresponding top-level field for this
|
|
1093
|
+
* attempt only and are validated as if the request were made to `model`. Any other
|
|
1094
|
+
* key is rejected at parse time.
|
|
1095
|
+
*/
|
|
1096
|
+
export interface BetaFallbackParam {
|
|
1097
|
+
/**
|
|
1098
|
+
* The model that will complete your prompt.
|
|
1099
|
+
*
|
|
1100
|
+
* See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
|
|
1101
|
+
* details and options.
|
|
1102
|
+
*/
|
|
1103
|
+
model: MessagesAPI.Model;
|
|
1104
|
+
max_tokens?: number | null;
|
|
1105
|
+
output_config?: BetaOutputConfig | null;
|
|
1106
|
+
speed?: 'standard' | 'fast' | null;
|
|
1107
|
+
thinking?: BetaThinkingConfigEnabled | BetaThinkingConfigDisabled | BetaThinkingConfigAdaptive | null;
|
|
1108
|
+
[k: string]: unknown;
|
|
1109
|
+
}
|
|
967
1110
|
export interface BetaFileDocumentSource {
|
|
968
1111
|
file_id: string;
|
|
969
1112
|
type: 'file';
|
|
@@ -1002,7 +1145,7 @@ export interface BetaInputTokensTrigger {
|
|
|
1002
1145
|
* - Calculate the true context window size from the last iteration
|
|
1003
1146
|
* - Understand token accumulation across server-side tool use loops
|
|
1004
1147
|
*/
|
|
1005
|
-
export type BetaIterationsUsage = Array<BetaMessageIterationUsage | BetaCompactionIterationUsage | BetaAdvisorMessageIterationUsage>;
|
|
1148
|
+
export type BetaIterationsUsage = Array<BetaMessageIterationUsage | BetaCompactionIterationUsage | BetaAdvisorMessageIterationUsage | BetaFallbackMessageIterationUsage>;
|
|
1006
1149
|
export interface BetaJSONOutputFormat {
|
|
1007
1150
|
/**
|
|
1008
1151
|
* The JSON schema of the format
|
|
@@ -1388,6 +1531,13 @@ export interface BetaMessageIterationUsage {
|
|
|
1388
1531
|
* The number of input tokens which were used.
|
|
1389
1532
|
*/
|
|
1390
1533
|
input_tokens: number;
|
|
1534
|
+
/**
|
|
1535
|
+
* The model that will complete your prompt.
|
|
1536
|
+
*
|
|
1537
|
+
* See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
|
|
1538
|
+
* details and options.
|
|
1539
|
+
*/
|
|
1540
|
+
model: MessagesAPI.Model;
|
|
1391
1541
|
/**
|
|
1392
1542
|
* The number of output tokens which were used.
|
|
1393
1543
|
*/
|
|
@@ -1483,7 +1633,7 @@ export interface BetaRawContentBlockStartEvent {
|
|
|
1483
1633
|
/**
|
|
1484
1634
|
* Response model for a file uploaded to the container.
|
|
1485
1635
|
*/
|
|
1486
|
-
content_block: BetaTextBlock | BetaThinkingBlock | BetaRedactedThinkingBlock | BetaToolUseBlock | BetaServerToolUseBlock | BetaWebSearchToolResultBlock | BetaWebFetchToolResultBlock | BetaAdvisorToolResultBlock | BetaCodeExecutionToolResultBlock | BetaBashCodeExecutionToolResultBlock | BetaTextEditorCodeExecutionToolResultBlock | BetaToolSearchToolResultBlock | BetaMCPToolUseBlock | BetaMCPToolResultBlock | BetaContainerUploadBlock | BetaCompactionBlock;
|
|
1636
|
+
content_block: BetaTextBlock | BetaThinkingBlock | BetaRedactedThinkingBlock | BetaToolUseBlock | BetaServerToolUseBlock | BetaWebSearchToolResultBlock | BetaWebFetchToolResultBlock | BetaAdvisorToolResultBlock | BetaCodeExecutionToolResultBlock | BetaBashCodeExecutionToolResultBlock | BetaTextEditorCodeExecutionToolResultBlock | BetaToolSearchToolResultBlock | BetaMCPToolUseBlock | BetaMCPToolResultBlock | BetaContainerUploadBlock | BetaCompactionBlock | BetaFallbackBlock;
|
|
1487
1637
|
index: number;
|
|
1488
1638
|
type: 'content_block_start';
|
|
1489
1639
|
}
|
|
@@ -1557,7 +1707,7 @@ export interface BetaRefusalStopDetails {
|
|
|
1557
1707
|
*
|
|
1558
1708
|
* `null` when the refusal doesn't map to a named category.
|
|
1559
1709
|
*/
|
|
1560
|
-
category: 'cyber' | 'bio' | null;
|
|
1710
|
+
category: 'cyber' | 'bio' | 'reasoning_extraction' | null;
|
|
1561
1711
|
/**
|
|
1562
1712
|
* Human-readable explanation of the refusal.
|
|
1563
1713
|
*
|
|
@@ -1565,6 +1715,56 @@ export interface BetaRefusalStopDetails {
|
|
|
1565
1715
|
* available for the category.
|
|
1566
1716
|
*/
|
|
1567
1717
|
explanation: string | null;
|
|
1718
|
+
/**
|
|
1719
|
+
* Opaque code that refunds the cache-miss cost when retrying this refused request
|
|
1720
|
+
* on the fallback model. Pass it as `fallback_credit_token` on the retry request.
|
|
1721
|
+
* Expires 5 minutes after the refusal.
|
|
1722
|
+
*
|
|
1723
|
+
* The retry is sent either with the same request body (`system`, `messages`,
|
|
1724
|
+
* `tools`, and other render-shaping fields), or with the same body plus one
|
|
1725
|
+
* appended `assistant` message whose content is the partial text (with any
|
|
1726
|
+
* trailing whitespace stripped from the final text block) and paired server-tool
|
|
1727
|
+
* blocks from this refusal — which also authorizes that appended turn as an
|
|
1728
|
+
* assistant-prefill continuation on models that otherwise disallow prefill. A
|
|
1729
|
+
* token minted mid-server-tool-loop whose partial content was continuable may only
|
|
1730
|
+
* be redeemed the second way — if a same-body retry is rejected with a 400 saying
|
|
1731
|
+
* the token must be redeemed by continuing the partial response, retry the second
|
|
1732
|
+
* way instead. Either way: same workspace, same platform; a mismatch is a 400.
|
|
1733
|
+
* Resending a token for an already-warm prefix is permitted but yields no
|
|
1734
|
+
* additional credit.
|
|
1735
|
+
*
|
|
1736
|
+
* `null` when the refused model isn't eligible for a fallback credit.
|
|
1737
|
+
*/
|
|
1738
|
+
fallback_credit_token: string | null;
|
|
1739
|
+
/**
|
|
1740
|
+
* Whether the accompanying `fallback_credit_token` may be redeemed with the
|
|
1741
|
+
* appended-assistant retry form. Only set when `fallback_credit_token` is present.
|
|
1742
|
+
*
|
|
1743
|
+
* `true`: retry by resending the same request body plus one appended `assistant`
|
|
1744
|
+
* message whose content is this response's `content` with any trailing whitespace
|
|
1745
|
+
* stripped from the final text block and unpaired `tool_use` blocks omitted (the
|
|
1746
|
+
* same appended-turn shape described on `fallback_credit_token`), with the token
|
|
1747
|
+
* attached. `false`: retry by resending the original request body unchanged, with
|
|
1748
|
+
* the token attached — the appended-assistant form is not available for this
|
|
1749
|
+
* refusal (no continuable partial content, or the request uses `output_format` or
|
|
1750
|
+
* a `tool_choice` that forces tool use). One exception: when the request used
|
|
1751
|
+
* `output_format` or a forced `tool_choice` and the refusal arrived after server
|
|
1752
|
+
* tools (including MCP connector tools) had already executed, the token may not be
|
|
1753
|
+
* redeemable by either retry form; if the exact-body retry is then rejected with a
|
|
1754
|
+
* 400 saying the token must be redeemed by continuing the partial response,
|
|
1755
|
+
* discard the token and retry without it.
|
|
1756
|
+
*
|
|
1757
|
+
* Advisory: if an appended-assistant retry is rejected with a 400 despite `true`,
|
|
1758
|
+
* fall back to resending the original request body with the token.
|
|
1759
|
+
*/
|
|
1760
|
+
fallback_has_prefill_claim: boolean | null;
|
|
1761
|
+
/**
|
|
1762
|
+
* The server's suggested retry target for this refusal. Populated when a fallback
|
|
1763
|
+
* attempt could not be made (the fallback model's rate limit was exhausted, or it
|
|
1764
|
+
* was overloaded); names the fallback model the caller can retry directly. Null
|
|
1765
|
+
* otherwise.
|
|
1766
|
+
*/
|
|
1767
|
+
recommended_model: string | null;
|
|
1568
1768
|
type: 'refusal';
|
|
1569
1769
|
}
|
|
1570
1770
|
export interface BetaRequestDocumentBlock {
|
|
@@ -2952,6 +3152,34 @@ export interface MessageCreateParamsBase {
|
|
|
2952
3152
|
* id for prompt-cache divergence reporting.
|
|
2953
3153
|
*/
|
|
2954
3154
|
diagnostics?: BetaDiagnosticsParam | null;
|
|
3155
|
+
/**
|
|
3156
|
+
* Body param: The `fallback_credit_token` from a prior refusal's `stop_details`.
|
|
3157
|
+
*
|
|
3158
|
+
* When a preceding request was refused and returned a `fallback_credit_token`,
|
|
3159
|
+
* pass that code here on the retry to have the retry's cache-creation tokens for
|
|
3160
|
+
* the prefix that was warm on the refused model billed at the cache-read rate.
|
|
3161
|
+
* Must be redeemed by the same organization and workspace, with the same request
|
|
3162
|
+
* body (optionally extended by one appended `assistant` message whose content is
|
|
3163
|
+
* the partial text — with any trailing whitespace stripped from the final text
|
|
3164
|
+
* block — and paired server-tool blocks streamed before the refusal; the
|
|
3165
|
+
* appended-assistant form is not available for requests with `output_format` set
|
|
3166
|
+
* or forced `tool_choice`), on an eligible fallback model, on the same platform,
|
|
3167
|
+
* and within 5 minutes of the refusal; a mismatch is a 400. A token minted
|
|
3168
|
+
* mid-server-tool-loop whose partial content was continuable may only be redeemed
|
|
3169
|
+
* with the appended-assistant form — if an exact-body retry is rejected with a 400
|
|
3170
|
+
* saying the token must be redeemed by continuing the partial response, retry with
|
|
3171
|
+
* the appended-assistant form instead.
|
|
3172
|
+
*
|
|
3173
|
+
* When the appended-assistant form is used on a model that otherwise disallows
|
|
3174
|
+
* assistant-turn prefill, this token also authorizes that one prefill.
|
|
3175
|
+
*/
|
|
3176
|
+
fallback_credit_token?: string | null;
|
|
3177
|
+
/**
|
|
3178
|
+
* Body param: Opt-in server-side retry on one or more substitute models when the
|
|
3179
|
+
* requested model declines for policy reasons. Tried in order: if the first entry
|
|
3180
|
+
* also declines, the second is tried, and so on.
|
|
3181
|
+
*/
|
|
3182
|
+
fallbacks?: Array<BetaFallbackParam> | null;
|
|
2955
3183
|
/**
|
|
2956
3184
|
* Body param: Specifies the geographic region for inference processing. If not
|
|
2957
3185
|
* specified, the workspace's `default_inference_geo` is used.
|
|
@@ -3383,7 +3611,7 @@ export interface MessageCountTokensParams {
|
|
|
3383
3611
|
export { BetaToolRunner, type BetaToolRunnerParams } from "../../../lib/tools/BetaToolRunner.mjs";
|
|
3384
3612
|
export { ToolError } from "../../../lib/tools/ToolError.mjs";
|
|
3385
3613
|
export declare namespace Messages {
|
|
3386
|
-
export { type BetaAdvisorMessageIterationUsage as BetaAdvisorMessageIterationUsage, type BetaAdvisorRedactedResultBlock as BetaAdvisorRedactedResultBlock, type BetaAdvisorRedactedResultBlockParam as BetaAdvisorRedactedResultBlockParam, type BetaAdvisorResultBlock as BetaAdvisorResultBlock, type BetaAdvisorResultBlockParam as BetaAdvisorResultBlockParam, type BetaAdvisorTool20260301 as BetaAdvisorTool20260301, type BetaAdvisorToolResultBlock as BetaAdvisorToolResultBlock, type BetaAdvisorToolResultBlockParam as BetaAdvisorToolResultBlockParam, type BetaAdvisorToolResultError as BetaAdvisorToolResultError, type BetaAdvisorToolResultErrorParam as BetaAdvisorToolResultErrorParam, type BetaAllThinkingTurns as BetaAllThinkingTurns, type BetaBase64ImageSource as BetaBase64ImageSource, type BetaBase64PDFSource as BetaBase64PDFSource, type BetaBashCodeExecutionOutputBlock as BetaBashCodeExecutionOutputBlock, type BetaBashCodeExecutionOutputBlockParam as BetaBashCodeExecutionOutputBlockParam, type BetaBashCodeExecutionResultBlock as BetaBashCodeExecutionResultBlock, type BetaBashCodeExecutionResultBlockParam as BetaBashCodeExecutionResultBlockParam, type BetaBashCodeExecutionToolResultBlock as BetaBashCodeExecutionToolResultBlock, type BetaBashCodeExecutionToolResultBlockParam as BetaBashCodeExecutionToolResultBlockParam, type BetaBashCodeExecutionToolResultError as BetaBashCodeExecutionToolResultError, type BetaBashCodeExecutionToolResultErrorParam as BetaBashCodeExecutionToolResultErrorParam, type BetaCacheControlEphemeral as BetaCacheControlEphemeral, type BetaCacheCreation as BetaCacheCreation, type BetaCacheMissMessagesChanged as BetaCacheMissMessagesChanged, type BetaCacheMissModelChanged as BetaCacheMissModelChanged, type BetaCacheMissPreviousMessageNotFound as BetaCacheMissPreviousMessageNotFound, type BetaCacheMissSystemChanged as BetaCacheMissSystemChanged, type BetaCacheMissToolsChanged as BetaCacheMissToolsChanged, type BetaCacheMissUnavailable as BetaCacheMissUnavailable, type BetaCitationCharLocation as BetaCitationCharLocation, type BetaCitationCharLocationParam as BetaCitationCharLocationParam, type BetaCitationConfig as BetaCitationConfig, type BetaCitationContentBlockLocation as BetaCitationContentBlockLocation, type BetaCitationContentBlockLocationParam as BetaCitationContentBlockLocationParam, type BetaCitationPageLocation as BetaCitationPageLocation, type BetaCitationPageLocationParam as BetaCitationPageLocationParam, type BetaCitationSearchResultLocation as BetaCitationSearchResultLocation, type BetaCitationSearchResultLocationParam as BetaCitationSearchResultLocationParam, type BetaCitationWebSearchResultLocationParam as BetaCitationWebSearchResultLocationParam, type BetaCitationsConfigParam as BetaCitationsConfigParam, type BetaCitationsDelta as BetaCitationsDelta, type BetaCitationsWebSearchResultLocation as BetaCitationsWebSearchResultLocation, type BetaClearThinking20251015Edit as BetaClearThinking20251015Edit, type BetaClearThinking20251015EditResponse as BetaClearThinking20251015EditResponse, type BetaClearToolUses20250919Edit as BetaClearToolUses20250919Edit, type BetaClearToolUses20250919EditResponse as BetaClearToolUses20250919EditResponse, type BetaCodeExecutionOutputBlock as BetaCodeExecutionOutputBlock, type BetaCodeExecutionOutputBlockParam as BetaCodeExecutionOutputBlockParam, type BetaCodeExecutionResultBlock as BetaCodeExecutionResultBlock, type BetaCodeExecutionResultBlockParam as BetaCodeExecutionResultBlockParam, type BetaCodeExecutionTool20250522 as BetaCodeExecutionTool20250522, type BetaCodeExecutionTool20250825 as BetaCodeExecutionTool20250825, type BetaCodeExecutionTool20260120 as BetaCodeExecutionTool20260120, 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 BetaCompact20260112Edit as BetaCompact20260112Edit, type BetaCompactionBlock as BetaCompactionBlock, type BetaCompactionBlockParam as BetaCompactionBlockParam, type BetaCompactionContentBlockDelta as BetaCompactionContentBlockDelta, type BetaCompactionIterationUsage as BetaCompactionIterationUsage, type BetaContainer as BetaContainer, type BetaContainerParams as BetaContainerParams, 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 BetaContextManagementConfig as BetaContextManagementConfig, type BetaContextManagementResponse as BetaContextManagementResponse, type BetaCountTokensContextManagementResponse as BetaCountTokensContextManagementResponse, type BetaDiagnostics as BetaDiagnostics, type BetaDiagnosticsParam as BetaDiagnosticsParam, type BetaDirectCaller as BetaDirectCaller, type BetaDocumentBlock as BetaDocumentBlock, type BetaEncryptedCodeExecutionResultBlock as BetaEncryptedCodeExecutionResultBlock, type BetaEncryptedCodeExecutionResultBlockParam as BetaEncryptedCodeExecutionResultBlockParam, type BetaFileDocumentSource as BetaFileDocumentSource, type BetaFileImageSource as BetaFileImageSource, type BetaImageBlockParam as BetaImageBlockParam, type BetaInputJSONDelta as BetaInputJSONDelta, type BetaInputTokensClearAtLeast as BetaInputTokensClearAtLeast, type BetaInputTokensTrigger as BetaInputTokensTrigger, type BetaIterationsUsage as BetaIterationsUsage, type BetaJSONOutputFormat as BetaJSONOutputFormat, type BetaMCPToolConfig as BetaMCPToolConfig, type BetaMCPToolDefaultConfig as BetaMCPToolDefaultConfig, type BetaMCPToolResultBlock as BetaMCPToolResultBlock, type BetaMCPToolUseBlock as BetaMCPToolUseBlock, type BetaMCPToolUseBlockParam as BetaMCPToolUseBlockParam, type BetaMCPToolset as BetaMCPToolset, type BetaMemoryTool20250818 as BetaMemoryTool20250818, type BetaMemoryTool20250818Command as BetaMemoryTool20250818Command, type BetaMemoryTool20250818CreateCommand as BetaMemoryTool20250818CreateCommand, type BetaMemoryTool20250818DeleteCommand as BetaMemoryTool20250818DeleteCommand, type BetaMemoryTool20250818InsertCommand as BetaMemoryTool20250818InsertCommand, type BetaMemoryTool20250818RenameCommand as BetaMemoryTool20250818RenameCommand, type BetaMemoryTool20250818StrReplaceCommand as BetaMemoryTool20250818StrReplaceCommand, type BetaMemoryTool20250818ViewCommand as BetaMemoryTool20250818ViewCommand, type BetaMessage as BetaMessage, type BetaMessageDeltaUsage as BetaMessageDeltaUsage, type BetaMessageIterationUsage as BetaMessageIterationUsage, type BetaMessageParam as BetaMessageParam, type BetaMessageTokensCount as BetaMessageTokensCount, type BetaMetadata as BetaMetadata, type BetaMidConversationSystemBlockParam as BetaMidConversationSystemBlockParam, type BetaOutputConfig as BetaOutputConfig, type BetaOutputTokensDetails as BetaOutputTokensDetails, 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 BetaRefusalStopDetails as BetaRefusalStopDetails, type BetaRequestDocumentBlock as BetaRequestDocumentBlock, type BetaRequestMCPServerToolConfiguration as BetaRequestMCPServerToolConfiguration, type BetaRequestMCPServerURLDefinition as BetaRequestMCPServerURLDefinition, type BetaRequestMCPToolResultBlockParam as BetaRequestMCPToolResultBlockParam, type BetaSearchResultBlockParam as BetaSearchResultBlockParam, type BetaServerToolCaller as BetaServerToolCaller, type BetaServerToolCaller20260120 as BetaServerToolCaller20260120, type BetaServerToolUsage as BetaServerToolUsage, type BetaServerToolUseBlock as BetaServerToolUseBlock, type BetaServerToolUseBlockParam as BetaServerToolUseBlockParam, type BetaSignatureDelta as BetaSignatureDelta, type BetaSkill as BetaSkill, type BetaSkillParams as BetaSkillParams, 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 BetaTextEditorCodeExecutionCreateResultBlock as BetaTextEditorCodeExecutionCreateResultBlock, type BetaTextEditorCodeExecutionCreateResultBlockParam as BetaTextEditorCodeExecutionCreateResultBlockParam, type BetaTextEditorCodeExecutionStrReplaceResultBlock as BetaTextEditorCodeExecutionStrReplaceResultBlock, type BetaTextEditorCodeExecutionStrReplaceResultBlockParam as BetaTextEditorCodeExecutionStrReplaceResultBlockParam, type BetaTextEditorCodeExecutionToolResultBlock as BetaTextEditorCodeExecutionToolResultBlock, type BetaTextEditorCodeExecutionToolResultBlockParam as BetaTextEditorCodeExecutionToolResultBlockParam, type BetaTextEditorCodeExecutionToolResultError as BetaTextEditorCodeExecutionToolResultError, type BetaTextEditorCodeExecutionToolResultErrorParam as BetaTextEditorCodeExecutionToolResultErrorParam, type BetaTextEditorCodeExecutionViewResultBlock as BetaTextEditorCodeExecutionViewResultBlock, type BetaTextEditorCodeExecutionViewResultBlockParam as BetaTextEditorCodeExecutionViewResultBlockParam, type BetaThinkingBlock as BetaThinkingBlock, type BetaThinkingBlockParam as BetaThinkingBlockParam, type BetaThinkingConfigAdaptive as BetaThinkingConfigAdaptive, type BetaThinkingConfigDisabled as BetaThinkingConfigDisabled, type BetaThinkingConfigEnabled as BetaThinkingConfigEnabled, type BetaThinkingConfigParam as BetaThinkingConfigParam, type BetaThinkingDelta as BetaThinkingDelta, type BetaThinkingTurns as BetaThinkingTurns, type BetaTokenTaskBudget as BetaTokenTaskBudget, 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 BetaToolComputerUse20251124 as BetaToolComputerUse20251124, type BetaToolReferenceBlock as BetaToolReferenceBlock, type BetaToolReferenceBlockParam as BetaToolReferenceBlockParam, type BetaToolResultBlockParam as BetaToolResultBlockParam, type BetaToolResultContentBlockParam as BetaToolResultContentBlockParam, type BetaToolSearchToolBm25_20251119 as BetaToolSearchToolBm25_20251119, type BetaToolSearchToolRegex20251119 as BetaToolSearchToolRegex20251119, type BetaToolSearchToolResultBlock as BetaToolSearchToolResultBlock, type BetaToolSearchToolResultBlockParam as BetaToolSearchToolResultBlockParam, type BetaToolSearchToolResultError as BetaToolSearchToolResultError, type BetaToolSearchToolResultErrorParam as BetaToolSearchToolResultErrorParam, type BetaToolSearchToolSearchResultBlock as BetaToolSearchToolSearchResultBlock, type BetaToolSearchToolSearchResultBlockParam as BetaToolSearchToolSearchResultBlockParam, type BetaToolTextEditor20241022 as BetaToolTextEditor20241022, type BetaToolTextEditor20250124 as BetaToolTextEditor20250124, type BetaToolTextEditor20250429 as BetaToolTextEditor20250429, type BetaToolTextEditor20250728 as BetaToolTextEditor20250728, type BetaToolUnion as BetaToolUnion, type BetaToolUseBlock as BetaToolUseBlock, type BetaToolUseBlockParam as BetaToolUseBlockParam, type BetaToolUsesKeep as BetaToolUsesKeep, type BetaToolUsesTrigger as BetaToolUsesTrigger, type BetaURLImageSource as BetaURLImageSource, type BetaURLPDFSource as BetaURLPDFSource, type BetaUsage as BetaUsage, type BetaUserLocation as BetaUserLocation, type BetaWebFetchBlock as BetaWebFetchBlock, type BetaWebFetchBlockParam as BetaWebFetchBlockParam, type BetaWebFetchTool20250910 as BetaWebFetchTool20250910, type BetaWebFetchTool20260209 as BetaWebFetchTool20260209, type BetaWebFetchTool20260309 as BetaWebFetchTool20260309, type BetaWebFetchToolResultBlock as BetaWebFetchToolResultBlock, type BetaWebFetchToolResultBlockParam as BetaWebFetchToolResultBlockParam, type BetaWebFetchToolResultErrorBlock as BetaWebFetchToolResultErrorBlock, type BetaWebFetchToolResultErrorBlockParam as BetaWebFetchToolResultErrorBlockParam, type BetaWebFetchToolResultErrorCode as BetaWebFetchToolResultErrorCode, type BetaWebSearchResultBlock as BetaWebSearchResultBlock, type BetaWebSearchResultBlockParam as BetaWebSearchResultBlockParam, type BetaWebSearchTool20250305 as BetaWebSearchTool20250305, type BetaWebSearchTool20260209 as BetaWebSearchTool20260209, 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 BetaBase64PDFBlock as BetaBase64PDFBlock, type MessageCreateParams as MessageCreateParams, type MessageCreateParamsNonStreaming as MessageCreateParamsNonStreaming, type MessageCreateParamsStreaming as MessageCreateParamsStreaming, type MessageCountTokensParams as MessageCountTokensParams, };
|
|
3614
|
+
export { type BetaAdvisorMessageIterationUsage as BetaAdvisorMessageIterationUsage, type BetaAdvisorRedactedResultBlock as BetaAdvisorRedactedResultBlock, type BetaAdvisorRedactedResultBlockParam as BetaAdvisorRedactedResultBlockParam, type BetaAdvisorResultBlock as BetaAdvisorResultBlock, type BetaAdvisorResultBlockParam as BetaAdvisorResultBlockParam, type BetaAdvisorTool20260301 as BetaAdvisorTool20260301, type BetaAdvisorToolResultBlock as BetaAdvisorToolResultBlock, type BetaAdvisorToolResultBlockParam as BetaAdvisorToolResultBlockParam, type BetaAdvisorToolResultError as BetaAdvisorToolResultError, type BetaAdvisorToolResultErrorParam as BetaAdvisorToolResultErrorParam, type BetaAllThinkingTurns as BetaAllThinkingTurns, type BetaBase64ImageSource as BetaBase64ImageSource, type BetaBase64PDFSource as BetaBase64PDFSource, type BetaBashCodeExecutionOutputBlock as BetaBashCodeExecutionOutputBlock, type BetaBashCodeExecutionOutputBlockParam as BetaBashCodeExecutionOutputBlockParam, type BetaBashCodeExecutionResultBlock as BetaBashCodeExecutionResultBlock, type BetaBashCodeExecutionResultBlockParam as BetaBashCodeExecutionResultBlockParam, type BetaBashCodeExecutionToolResultBlock as BetaBashCodeExecutionToolResultBlock, type BetaBashCodeExecutionToolResultBlockParam as BetaBashCodeExecutionToolResultBlockParam, type BetaBashCodeExecutionToolResultError as BetaBashCodeExecutionToolResultError, type BetaBashCodeExecutionToolResultErrorParam as BetaBashCodeExecutionToolResultErrorParam, type BetaCacheControlEphemeral as BetaCacheControlEphemeral, type BetaCacheCreation as BetaCacheCreation, type BetaCacheMissMessagesChanged as BetaCacheMissMessagesChanged, type BetaCacheMissModelChanged as BetaCacheMissModelChanged, type BetaCacheMissPreviousMessageNotFound as BetaCacheMissPreviousMessageNotFound, type BetaCacheMissSystemChanged as BetaCacheMissSystemChanged, type BetaCacheMissToolsChanged as BetaCacheMissToolsChanged, type BetaCacheMissUnavailable as BetaCacheMissUnavailable, type BetaCitationCharLocation as BetaCitationCharLocation, type BetaCitationCharLocationParam as BetaCitationCharLocationParam, type BetaCitationConfig as BetaCitationConfig, type BetaCitationContentBlockLocation as BetaCitationContentBlockLocation, type BetaCitationContentBlockLocationParam as BetaCitationContentBlockLocationParam, type BetaCitationPageLocation as BetaCitationPageLocation, type BetaCitationPageLocationParam as BetaCitationPageLocationParam, type BetaCitationSearchResultLocation as BetaCitationSearchResultLocation, type BetaCitationSearchResultLocationParam as BetaCitationSearchResultLocationParam, type BetaCitationWebSearchResultLocationParam as BetaCitationWebSearchResultLocationParam, type BetaCitationsConfigParam as BetaCitationsConfigParam, type BetaCitationsDelta as BetaCitationsDelta, type BetaCitationsWebSearchResultLocation as BetaCitationsWebSearchResultLocation, type BetaClearThinking20251015Edit as BetaClearThinking20251015Edit, type BetaClearThinking20251015EditResponse as BetaClearThinking20251015EditResponse, type BetaClearToolUses20250919Edit as BetaClearToolUses20250919Edit, type BetaClearToolUses20250919EditResponse as BetaClearToolUses20250919EditResponse, type BetaCodeExecutionOutputBlock as BetaCodeExecutionOutputBlock, type BetaCodeExecutionOutputBlockParam as BetaCodeExecutionOutputBlockParam, type BetaCodeExecutionResultBlock as BetaCodeExecutionResultBlock, type BetaCodeExecutionResultBlockParam as BetaCodeExecutionResultBlockParam, type BetaCodeExecutionTool20250522 as BetaCodeExecutionTool20250522, type BetaCodeExecutionTool20250825 as BetaCodeExecutionTool20250825, type BetaCodeExecutionTool20260120 as BetaCodeExecutionTool20260120, 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 BetaCompact20260112Edit as BetaCompact20260112Edit, type BetaCompactionBlock as BetaCompactionBlock, type BetaCompactionBlockParam as BetaCompactionBlockParam, type BetaCompactionContentBlockDelta as BetaCompactionContentBlockDelta, type BetaCompactionIterationUsage as BetaCompactionIterationUsage, type BetaContainer as BetaContainer, type BetaContainerParams as BetaContainerParams, 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 BetaContextManagementConfig as BetaContextManagementConfig, type BetaContextManagementResponse as BetaContextManagementResponse, type BetaCountTokensContextManagementResponse as BetaCountTokensContextManagementResponse, type BetaDiagnostics as BetaDiagnostics, type BetaDiagnosticsParam as BetaDiagnosticsParam, type BetaDirectCaller as BetaDirectCaller, type BetaDocumentBlock as BetaDocumentBlock, type BetaEncryptedCodeExecutionResultBlock as BetaEncryptedCodeExecutionResultBlock, type BetaEncryptedCodeExecutionResultBlockParam as BetaEncryptedCodeExecutionResultBlockParam, type BetaFallbackBlock as BetaFallbackBlock, type BetaFallbackBlockParam as BetaFallbackBlockParam, type BetaFallbackInfo as BetaFallbackInfo, type BetaFallbackInfoParam as BetaFallbackInfoParam, type BetaFallbackMessageIterationUsage as BetaFallbackMessageIterationUsage, type BetaFallbackParam as BetaFallbackParam, type BetaFileDocumentSource as BetaFileDocumentSource, type BetaFileImageSource as BetaFileImageSource, type BetaImageBlockParam as BetaImageBlockParam, type BetaInputJSONDelta as BetaInputJSONDelta, type BetaInputTokensClearAtLeast as BetaInputTokensClearAtLeast, type BetaInputTokensTrigger as BetaInputTokensTrigger, type BetaIterationsUsage as BetaIterationsUsage, type BetaJSONOutputFormat as BetaJSONOutputFormat, type BetaMCPToolConfig as BetaMCPToolConfig, type BetaMCPToolDefaultConfig as BetaMCPToolDefaultConfig, type BetaMCPToolResultBlock as BetaMCPToolResultBlock, type BetaMCPToolUseBlock as BetaMCPToolUseBlock, type BetaMCPToolUseBlockParam as BetaMCPToolUseBlockParam, type BetaMCPToolset as BetaMCPToolset, type BetaMemoryTool20250818 as BetaMemoryTool20250818, type BetaMemoryTool20250818Command as BetaMemoryTool20250818Command, type BetaMemoryTool20250818CreateCommand as BetaMemoryTool20250818CreateCommand, type BetaMemoryTool20250818DeleteCommand as BetaMemoryTool20250818DeleteCommand, type BetaMemoryTool20250818InsertCommand as BetaMemoryTool20250818InsertCommand, type BetaMemoryTool20250818RenameCommand as BetaMemoryTool20250818RenameCommand, type BetaMemoryTool20250818StrReplaceCommand as BetaMemoryTool20250818StrReplaceCommand, type BetaMemoryTool20250818ViewCommand as BetaMemoryTool20250818ViewCommand, type BetaMessage as BetaMessage, type BetaMessageDeltaUsage as BetaMessageDeltaUsage, type BetaMessageIterationUsage as BetaMessageIterationUsage, type BetaMessageParam as BetaMessageParam, type BetaMessageTokensCount as BetaMessageTokensCount, type BetaMetadata as BetaMetadata, type BetaMidConversationSystemBlockParam as BetaMidConversationSystemBlockParam, type BetaOutputConfig as BetaOutputConfig, type BetaOutputTokensDetails as BetaOutputTokensDetails, 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 BetaRefusalStopDetails as BetaRefusalStopDetails, type BetaRequestDocumentBlock as BetaRequestDocumentBlock, type BetaRequestMCPServerToolConfiguration as BetaRequestMCPServerToolConfiguration, type BetaRequestMCPServerURLDefinition as BetaRequestMCPServerURLDefinition, type BetaRequestMCPToolResultBlockParam as BetaRequestMCPToolResultBlockParam, type BetaSearchResultBlockParam as BetaSearchResultBlockParam, type BetaServerToolCaller as BetaServerToolCaller, type BetaServerToolCaller20260120 as BetaServerToolCaller20260120, type BetaServerToolUsage as BetaServerToolUsage, type BetaServerToolUseBlock as BetaServerToolUseBlock, type BetaServerToolUseBlockParam as BetaServerToolUseBlockParam, type BetaSignatureDelta as BetaSignatureDelta, type BetaSkill as BetaSkill, type BetaSkillParams as BetaSkillParams, 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 BetaTextEditorCodeExecutionCreateResultBlock as BetaTextEditorCodeExecutionCreateResultBlock, type BetaTextEditorCodeExecutionCreateResultBlockParam as BetaTextEditorCodeExecutionCreateResultBlockParam, type BetaTextEditorCodeExecutionStrReplaceResultBlock as BetaTextEditorCodeExecutionStrReplaceResultBlock, type BetaTextEditorCodeExecutionStrReplaceResultBlockParam as BetaTextEditorCodeExecutionStrReplaceResultBlockParam, type BetaTextEditorCodeExecutionToolResultBlock as BetaTextEditorCodeExecutionToolResultBlock, type BetaTextEditorCodeExecutionToolResultBlockParam as BetaTextEditorCodeExecutionToolResultBlockParam, type BetaTextEditorCodeExecutionToolResultError as BetaTextEditorCodeExecutionToolResultError, type BetaTextEditorCodeExecutionToolResultErrorParam as BetaTextEditorCodeExecutionToolResultErrorParam, type BetaTextEditorCodeExecutionViewResultBlock as BetaTextEditorCodeExecutionViewResultBlock, type BetaTextEditorCodeExecutionViewResultBlockParam as BetaTextEditorCodeExecutionViewResultBlockParam, type BetaThinkingBlock as BetaThinkingBlock, type BetaThinkingBlockParam as BetaThinkingBlockParam, type BetaThinkingConfigAdaptive as BetaThinkingConfigAdaptive, type BetaThinkingConfigDisabled as BetaThinkingConfigDisabled, type BetaThinkingConfigEnabled as BetaThinkingConfigEnabled, type BetaThinkingConfigParam as BetaThinkingConfigParam, type BetaThinkingDelta as BetaThinkingDelta, type BetaThinkingTurns as BetaThinkingTurns, type BetaTokenTaskBudget as BetaTokenTaskBudget, 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 BetaToolComputerUse20251124 as BetaToolComputerUse20251124, type BetaToolReferenceBlock as BetaToolReferenceBlock, type BetaToolReferenceBlockParam as BetaToolReferenceBlockParam, type BetaToolResultBlockParam as BetaToolResultBlockParam, type BetaToolResultContentBlockParam as BetaToolResultContentBlockParam, type BetaToolSearchToolBm25_20251119 as BetaToolSearchToolBm25_20251119, type BetaToolSearchToolRegex20251119 as BetaToolSearchToolRegex20251119, type BetaToolSearchToolResultBlock as BetaToolSearchToolResultBlock, type BetaToolSearchToolResultBlockParam as BetaToolSearchToolResultBlockParam, type BetaToolSearchToolResultError as BetaToolSearchToolResultError, type BetaToolSearchToolResultErrorParam as BetaToolSearchToolResultErrorParam, type BetaToolSearchToolSearchResultBlock as BetaToolSearchToolSearchResultBlock, type BetaToolSearchToolSearchResultBlockParam as BetaToolSearchToolSearchResultBlockParam, type BetaToolTextEditor20241022 as BetaToolTextEditor20241022, type BetaToolTextEditor20250124 as BetaToolTextEditor20250124, type BetaToolTextEditor20250429 as BetaToolTextEditor20250429, type BetaToolTextEditor20250728 as BetaToolTextEditor20250728, type BetaToolUnion as BetaToolUnion, type BetaToolUseBlock as BetaToolUseBlock, type BetaToolUseBlockParam as BetaToolUseBlockParam, type BetaToolUsesKeep as BetaToolUsesKeep, type BetaToolUsesTrigger as BetaToolUsesTrigger, type BetaURLImageSource as BetaURLImageSource, type BetaURLPDFSource as BetaURLPDFSource, type BetaUsage as BetaUsage, type BetaUserLocation as BetaUserLocation, type BetaWebFetchBlock as BetaWebFetchBlock, type BetaWebFetchBlockParam as BetaWebFetchBlockParam, type BetaWebFetchTool20250910 as BetaWebFetchTool20250910, type BetaWebFetchTool20260209 as BetaWebFetchTool20260209, type BetaWebFetchTool20260309 as BetaWebFetchTool20260309, type BetaWebFetchToolResultBlock as BetaWebFetchToolResultBlock, type BetaWebFetchToolResultBlockParam as BetaWebFetchToolResultBlockParam, type BetaWebFetchToolResultErrorBlock as BetaWebFetchToolResultErrorBlock, type BetaWebFetchToolResultErrorBlockParam as BetaWebFetchToolResultErrorBlockParam, type BetaWebFetchToolResultErrorCode as BetaWebFetchToolResultErrorCode, type BetaWebSearchResultBlock as BetaWebSearchResultBlock, type BetaWebSearchResultBlockParam as BetaWebSearchResultBlockParam, type BetaWebSearchTool20250305 as BetaWebSearchTool20250305, type BetaWebSearchTool20260209 as BetaWebSearchTool20260209, 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 BetaBase64PDFBlock as BetaBase64PDFBlock, type MessageCreateParams as MessageCreateParams, type MessageCreateParamsNonStreaming as MessageCreateParamsNonStreaming, type MessageCreateParamsStreaming as MessageCreateParamsStreaming, type MessageCountTokensParams as MessageCountTokensParams, };
|
|
3387
3615
|
export { type BetaToolRunnerParams, BetaToolRunner };
|
|
3388
3616
|
export { ToolError };
|
|
3389
3617
|
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, };
|