@code-yeongyu/senpi 2026.8.25 → 2026.8.26
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 +17 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +29 -0
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/extensions/builtin/compaction/per-turn-cap.d.ts +5 -9
- package/dist/core/extensions/builtin/compaction/per-turn-cap.d.ts.map +1 -1
- package/dist/core/extensions/builtin/compaction/per-turn-cap.js +5 -11
- package/dist/core/extensions/builtin/compaction/per-turn-cap.js.map +1 -1
- package/dist/core/extensions/builtin/compaction/todo-bridge.d.ts +2 -3
- package/dist/core/extensions/builtin/compaction/todo-bridge.d.ts.map +1 -1
- package/dist/core/extensions/builtin/compaction/todo-bridge.js +53 -14
- package/dist/core/extensions/builtin/compaction/todo-bridge.js.map +1 -1
- package/examples/extensions/custom-provider-anthropic/package-lock.json +28 -5
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/node_modules/@anthropic-ai/sdk/CHANGELOG.md +558 -0
- package/node_modules/@anthropic-ai/sdk/README.md +16 -1
- package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js +14 -2
- package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs +14 -2
- package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/api-promise.d.mts +1 -0
- package/node_modules/@anthropic-ai/sdk/api-promise.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/api-promise.d.ts +1 -0
- package/node_modules/@anthropic-ai/sdk/api-promise.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/api-promise.mjs +1 -0
- package/node_modules/@anthropic-ai/sdk/api-promise.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/bin/migration-config.json +481 -0
- package/node_modules/@anthropic-ai/sdk/client.d.mts +165 -11
- package/node_modules/@anthropic-ai/sdk/client.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/client.d.ts +165 -11
- package/node_modules/@anthropic-ai/sdk/client.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/client.js +415 -38
- package/node_modules/@anthropic-ai/sdk/client.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/client.mjs +414 -37
- package/node_modules/@anthropic-ai/sdk/client.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts +1 -0
- package/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts +1 -0
- package/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/api-promise.js +7 -2
- package/node_modules/@anthropic-ai/sdk/core/api-promise.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/api-promise.mjs +8 -3
- package/node_modules/@anthropic-ai/sdk/core/api-promise.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/api.d.mts +11 -0
- package/node_modules/@anthropic-ai/sdk/core/api.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/core/api.d.ts +11 -0
- package/node_modules/@anthropic-ai/sdk/core/api.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/core/api.js +3 -0
- package/node_modules/@anthropic-ai/sdk/core/api.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/core/api.mjs +2 -0
- package/node_modules/@anthropic-ai/sdk/core/api.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/core/credentials.d.mts +131 -0
- package/node_modules/@anthropic-ai/sdk/core/credentials.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/core/credentials.d.ts +131 -0
- package/node_modules/@anthropic-ai/sdk/core/credentials.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/core/credentials.js +317 -0
- package/node_modules/@anthropic-ai/sdk/core/credentials.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/core/credentials.mjs +277 -0
- package/node_modules/@anthropic-ai/sdk/core/credentials.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/core/error.d.mts +12 -0
- package/node_modules/@anthropic-ai/sdk/core/error.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/error.d.ts +12 -0
- package/node_modules/@anthropic-ai/sdk/core/error.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/error.js +18 -1
- package/node_modules/@anthropic-ai/sdk/core/error.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/error.mjs +16 -0
- package/node_modules/@anthropic-ai/sdk/core/error.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/middleware.d.mts +154 -0
- package/node_modules/@anthropic-ai/sdk/core/middleware.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/core/middleware.d.ts +154 -0
- package/node_modules/@anthropic-ai/sdk/core/middleware.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/core/middleware.js +174 -0
- package/node_modules/@anthropic-ai/sdk/core/middleware.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/core/middleware.mjs +168 -0
- package/node_modules/@anthropic-ai/sdk/core/middleware.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/core/pagination.d.mts +20 -0
- package/node_modules/@anthropic-ai/sdk/core/pagination.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/pagination.d.ts +20 -0
- package/node_modules/@anthropic-ai/sdk/core/pagination.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/pagination.js +26 -1
- package/node_modules/@anthropic-ai/sdk/core/pagination.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/pagination.mjs +24 -0
- package/node_modules/@anthropic-ai/sdk/core/pagination.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/resource.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/resource.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/streaming.d.mts +9 -0
- package/node_modules/@anthropic-ai/sdk/core/streaming.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/streaming.d.ts +9 -0
- package/node_modules/@anthropic-ai/sdk/core/streaming.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/streaming.js +34 -1
- package/node_modules/@anthropic-ai/sdk/core/streaming.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/streaming.mjs +34 -1
- package/node_modules/@anthropic-ai/sdk/core/streaming.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/uploads.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/uploads.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/core/uploads.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/error.d.mts +1 -0
- package/node_modules/@anthropic-ai/sdk/error.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/error.d.ts +1 -0
- package/node_modules/@anthropic-ai/sdk/error.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/error.mjs +1 -0
- package/node_modules/@anthropic-ai/sdk/error.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/environments.d.mts +23 -0
- package/node_modules/@anthropic-ai/sdk/helpers/beta/environments.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/helpers/beta/environments.d.ts +23 -0
- package/node_modules/@anthropic-ai/sdk/helpers/beta/environments.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/helpers/beta/environments.js +31 -0
- package/node_modules/@anthropic-ai/sdk/helpers/beta/environments.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/helpers/beta/environments.mjs +23 -0
- package/node_modules/@anthropic-ai/sdk/helpers/beta/environments.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.mts +6 -0
- package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.ts +6 -0
- package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.js +1 -0
- package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.mjs +1 -0
- package/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.mts +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.ts +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.js +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.mjs +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/memory.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/memory.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.mts +11 -5
- package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.ts +11 -5
- package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.js +2 -2
- package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.mjs +2 -2
- package/node_modules/@anthropic-ai/sdk/helpers/beta/zod.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/index.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/index.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/index.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/json-schema.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/json-schema.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/json-schema.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/zod.d.mts +2 -2
- package/node_modules/@anthropic-ai/sdk/helpers/zod.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/zod.d.ts +2 -2
- package/node_modules/@anthropic-ai/sdk/helpers/zod.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/zod.js +1 -2
- package/node_modules/@anthropic-ai/sdk/helpers/zod.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/helpers/zod.mjs +1 -2
- package/node_modules/@anthropic-ai/sdk/helpers/zod.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/index.d.mts +4 -2
- package/node_modules/@anthropic-ai/sdk/index.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/index.d.ts +4 -2
- package/node_modules/@anthropic-ai/sdk/index.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/index.js +5 -1
- package/node_modules/@anthropic-ai/sdk/index.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/index.mjs +3 -2
- package/node_modules/@anthropic-ai/sdk/index.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/constants.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/constants.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/constants.js +0 -5
- package/node_modules/@anthropic-ai/sdk/internal/constants.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/constants.mjs +0 -5
- package/node_modules/@anthropic-ai/sdk/internal/constants.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/file-store.d.mts +136 -0
- package/node_modules/@anthropic-ai/sdk/internal/file-store.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/file-store.d.ts +136 -0
- package/node_modules/@anthropic-ai/sdk/internal/file-store.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/file-store.js +531 -0
- package/node_modules/@anthropic-ai/sdk/internal/file-store.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/file-store.mjs +523 -0
- package/node_modules/@anthropic-ai/sdk/internal/file-store.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/headers.d.mts +7 -0
- package/node_modules/@anthropic-ai/sdk/internal/headers.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/headers.d.ts +7 -0
- package/node_modules/@anthropic-ai/sdk/internal/headers.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/headers.js +45 -4
- package/node_modules/@anthropic-ai/sdk/internal/headers.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/headers.mjs +43 -3
- package/node_modules/@anthropic-ai/sdk/internal/headers.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/message-stream-utils.d.mts +10 -0
- package/node_modules/@anthropic-ai/sdk/internal/message-stream-utils.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/message-stream-utils.d.ts +10 -0
- package/node_modules/@anthropic-ai/sdk/internal/message-stream-utils.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/message-stream-utils.js +34 -0
- package/node_modules/@anthropic-ai/sdk/internal/message-stream-utils.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/message-stream-utils.mjs +30 -0
- package/node_modules/@anthropic-ai/sdk/internal/message-stream-utils.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/parse.d.mts +2 -1
- package/node_modules/@anthropic-ai/sdk/internal/parse.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/parse.d.ts +2 -1
- package/node_modules/@anthropic-ai/sdk/internal/parse.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/parse.js +16 -10
- package/node_modules/@anthropic-ai/sdk/internal/parse.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/parse.mjs +15 -9
- package/node_modules/@anthropic-ai/sdk/internal/parse.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/qs/formats.d.mts +7 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/formats.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/formats.d.ts +7 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/formats.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/formats.js +13 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/formats.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/formats.mjs +9 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/formats.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/index.d.mts +10 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/index.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/index.d.ts +10 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/index.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/index.js +14 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/index.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/index.mjs +10 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/index.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/stringify.d.mts +3 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/stringify.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/stringify.d.ts +3 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/stringify.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/stringify.js +277 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/stringify.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/stringify.mjs +274 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/stringify.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/types.d.mts +57 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/types.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/types.d.ts +57 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/types.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/types.js +3 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/types.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/types.mjs +2 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/types.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/utils.d.mts +15 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/utils.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/utils.d.ts +15 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/utils.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/utils.js +230 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/utils.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/utils.mjs +217 -0
- package/node_modules/@anthropic-ai/sdk/internal/qs/utils.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts +52 -2
- package/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts +52 -2
- package/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/request-options.js +12 -1
- package/node_modules/@anthropic-ai/sdk/internal/request-options.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/request-options.mjs +10 -0
- package/node_modules/@anthropic-ai/sdk/internal/request-options.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/request-signal.d.mts +4 -0
- package/node_modules/@anthropic-ai/sdk/internal/request-signal.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/request-signal.d.ts +4 -0
- package/node_modules/@anthropic-ai/sdk/internal/request-signal.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/request-signal.js +50 -0
- package/node_modules/@anthropic-ai/sdk/internal/request-signal.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/request-signal.mjs +45 -0
- package/node_modules/@anthropic-ai/sdk/internal/request-signal.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/shims.d.mts +6 -0
- package/node_modules/@anthropic-ai/sdk/internal/shims.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/shims.d.ts +6 -0
- package/node_modules/@anthropic-ai/sdk/internal/shims.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/stainless-helper-header.d.mts +60 -0
- package/node_modules/@anthropic-ai/sdk/internal/stainless-helper-header.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/stainless-helper-header.d.ts +60 -0
- package/node_modules/@anthropic-ai/sdk/internal/stainless-helper-header.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/{lib → internal}/stainless-helper-header.js +27 -6
- package/node_modules/@anthropic-ai/sdk/internal/stainless-helper-header.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/{lib → internal}/stainless-helper-header.mjs +25 -5
- package/node_modules/@anthropic-ai/sdk/internal/stainless-helper-header.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/to-file.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/types.d.mts +12 -6
- package/node_modules/@anthropic-ai/sdk/internal/types.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/types.d.ts +12 -6
- package/node_modules/@anthropic-ai/sdk/internal/types.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/uploads.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/abort.d.mts +13 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/abort.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/abort.d.ts +13 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/abort.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/abort.js +26 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/abort.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/abort.mjs +23 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/abort.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.d.mts +31 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.d.ts +31 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.js +75 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.mjs +71 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/backoff.d.mts +23 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/backoff.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/backoff.d.ts +23 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/backoff.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/backoff.js +44 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/backoff.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/backoff.mjs +36 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/backoff.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts +11 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts +11 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/log.js +37 -11
- package/node_modules/@anthropic-ai/sdk/internal/utils/log.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs +35 -10
- package/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/promise.d.mts +11 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/promise.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/promise.d.ts +11 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/promise.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/promise.js +18 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/promise.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/promise.mjs +15 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/promise.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/query.d.mts +0 -3
- package/node_modules/@anthropic-ai/sdk/internal/utils/query.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/query.d.ts +0 -3
- package/node_modules/@anthropic-ai/sdk/internal/utils/query.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/query.js +3 -16
- package/node_modules/@anthropic-ai/sdk/internal/utils/query.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/query.mjs +2 -16
- package/node_modules/@anthropic-ai/sdk/internal/utils/query.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts +9 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts +9 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js +23 -2
- package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs +23 -2
- package/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/time.d.mts +3 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/time.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/time.d.ts +3 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/time.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/time.js +8 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/time.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/time.mjs +5 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/time.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts +2 -0
- package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts +2 -0
- package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js +66 -31
- package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs +66 -31
- package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts +2 -0
- package/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts +2 -0
- package/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +37 -26
- package/node_modules/@anthropic-ai/sdk/lib/MessageStream.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs +34 -23
- package/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/beta-parser.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/beta-parser.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/beta-parser.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.d.mts +39 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.d.ts +39 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.js +245 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.mjs +208 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.d.mts +11 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.d.ts +11 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.js +72 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.mjs +35 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.d.mts +40 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.d.ts +40 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.js +82 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.mjs +79 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.d.mts +54 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.d.ts +54 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.js +112 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.mjs +108 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/types.d.mts +96 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/types.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/types.d.ts +96 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/types.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/types.js +266 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/types.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/types.mjs +224 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/types.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.d.mts +21 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.d.ts +21 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.js +130 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.mjs +94 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials.d.mts +4 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials.d.ts +4 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials.js +8 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials.mjs +3 -0
- package/node_modules/@anthropic-ai/sdk/lib/credentials.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/index.d.mts +4 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/index.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/index.d.ts +4 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/index.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/index.js +18 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/index.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/index.mjs +4 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/index.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/poller.d.mts +95 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/poller.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/poller.d.ts +95 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/poller.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/poller.js +226 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/poller.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/poller.mjs +217 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/poller.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/worker.d.mts +227 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/worker.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/worker.d.ts +227 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/worker.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/worker.js +569 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/worker.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/worker.mjs +564 -0
- package/node_modules/@anthropic-ai/sdk/lib/environments/worker.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/helper-client.d.mts +31 -0
- package/node_modules/@anthropic-ai/sdk/lib/helper-client.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/helper-client.d.ts +31 -0
- package/node_modules/@anthropic-ai/sdk/lib/helper-client.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/helper-client.js +58 -0
- package/node_modules/@anthropic-ai/sdk/lib/helper-client.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/helper-client.mjs +55 -0
- package/node_modules/@anthropic-ai/sdk/lib/helper-client.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/middleware.d.mts +98 -0
- package/node_modules/@anthropic-ai/sdk/lib/middleware.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/middleware.d.ts +98 -0
- package/node_modules/@anthropic-ai/sdk/lib/middleware.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/middleware.js +754 -0
- package/node_modules/@anthropic-ai/sdk/lib/middleware.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/middleware.mjs +749 -0
- package/node_modules/@anthropic-ai/sdk/lib/middleware.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/parser.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/parser.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/parser.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/sessions/accumulate.d.mts +22 -0
- package/node_modules/@anthropic-ai/sdk/lib/sessions/accumulate.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/sessions/accumulate.d.ts +22 -0
- package/node_modules/@anthropic-ai/sdk/lib/sessions/accumulate.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/sessions/accumulate.js +88 -0
- package/node_modules/@anthropic-ai/sdk/lib/sessions/accumulate.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/sessions/accumulate.mjs +85 -0
- package/node_modules/@anthropic-ai/sdk/lib/sessions/accumulate.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.mts +38 -5
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.ts +38 -5
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.js +28 -0
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.mjs +25 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.mts +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.ts +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.js +107 -29
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.mjs +105 -27
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.d.mts +179 -0
- package/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.d.ts +179 -0
- package/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.js +728 -0
- package/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.mjs +724 -0
- package/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/package.json +32 -15
- package/node_modules/@anthropic-ai/sdk/pagination.d.mts +1 -0
- package/node_modules/@anthropic-ai/sdk/pagination.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/pagination.d.ts +1 -0
- package/node_modules/@anthropic-ai/sdk/pagination.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/pagination.mjs +1 -0
- package/node_modules/@anthropic-ai/sdk/pagination.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resource.d.mts +1 -0
- package/node_modules/@anthropic-ai/sdk/resource.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resource.d.ts +1 -0
- package/node_modules/@anthropic-ai/sdk/resource.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resource.mjs +1 -0
- package/node_modules/@anthropic-ai/sdk/resource.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.d.mts +608 -68
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.d.ts +608 -68
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.js +2 -2
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.mjs +2 -2
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.d.mts +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.d.ts +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts +51 -13
- package/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts +51 -13
- package/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/beta.js +22 -2
- package/node_modules/@anthropic-ai/sdk/resources/beta/beta.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs +22 -2
- package/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.d.mts +306 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.d.ts +306 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.js +55 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.mjs +51 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.d.mts +698 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.d.ts +698 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.js +196 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.mjs +192 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.d.mts +309 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.d.ts +309 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.js +116 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.mjs +112 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.d.mts +426 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.d.ts +426 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.js +150 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.mjs +145 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.d.mts +3 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.d.ts +3 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.js +9 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.mjs +4 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.d.mts +501 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.d.ts +501 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.js +257 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.mjs +251 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments.d.mts +1 -388
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments.d.ts +1 -388
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments.js +2 -138
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments.mjs +1 -136
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts +22 -22
- package/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts +22 -22
- package/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/files.js +5 -5
- package/node_modules/@anthropic-ai/sdk/resources/beta/files.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs +5 -5
- package/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts +11 -6
- package/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts +11 -6
- package/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/index.js +23 -13
- package/node_modules/@anthropic-ai/sdk/resources/beta/index.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs +6 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.d.mts +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.d.ts +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.d.mts +136 -24
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.d.ts +136 -24
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.js +10 -10
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.mjs +10 -10
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.d.mts +60 -16
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.d.ts +60 -16
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.js +12 -12
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.mjs +12 -12
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.d.mts +105 -7
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.d.ts +105 -7
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.js +6 -6
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.mjs +6 -6
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts +81 -30
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts +81 -30
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js +12 -9
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs +12 -9
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts +2453 -380
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts +2453 -380
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js +16 -22
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs +16 -22
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts +6 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts +6 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.d.mts +643 -19
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.d.ts +643 -19
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.js +29 -2
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.mjs +27 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.d.mts +3 -2
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.d.ts +3 -2
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.js +3 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.mjs +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.d.mts +455 -8
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.d.ts +455 -8
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.js +5 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.mjs +6 -2
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.d.mts +78 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.d.ts +78 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.js +61 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.mjs +57 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.d.mts +3 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.d.ts +3 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.js +9 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.mjs +4 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.d.mts +195 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.d.ts +195 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.js +88 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.mjs +83 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.d.mts +2 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.d.ts +2 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.js +6 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.mjs +3 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.mts +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.ts +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.mts +13 -11
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.ts +13 -11
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.js +5 -3
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs +5 -3
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.mts +31 -3
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.ts +31 -3
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.js +32 -3
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs +32 -3
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.d.mts +163 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.d.ts +163 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.js +129 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.mjs +125 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/index.d.mts +3 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/index.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/index.d.ts +3 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/index.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/index.js +9 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/index.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/index.mjs +4 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/index.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.d.mts +212 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.d.ts +212 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.js +181 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.mjs +176 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels.d.mts +2 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels.d.ts +2 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels.js +6 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels.mjs +3 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.d.mts +62 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.d.ts +62 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.js +5 -5
- package/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.mjs +5 -5
- package/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.d.mts +256 -4
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.d.ts +256 -4
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.js +22 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.mjs +22 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.d.mts +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.d.ts +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.d.mts +2 -2
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.d.ts +2 -2
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.d.mts +466 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.d.ts +466 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.js +20 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.mjs +16 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/beta.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/completions.d.mts +18 -11
- package/node_modules/@anthropic-ai/sdk/resources/completions.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/completions.d.ts +18 -11
- package/node_modules/@anthropic-ai/sdk/resources/completions.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/completions.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/files.d.mts +105 -0
- package/node_modules/@anthropic-ai/sdk/resources/files.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/files.d.ts +105 -0
- package/node_modules/@anthropic-ai/sdk/resources/files.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/files.js +52 -0
- package/node_modules/@anthropic-ai/sdk/resources/files.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/files.mjs +48 -0
- package/node_modules/@anthropic-ai/sdk/resources/files.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/index.d.mts +4 -2
- package/node_modules/@anthropic-ai/sdk/resources/index.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/index.d.ts +4 -2
- package/node_modules/@anthropic-ai/sdk/resources/index.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/index.js +5 -1
- package/node_modules/@anthropic-ai/sdk/resources/index.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/index.mjs +2 -0
- package/node_modules/@anthropic-ai/sdk/resources/index.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts +20 -11
- package/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts +20 -11
- package/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/batches.js +17 -9
- package/node_modules/@anthropic-ai/sdk/resources/messages/batches.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs +17 -9
- package/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/index.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts +1782 -162
- package/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts +1782 -162
- package/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/messages.js +23 -28
- package/node_modules/@anthropic-ai/sdk/resources/messages/messages.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs +23 -28
- package/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/models.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/models.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/models.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources/skills/index.d.mts +3 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/index.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/index.d.ts +3 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/index.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/index.js +9 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/index.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/index.mjs +4 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/index.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/skills.d.mts +129 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/skills.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/skills.d.ts +129 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/skills.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/skills.js +44 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/skills.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/skills.mjs +39 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/skills.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/versions.d.mts +104 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/versions.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/versions.d.ts +104 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/versions.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/versions.js +41 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/versions.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/versions.mjs +37 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills/versions.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills.d.mts +2 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills.d.ts +2 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills.js +6 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills.mjs +3 -0
- package/node_modules/@anthropic-ai/sdk/resources/skills.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/resources.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/resources.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/parser.ts +18 -2
- package/node_modules/@anthropic-ai/sdk/src/client.ts +749 -42
- package/node_modules/@anthropic-ai/sdk/src/core/api-promise.ts +14 -4
- package/node_modules/@anthropic-ai/sdk/src/core/api.ts +11 -0
- package/node_modules/@anthropic-ai/sdk/src/core/credentials.ts +379 -0
- package/node_modules/@anthropic-ai/sdk/src/core/error.ts +17 -0
- package/node_modules/@anthropic-ai/sdk/src/core/middleware.ts +339 -0
- package/node_modules/@anthropic-ai/sdk/src/core/pagination.ts +60 -0
- package/node_modules/@anthropic-ai/sdk/src/core/streaming.ts +38 -1
- package/node_modules/@anthropic-ai/sdk/src/helpers/beta/environments.ts +34 -0
- package/node_modules/@anthropic-ai/sdk/src/helpers/beta/json-schema.ts +7 -0
- package/node_modules/@anthropic-ai/sdk/src/helpers/beta/mcp.ts +1 -1
- package/node_modules/@anthropic-ai/sdk/src/helpers/beta/zod.ts +14 -10
- package/node_modules/@anthropic-ai/sdk/src/helpers/zod.ts +3 -6
- package/node_modules/@anthropic-ai/sdk/src/index.ts +16 -1
- package/node_modules/@anthropic-ai/sdk/src/internal/constants.ts +0 -5
- package/node_modules/@anthropic-ai/sdk/src/internal/file-store.ts +550 -0
- package/node_modules/@anthropic-ai/sdk/src/internal/headers.ts +47 -4
- package/node_modules/@anthropic-ai/sdk/src/internal/message-stream-utils.ts +30 -0
- package/node_modules/@anthropic-ai/sdk/src/internal/parse.ts +16 -11
- package/node_modules/@anthropic-ai/sdk/src/internal/qs/LICENSE.md +13 -0
- package/node_modules/@anthropic-ai/sdk/src/internal/qs/README.md +3 -0
- package/node_modules/@anthropic-ai/sdk/src/internal/qs/formats.ts +10 -0
- package/node_modules/@anthropic-ai/sdk/src/internal/qs/index.ts +13 -0
- package/node_modules/@anthropic-ai/sdk/src/internal/qs/stringify.ts +385 -0
- package/node_modules/@anthropic-ai/sdk/src/internal/qs/types.ts +71 -0
- package/node_modules/@anthropic-ai/sdk/src/internal/qs/utils.ts +265 -0
- package/node_modules/@anthropic-ai/sdk/src/internal/request-options.ts +55 -2
- package/node_modules/@anthropic-ai/sdk/src/internal/request-signal.ts +68 -0
- package/node_modules/@anthropic-ai/sdk/src/internal/stainless-helper-header.ts +122 -0
- package/node_modules/@anthropic-ai/sdk/src/internal/utils/abort.ts +21 -0
- package/node_modules/@anthropic-ai/sdk/src/internal/utils/async-queue.ts +66 -0
- package/node_modules/@anthropic-ai/sdk/src/internal/utils/backoff.ts +41 -0
- package/node_modules/@anthropic-ai/sdk/src/internal/utils/log.ts +41 -10
- package/node_modules/@anthropic-ai/sdk/src/internal/utils/promise.ts +18 -0
- package/node_modules/@anthropic-ai/sdk/src/internal/utils/query.ts +2 -18
- package/node_modules/@anthropic-ai/sdk/src/internal/utils/sleep.ts +25 -2
- package/node_modules/@anthropic-ai/sdk/src/internal/utils/time.ts +4 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/BetaMessageStream.ts +72 -33
- package/node_modules/@anthropic-ai/sdk/src/lib/MessageStream.ts +36 -24
- package/node_modules/@anthropic-ai/sdk/src/lib/credentials/credential-chain.ts +292 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/credentials/identity-token.ts +37 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/credentials/oidc-federation.ts +140 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/credentials/token-cache.ts +130 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/credentials/types.ts +295 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/credentials/user-oauth.ts +144 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/credentials.ts +3 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/environments/index.ts +23 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/environments/poller.ts +299 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/environments/worker.ts +779 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/helper-client.ts +86 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/middleware.ts +994 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/sessions/accumulate.ts +130 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/tools/BetaRunnableTool.ts +71 -7
- package/node_modules/@anthropic-ai/sdk/src/lib/tools/BetaToolRunner.ts +135 -35
- package/node_modules/@anthropic-ai/sdk/src/lib/tools/SessionToolRunner.ts +885 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/agents.ts +806 -69
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/index.ts +34 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/beta.ts +690 -28
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/deployment-runs.ts +441 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/deployments.ts +996 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/dreams.ts +453 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/environments.ts +626 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/index.ts +42 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/work.ts +705 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments.ts +1 -540
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/files.ts +28 -28
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/index.ts +312 -5
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/index.ts +1 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memories.ts +141 -31
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memory-stores.ts +66 -20
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memory-versions.ts +112 -9
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/batches.ts +90 -33
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/index.ts +90 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/messages.ts +2755 -211
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/models.ts +7 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/events.ts +888 -18
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/index.ts +60 -1
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/sessions.ts +669 -14
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/events.ts +123 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/index.ts +15 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/threads.ts +330 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads.ts +3 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/index.ts +1 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/skills.ts +15 -14
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/versions.ts +49 -3
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels/certificates.ts +252 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels/index.ts +23 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels/tunnels.ts +347 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels.ts +3 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/user-profiles.ts +76 -5
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/credentials.ts +347 -3
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/index.ts +17 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/vaults.ts +34 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/webhooks.ts +762 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +18 -11
- package/node_modules/@anthropic-ai/sdk/src/resources/files.ts +163 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/index.ts +89 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/messages/batches.ts +30 -12
- package/node_modules/@anthropic-ai/sdk/src/resources/messages/index.ts +70 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/messages/messages.ts +2202 -226
- package/node_modules/@anthropic-ai/sdk/src/resources/skills/index.ts +21 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/skills/skills.ts +194 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/skills/versions.ts +160 -0
- package/node_modules/@anthropic-ai/sdk/src/resources/skills.ts +3 -0
- package/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/fs-util.ts +190 -0
- package/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/memories.ts +1017 -0
- package/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/node.browser.ts +172 -0
- package/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/node.ts +914 -0
- package/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/skills.ts +372 -0
- package/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/sync-interval.ts +30 -0
- package/node_modules/@anthropic-ai/sdk/src/tools/memory/node.browser.ts +64 -0
- package/node_modules/@anthropic-ai/sdk/src/version.ts +1 -1
- package/node_modules/@anthropic-ai/sdk/streaming.d.mts +1 -0
- package/node_modules/@anthropic-ai/sdk/streaming.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/streaming.d.ts +1 -0
- package/node_modules/@anthropic-ai/sdk/streaming.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/streaming.mjs +1 -0
- package/node_modules/@anthropic-ai/sdk/streaming.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.d.mts +75 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.d.ts +75 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.js +196 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.mjs +185 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/memories.d.mts +173 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/memories.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/memories.d.ts +173 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/memories.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/memories.js +902 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/memories.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/memories.mjs +895 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/memories.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.d.mts +82 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.d.ts +82 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.js +151 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.mjs +131 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.d.mts +190 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.d.ts +190 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.js +819 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.mjs +797 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.d.mts +82 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.d.ts +82 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.js +352 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.mjs +344 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/sync-interval.d.mts +19 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/sync-interval.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/sync-interval.d.ts +19 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/sync-interval.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/sync-interval.js +29 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/sync-interval.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/sync-interval.mjs +25 -0
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/sync-interval.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/memory/node.browser.d.mts +27 -0
- package/node_modules/@anthropic-ai/sdk/tools/memory/node.browser.d.mts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/memory/node.browser.d.ts +27 -0
- package/node_modules/@anthropic-ai/sdk/tools/memory/node.browser.d.ts.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/memory/node.browser.js +49 -0
- package/node_modules/@anthropic-ai/sdk/tools/memory/node.browser.js.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/memory/node.browser.mjs +44 -0
- package/node_modules/@anthropic-ai/sdk/tools/memory/node.browser.mjs.map +1 -0
- package/node_modules/@anthropic-ai/sdk/tools/memory/node.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/tools/memory/node.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/tools/memory/node.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/uploads.d.mts +1 -0
- package/node_modules/@anthropic-ai/sdk/uploads.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/uploads.d.ts +1 -0
- package/node_modules/@anthropic-ai/sdk/uploads.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/uploads.mjs +1 -0
- package/node_modules/@anthropic-ai/sdk/uploads.mjs.map +1 -1
- package/node_modules/@anthropic-ai/sdk/version.d.mts +1 -1
- package/node_modules/@anthropic-ai/sdk/version.d.mts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/version.d.ts +1 -1
- package/node_modules/@anthropic-ai/sdk/version.d.ts.map +1 -1
- package/node_modules/@anthropic-ai/sdk/version.js +1 -1
- package/node_modules/@anthropic-ai/sdk/version.js.map +1 -1
- package/node_modules/@anthropic-ai/sdk/version.mjs +1 -1
- package/node_modules/@anthropic-ai/sdk/version.mjs.map +1 -1
- package/node_modules/@code-yeongyu/senpi-codemode/CHANGELOG.md +12 -0
- package/node_modules/@code-yeongyu/senpi-codemode/package.json +4 -4
- package/node_modules/@earendil-works/pi-agent-core/package.json +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/huggingface.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
- package/node_modules/@earendil-works/pi-ai/package.json +3 -3
- package/node_modules/@earendil-works/pi-pty/package.json +1 -1
- package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
- package/node_modules/@earendil-works/pi-tui/package.json +1 -1
- package/node_modules/@stablelib/base64/LICENSE +21 -0
- package/node_modules/@stablelib/base64/base64.bench.ts +25 -0
- package/node_modules/@stablelib/base64/base64.test.ts +85 -0
- package/node_modules/@stablelib/base64/base64.ts +283 -0
- package/node_modules/@stablelib/base64/lib/base64.bench.d.ts +1 -0
- package/node_modules/@stablelib/base64/lib/base64.bench.js +23 -0
- package/node_modules/@stablelib/base64/lib/base64.bench.js.map +1 -0
- package/node_modules/@stablelib/base64/lib/base64.d.ts +34 -0
- package/node_modules/@stablelib/base64/lib/base64.js +282 -0
- package/node_modules/@stablelib/base64/lib/base64.js.map +1 -0
- package/node_modules/@stablelib/base64/lib/base64.test.d.ts +1 -0
- package/node_modules/@stablelib/base64/lib/base64.test.js +82 -0
- package/node_modules/@stablelib/base64/lib/base64.test.js.map +1 -0
- package/node_modules/@stablelib/base64/package.json +25 -0
- package/node_modules/@stablelib/base64/tsconfig.json +27 -0
- package/node_modules/fast-sha256/LICENSE +24 -0
- package/node_modules/fast-sha256/README.md +127 -0
- package/node_modules/fast-sha256/package.json +42 -0
- package/node_modules/fast-sha256/sha256.d.ts +39 -0
- package/node_modules/fast-sha256/sha256.js +427 -0
- package/node_modules/fast-sha256/sha256.min.js +1 -0
- package/node_modules/standardwebhooks/README.md +41 -0
- package/node_modules/standardwebhooks/dist/index.d.ts +24 -0
- package/node_modules/standardwebhooks/dist/index.js +106 -0
- package/node_modules/standardwebhooks/dist/index.js.map +1 -0
- package/node_modules/standardwebhooks/dist/timing_safe_equal.d.ts +1 -0
- package/node_modules/standardwebhooks/dist/timing_safe_equal.js +30 -0
- package/node_modules/standardwebhooks/dist/timing_safe_equal.js.map +1 -0
- package/node_modules/standardwebhooks/package.json +45 -0
- package/package.json +17 -8
- package/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.mts +0 -34
- package/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.mts.map +0 -1
- package/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.ts +0 -34
- package/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.d.ts.map +0 -1
- package/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.js.map +0 -1
- package/node_modules/@anthropic-ai/sdk/lib/stainless-helper-header.mjs.map +0 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.mts +0 -132
- package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.mts.map +0 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.ts +0 -132
- package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.d.ts.map +0 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.js +0 -294
- package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.js.map +0 -1
- package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.mjs +0 -290
- package/node_modules/@anthropic-ai/sdk/lib/tools/ToolRunner.mjs.map +0 -1
- package/node_modules/@anthropic-ai/sdk/src/lib/stainless-helper-header.ts +0 -80
- package/node_modules/@anthropic-ai/sdk/src/lib/tools/ToolRunner.ts +0 -381
|
@@ -17,20 +17,20 @@ export declare class Messages extends APIResource {
|
|
|
17
17
|
* conversations.
|
|
18
18
|
*
|
|
19
19
|
* Learn more about the Messages API in our
|
|
20
|
-
* [user guide](https://
|
|
20
|
+
* [user guide](https://platform.claude.com/docs/en/get-started)
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* ```ts
|
|
24
24
|
* const message = await client.messages.create({
|
|
25
25
|
* max_tokens: 1024,
|
|
26
26
|
* messages: [{ content: 'Hello, world', role: 'user' }],
|
|
27
|
-
* model: 'claude-opus-
|
|
27
|
+
* model: 'claude-opus-5',
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
31
|
-
create(
|
|
32
|
-
create(
|
|
33
|
-
create(
|
|
31
|
+
create(params: MessageCreateParamsNonStreaming, options?: RequestOptions): APIPromise<Message>;
|
|
32
|
+
create(params: MessageCreateParamsStreaming, options?: RequestOptions): APIPromise<Stream<RawMessageStreamEvent>>;
|
|
33
|
+
create(params: MessageCreateParamsBase, options?: RequestOptions): APIPromise<Stream<RawMessageStreamEvent> | Message>;
|
|
34
34
|
/**
|
|
35
35
|
* Send a structured list of input messages with text and/or image content, along with an expected `output_config.format` and
|
|
36
36
|
* the response will be automatically parsed and available in the `parsed_output` property of the message.
|
|
@@ -79,18 +79,18 @@ export declare class Messages extends APIResource {
|
|
|
79
79
|
* including tools, images, and documents, without creating it.
|
|
80
80
|
*
|
|
81
81
|
* Learn more about token counting in our
|
|
82
|
-
* [user guide](https://
|
|
82
|
+
* [user guide](https://platform.claude.com/docs/en/build-with-claude/token-counting)
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* ```ts
|
|
86
86
|
* const messageTokensCount =
|
|
87
87
|
* await client.messages.countTokens({
|
|
88
88
|
* messages: [{ content: 'Hello, world', role: 'user' }],
|
|
89
|
-
* model: 'claude-opus-
|
|
89
|
+
* model: 'claude-opus-5',
|
|
90
90
|
* });
|
|
91
91
|
* ```
|
|
92
92
|
*/
|
|
93
|
-
countTokens(
|
|
93
|
+
countTokens(params: MessageCountTokensParams, options?: RequestOptions): APIPromise<MessageTokensCount>;
|
|
94
94
|
}
|
|
95
95
|
export interface Base64ImageSource {
|
|
96
96
|
data: string;
|
|
@@ -147,6 +147,794 @@ export interface BashCodeExecutionToolResultErrorParam {
|
|
|
147
147
|
error_code: BashCodeExecutionToolResultErrorCode;
|
|
148
148
|
type: 'bash_code_execution_tool_result_error';
|
|
149
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* `close_tab`'s config overrides.
|
|
152
|
+
*/
|
|
153
|
+
export interface BrowserCloseTabConfig {
|
|
154
|
+
/**
|
|
155
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
156
|
+
* member of the toolset.
|
|
157
|
+
*/
|
|
158
|
+
defer_loading?: boolean | null;
|
|
159
|
+
/**
|
|
160
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
161
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
162
|
+
* the served schema.
|
|
163
|
+
*/
|
|
164
|
+
enabled?: boolean | null;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* `double_click`'s config overrides.
|
|
168
|
+
*/
|
|
169
|
+
export interface BrowserDoubleClickConfig {
|
|
170
|
+
/**
|
|
171
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
172
|
+
* member of the toolset.
|
|
173
|
+
*/
|
|
174
|
+
defer_loading?: boolean | null;
|
|
175
|
+
/**
|
|
176
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
177
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
178
|
+
* the served schema.
|
|
179
|
+
*/
|
|
180
|
+
enabled?: boolean | null;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* `file_upload`'s config overrides.
|
|
184
|
+
*/
|
|
185
|
+
export interface BrowserFileUploadConfig {
|
|
186
|
+
/**
|
|
187
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
188
|
+
* member of the toolset.
|
|
189
|
+
*/
|
|
190
|
+
defer_loading?: boolean | null;
|
|
191
|
+
/**
|
|
192
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
193
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
194
|
+
* the served schema.
|
|
195
|
+
*/
|
|
196
|
+
enabled?: boolean | null;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* `find`'s config overrides.
|
|
200
|
+
*/
|
|
201
|
+
export interface BrowserFindConfig {
|
|
202
|
+
/**
|
|
203
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
204
|
+
* member of the toolset.
|
|
205
|
+
*/
|
|
206
|
+
defer_loading?: boolean | null;
|
|
207
|
+
/**
|
|
208
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
209
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
210
|
+
* the served schema.
|
|
211
|
+
*/
|
|
212
|
+
enabled?: boolean | null;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* `form_input`'s config overrides.
|
|
216
|
+
*/
|
|
217
|
+
export interface BrowserFormInputConfig {
|
|
218
|
+
/**
|
|
219
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
220
|
+
* member of the toolset.
|
|
221
|
+
*/
|
|
222
|
+
defer_loading?: boolean | null;
|
|
223
|
+
/**
|
|
224
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
225
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
226
|
+
* the served schema.
|
|
227
|
+
*/
|
|
228
|
+
enabled?: boolean | null;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* `get_page_text`'s config overrides.
|
|
232
|
+
*/
|
|
233
|
+
export interface BrowserGetPageTextConfig {
|
|
234
|
+
/**
|
|
235
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
236
|
+
* member of the toolset.
|
|
237
|
+
*/
|
|
238
|
+
defer_loading?: boolean | null;
|
|
239
|
+
/**
|
|
240
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
241
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
242
|
+
* the served schema.
|
|
243
|
+
*/
|
|
244
|
+
enabled?: boolean | null;
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* `hold_key`'s config overrides.
|
|
248
|
+
*/
|
|
249
|
+
export interface BrowserHoldKeyConfig {
|
|
250
|
+
/**
|
|
251
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
252
|
+
* member of the toolset.
|
|
253
|
+
*/
|
|
254
|
+
defer_loading?: boolean | null;
|
|
255
|
+
/**
|
|
256
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
257
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
258
|
+
* the served schema.
|
|
259
|
+
*/
|
|
260
|
+
enabled?: boolean | null;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* `hover`'s config overrides.
|
|
264
|
+
*/
|
|
265
|
+
export interface BrowserHoverConfig {
|
|
266
|
+
/**
|
|
267
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
268
|
+
* member of the toolset.
|
|
269
|
+
*/
|
|
270
|
+
defer_loading?: boolean | null;
|
|
271
|
+
/**
|
|
272
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
273
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
274
|
+
* the served schema.
|
|
275
|
+
*/
|
|
276
|
+
enabled?: boolean | null;
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* `javascript_exec`'s config overrides.
|
|
280
|
+
*/
|
|
281
|
+
export interface BrowserJavascriptExecConfig {
|
|
282
|
+
/**
|
|
283
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
284
|
+
* member of the toolset.
|
|
285
|
+
*/
|
|
286
|
+
defer_loading?: boolean | null;
|
|
287
|
+
/**
|
|
288
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
289
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
290
|
+
* the served schema.
|
|
291
|
+
*/
|
|
292
|
+
enabled?: boolean | null;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* `key`'s config overrides.
|
|
296
|
+
*/
|
|
297
|
+
export interface BrowserKeyConfig {
|
|
298
|
+
/**
|
|
299
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
300
|
+
* member of the toolset.
|
|
301
|
+
*/
|
|
302
|
+
defer_loading?: boolean | null;
|
|
303
|
+
/**
|
|
304
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
305
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
306
|
+
* the served schema.
|
|
307
|
+
*/
|
|
308
|
+
enabled?: boolean | null;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* `left_click`'s config overrides.
|
|
312
|
+
*/
|
|
313
|
+
export interface BrowserLeftClickConfig {
|
|
314
|
+
/**
|
|
315
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
316
|
+
* member of the toolset.
|
|
317
|
+
*/
|
|
318
|
+
defer_loading?: boolean | null;
|
|
319
|
+
/**
|
|
320
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
321
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
322
|
+
* the served schema.
|
|
323
|
+
*/
|
|
324
|
+
enabled?: boolean | null;
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* `left_click_drag`'s config overrides.
|
|
328
|
+
*/
|
|
329
|
+
export interface BrowserLeftClickDragConfig {
|
|
330
|
+
/**
|
|
331
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
332
|
+
* member of the toolset.
|
|
333
|
+
*/
|
|
334
|
+
defer_loading?: boolean | null;
|
|
335
|
+
/**
|
|
336
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
337
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
338
|
+
* the served schema.
|
|
339
|
+
*/
|
|
340
|
+
enabled?: boolean | null;
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* `left_mouse_down`'s config overrides.
|
|
344
|
+
*/
|
|
345
|
+
export interface BrowserLeftMouseDownConfig {
|
|
346
|
+
/**
|
|
347
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
348
|
+
* member of the toolset.
|
|
349
|
+
*/
|
|
350
|
+
defer_loading?: boolean | null;
|
|
351
|
+
/**
|
|
352
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
353
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
354
|
+
* the served schema.
|
|
355
|
+
*/
|
|
356
|
+
enabled?: boolean | null;
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* `left_mouse_up`'s config overrides.
|
|
360
|
+
*/
|
|
361
|
+
export interface BrowserLeftMouseUpConfig {
|
|
362
|
+
/**
|
|
363
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
364
|
+
* member of the toolset.
|
|
365
|
+
*/
|
|
366
|
+
defer_loading?: boolean | null;
|
|
367
|
+
/**
|
|
368
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
369
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
370
|
+
* the served schema.
|
|
371
|
+
*/
|
|
372
|
+
enabled?: boolean | null;
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* `list_tabs`'s config overrides.
|
|
376
|
+
*/
|
|
377
|
+
export interface BrowserListTabsConfig {
|
|
378
|
+
/**
|
|
379
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
380
|
+
* member of the toolset.
|
|
381
|
+
*/
|
|
382
|
+
defer_loading?: boolean | null;
|
|
383
|
+
/**
|
|
384
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
385
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
386
|
+
* the served schema.
|
|
387
|
+
*/
|
|
388
|
+
enabled?: boolean | null;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* `middle_click`'s config overrides.
|
|
392
|
+
*/
|
|
393
|
+
export interface BrowserMiddleClickConfig {
|
|
394
|
+
/**
|
|
395
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
396
|
+
* member of the toolset.
|
|
397
|
+
*/
|
|
398
|
+
defer_loading?: boolean | null;
|
|
399
|
+
/**
|
|
400
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
401
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
402
|
+
* the served schema.
|
|
403
|
+
*/
|
|
404
|
+
enabled?: boolean | null;
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* `mouse_move`'s config overrides.
|
|
408
|
+
*/
|
|
409
|
+
export interface BrowserMouseMoveConfig {
|
|
410
|
+
/**
|
|
411
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
412
|
+
* member of the toolset.
|
|
413
|
+
*/
|
|
414
|
+
defer_loading?: boolean | null;
|
|
415
|
+
/**
|
|
416
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
417
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
418
|
+
* the served schema.
|
|
419
|
+
*/
|
|
420
|
+
enabled?: boolean | null;
|
|
421
|
+
}
|
|
422
|
+
/**
|
|
423
|
+
* `navigate`'s config overrides.
|
|
424
|
+
*/
|
|
425
|
+
export interface BrowserNavigateConfig {
|
|
426
|
+
/**
|
|
427
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
428
|
+
* member of the toolset.
|
|
429
|
+
*/
|
|
430
|
+
defer_loading?: boolean | null;
|
|
431
|
+
/**
|
|
432
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
433
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
434
|
+
* the served schema.
|
|
435
|
+
*/
|
|
436
|
+
enabled?: boolean | null;
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* `new_tab`'s config overrides.
|
|
440
|
+
*/
|
|
441
|
+
export interface BrowserNewTabConfig {
|
|
442
|
+
/**
|
|
443
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
444
|
+
* member of the toolset.
|
|
445
|
+
*/
|
|
446
|
+
defer_loading?: boolean | null;
|
|
447
|
+
/**
|
|
448
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
449
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
450
|
+
* the served schema.
|
|
451
|
+
*/
|
|
452
|
+
enabled?: boolean | null;
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* `read_console`'s config overrides.
|
|
456
|
+
*/
|
|
457
|
+
export interface BrowserReadConsoleConfig {
|
|
458
|
+
/**
|
|
459
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
460
|
+
* member of the toolset.
|
|
461
|
+
*/
|
|
462
|
+
defer_loading?: boolean | null;
|
|
463
|
+
/**
|
|
464
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
465
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
466
|
+
* the served schema.
|
|
467
|
+
*/
|
|
468
|
+
enabled?: boolean | null;
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* `read_network`'s config overrides.
|
|
472
|
+
*/
|
|
473
|
+
export interface BrowserReadNetworkConfig {
|
|
474
|
+
/**
|
|
475
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
476
|
+
* member of the toolset.
|
|
477
|
+
*/
|
|
478
|
+
defer_loading?: boolean | null;
|
|
479
|
+
/**
|
|
480
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
481
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
482
|
+
* the served schema.
|
|
483
|
+
*/
|
|
484
|
+
enabled?: boolean | null;
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* `read_page`'s config overrides.
|
|
488
|
+
*/
|
|
489
|
+
export interface BrowserReadPageConfig {
|
|
490
|
+
/**
|
|
491
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
492
|
+
* member of the toolset.
|
|
493
|
+
*/
|
|
494
|
+
defer_loading?: boolean | null;
|
|
495
|
+
/**
|
|
496
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
497
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
498
|
+
* the served schema.
|
|
499
|
+
*/
|
|
500
|
+
enabled?: boolean | null;
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
* `right_click`'s config overrides.
|
|
504
|
+
*/
|
|
505
|
+
export interface BrowserRightClickConfig {
|
|
506
|
+
/**
|
|
507
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
508
|
+
* member of the toolset.
|
|
509
|
+
*/
|
|
510
|
+
defer_loading?: boolean | null;
|
|
511
|
+
/**
|
|
512
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
513
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
514
|
+
* the served schema.
|
|
515
|
+
*/
|
|
516
|
+
enabled?: boolean | null;
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* `screenshot`'s config overrides.
|
|
520
|
+
*/
|
|
521
|
+
export interface BrowserScreenshotConfig {
|
|
522
|
+
/**
|
|
523
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
524
|
+
* member of the toolset.
|
|
525
|
+
*/
|
|
526
|
+
defer_loading?: boolean | null;
|
|
527
|
+
/**
|
|
528
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
529
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
530
|
+
* the served schema.
|
|
531
|
+
*/
|
|
532
|
+
enabled?: boolean | null;
|
|
533
|
+
}
|
|
534
|
+
/**
|
|
535
|
+
* `scroll`'s config overrides.
|
|
536
|
+
*/
|
|
537
|
+
export interface BrowserScrollConfig {
|
|
538
|
+
/**
|
|
539
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
540
|
+
* member of the toolset.
|
|
541
|
+
*/
|
|
542
|
+
defer_loading?: boolean | null;
|
|
543
|
+
/**
|
|
544
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
545
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
546
|
+
* the served schema.
|
|
547
|
+
*/
|
|
548
|
+
enabled?: boolean | null;
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* `scroll_to`'s config overrides.
|
|
552
|
+
*/
|
|
553
|
+
export interface BrowserScrollToConfig {
|
|
554
|
+
/**
|
|
555
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
556
|
+
* member of the toolset.
|
|
557
|
+
*/
|
|
558
|
+
defer_loading?: boolean | null;
|
|
559
|
+
/**
|
|
560
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
561
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
562
|
+
* the served schema.
|
|
563
|
+
*/
|
|
564
|
+
enabled?: boolean | null;
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* The caller's browser state after a browser toolset member call — the full
|
|
568
|
+
* inventory of open tabs, which tab is active, and any side effects (tabs opened,
|
|
569
|
+
* download state changes) the call produced.
|
|
570
|
+
*
|
|
571
|
+
* At most one per `tool_result`, only on a non-error result answering a browser
|
|
572
|
+
* toolset member `tool_use`. The server renders the model-visible text from it;
|
|
573
|
+
* the model never sees the raw fields.
|
|
574
|
+
*/
|
|
575
|
+
export interface BrowserStateBlockParam {
|
|
576
|
+
/**
|
|
577
|
+
* All tabs open in the browser after this call — the full inventory, not a delta.
|
|
578
|
+
* May be empty. Whenever non-empty, exactly one entry carries `active: true`.
|
|
579
|
+
*/
|
|
580
|
+
tabs: Array<BrowserStateTabEntry>;
|
|
581
|
+
type: 'browser_state';
|
|
582
|
+
/**
|
|
583
|
+
* Create a cache control breakpoint at this content block.
|
|
584
|
+
*/
|
|
585
|
+
cache_control?: CacheControlEphemeral | null;
|
|
586
|
+
/**
|
|
587
|
+
* Tabs opened and download state changes during this call. "Nothing to report" is
|
|
588
|
+
* expressed by omitting the field, never by an empty list.
|
|
589
|
+
*/
|
|
590
|
+
state_changes?: Array<BrowserStateChange> | null;
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
* A tab this call's execution opened that remains open at its end — the creation
|
|
594
|
+
* delta of the `tabs` inventory, not an event log.
|
|
595
|
+
*
|
|
596
|
+
* Carries only the `tab_id`; the tab's `title` and `url` live on its `tabs` entry,
|
|
597
|
+
* which must include the same `tab_id`. A tab opened during a failed call gets no
|
|
598
|
+
* deferred `tab_opened`; it simply appears in the next result's `tabs` inventory.
|
|
599
|
+
*/
|
|
600
|
+
export type BrowserStateChange = BrowserStateChangeTabOpened | BrowserStateChangeDownloadStarted | BrowserStateChangeDownloadCompleted | BrowserStateChangeDownloadFailed;
|
|
601
|
+
/**
|
|
602
|
+
* A file download that finished during this call, reported with the same
|
|
603
|
+
* `download_id` as its `download_started` — or without a prior `download_started`,
|
|
604
|
+
* when the download finished during the call that started it (at most one state
|
|
605
|
+
* change per `download_id` per result).
|
|
606
|
+
*/
|
|
607
|
+
export interface BrowserStateChangeDownloadCompleted {
|
|
608
|
+
/**
|
|
609
|
+
* The caller-assigned identifier for this download, stable across the state
|
|
610
|
+
* changes reporting it.
|
|
611
|
+
*/
|
|
612
|
+
download_id: string;
|
|
613
|
+
type: 'download_completed';
|
|
614
|
+
/**
|
|
615
|
+
* The final post-redirect URL the download was served from.
|
|
616
|
+
*/
|
|
617
|
+
url: string;
|
|
618
|
+
/**
|
|
619
|
+
* Where the executor saved the file, on the executor's filesystem. Only included
|
|
620
|
+
* when another tool in the same environment can read the file at that path.
|
|
621
|
+
*/
|
|
622
|
+
path?: string | null;
|
|
623
|
+
/**
|
|
624
|
+
* The completed download's size.
|
|
625
|
+
*/
|
|
626
|
+
size_bytes?: number | null;
|
|
627
|
+
}
|
|
628
|
+
/**
|
|
629
|
+
* A file download that failed — or was cancelled — during this call.
|
|
630
|
+
*/
|
|
631
|
+
export interface BrowserStateChangeDownloadFailed {
|
|
632
|
+
/**
|
|
633
|
+
* The caller-assigned identifier for this download, stable across the state
|
|
634
|
+
* changes reporting it.
|
|
635
|
+
*/
|
|
636
|
+
download_id: string;
|
|
637
|
+
type: 'download_failed';
|
|
638
|
+
/**
|
|
639
|
+
* The final post-redirect URL the download was served from.
|
|
640
|
+
*/
|
|
641
|
+
url: string;
|
|
642
|
+
/**
|
|
643
|
+
* The failure or cancellation detail, when known.
|
|
644
|
+
*/
|
|
645
|
+
error?: string | null;
|
|
646
|
+
}
|
|
647
|
+
/**
|
|
648
|
+
* A file download that started during this call.
|
|
649
|
+
*/
|
|
650
|
+
export interface BrowserStateChangeDownloadStarted {
|
|
651
|
+
/**
|
|
652
|
+
* The caller-assigned identifier for this download, stable across the state
|
|
653
|
+
* changes reporting it.
|
|
654
|
+
*/
|
|
655
|
+
download_id: string;
|
|
656
|
+
type: 'download_started';
|
|
657
|
+
/**
|
|
658
|
+
* The final post-redirect URL the download was served from.
|
|
659
|
+
*/
|
|
660
|
+
url: string;
|
|
661
|
+
}
|
|
662
|
+
/**
|
|
663
|
+
* A tab this call's execution opened that remains open at its end — the creation
|
|
664
|
+
* delta of the `tabs` inventory, not an event log.
|
|
665
|
+
*
|
|
666
|
+
* Carries only the `tab_id`; the tab's `title` and `url` live on its `tabs` entry,
|
|
667
|
+
* which must include the same `tab_id`. A tab opened during a failed call gets no
|
|
668
|
+
* deferred `tab_opened`; it simply appears in the next result's `tabs` inventory.
|
|
669
|
+
*/
|
|
670
|
+
export interface BrowserStateChangeTabOpened {
|
|
671
|
+
/**
|
|
672
|
+
* The `tab_id` of the opened tab, present in `tabs`.
|
|
673
|
+
*/
|
|
674
|
+
tab_id: string;
|
|
675
|
+
type: 'tab_opened';
|
|
676
|
+
}
|
|
677
|
+
/**
|
|
678
|
+
* One open browser tab reported in a `browser_state` block's `tabs` inventory.
|
|
679
|
+
*
|
|
680
|
+
* `tab_id` is the caller-assigned identifier for the tab; `title` and `url`
|
|
681
|
+
* describe the page the tab is currently showing and may be empty strings (a blank
|
|
682
|
+
* tab legitimately has both empty). `active` marks the tab that is active after
|
|
683
|
+
* this call; whenever `tabs` is non-empty, exactly one entry is marked.
|
|
684
|
+
*/
|
|
685
|
+
export interface BrowserStateTabEntry {
|
|
686
|
+
/**
|
|
687
|
+
* The caller-assigned identifier for this tab, unique within the inventory.
|
|
688
|
+
*/
|
|
689
|
+
tab_id: string;
|
|
690
|
+
/**
|
|
691
|
+
* The title of the page the tab is showing. May be empty.
|
|
692
|
+
*/
|
|
693
|
+
title: string;
|
|
694
|
+
/**
|
|
695
|
+
* The URL of the page the tab is showing. May be empty.
|
|
696
|
+
*/
|
|
697
|
+
url: string;
|
|
698
|
+
/**
|
|
699
|
+
* Whether this tab is the active tab after this call. Whenever `tabs` is
|
|
700
|
+
* non-empty, exactly one entry is marked `active: true`.
|
|
701
|
+
*/
|
|
702
|
+
active?: boolean;
|
|
703
|
+
}
|
|
704
|
+
/**
|
|
705
|
+
* `switch_tab`'s config overrides.
|
|
706
|
+
*/
|
|
707
|
+
export interface BrowserSwitchTabConfig {
|
|
708
|
+
/**
|
|
709
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
710
|
+
* member of the toolset.
|
|
711
|
+
*/
|
|
712
|
+
defer_loading?: boolean | null;
|
|
713
|
+
/**
|
|
714
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
715
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
716
|
+
* the served schema.
|
|
717
|
+
*/
|
|
718
|
+
enabled?: boolean | null;
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* The browser toolset: a single `tools[]` entry (carrying no `name`) that declares
|
|
722
|
+
* the browser tool family. The model is served the family's tool with any members
|
|
723
|
+
* disabled via `configs` removed from its schema.
|
|
724
|
+
*/
|
|
725
|
+
export interface BrowserToolset20260801 {
|
|
726
|
+
type: 'browser_toolset_20260801';
|
|
727
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
728
|
+
/**
|
|
729
|
+
* Create a cache control breakpoint at this content block.
|
|
730
|
+
*/
|
|
731
|
+
cache_control?: CacheControlEphemeral | null;
|
|
732
|
+
/**
|
|
733
|
+
* Per-member configuration for `browser_toolset_20260801`: one optional field per
|
|
734
|
+
* member tool, keyed by the member name — the same name the member's `tool_use`
|
|
735
|
+
* blocks carry. Every member is an accepted key, and a member's defaults apply
|
|
736
|
+
* wherever its key is absent. Unknown keys are rejected: the field set is this
|
|
737
|
+
* toolset version's complete member set.
|
|
738
|
+
*/
|
|
739
|
+
configs?: BrowserToolsetConfigs | null;
|
|
740
|
+
}
|
|
741
|
+
/**
|
|
742
|
+
* Per-member configuration for `browser_toolset_20260801`: one optional field per
|
|
743
|
+
* member tool, keyed by the member name — the same name the member's `tool_use`
|
|
744
|
+
* blocks carry. Every member is an accepted key, and a member's defaults apply
|
|
745
|
+
* wherever its key is absent. Unknown keys are rejected: the field set is this
|
|
746
|
+
* toolset version's complete member set.
|
|
747
|
+
*/
|
|
748
|
+
export interface BrowserToolsetConfigs {
|
|
749
|
+
/**
|
|
750
|
+
* `close_tab`'s config overrides.
|
|
751
|
+
*/
|
|
752
|
+
close_tab?: BrowserCloseTabConfig | null;
|
|
753
|
+
/**
|
|
754
|
+
* `double_click`'s config overrides.
|
|
755
|
+
*/
|
|
756
|
+
double_click?: BrowserDoubleClickConfig | null;
|
|
757
|
+
/**
|
|
758
|
+
* `file_upload`'s config overrides.
|
|
759
|
+
*/
|
|
760
|
+
file_upload?: BrowserFileUploadConfig | null;
|
|
761
|
+
/**
|
|
762
|
+
* `find`'s config overrides.
|
|
763
|
+
*/
|
|
764
|
+
find?: BrowserFindConfig | null;
|
|
765
|
+
/**
|
|
766
|
+
* `form_input`'s config overrides.
|
|
767
|
+
*/
|
|
768
|
+
form_input?: BrowserFormInputConfig | null;
|
|
769
|
+
/**
|
|
770
|
+
* `get_page_text`'s config overrides.
|
|
771
|
+
*/
|
|
772
|
+
get_page_text?: BrowserGetPageTextConfig | null;
|
|
773
|
+
/**
|
|
774
|
+
* `hold_key`'s config overrides.
|
|
775
|
+
*/
|
|
776
|
+
hold_key?: BrowserHoldKeyConfig | null;
|
|
777
|
+
/**
|
|
778
|
+
* `hover`'s config overrides.
|
|
779
|
+
*/
|
|
780
|
+
hover?: BrowserHoverConfig | null;
|
|
781
|
+
/**
|
|
782
|
+
* `javascript_exec`'s config overrides.
|
|
783
|
+
*/
|
|
784
|
+
javascript_exec?: BrowserJavascriptExecConfig | null;
|
|
785
|
+
/**
|
|
786
|
+
* `key`'s config overrides.
|
|
787
|
+
*/
|
|
788
|
+
key?: BrowserKeyConfig | null;
|
|
789
|
+
/**
|
|
790
|
+
* `left_click`'s config overrides.
|
|
791
|
+
*/
|
|
792
|
+
left_click?: BrowserLeftClickConfig | null;
|
|
793
|
+
/**
|
|
794
|
+
* `left_click_drag`'s config overrides.
|
|
795
|
+
*/
|
|
796
|
+
left_click_drag?: BrowserLeftClickDragConfig | null;
|
|
797
|
+
/**
|
|
798
|
+
* `left_mouse_down`'s config overrides.
|
|
799
|
+
*/
|
|
800
|
+
left_mouse_down?: BrowserLeftMouseDownConfig | null;
|
|
801
|
+
/**
|
|
802
|
+
* `left_mouse_up`'s config overrides.
|
|
803
|
+
*/
|
|
804
|
+
left_mouse_up?: BrowserLeftMouseUpConfig | null;
|
|
805
|
+
/**
|
|
806
|
+
* `list_tabs`'s config overrides.
|
|
807
|
+
*/
|
|
808
|
+
list_tabs?: BrowserListTabsConfig | null;
|
|
809
|
+
/**
|
|
810
|
+
* `middle_click`'s config overrides.
|
|
811
|
+
*/
|
|
812
|
+
middle_click?: BrowserMiddleClickConfig | null;
|
|
813
|
+
/**
|
|
814
|
+
* `mouse_move`'s config overrides.
|
|
815
|
+
*/
|
|
816
|
+
mouse_move?: BrowserMouseMoveConfig | null;
|
|
817
|
+
/**
|
|
818
|
+
* `navigate`'s config overrides.
|
|
819
|
+
*/
|
|
820
|
+
navigate?: BrowserNavigateConfig | null;
|
|
821
|
+
/**
|
|
822
|
+
* `new_tab`'s config overrides.
|
|
823
|
+
*/
|
|
824
|
+
new_tab?: BrowserNewTabConfig | null;
|
|
825
|
+
/**
|
|
826
|
+
* `read_console`'s config overrides.
|
|
827
|
+
*/
|
|
828
|
+
read_console?: BrowserReadConsoleConfig | null;
|
|
829
|
+
/**
|
|
830
|
+
* `read_network`'s config overrides.
|
|
831
|
+
*/
|
|
832
|
+
read_network?: BrowserReadNetworkConfig | null;
|
|
833
|
+
/**
|
|
834
|
+
* `read_page`'s config overrides.
|
|
835
|
+
*/
|
|
836
|
+
read_page?: BrowserReadPageConfig | null;
|
|
837
|
+
/**
|
|
838
|
+
* `right_click`'s config overrides.
|
|
839
|
+
*/
|
|
840
|
+
right_click?: BrowserRightClickConfig | null;
|
|
841
|
+
/**
|
|
842
|
+
* `screenshot`'s config overrides.
|
|
843
|
+
*/
|
|
844
|
+
screenshot?: BrowserScreenshotConfig | null;
|
|
845
|
+
/**
|
|
846
|
+
* `scroll`'s config overrides.
|
|
847
|
+
*/
|
|
848
|
+
scroll?: BrowserScrollConfig | null;
|
|
849
|
+
/**
|
|
850
|
+
* `scroll_to`'s config overrides.
|
|
851
|
+
*/
|
|
852
|
+
scroll_to?: BrowserScrollToConfig | null;
|
|
853
|
+
/**
|
|
854
|
+
* `switch_tab`'s config overrides.
|
|
855
|
+
*/
|
|
856
|
+
switch_tab?: BrowserSwitchTabConfig | null;
|
|
857
|
+
/**
|
|
858
|
+
* `triple_click`'s config overrides.
|
|
859
|
+
*/
|
|
860
|
+
triple_click?: BrowserTripleClickConfig | null;
|
|
861
|
+
/**
|
|
862
|
+
* `type`'s config overrides.
|
|
863
|
+
*/
|
|
864
|
+
type?: BrowserTypeConfig | null;
|
|
865
|
+
/**
|
|
866
|
+
* `wait`'s config overrides.
|
|
867
|
+
*/
|
|
868
|
+
wait?: BrowserWaitConfig | null;
|
|
869
|
+
/**
|
|
870
|
+
* `zoom`'s config overrides.
|
|
871
|
+
*/
|
|
872
|
+
zoom?: BrowserZoomConfig | null;
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* `triple_click`'s config overrides.
|
|
876
|
+
*/
|
|
877
|
+
export interface BrowserTripleClickConfig {
|
|
878
|
+
/**
|
|
879
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
880
|
+
* member of the toolset.
|
|
881
|
+
*/
|
|
882
|
+
defer_loading?: boolean | null;
|
|
883
|
+
/**
|
|
884
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
885
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
886
|
+
* the served schema.
|
|
887
|
+
*/
|
|
888
|
+
enabled?: boolean | null;
|
|
889
|
+
}
|
|
890
|
+
/**
|
|
891
|
+
* `type`'s config overrides.
|
|
892
|
+
*/
|
|
893
|
+
export interface BrowserTypeConfig {
|
|
894
|
+
/**
|
|
895
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
896
|
+
* member of the toolset.
|
|
897
|
+
*/
|
|
898
|
+
defer_loading?: boolean | null;
|
|
899
|
+
/**
|
|
900
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
901
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
902
|
+
* the served schema.
|
|
903
|
+
*/
|
|
904
|
+
enabled?: boolean | null;
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* `wait`'s config overrides.
|
|
908
|
+
*/
|
|
909
|
+
export interface BrowserWaitConfig {
|
|
910
|
+
/**
|
|
911
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
912
|
+
* member of the toolset.
|
|
913
|
+
*/
|
|
914
|
+
defer_loading?: boolean | null;
|
|
915
|
+
/**
|
|
916
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
917
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
918
|
+
* the served schema.
|
|
919
|
+
*/
|
|
920
|
+
enabled?: boolean | null;
|
|
921
|
+
}
|
|
922
|
+
/**
|
|
923
|
+
* `zoom`'s config overrides.
|
|
924
|
+
*/
|
|
925
|
+
export interface BrowserZoomConfig {
|
|
926
|
+
/**
|
|
927
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
928
|
+
* member of the toolset.
|
|
929
|
+
*/
|
|
930
|
+
defer_loading?: boolean | null;
|
|
931
|
+
/**
|
|
932
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
933
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
934
|
+
* the served schema.
|
|
935
|
+
*/
|
|
936
|
+
enabled?: boolean | null;
|
|
937
|
+
}
|
|
150
938
|
export interface CacheControlEphemeral {
|
|
151
939
|
type: 'ephemeral';
|
|
152
940
|
/**
|
|
@@ -157,7 +945,9 @@ export interface CacheControlEphemeral {
|
|
|
157
945
|
* - `5m`: 5 minutes
|
|
158
946
|
* - `1h`: 1 hour
|
|
159
947
|
*
|
|
160
|
-
* Defaults to `5m`.
|
|
948
|
+
* Defaults to `5m`. See
|
|
949
|
+
* [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching)
|
|
950
|
+
* for details.
|
|
161
951
|
*/
|
|
162
952
|
ttl?: '5m' | '1h';
|
|
163
953
|
}
|
|
@@ -189,19 +979,55 @@ export interface CitationCharLocationParam {
|
|
|
189
979
|
type: 'char_location';
|
|
190
980
|
}
|
|
191
981
|
export interface CitationContentBlockLocation {
|
|
982
|
+
/**
|
|
983
|
+
* The full text of the cited block range, concatenated.
|
|
984
|
+
*
|
|
985
|
+
* Always equals the contents of `content[start_block_index:end_block_index]`
|
|
986
|
+
* joined together. The text block is the minimal citable unit; this field is never
|
|
987
|
+
* a substring of a single block. Not counted toward output tokens, and not counted
|
|
988
|
+
* toward input tokens when sent back in subsequent turns.
|
|
989
|
+
*/
|
|
192
990
|
cited_text: string;
|
|
193
991
|
document_index: number;
|
|
194
992
|
document_title: string | null;
|
|
993
|
+
/**
|
|
994
|
+
* Exclusive 0-based end index of the cited block range in the source's `content`
|
|
995
|
+
* array.
|
|
996
|
+
*
|
|
997
|
+
* Always greater than `start_block_index`; a single-block citation has
|
|
998
|
+
* `end_block_index = start_block_index + 1`.
|
|
999
|
+
*/
|
|
195
1000
|
end_block_index: number;
|
|
196
1001
|
file_id: string | null;
|
|
1002
|
+
/**
|
|
1003
|
+
* 0-based index of the first cited block in the source's `content` array.
|
|
1004
|
+
*/
|
|
197
1005
|
start_block_index: number;
|
|
198
1006
|
type: 'content_block_location';
|
|
199
1007
|
}
|
|
200
1008
|
export interface CitationContentBlockLocationParam {
|
|
1009
|
+
/**
|
|
1010
|
+
* The full text of the cited block range, concatenated.
|
|
1011
|
+
*
|
|
1012
|
+
* Always equals the contents of `content[start_block_index:end_block_index]`
|
|
1013
|
+
* joined together. The text block is the minimal citable unit; this field is never
|
|
1014
|
+
* a substring of a single block. Not counted toward output tokens, and not counted
|
|
1015
|
+
* toward input tokens when sent back in subsequent turns.
|
|
1016
|
+
*/
|
|
201
1017
|
cited_text: string;
|
|
202
1018
|
document_index: number;
|
|
203
1019
|
document_title: string | null;
|
|
1020
|
+
/**
|
|
1021
|
+
* Exclusive 0-based end index of the cited block range in the source's `content`
|
|
1022
|
+
* array.
|
|
1023
|
+
*
|
|
1024
|
+
* Always greater than `start_block_index`; a single-block citation has
|
|
1025
|
+
* `end_block_index = start_block_index + 1`.
|
|
1026
|
+
*/
|
|
204
1027
|
end_block_index: number;
|
|
1028
|
+
/**
|
|
1029
|
+
* 0-based index of the first cited block in the source's `content` array.
|
|
1030
|
+
*/
|
|
205
1031
|
start_block_index: number;
|
|
206
1032
|
type: 'content_block_location';
|
|
207
1033
|
}
|
|
@@ -223,10 +1049,36 @@ export interface CitationPageLocationParam {
|
|
|
223
1049
|
type: 'page_location';
|
|
224
1050
|
}
|
|
225
1051
|
export interface CitationSearchResultLocationParam {
|
|
1052
|
+
/**
|
|
1053
|
+
* The full text of the cited block range, concatenated.
|
|
1054
|
+
*
|
|
1055
|
+
* Always equals the contents of `content[start_block_index:end_block_index]`
|
|
1056
|
+
* joined together. The text block is the minimal citable unit; this field is never
|
|
1057
|
+
* a substring of a single block. Not counted toward output tokens, and not counted
|
|
1058
|
+
* toward input tokens when sent back in subsequent turns.
|
|
1059
|
+
*/
|
|
226
1060
|
cited_text: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Exclusive 0-based end index of the cited block range in the source's `content`
|
|
1063
|
+
* array.
|
|
1064
|
+
*
|
|
1065
|
+
* Always greater than `start_block_index`; a single-block citation has
|
|
1066
|
+
* `end_block_index = start_block_index + 1`.
|
|
1067
|
+
*/
|
|
227
1068
|
end_block_index: number;
|
|
1069
|
+
/**
|
|
1070
|
+
* 0-based index of the cited search result among all `search_result` content
|
|
1071
|
+
* blocks in the request, in the order they appear across messages and tool
|
|
1072
|
+
* results.
|
|
1073
|
+
*
|
|
1074
|
+
* Counted separately from `document_index`; server-side web search results are not
|
|
1075
|
+
* included in this count.
|
|
1076
|
+
*/
|
|
228
1077
|
search_result_index: number;
|
|
229
1078
|
source: string;
|
|
1079
|
+
/**
|
|
1080
|
+
* 0-based index of the first cited block in the source's `content` array.
|
|
1081
|
+
*/
|
|
230
1082
|
start_block_index: number;
|
|
231
1083
|
title: string | null;
|
|
232
1084
|
type: 'search_result_location';
|
|
@@ -249,10 +1101,36 @@ export interface CitationsDelta {
|
|
|
249
1101
|
type: 'citations_delta';
|
|
250
1102
|
}
|
|
251
1103
|
export interface CitationsSearchResultLocation {
|
|
1104
|
+
/**
|
|
1105
|
+
* The full text of the cited block range, concatenated.
|
|
1106
|
+
*
|
|
1107
|
+
* Always equals the contents of `content[start_block_index:end_block_index]`
|
|
1108
|
+
* joined together. The text block is the minimal citable unit; this field is never
|
|
1109
|
+
* a substring of a single block. Not counted toward output tokens, and not counted
|
|
1110
|
+
* toward input tokens when sent back in subsequent turns.
|
|
1111
|
+
*/
|
|
252
1112
|
cited_text: string;
|
|
1113
|
+
/**
|
|
1114
|
+
* Exclusive 0-based end index of the cited block range in the source's `content`
|
|
1115
|
+
* array.
|
|
1116
|
+
*
|
|
1117
|
+
* Always greater than `start_block_index`; a single-block citation has
|
|
1118
|
+
* `end_block_index = start_block_index + 1`.
|
|
1119
|
+
*/
|
|
253
1120
|
end_block_index: number;
|
|
1121
|
+
/**
|
|
1122
|
+
* 0-based index of the cited search result among all `search_result` content
|
|
1123
|
+
* blocks in the request, in the order they appear across messages and tool
|
|
1124
|
+
* results.
|
|
1125
|
+
*
|
|
1126
|
+
* Counted separately from `document_index`; server-side web search results are not
|
|
1127
|
+
* included in this count.
|
|
1128
|
+
*/
|
|
254
1129
|
search_result_index: number;
|
|
255
1130
|
source: string;
|
|
1131
|
+
/**
|
|
1132
|
+
* 0-based index of the first cited block in the source's `content` array.
|
|
1133
|
+
*/
|
|
256
1134
|
start_block_index: number;
|
|
257
1135
|
title: string | null;
|
|
258
1136
|
type: 'search_result_location';
|
|
@@ -294,7 +1172,83 @@ export interface CodeExecutionTool20250522 {
|
|
|
294
1172
|
*/
|
|
295
1173
|
name: 'code_execution';
|
|
296
1174
|
type: 'code_execution_20250522';
|
|
297
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
1175
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1176
|
+
/**
|
|
1177
|
+
* Create a cache control breakpoint at this content block.
|
|
1178
|
+
*/
|
|
1179
|
+
cache_control?: CacheControlEphemeral | null;
|
|
1180
|
+
/**
|
|
1181
|
+
* If true, tool will not be included in initial system prompt. Only loaded when
|
|
1182
|
+
* returned via tool_reference from tool search.
|
|
1183
|
+
*/
|
|
1184
|
+
defer_loading?: boolean;
|
|
1185
|
+
/**
|
|
1186
|
+
* When true, guarantees schema validation on tool names and inputs
|
|
1187
|
+
*/
|
|
1188
|
+
strict?: boolean;
|
|
1189
|
+
}
|
|
1190
|
+
export interface CodeExecutionTool20250825 {
|
|
1191
|
+
/**
|
|
1192
|
+
* Name of the tool.
|
|
1193
|
+
*
|
|
1194
|
+
* This is how the tool will be called by the model and in `tool_use` blocks.
|
|
1195
|
+
*/
|
|
1196
|
+
name: 'code_execution';
|
|
1197
|
+
type: 'code_execution_20250825';
|
|
1198
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1199
|
+
/**
|
|
1200
|
+
* Create a cache control breakpoint at this content block.
|
|
1201
|
+
*/
|
|
1202
|
+
cache_control?: CacheControlEphemeral | null;
|
|
1203
|
+
/**
|
|
1204
|
+
* If true, tool will not be included in initial system prompt. Only loaded when
|
|
1205
|
+
* returned via tool_reference from tool search.
|
|
1206
|
+
*/
|
|
1207
|
+
defer_loading?: boolean;
|
|
1208
|
+
/**
|
|
1209
|
+
* When true, guarantees schema validation on tool names and inputs
|
|
1210
|
+
*/
|
|
1211
|
+
strict?: boolean;
|
|
1212
|
+
}
|
|
1213
|
+
/**
|
|
1214
|
+
* Code execution tool with REPL state persistence (daemon mode + gVisor
|
|
1215
|
+
* checkpoint).
|
|
1216
|
+
*/
|
|
1217
|
+
export interface CodeExecutionTool20260120 {
|
|
1218
|
+
/**
|
|
1219
|
+
* Name of the tool.
|
|
1220
|
+
*
|
|
1221
|
+
* This is how the tool will be called by the model and in `tool_use` blocks.
|
|
1222
|
+
*/
|
|
1223
|
+
name: 'code_execution';
|
|
1224
|
+
type: 'code_execution_20260120';
|
|
1225
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1226
|
+
/**
|
|
1227
|
+
* Create a cache control breakpoint at this content block.
|
|
1228
|
+
*/
|
|
1229
|
+
cache_control?: CacheControlEphemeral | null;
|
|
1230
|
+
/**
|
|
1231
|
+
* If true, tool will not be included in initial system prompt. Only loaded when
|
|
1232
|
+
* returned via tool_reference from tool search.
|
|
1233
|
+
*/
|
|
1234
|
+
defer_loading?: boolean;
|
|
1235
|
+
/**
|
|
1236
|
+
* When true, guarantees schema validation on tool names and inputs
|
|
1237
|
+
*/
|
|
1238
|
+
strict?: boolean;
|
|
1239
|
+
}
|
|
1240
|
+
/**
|
|
1241
|
+
* Code execution tool with REPL state persistence.
|
|
1242
|
+
*/
|
|
1243
|
+
export interface CodeExecutionTool20260521 {
|
|
1244
|
+
/**
|
|
1245
|
+
* Name of the tool.
|
|
1246
|
+
*
|
|
1247
|
+
* This is how the tool will be called by the model and in `tool_use` blocks.
|
|
1248
|
+
*/
|
|
1249
|
+
name: 'code_execution';
|
|
1250
|
+
type: 'code_execution_20260521';
|
|
1251
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
298
1252
|
/**
|
|
299
1253
|
* Create a cache control breakpoint at this content block.
|
|
300
1254
|
*/
|
|
@@ -303,98 +1257,421 @@ export interface CodeExecutionTool20250522 {
|
|
|
303
1257
|
* If true, tool will not be included in initial system prompt. Only loaded when
|
|
304
1258
|
* returned via tool_reference from tool search.
|
|
305
1259
|
*/
|
|
306
|
-
defer_loading?: boolean;
|
|
1260
|
+
defer_loading?: boolean;
|
|
1261
|
+
/**
|
|
1262
|
+
* When true, guarantees schema validation on tool names and inputs
|
|
1263
|
+
*/
|
|
1264
|
+
strict?: boolean;
|
|
1265
|
+
}
|
|
1266
|
+
export interface CodeExecutionToolResultBlock {
|
|
1267
|
+
/**
|
|
1268
|
+
* Code execution result with encrypted stdout for PFC + web_search results.
|
|
1269
|
+
*/
|
|
1270
|
+
content: CodeExecutionToolResultBlockContent;
|
|
1271
|
+
tool_use_id: string;
|
|
1272
|
+
type: 'code_execution_tool_result';
|
|
1273
|
+
}
|
|
1274
|
+
/**
|
|
1275
|
+
* Code execution result with encrypted stdout for PFC + web_search results.
|
|
1276
|
+
*/
|
|
1277
|
+
export type CodeExecutionToolResultBlockContent = CodeExecutionToolResultError | CodeExecutionResultBlock | EncryptedCodeExecutionResultBlock;
|
|
1278
|
+
export interface CodeExecutionToolResultBlockParam {
|
|
1279
|
+
/**
|
|
1280
|
+
* Code execution result with encrypted stdout for PFC + web_search results.
|
|
1281
|
+
*/
|
|
1282
|
+
content: CodeExecutionToolResultBlockParamContent;
|
|
1283
|
+
tool_use_id: string;
|
|
1284
|
+
type: 'code_execution_tool_result';
|
|
1285
|
+
/**
|
|
1286
|
+
* Create a cache control breakpoint at this content block.
|
|
1287
|
+
*/
|
|
1288
|
+
cache_control?: CacheControlEphemeral | null;
|
|
1289
|
+
}
|
|
1290
|
+
/**
|
|
1291
|
+
* Code execution result with encrypted stdout for PFC + web_search results.
|
|
1292
|
+
*/
|
|
1293
|
+
export type CodeExecutionToolResultBlockParamContent = CodeExecutionToolResultErrorParam | CodeExecutionResultBlockParam | EncryptedCodeExecutionResultBlockParam;
|
|
1294
|
+
export interface CodeExecutionToolResultError {
|
|
1295
|
+
error_code: CodeExecutionToolResultErrorCode;
|
|
1296
|
+
type: 'code_execution_tool_result_error';
|
|
1297
|
+
}
|
|
1298
|
+
export type CodeExecutionToolResultErrorCode = 'invalid_tool_input' | 'unavailable' | 'too_many_requests' | 'execution_time_exceeded';
|
|
1299
|
+
export interface CodeExecutionToolResultErrorParam {
|
|
1300
|
+
error_code: CodeExecutionToolResultErrorCode;
|
|
1301
|
+
type: 'code_execution_tool_result_error';
|
|
1302
|
+
}
|
|
1303
|
+
/**
|
|
1304
|
+
* `cursor_position`'s config overrides.
|
|
1305
|
+
*/
|
|
1306
|
+
export interface ComputerCursorPositionConfig {
|
|
1307
|
+
/**
|
|
1308
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1309
|
+
* member of the toolset.
|
|
1310
|
+
*/
|
|
1311
|
+
defer_loading?: boolean | null;
|
|
1312
|
+
/**
|
|
1313
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1314
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1315
|
+
* the served schema.
|
|
1316
|
+
*/
|
|
1317
|
+
enabled?: boolean | null;
|
|
1318
|
+
}
|
|
1319
|
+
/**
|
|
1320
|
+
* `double_click`'s config overrides.
|
|
1321
|
+
*/
|
|
1322
|
+
export interface ComputerDoubleClickConfig {
|
|
1323
|
+
/**
|
|
1324
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1325
|
+
* member of the toolset.
|
|
1326
|
+
*/
|
|
1327
|
+
defer_loading?: boolean | null;
|
|
1328
|
+
/**
|
|
1329
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1330
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1331
|
+
* the served schema.
|
|
1332
|
+
*/
|
|
1333
|
+
enabled?: boolean | null;
|
|
1334
|
+
}
|
|
1335
|
+
/**
|
|
1336
|
+
* `hold_key`'s config overrides.
|
|
1337
|
+
*/
|
|
1338
|
+
export interface ComputerHoldKeyConfig {
|
|
1339
|
+
/**
|
|
1340
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1341
|
+
* member of the toolset.
|
|
1342
|
+
*/
|
|
1343
|
+
defer_loading?: boolean | null;
|
|
1344
|
+
/**
|
|
1345
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1346
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1347
|
+
* the served schema.
|
|
1348
|
+
*/
|
|
1349
|
+
enabled?: boolean | null;
|
|
1350
|
+
}
|
|
1351
|
+
/**
|
|
1352
|
+
* `key`'s config overrides.
|
|
1353
|
+
*/
|
|
1354
|
+
export interface ComputerKeyConfig {
|
|
1355
|
+
/**
|
|
1356
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1357
|
+
* member of the toolset.
|
|
1358
|
+
*/
|
|
1359
|
+
defer_loading?: boolean | null;
|
|
1360
|
+
/**
|
|
1361
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1362
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1363
|
+
* the served schema.
|
|
1364
|
+
*/
|
|
1365
|
+
enabled?: boolean | null;
|
|
1366
|
+
}
|
|
1367
|
+
/**
|
|
1368
|
+
* `left_click`'s config overrides.
|
|
1369
|
+
*/
|
|
1370
|
+
export interface ComputerLeftClickConfig {
|
|
1371
|
+
/**
|
|
1372
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1373
|
+
* member of the toolset.
|
|
1374
|
+
*/
|
|
1375
|
+
defer_loading?: boolean | null;
|
|
1376
|
+
/**
|
|
1377
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1378
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1379
|
+
* the served schema.
|
|
1380
|
+
*/
|
|
1381
|
+
enabled?: boolean | null;
|
|
1382
|
+
}
|
|
1383
|
+
/**
|
|
1384
|
+
* `left_click_drag`'s config overrides.
|
|
1385
|
+
*/
|
|
1386
|
+
export interface ComputerLeftClickDragConfig {
|
|
1387
|
+
/**
|
|
1388
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1389
|
+
* member of the toolset.
|
|
1390
|
+
*/
|
|
1391
|
+
defer_loading?: boolean | null;
|
|
1392
|
+
/**
|
|
1393
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1394
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1395
|
+
* the served schema.
|
|
1396
|
+
*/
|
|
1397
|
+
enabled?: boolean | null;
|
|
1398
|
+
}
|
|
1399
|
+
/**
|
|
1400
|
+
* `left_mouse_down`'s config overrides.
|
|
1401
|
+
*/
|
|
1402
|
+
export interface ComputerLeftMouseDownConfig {
|
|
1403
|
+
/**
|
|
1404
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1405
|
+
* member of the toolset.
|
|
1406
|
+
*/
|
|
1407
|
+
defer_loading?: boolean | null;
|
|
1408
|
+
/**
|
|
1409
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1410
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1411
|
+
* the served schema.
|
|
1412
|
+
*/
|
|
1413
|
+
enabled?: boolean | null;
|
|
1414
|
+
}
|
|
1415
|
+
/**
|
|
1416
|
+
* `left_mouse_up`'s config overrides.
|
|
1417
|
+
*/
|
|
1418
|
+
export interface ComputerLeftMouseUpConfig {
|
|
1419
|
+
/**
|
|
1420
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1421
|
+
* member of the toolset.
|
|
1422
|
+
*/
|
|
1423
|
+
defer_loading?: boolean | null;
|
|
1424
|
+
/**
|
|
1425
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1426
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1427
|
+
* the served schema.
|
|
1428
|
+
*/
|
|
1429
|
+
enabled?: boolean | null;
|
|
1430
|
+
}
|
|
1431
|
+
/**
|
|
1432
|
+
* `middle_click`'s config overrides.
|
|
1433
|
+
*/
|
|
1434
|
+
export interface ComputerMiddleClickConfig {
|
|
1435
|
+
/**
|
|
1436
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1437
|
+
* member of the toolset.
|
|
1438
|
+
*/
|
|
1439
|
+
defer_loading?: boolean | null;
|
|
1440
|
+
/**
|
|
1441
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1442
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1443
|
+
* the served schema.
|
|
1444
|
+
*/
|
|
1445
|
+
enabled?: boolean | null;
|
|
1446
|
+
}
|
|
1447
|
+
/**
|
|
1448
|
+
* `mouse_move`'s config overrides.
|
|
1449
|
+
*/
|
|
1450
|
+
export interface ComputerMouseMoveConfig {
|
|
1451
|
+
/**
|
|
1452
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1453
|
+
* member of the toolset.
|
|
1454
|
+
*/
|
|
1455
|
+
defer_loading?: boolean | null;
|
|
1456
|
+
/**
|
|
1457
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1458
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1459
|
+
* the served schema.
|
|
1460
|
+
*/
|
|
1461
|
+
enabled?: boolean | null;
|
|
1462
|
+
}
|
|
1463
|
+
/**
|
|
1464
|
+
* `right_click`'s config overrides.
|
|
1465
|
+
*/
|
|
1466
|
+
export interface ComputerRightClickConfig {
|
|
1467
|
+
/**
|
|
1468
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1469
|
+
* member of the toolset.
|
|
1470
|
+
*/
|
|
1471
|
+
defer_loading?: boolean | null;
|
|
1472
|
+
/**
|
|
1473
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1474
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1475
|
+
* the served schema.
|
|
1476
|
+
*/
|
|
1477
|
+
enabled?: boolean | null;
|
|
1478
|
+
}
|
|
1479
|
+
/**
|
|
1480
|
+
* `screenshot`'s config overrides.
|
|
1481
|
+
*/
|
|
1482
|
+
export interface ComputerScreenshotConfig {
|
|
1483
|
+
/**
|
|
1484
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1485
|
+
* member of the toolset.
|
|
1486
|
+
*/
|
|
1487
|
+
defer_loading?: boolean | null;
|
|
1488
|
+
/**
|
|
1489
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1490
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1491
|
+
* the served schema.
|
|
1492
|
+
*/
|
|
1493
|
+
enabled?: boolean | null;
|
|
1494
|
+
}
|
|
1495
|
+
/**
|
|
1496
|
+
* `scroll`'s config overrides.
|
|
1497
|
+
*/
|
|
1498
|
+
export interface ComputerScrollConfig {
|
|
1499
|
+
/**
|
|
1500
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1501
|
+
* member of the toolset.
|
|
1502
|
+
*/
|
|
1503
|
+
defer_loading?: boolean | null;
|
|
1504
|
+
/**
|
|
1505
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1506
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1507
|
+
* the served schema.
|
|
1508
|
+
*/
|
|
1509
|
+
enabled?: boolean | null;
|
|
1510
|
+
}
|
|
1511
|
+
/**
|
|
1512
|
+
* The computer toolset: a single `tools[]` entry (carrying no `name`) that
|
|
1513
|
+
* declares the computer tool family. The model is served the family's tool with
|
|
1514
|
+
* any members disabled via `configs` removed from its schema. Every member is
|
|
1515
|
+
* enabled by default, zoom included. The single-tool options `display_number` and
|
|
1516
|
+
* `enable_zoom` are not fields of a toolset entry — it carries only `type`,
|
|
1517
|
+
* `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`.
|
|
1518
|
+
*/
|
|
1519
|
+
export interface ComputerToolset20260801 {
|
|
1520
|
+
type: 'computer_toolset_20260801';
|
|
1521
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1522
|
+
/**
|
|
1523
|
+
* Create a cache control breakpoint at this content block.
|
|
1524
|
+
*/
|
|
1525
|
+
cache_control?: CacheControlEphemeral | null;
|
|
1526
|
+
/**
|
|
1527
|
+
* Per-member configuration for `computer_toolset_20260801`: one optional field per
|
|
1528
|
+
* member tool, keyed by the member name — the same name the member's `tool_use`
|
|
1529
|
+
* blocks carry. Every member is an accepted key, and a member's defaults apply
|
|
1530
|
+
* wherever its key is absent. Unknown keys are rejected: the field set is this
|
|
1531
|
+
* toolset version's complete member set.
|
|
1532
|
+
*/
|
|
1533
|
+
configs?: ComputerToolsetConfigs | null;
|
|
1534
|
+
}
|
|
1535
|
+
/**
|
|
1536
|
+
* Per-member configuration for `computer_toolset_20260801`: one optional field per
|
|
1537
|
+
* member tool, keyed by the member name — the same name the member's `tool_use`
|
|
1538
|
+
* blocks carry. Every member is an accepted key, and a member's defaults apply
|
|
1539
|
+
* wherever its key is absent. Unknown keys are rejected: the field set is this
|
|
1540
|
+
* toolset version's complete member set.
|
|
1541
|
+
*/
|
|
1542
|
+
export interface ComputerToolsetConfigs {
|
|
1543
|
+
/**
|
|
1544
|
+
* `cursor_position`'s config overrides.
|
|
1545
|
+
*/
|
|
1546
|
+
cursor_position?: ComputerCursorPositionConfig | null;
|
|
1547
|
+
/**
|
|
1548
|
+
* `double_click`'s config overrides.
|
|
1549
|
+
*/
|
|
1550
|
+
double_click?: ComputerDoubleClickConfig | null;
|
|
1551
|
+
/**
|
|
1552
|
+
* `hold_key`'s config overrides.
|
|
1553
|
+
*/
|
|
1554
|
+
hold_key?: ComputerHoldKeyConfig | null;
|
|
1555
|
+
/**
|
|
1556
|
+
* `key`'s config overrides.
|
|
1557
|
+
*/
|
|
1558
|
+
key?: ComputerKeyConfig | null;
|
|
1559
|
+
/**
|
|
1560
|
+
* `left_click`'s config overrides.
|
|
1561
|
+
*/
|
|
1562
|
+
left_click?: ComputerLeftClickConfig | null;
|
|
1563
|
+
/**
|
|
1564
|
+
* `left_click_drag`'s config overrides.
|
|
1565
|
+
*/
|
|
1566
|
+
left_click_drag?: ComputerLeftClickDragConfig | null;
|
|
1567
|
+
/**
|
|
1568
|
+
* `left_mouse_down`'s config overrides.
|
|
1569
|
+
*/
|
|
1570
|
+
left_mouse_down?: ComputerLeftMouseDownConfig | null;
|
|
1571
|
+
/**
|
|
1572
|
+
* `left_mouse_up`'s config overrides.
|
|
1573
|
+
*/
|
|
1574
|
+
left_mouse_up?: ComputerLeftMouseUpConfig | null;
|
|
1575
|
+
/**
|
|
1576
|
+
* `middle_click`'s config overrides.
|
|
1577
|
+
*/
|
|
1578
|
+
middle_click?: ComputerMiddleClickConfig | null;
|
|
1579
|
+
/**
|
|
1580
|
+
* `mouse_move`'s config overrides.
|
|
1581
|
+
*/
|
|
1582
|
+
mouse_move?: ComputerMouseMoveConfig | null;
|
|
1583
|
+
/**
|
|
1584
|
+
* `right_click`'s config overrides.
|
|
1585
|
+
*/
|
|
1586
|
+
right_click?: ComputerRightClickConfig | null;
|
|
1587
|
+
/**
|
|
1588
|
+
* `screenshot`'s config overrides.
|
|
1589
|
+
*/
|
|
1590
|
+
screenshot?: ComputerScreenshotConfig | null;
|
|
307
1591
|
/**
|
|
308
|
-
*
|
|
1592
|
+
* `scroll`'s config overrides.
|
|
309
1593
|
*/
|
|
310
|
-
|
|
311
|
-
}
|
|
312
|
-
export interface CodeExecutionTool20250825 {
|
|
1594
|
+
scroll?: ComputerScrollConfig | null;
|
|
313
1595
|
/**
|
|
314
|
-
*
|
|
315
|
-
*
|
|
316
|
-
* This is how the tool will be called by the model and in `tool_use` blocks.
|
|
1596
|
+
* `triple_click`'s config overrides.
|
|
317
1597
|
*/
|
|
318
|
-
|
|
319
|
-
type: 'code_execution_20250825';
|
|
320
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
1598
|
+
triple_click?: ComputerTripleClickConfig | null;
|
|
321
1599
|
/**
|
|
322
|
-
*
|
|
1600
|
+
* `type`'s config overrides.
|
|
323
1601
|
*/
|
|
324
|
-
|
|
1602
|
+
type?: ComputerTypeConfig | null;
|
|
325
1603
|
/**
|
|
326
|
-
*
|
|
327
|
-
* returned via tool_reference from tool search.
|
|
1604
|
+
* `wait`'s config overrides.
|
|
328
1605
|
*/
|
|
329
|
-
|
|
1606
|
+
wait?: ComputerWaitConfig | null;
|
|
330
1607
|
/**
|
|
331
|
-
*
|
|
1608
|
+
* `zoom`'s config overrides.
|
|
332
1609
|
*/
|
|
333
|
-
|
|
1610
|
+
zoom?: ComputerZoomConfig | null;
|
|
334
1611
|
}
|
|
335
1612
|
/**
|
|
336
|
-
*
|
|
337
|
-
* checkpoint).
|
|
1613
|
+
* `triple_click`'s config overrides.
|
|
338
1614
|
*/
|
|
339
|
-
export interface
|
|
340
|
-
/**
|
|
341
|
-
* Name of the tool.
|
|
342
|
-
*
|
|
343
|
-
* This is how the tool will be called by the model and in `tool_use` blocks.
|
|
344
|
-
*/
|
|
345
|
-
name: 'code_execution';
|
|
346
|
-
type: 'code_execution_20260120';
|
|
347
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
1615
|
+
export interface ComputerTripleClickConfig {
|
|
348
1616
|
/**
|
|
349
|
-
*
|
|
1617
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1618
|
+
* member of the toolset.
|
|
350
1619
|
*/
|
|
351
|
-
|
|
1620
|
+
defer_loading?: boolean | null;
|
|
352
1621
|
/**
|
|
353
|
-
*
|
|
354
|
-
*
|
|
1622
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1623
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1624
|
+
* the served schema.
|
|
355
1625
|
*/
|
|
356
|
-
|
|
1626
|
+
enabled?: boolean | null;
|
|
1627
|
+
}
|
|
1628
|
+
/**
|
|
1629
|
+
* `type`'s config overrides.
|
|
1630
|
+
*/
|
|
1631
|
+
export interface ComputerTypeConfig {
|
|
357
1632
|
/**
|
|
358
|
-
*
|
|
1633
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1634
|
+
* member of the toolset.
|
|
359
1635
|
*/
|
|
360
|
-
|
|
361
|
-
}
|
|
362
|
-
export interface CodeExecutionToolResultBlock {
|
|
1636
|
+
defer_loading?: boolean | null;
|
|
363
1637
|
/**
|
|
364
|
-
*
|
|
1638
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1639
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1640
|
+
* the served schema.
|
|
365
1641
|
*/
|
|
366
|
-
|
|
367
|
-
tool_use_id: string;
|
|
368
|
-
type: 'code_execution_tool_result';
|
|
1642
|
+
enabled?: boolean | null;
|
|
369
1643
|
}
|
|
370
1644
|
/**
|
|
371
|
-
*
|
|
1645
|
+
* `wait`'s config overrides.
|
|
372
1646
|
*/
|
|
373
|
-
export
|
|
374
|
-
export interface CodeExecutionToolResultBlockParam {
|
|
1647
|
+
export interface ComputerWaitConfig {
|
|
375
1648
|
/**
|
|
376
|
-
*
|
|
1649
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1650
|
+
* member of the toolset.
|
|
377
1651
|
*/
|
|
378
|
-
|
|
379
|
-
tool_use_id: string;
|
|
380
|
-
type: 'code_execution_tool_result';
|
|
1652
|
+
defer_loading?: boolean | null;
|
|
381
1653
|
/**
|
|
382
|
-
*
|
|
1654
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1655
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1656
|
+
* the served schema.
|
|
383
1657
|
*/
|
|
384
|
-
|
|
1658
|
+
enabled?: boolean | null;
|
|
385
1659
|
}
|
|
386
1660
|
/**
|
|
387
|
-
*
|
|
1661
|
+
* `zoom`'s config overrides.
|
|
388
1662
|
*/
|
|
389
|
-
export
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
1663
|
+
export interface ComputerZoomConfig {
|
|
1664
|
+
/**
|
|
1665
|
+
* Defer loading for this member. Must resolve to the same value on every enabled
|
|
1666
|
+
* member of the toolset.
|
|
1667
|
+
*/
|
|
1668
|
+
defer_loading?: boolean | null;
|
|
1669
|
+
/**
|
|
1670
|
+
* Whether this member is offered to the model. Default is per member, per the
|
|
1671
|
+
* toolset's documentation. A member whose enabled resolves false is withheld from
|
|
1672
|
+
* the served schema.
|
|
1673
|
+
*/
|
|
1674
|
+
enabled?: boolean | null;
|
|
398
1675
|
}
|
|
399
1676
|
/**
|
|
400
1677
|
* Information about the container used in the request (for the code execution
|
|
@@ -409,6 +1686,40 @@ export interface Container {
|
|
|
409
1686
|
* The time at which the container will expire.
|
|
410
1687
|
*/
|
|
411
1688
|
expires_at: string;
|
|
1689
|
+
/**
|
|
1690
|
+
* Skills loaded in the container
|
|
1691
|
+
*/
|
|
1692
|
+
skills: Array<ContainerSkill> | null;
|
|
1693
|
+
}
|
|
1694
|
+
/**
|
|
1695
|
+
* Container parameters with skills to be loaded.
|
|
1696
|
+
*/
|
|
1697
|
+
export interface ContainerParams {
|
|
1698
|
+
/**
|
|
1699
|
+
* Container id
|
|
1700
|
+
*/
|
|
1701
|
+
id?: string | null;
|
|
1702
|
+
/**
|
|
1703
|
+
* List of skills to load in the container
|
|
1704
|
+
*/
|
|
1705
|
+
skills?: Array<SkillParams> | null;
|
|
1706
|
+
}
|
|
1707
|
+
/**
|
|
1708
|
+
* A skill that was loaded in a container (response model).
|
|
1709
|
+
*/
|
|
1710
|
+
export interface ContainerSkill {
|
|
1711
|
+
/**
|
|
1712
|
+
* Skill ID
|
|
1713
|
+
*/
|
|
1714
|
+
skill_id: string;
|
|
1715
|
+
/**
|
|
1716
|
+
* Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined)
|
|
1717
|
+
*/
|
|
1718
|
+
type: 'anthropic' | 'custom';
|
|
1719
|
+
/**
|
|
1720
|
+
* The resolved version: a skill version ID for custom skills.
|
|
1721
|
+
*/
|
|
1722
|
+
version: string;
|
|
412
1723
|
}
|
|
413
1724
|
/**
|
|
414
1725
|
* Response model for a file uploaded to the container.
|
|
@@ -461,7 +1772,7 @@ export interface DocumentBlock {
|
|
|
461
1772
|
type: 'document';
|
|
462
1773
|
}
|
|
463
1774
|
export interface DocumentBlockParam {
|
|
464
|
-
source: Base64PDFSource | PlainTextSource | ContentBlockSource | URLPDFSource;
|
|
1775
|
+
source: Base64PDFSource | PlainTextSource | ContentBlockSource | URLPDFSource | FileDocumentSource;
|
|
465
1776
|
type: 'document';
|
|
466
1777
|
/**
|
|
467
1778
|
* Create a cache control breakpoint at this content block.
|
|
@@ -491,13 +1802,45 @@ export interface EncryptedCodeExecutionResultBlockParam {
|
|
|
491
1802
|
stderr: string;
|
|
492
1803
|
type: 'encrypted_code_execution_result';
|
|
493
1804
|
}
|
|
1805
|
+
export interface FileDocumentSource {
|
|
1806
|
+
file_id: string;
|
|
1807
|
+
type: 'file';
|
|
1808
|
+
}
|
|
1809
|
+
export interface FileImageSource {
|
|
1810
|
+
file_id: string;
|
|
1811
|
+
type: 'file';
|
|
1812
|
+
}
|
|
494
1813
|
export interface ImageBlockParam {
|
|
495
|
-
source: Base64ImageSource | URLImageSource;
|
|
1814
|
+
source: Base64ImageSource | URLImageSource | FileImageSource;
|
|
496
1815
|
type: 'image';
|
|
497
1816
|
/**
|
|
498
1817
|
* Create a cache control breakpoint at this content block.
|
|
499
1818
|
*/
|
|
500
1819
|
cache_control?: CacheControlEphemeral | null;
|
|
1820
|
+
/**
|
|
1821
|
+
* Configures the transformations the server applies to this image before the model
|
|
1822
|
+
* observes it. Each key names a condition the server transforms images for; its
|
|
1823
|
+
* value selects the transformation applied. Omitted keys keep their default
|
|
1824
|
+
* behavior, and an empty object is equivalent to omitting the field.
|
|
1825
|
+
*/
|
|
1826
|
+
transformations?: ImageTransformationsParam | null;
|
|
1827
|
+
}
|
|
1828
|
+
/**
|
|
1829
|
+
* Configures the transformations the server applies to this image before the model
|
|
1830
|
+
* observes it. Each key names a condition the server transforms images for; its
|
|
1831
|
+
* value selects the transformation applied. Omitted keys keep their default
|
|
1832
|
+
* behavior, and an empty object is equivalent to omitting the field.
|
|
1833
|
+
*/
|
|
1834
|
+
export interface ImageTransformationsParam {
|
|
1835
|
+
/**
|
|
1836
|
+
* What the server does when this image exceeds the model's maximum image size.
|
|
1837
|
+
* `"downsize"` (the default) scales the image down to fit, which changes the
|
|
1838
|
+
* dimensions the model observes without telling you. `"error"` instead rejects the
|
|
1839
|
+
* request with a 400 error naming the image's dimensions and the largest
|
|
1840
|
+
* dimensions that fit, so you can scale the image deliberately — your image is
|
|
1841
|
+
* never silently scaled down.
|
|
1842
|
+
*/
|
|
1843
|
+
oversized_image?: 'downsize' | 'error';
|
|
501
1844
|
}
|
|
502
1845
|
export interface InputJSONDelta {
|
|
503
1846
|
partial_json: string;
|
|
@@ -520,7 +1863,7 @@ export interface MemoryTool20250818 {
|
|
|
520
1863
|
*/
|
|
521
1864
|
name: 'memory';
|
|
522
1865
|
type: 'memory_20250818';
|
|
523
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
1866
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
524
1867
|
/**
|
|
525
1868
|
* Create a cache control breakpoint at this content block.
|
|
526
1869
|
*/
|
|
@@ -586,8 +1929,9 @@ export interface Message {
|
|
|
586
1929
|
*/
|
|
587
1930
|
content: Array<ContentBlock>;
|
|
588
1931
|
/**
|
|
589
|
-
* The model that will complete your prompt
|
|
590
|
-
*
|
|
1932
|
+
* The model that will complete your prompt.
|
|
1933
|
+
*
|
|
1934
|
+
* See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
|
|
591
1935
|
* details and options.
|
|
592
1936
|
*/
|
|
593
1937
|
model: Model;
|
|
@@ -614,6 +1958,7 @@ export interface Message {
|
|
|
614
1958
|
* back as-is in a subsequent request to let the model continue.
|
|
615
1959
|
* - `"refusal"`: when streaming classifiers intervene to handle potential policy
|
|
616
1960
|
* violations
|
|
1961
|
+
* - `"model_context_window_exceeded"`: we exceeded the model's context window
|
|
617
1962
|
*
|
|
618
1963
|
* In non-streaming mode this value is always non-null. In streaming mode, it is
|
|
619
1964
|
* null in the `message_start` event and non-null otherwise.
|
|
@@ -655,7 +2000,11 @@ export interface Message {
|
|
|
655
2000
|
* Code execution tool with REPL state persistence (daemon mode + gVisor
|
|
656
2001
|
* checkpoint).
|
|
657
2002
|
*/
|
|
658
|
-
export type MessageCountTokensTool = Tool | ToolBash20250124 | CodeExecutionTool20250522 | CodeExecutionTool20250825 | CodeExecutionTool20260120 | MemoryTool20250818 | ToolTextEditor20250124 | ToolTextEditor20250429 | ToolTextEditor20250728 | WebSearchTool20250305 | WebFetchTool20250910 | WebSearchTool20260209 | WebFetchTool20260209 | WebFetchTool20260309 | ToolSearchToolBm25_20251119 | ToolSearchToolRegex20251119;
|
|
2003
|
+
export type MessageCountTokensTool = Tool | ToolBash20250124 | CodeExecutionTool20250522 | CodeExecutionTool20250825 | CodeExecutionTool20260120 | CodeExecutionTool20260521 | BrowserToolset20260801 | MemoryTool20250818 | ComputerToolset20260801 | ToolTextEditor20250124 | ToolTextEditor20250429 | ToolTextEditor20250728 | WebSearchTool20250305 | WebFetchTool20250910 | WebSearchTool20260209 | WebFetchTool20260209 | WebFetchTool20260309 | WebSearchTool20260318 | WebFetchTool20260318 | ToolSearchToolBm25_20251119 | ToolSearchToolRegex20251119;
|
|
2004
|
+
/**
|
|
2005
|
+
* Container identifier for reuse across requests.
|
|
2006
|
+
*/
|
|
2007
|
+
export type MessageCreateParamsContainer = ContainerParams | string;
|
|
659
2008
|
export interface MessageDeltaUsage {
|
|
660
2009
|
/**
|
|
661
2010
|
* The cumulative number of input tokens used to create the cache entry.
|
|
@@ -673,6 +2022,15 @@ export interface MessageDeltaUsage {
|
|
|
673
2022
|
* The cumulative number of output tokens which were used.
|
|
674
2023
|
*/
|
|
675
2024
|
output_tokens: number;
|
|
2025
|
+
/**
|
|
2026
|
+
* Breakdown of output tokens by category.
|
|
2027
|
+
*
|
|
2028
|
+
* `output_tokens` remains the inclusive, authoritative total used for billing.
|
|
2029
|
+
* This object provides a read-only decomposition for observability — for example,
|
|
2030
|
+
* how many of the billed output tokens were spent on internal reasoning that may
|
|
2031
|
+
* have been summarized before being returned to you.
|
|
2032
|
+
*/
|
|
2033
|
+
output_tokens_details: OutputTokensDetails | null;
|
|
676
2034
|
/**
|
|
677
2035
|
* The number of server tool requests.
|
|
678
2036
|
*/
|
|
@@ -680,7 +2038,7 @@ export interface MessageDeltaUsage {
|
|
|
680
2038
|
}
|
|
681
2039
|
export interface MessageParam {
|
|
682
2040
|
content: string | Array<ContentBlockParam>;
|
|
683
|
-
role: 'user' | 'assistant';
|
|
2041
|
+
role: 'user' | 'assistant' | 'system';
|
|
684
2042
|
}
|
|
685
2043
|
export interface MessageTokensCount {
|
|
686
2044
|
/**
|
|
@@ -700,11 +2058,12 @@ export interface Metadata {
|
|
|
700
2058
|
user_id?: string | null;
|
|
701
2059
|
}
|
|
702
2060
|
/**
|
|
703
|
-
* The model that will complete your prompt
|
|
704
|
-
*
|
|
2061
|
+
* The model that will complete your prompt.
|
|
2062
|
+
*
|
|
2063
|
+
* See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
|
|
705
2064
|
* details and options.
|
|
706
2065
|
*/
|
|
707
|
-
export type Model = 'claude-
|
|
2066
|
+
export type Model = 'claude-sonnet-5' | 'claude-fable-5' | 'claude-mythos-5' | 'claude-opus-5' | 'claude-opus-4-8' | 'claude-opus-4-7' | 'claude-mythos-preview' | 'claude-opus-4-6' | 'claude-sonnet-4-6' | 'claude-haiku-4-5' | 'claude-haiku-4-5-20251001' | 'claude-opus-4-5' | 'claude-opus-4-5-20251101' | 'claude-sonnet-4-5' | 'claude-sonnet-4-5-20250929' | (string & {});
|
|
708
2067
|
export interface OutputConfig {
|
|
709
2068
|
/**
|
|
710
2069
|
* All possible effort levels.
|
|
@@ -716,6 +2075,19 @@ export interface OutputConfig {
|
|
|
716
2075
|
*/
|
|
717
2076
|
format?: JSONOutputFormat | null;
|
|
718
2077
|
}
|
|
2078
|
+
export interface OutputTokensDetails {
|
|
2079
|
+
/**
|
|
2080
|
+
* Number of output tokens the model generated as internal reasoning, including the
|
|
2081
|
+
* thinking-block delimiter tokens.
|
|
2082
|
+
*
|
|
2083
|
+
* Reflects the raw reasoning the model produced, not the (possibly shorter)
|
|
2084
|
+
* summarized thinking text returned in the response body. Computed by
|
|
2085
|
+
* re-tokenizing the raw reasoning text, so it may differ from the model's exact
|
|
2086
|
+
* generation count by a small number of tokens. Always ≤ `output_tokens`;
|
|
2087
|
+
* `output_tokens - thinking_tokens` approximates the non-reasoning output.
|
|
2088
|
+
*/
|
|
2089
|
+
thinking_tokens: number;
|
|
2090
|
+
}
|
|
719
2091
|
export interface PlainTextSource {
|
|
720
2092
|
data: string;
|
|
721
2093
|
media_type: 'text/plain';
|
|
@@ -785,10 +2157,26 @@ export interface RawMessageStopEvent {
|
|
|
785
2157
|
}
|
|
786
2158
|
export type RawMessageStreamEvent = RawMessageStartEvent | RawMessageDeltaEvent | RawMessageStopEvent | RawContentBlockStartEvent | RawContentBlockDeltaEvent | RawContentBlockStopEvent;
|
|
787
2159
|
export interface RedactedThinkingBlock {
|
|
2160
|
+
/**
|
|
2161
|
+
* The contents of this redacted thinking block, returned when portions of the
|
|
2162
|
+
* model's thinking were safety-redacted. This field is opaque and encrypted, with
|
|
2163
|
+
* no readable content.
|
|
2164
|
+
*
|
|
2165
|
+
* Pass `redacted_thinking` blocks back to the API unchanged when continuing a
|
|
2166
|
+
* multi-turn conversation.
|
|
2167
|
+
*
|
|
2168
|
+
* See
|
|
2169
|
+
* [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks)
|
|
2170
|
+
* for details.
|
|
2171
|
+
*/
|
|
788
2172
|
data: string;
|
|
789
2173
|
type: 'redacted_thinking';
|
|
790
2174
|
}
|
|
791
2175
|
export interface RedactedThinkingBlockParam {
|
|
2176
|
+
/**
|
|
2177
|
+
* The `data` value of this redacted thinking block, exactly as returned by the API
|
|
2178
|
+
* in a previous response. Opaque and encrypted; pass it back unchanged.
|
|
2179
|
+
*/
|
|
792
2180
|
data: string;
|
|
793
2181
|
type: 'redacted_thinking';
|
|
794
2182
|
}
|
|
@@ -797,11 +2185,24 @@ export interface RedactedThinkingBlockParam {
|
|
|
797
2185
|
*/
|
|
798
2186
|
export interface RefusalStopDetails {
|
|
799
2187
|
/**
|
|
800
|
-
* The policy category that triggered
|
|
801
|
-
*
|
|
802
|
-
* `
|
|
803
|
-
|
|
804
|
-
|
|
2188
|
+
* The policy category that triggered a refusal.
|
|
2189
|
+
*
|
|
2190
|
+
* - `cyber` - The request could enable cyber harm, such as malware or exploit
|
|
2191
|
+
* development. Benign cybersecurity work can also trigger this category.
|
|
2192
|
+
* - `bio` - The request could enable biological harm, such as dangerous lab
|
|
2193
|
+
* methods. Beneficial life sciences work can also trigger this category.
|
|
2194
|
+
* - `frontier_llm` - The request could assist the development of competing AI
|
|
2195
|
+
* models, which is restricted under
|
|
2196
|
+
* [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms).
|
|
2197
|
+
* Benign machine learning work can also trigger this category.
|
|
2198
|
+
* - `reasoning_extraction` - The request asks the model to reproduce its internal
|
|
2199
|
+
* reasoning in the response text. To get reasoning in a structured form instead,
|
|
2200
|
+
* use
|
|
2201
|
+
* [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking).
|
|
2202
|
+
* - `general_harms` - The request could be related to an area that was determined
|
|
2203
|
+
* as harmful. Benign work might sometimes trigger this category.
|
|
2204
|
+
*/
|
|
2205
|
+
category: 'cyber' | 'bio' | 'frontier_llm' | 'reasoning_extraction' | 'general_harms' | null;
|
|
805
2206
|
/**
|
|
806
2207
|
* Human-readable explanation of the refusal.
|
|
807
2208
|
*
|
|
@@ -868,10 +2269,32 @@ export interface ServerToolUseBlockParam {
|
|
|
868
2269
|
caller?: DirectCaller | ServerToolCaller | ServerToolCaller20260120;
|
|
869
2270
|
}
|
|
870
2271
|
export interface SignatureDelta {
|
|
2272
|
+
/**
|
|
2273
|
+
* The `signature` for this thinking block: an opaque value used to verify that the
|
|
2274
|
+
* block was generated by Claude when it is passed back to the API. Delivered in a
|
|
2275
|
+
* `signature_delta` event just before the block's `content_block_stop` event.
|
|
2276
|
+
*/
|
|
871
2277
|
signature: string;
|
|
872
2278
|
type: 'signature_delta';
|
|
873
2279
|
}
|
|
874
|
-
|
|
2280
|
+
/**
|
|
2281
|
+
* Specification for a skill to be loaded in a container (request model).
|
|
2282
|
+
*/
|
|
2283
|
+
export interface SkillParams {
|
|
2284
|
+
/**
|
|
2285
|
+
* Skill ID
|
|
2286
|
+
*/
|
|
2287
|
+
skill_id: string;
|
|
2288
|
+
/**
|
|
2289
|
+
* Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined)
|
|
2290
|
+
*/
|
|
2291
|
+
type: 'anthropic' | 'custom';
|
|
2292
|
+
/**
|
|
2293
|
+
* Skill version or 'latest' for most recent version
|
|
2294
|
+
*/
|
|
2295
|
+
version?: string;
|
|
2296
|
+
}
|
|
2297
|
+
export type StopReason = 'end_turn' | 'max_tokens' | 'stop_sequence' | 'tool_use' | 'pause_turn' | 'refusal' | 'model_context_window_exceeded';
|
|
875
2298
|
export interface TextBlock {
|
|
876
2299
|
/**
|
|
877
2300
|
* Citations supporting the text block.
|
|
@@ -965,12 +2388,37 @@ export interface TextEditorCodeExecutionViewResultBlockParam {
|
|
|
965
2388
|
total_lines?: number | null;
|
|
966
2389
|
}
|
|
967
2390
|
export interface ThinkingBlock {
|
|
2391
|
+
/**
|
|
2392
|
+
* A value used to verify that this thinking block was generated by Claude when it
|
|
2393
|
+
* is passed back to the API.
|
|
2394
|
+
*
|
|
2395
|
+
* This is an opaque field and should not be interpreted or parsed. When passing
|
|
2396
|
+
* thinking blocks back to the API (required when using tools with extended
|
|
2397
|
+
* thinking), pass them back exactly as received, with this field intact.
|
|
2398
|
+
*
|
|
2399
|
+
* See
|
|
2400
|
+
* [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking)
|
|
2401
|
+
* for details.
|
|
2402
|
+
*/
|
|
968
2403
|
signature: string;
|
|
2404
|
+
/**
|
|
2405
|
+
* The text of Claude's thinking process for this block.
|
|
2406
|
+
*/
|
|
969
2407
|
thinking: string;
|
|
970
2408
|
type: 'thinking';
|
|
971
2409
|
}
|
|
972
2410
|
export interface ThinkingBlockParam {
|
|
2411
|
+
/**
|
|
2412
|
+
* The `signature` value of this thinking block, exactly as returned by the API in
|
|
2413
|
+
* a previous response. Used to verify that the block was generated by Claude.
|
|
2414
|
+
*
|
|
2415
|
+
* Thinking blocks must be passed back unmodified and in their original order; a
|
|
2416
|
+
* modified block results in a 400 `invalid_request_error`.
|
|
2417
|
+
*/
|
|
973
2418
|
signature: string;
|
|
2419
|
+
/**
|
|
2420
|
+
* The `thinking` text of this block as returned by the API.
|
|
2421
|
+
*/
|
|
974
2422
|
thinking: string;
|
|
975
2423
|
type: 'thinking';
|
|
976
2424
|
}
|
|
@@ -996,7 +2444,7 @@ export interface ThinkingConfigEnabled {
|
|
|
996
2444
|
* Must be ≥1024 and less than `max_tokens`.
|
|
997
2445
|
*
|
|
998
2446
|
* See
|
|
999
|
-
* [extended thinking](https://
|
|
2447
|
+
* [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking)
|
|
1000
2448
|
* for details.
|
|
1001
2449
|
*/
|
|
1002
2450
|
budget_tokens: number;
|
|
@@ -1017,11 +2465,16 @@ export interface ThinkingConfigEnabled {
|
|
|
1017
2465
|
* tokens and counts towards your `max_tokens` limit.
|
|
1018
2466
|
*
|
|
1019
2467
|
* See
|
|
1020
|
-
* [extended thinking](https://
|
|
2468
|
+
* [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking)
|
|
1021
2469
|
* for details.
|
|
1022
2470
|
*/
|
|
1023
2471
|
export type ThinkingConfigParam = ThinkingConfigEnabled | ThinkingConfigDisabled | ThinkingConfigAdaptive;
|
|
1024
2472
|
export interface ThinkingDelta {
|
|
2473
|
+
/**
|
|
2474
|
+
* The incremental `thinking` text for this content block. Concatenate the
|
|
2475
|
+
* `thinking` values of successive `thinking_delta` events to assemble the block's
|
|
2476
|
+
* full `thinking` value.
|
|
2477
|
+
*/
|
|
1025
2478
|
thinking: string;
|
|
1026
2479
|
type: 'thinking_delta';
|
|
1027
2480
|
}
|
|
@@ -1039,7 +2492,7 @@ export interface Tool {
|
|
|
1039
2492
|
* This is how the tool will be called by the model and in `tool_use` blocks.
|
|
1040
2493
|
*/
|
|
1041
2494
|
name: string;
|
|
1042
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
2495
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1043
2496
|
/**
|
|
1044
2497
|
* Create a cache control breakpoint at this content block.
|
|
1045
2498
|
*/
|
|
@@ -1097,7 +2550,7 @@ export interface ToolBash20250124 {
|
|
|
1097
2550
|
*/
|
|
1098
2551
|
name: 'bash';
|
|
1099
2552
|
type: 'bash_20250124';
|
|
1100
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
2553
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1101
2554
|
/**
|
|
1102
2555
|
* Create a cache control breakpoint at this content block.
|
|
1103
2556
|
*/
|
|
@@ -1191,8 +2644,12 @@ export interface ToolResultBlockParam {
|
|
|
1191
2644
|
* Create a cache control breakpoint at this content block.
|
|
1192
2645
|
*/
|
|
1193
2646
|
cache_control?: CacheControlEphemeral | null;
|
|
1194
|
-
content?: string | Array<TextBlockParam | ImageBlockParam | SearchResultBlockParam | DocumentBlockParam | ToolReferenceBlockParam>;
|
|
2647
|
+
content?: string | Array<TextBlockParam | ImageBlockParam | SearchResultBlockParam | DocumentBlockParam | ToolReferenceBlockParam | BrowserStateBlockParam>;
|
|
1195
2648
|
is_error?: boolean;
|
|
2649
|
+
/**
|
|
2650
|
+
* For a toolset member tool_result, the toolset family of the paired tool_use.
|
|
2651
|
+
*/
|
|
2652
|
+
toolset_name?: string | null;
|
|
1196
2653
|
}
|
|
1197
2654
|
export interface ToolSearchToolBm25_20251119 {
|
|
1198
2655
|
/**
|
|
@@ -1202,7 +2659,7 @@ export interface ToolSearchToolBm25_20251119 {
|
|
|
1202
2659
|
*/
|
|
1203
2660
|
name: 'tool_search_tool_bm25';
|
|
1204
2661
|
type: 'tool_search_tool_bm25_20251119' | 'tool_search_tool_bm25';
|
|
1205
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
2662
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1206
2663
|
/**
|
|
1207
2664
|
* Create a cache control breakpoint at this content block.
|
|
1208
2665
|
*/
|
|
@@ -1225,7 +2682,7 @@ export interface ToolSearchToolRegex20251119 {
|
|
|
1225
2682
|
*/
|
|
1226
2683
|
name: 'tool_search_tool_regex';
|
|
1227
2684
|
type: 'tool_search_tool_regex_20251119' | 'tool_search_tool_regex';
|
|
1228
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
2685
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1229
2686
|
/**
|
|
1230
2687
|
* Create a cache control breakpoint at this content block.
|
|
1231
2688
|
*/
|
|
@@ -1263,6 +2720,7 @@ export type ToolSearchToolResultErrorCode = 'invalid_tool_input' | 'unavailable'
|
|
|
1263
2720
|
export interface ToolSearchToolResultErrorParam {
|
|
1264
2721
|
error_code: ToolSearchToolResultErrorCode;
|
|
1265
2722
|
type: 'tool_search_tool_result_error';
|
|
2723
|
+
error_message?: string | null;
|
|
1266
2724
|
}
|
|
1267
2725
|
export interface ToolSearchToolSearchResultBlock {
|
|
1268
2726
|
tool_references: Array<ToolReferenceBlock>;
|
|
@@ -1280,7 +2738,7 @@ export interface ToolTextEditor20250124 {
|
|
|
1280
2738
|
*/
|
|
1281
2739
|
name: 'str_replace_editor';
|
|
1282
2740
|
type: 'text_editor_20250124';
|
|
1283
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
2741
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1284
2742
|
/**
|
|
1285
2743
|
* Create a cache control breakpoint at this content block.
|
|
1286
2744
|
*/
|
|
@@ -1306,7 +2764,7 @@ export interface ToolTextEditor20250429 {
|
|
|
1306
2764
|
*/
|
|
1307
2765
|
name: 'str_replace_based_edit_tool';
|
|
1308
2766
|
type: 'text_editor_20250429';
|
|
1309
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
2767
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1310
2768
|
/**
|
|
1311
2769
|
* Create a cache control breakpoint at this content block.
|
|
1312
2770
|
*/
|
|
@@ -1332,7 +2790,7 @@ export interface ToolTextEditor20250728 {
|
|
|
1332
2790
|
*/
|
|
1333
2791
|
name: 'str_replace_based_edit_tool';
|
|
1334
2792
|
type: 'text_editor_20250728';
|
|
1335
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
2793
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1336
2794
|
/**
|
|
1337
2795
|
* Create a cache control breakpoint at this content block.
|
|
1338
2796
|
*/
|
|
@@ -1359,7 +2817,7 @@ export interface ToolTextEditor20250728 {
|
|
|
1359
2817
|
* Code execution tool with REPL state persistence (daemon mode + gVisor
|
|
1360
2818
|
* checkpoint).
|
|
1361
2819
|
*/
|
|
1362
|
-
export type ToolUnion = Tool | ToolBash20250124 | CodeExecutionTool20250522 | CodeExecutionTool20250825 | CodeExecutionTool20260120 | MemoryTool20250818 | ToolTextEditor20250124 | ToolTextEditor20250429 | ToolTextEditor20250728 | WebSearchTool20250305 | WebFetchTool20250910 | WebSearchTool20260209 | WebFetchTool20260209 | WebFetchTool20260309 | ToolSearchToolBm25_20251119 | ToolSearchToolRegex20251119;
|
|
2820
|
+
export type ToolUnion = Tool | ToolBash20250124 | CodeExecutionTool20250522 | CodeExecutionTool20250825 | CodeExecutionTool20260120 | CodeExecutionTool20260521 | BrowserToolset20260801 | MemoryTool20250818 | ComputerToolset20260801 | ToolTextEditor20250124 | ToolTextEditor20250429 | ToolTextEditor20250728 | WebSearchTool20250305 | WebFetchTool20250910 | WebSearchTool20260209 | WebFetchTool20260209 | WebFetchTool20260309 | WebSearchTool20260318 | WebFetchTool20260318 | ToolSearchToolBm25_20251119 | ToolSearchToolRegex20251119;
|
|
1363
2821
|
export interface ToolUseBlock {
|
|
1364
2822
|
id: string;
|
|
1365
2823
|
/**
|
|
@@ -1369,6 +2827,10 @@ export interface ToolUseBlock {
|
|
|
1369
2827
|
input: unknown;
|
|
1370
2828
|
name: string;
|
|
1371
2829
|
type: 'tool_use';
|
|
2830
|
+
/**
|
|
2831
|
+
* For a toolset member tool_use, the toolset family.
|
|
2832
|
+
*/
|
|
2833
|
+
toolset_name?: string | null;
|
|
1372
2834
|
}
|
|
1373
2835
|
export interface ToolUseBlockParam {
|
|
1374
2836
|
id: string;
|
|
@@ -1383,6 +2845,10 @@ export interface ToolUseBlockParam {
|
|
|
1383
2845
|
* Tool invocation directly from the model.
|
|
1384
2846
|
*/
|
|
1385
2847
|
caller?: DirectCaller | ServerToolCaller | ServerToolCaller20260120;
|
|
2848
|
+
/**
|
|
2849
|
+
* For a toolset member tool_use, the toolset family this member belongs to.
|
|
2850
|
+
*/
|
|
2851
|
+
toolset_name?: string | null;
|
|
1386
2852
|
}
|
|
1387
2853
|
export interface URLImageSource {
|
|
1388
2854
|
type: 'url';
|
|
@@ -1417,6 +2883,15 @@ export interface Usage {
|
|
|
1417
2883
|
* The number of output tokens which were used.
|
|
1418
2884
|
*/
|
|
1419
2885
|
output_tokens: number;
|
|
2886
|
+
/**
|
|
2887
|
+
* Breakdown of output tokens by category.
|
|
2888
|
+
*
|
|
2889
|
+
* `output_tokens` remains the inclusive, authoritative total used for billing.
|
|
2890
|
+
* This object provides a read-only decomposition for observability — for example,
|
|
2891
|
+
* how many of the billed output tokens were spent on internal reasoning that may
|
|
2892
|
+
* have been summarized before being returned to you.
|
|
2893
|
+
*/
|
|
2894
|
+
output_tokens_details: OutputTokensDetails | null;
|
|
1420
2895
|
/**
|
|
1421
2896
|
* The number of server tool requests.
|
|
1422
2897
|
*/
|
|
@@ -1479,7 +2954,7 @@ export interface WebFetchTool20250910 {
|
|
|
1479
2954
|
*/
|
|
1480
2955
|
name: 'web_fetch';
|
|
1481
2956
|
type: 'web_fetch_20250910';
|
|
1482
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
2957
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1483
2958
|
/**
|
|
1484
2959
|
* List of domains to allow fetching from
|
|
1485
2960
|
*/
|
|
@@ -1524,7 +2999,7 @@ export interface WebFetchTool20260209 {
|
|
|
1524
2999
|
*/
|
|
1525
3000
|
name: 'web_fetch';
|
|
1526
3001
|
type: 'web_fetch_20260209';
|
|
1527
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
3002
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1528
3003
|
/**
|
|
1529
3004
|
* List of domains to allow fetching from
|
|
1530
3005
|
*/
|
|
@@ -1572,7 +3047,58 @@ export interface WebFetchTool20260309 {
|
|
|
1572
3047
|
*/
|
|
1573
3048
|
name: 'web_fetch';
|
|
1574
3049
|
type: 'web_fetch_20260309';
|
|
1575
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
3050
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
3051
|
+
/**
|
|
3052
|
+
* List of domains to allow fetching from
|
|
3053
|
+
*/
|
|
3054
|
+
allowed_domains?: Array<string> | null;
|
|
3055
|
+
/**
|
|
3056
|
+
* List of domains to block fetching from
|
|
3057
|
+
*/
|
|
3058
|
+
blocked_domains?: Array<string> | null;
|
|
3059
|
+
/**
|
|
3060
|
+
* Create a cache control breakpoint at this content block.
|
|
3061
|
+
*/
|
|
3062
|
+
cache_control?: CacheControlEphemeral | null;
|
|
3063
|
+
/**
|
|
3064
|
+
* Citations configuration for fetched documents. Citations are disabled by
|
|
3065
|
+
* default.
|
|
3066
|
+
*/
|
|
3067
|
+
citations?: CitationsConfigParam | null;
|
|
3068
|
+
/**
|
|
3069
|
+
* If true, tool will not be included in initial system prompt. Only loaded when
|
|
3070
|
+
* returned via tool_reference from tool search.
|
|
3071
|
+
*/
|
|
3072
|
+
defer_loading?: boolean;
|
|
3073
|
+
/**
|
|
3074
|
+
* Maximum number of tokens used by including web page text content in the context.
|
|
3075
|
+
* The limit is approximate and does not apply to binary content such as PDFs.
|
|
3076
|
+
*/
|
|
3077
|
+
max_content_tokens?: number | null;
|
|
3078
|
+
/**
|
|
3079
|
+
* Maximum number of times the tool can be used in the API request.
|
|
3080
|
+
*/
|
|
3081
|
+
max_uses?: number | null;
|
|
3082
|
+
/**
|
|
3083
|
+
* When true, guarantees schema validation on tool names and inputs
|
|
3084
|
+
*/
|
|
3085
|
+
strict?: boolean;
|
|
3086
|
+
/**
|
|
3087
|
+
* Whether to use cached content. Set to false to bypass the cache and fetch fresh
|
|
3088
|
+
* content. Only set to false when the user explicitly requests fresh content or
|
|
3089
|
+
* when fetching rapidly-changing sources.
|
|
3090
|
+
*/
|
|
3091
|
+
use_cache?: boolean;
|
|
3092
|
+
}
|
|
3093
|
+
export interface WebFetchTool20260318 {
|
|
3094
|
+
/**
|
|
3095
|
+
* Name of the tool.
|
|
3096
|
+
*
|
|
3097
|
+
* This is how the tool will be called by the model and in `tool_use` blocks.
|
|
3098
|
+
*/
|
|
3099
|
+
name: 'web_fetch';
|
|
3100
|
+
type: 'web_fetch_20260318';
|
|
3101
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1576
3102
|
/**
|
|
1577
3103
|
* List of domains to allow fetching from
|
|
1578
3104
|
*/
|
|
@@ -1604,6 +3130,15 @@ export interface WebFetchTool20260309 {
|
|
|
1604
3130
|
* Maximum number of times the tool can be used in the API request.
|
|
1605
3131
|
*/
|
|
1606
3132
|
max_uses?: number | null;
|
|
3133
|
+
/**
|
|
3134
|
+
* How this tool's result blocks appear in the API response when the result was
|
|
3135
|
+
* consumed by a completed code_execution call in the same turn. 'full' returns the
|
|
3136
|
+
* complete content (default). 'excluded' drops the nested server_tool_use and
|
|
3137
|
+
* result block pair entirely. Results from direct calls, or from code_execution
|
|
3138
|
+
* calls that paused before completing, are always returned in full so they can be
|
|
3139
|
+
* sent back on the next turn.
|
|
3140
|
+
*/
|
|
3141
|
+
response_inclusion?: 'full' | 'excluded';
|
|
1607
3142
|
/**
|
|
1608
3143
|
* When true, guarantees schema validation on tool names and inputs
|
|
1609
3144
|
*/
|
|
@@ -1645,7 +3180,7 @@ export interface WebFetchToolResultErrorBlockParam {
|
|
|
1645
3180
|
error_code: WebFetchToolResultErrorCode;
|
|
1646
3181
|
type: 'web_fetch_tool_result_error';
|
|
1647
3182
|
}
|
|
1648
|
-
export type WebFetchToolResultErrorCode = 'invalid_tool_input' | 'url_too_long' | 'url_not_allowed' | 'url_not_accessible' | 'unsupported_content_type' | 'too_many_requests' | 'max_uses_exceeded' | 'unavailable';
|
|
3183
|
+
export type WebFetchToolResultErrorCode = 'invalid_tool_input' | 'url_too_long' | 'url_not_allowed' | 'url_not_in_prior_context' | 'url_not_accessible' | 'unsupported_content_type' | 'too_many_requests' | 'max_uses_exceeded' | 'unavailable';
|
|
1649
3184
|
export interface WebSearchResultBlock {
|
|
1650
3185
|
encrypted_content: string;
|
|
1651
3186
|
page_age: string | null;
|
|
@@ -1668,7 +3203,7 @@ export interface WebSearchTool20250305 {
|
|
|
1668
3203
|
*/
|
|
1669
3204
|
name: 'web_search';
|
|
1670
3205
|
type: 'web_search_20250305';
|
|
1671
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
3206
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1672
3207
|
/**
|
|
1673
3208
|
* If provided, only these domains will be included in results. Cannot be used
|
|
1674
3209
|
* alongside `blocked_domains`.
|
|
@@ -1717,7 +3252,7 @@ export interface WebSearchTool20260209 {
|
|
|
1717
3252
|
*/
|
|
1718
3253
|
name: 'web_search';
|
|
1719
3254
|
type: 'web_search_20260209';
|
|
1720
|
-
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120'>;
|
|
3255
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
1721
3256
|
/**
|
|
1722
3257
|
* If provided, only these domains will be included in results. Cannot be used
|
|
1723
3258
|
* alongside `blocked_domains`.
|
|
@@ -1758,6 +3293,57 @@ export declare namespace WebSearchTool20260209 {
|
|
|
1758
3293
|
*/
|
|
1759
3294
|
type UserLocation = Messages.UserLocation;
|
|
1760
3295
|
}
|
|
3296
|
+
export interface WebSearchTool20260318 {
|
|
3297
|
+
/**
|
|
3298
|
+
* Name of the tool.
|
|
3299
|
+
*
|
|
3300
|
+
* This is how the tool will be called by the model and in `tool_use` blocks.
|
|
3301
|
+
*/
|
|
3302
|
+
name: 'web_search';
|
|
3303
|
+
type: 'web_search_20260318';
|
|
3304
|
+
allowed_callers?: Array<'direct' | 'code_execution_20250825' | 'code_execution_20260120' | 'code_execution_20260521'>;
|
|
3305
|
+
/**
|
|
3306
|
+
* If provided, only these domains will be included in results. Cannot be used
|
|
3307
|
+
* alongside `blocked_domains`.
|
|
3308
|
+
*/
|
|
3309
|
+
allowed_domains?: Array<string> | null;
|
|
3310
|
+
/**
|
|
3311
|
+
* If provided, these domains will never appear in results. Cannot be used
|
|
3312
|
+
* alongside `allowed_domains`.
|
|
3313
|
+
*/
|
|
3314
|
+
blocked_domains?: Array<string> | null;
|
|
3315
|
+
/**
|
|
3316
|
+
* Create a cache control breakpoint at this content block.
|
|
3317
|
+
*/
|
|
3318
|
+
cache_control?: CacheControlEphemeral | null;
|
|
3319
|
+
/**
|
|
3320
|
+
* If true, tool will not be included in initial system prompt. Only loaded when
|
|
3321
|
+
* returned via tool_reference from tool search.
|
|
3322
|
+
*/
|
|
3323
|
+
defer_loading?: boolean;
|
|
3324
|
+
/**
|
|
3325
|
+
* Maximum number of times the tool can be used in the API request.
|
|
3326
|
+
*/
|
|
3327
|
+
max_uses?: number | null;
|
|
3328
|
+
/**
|
|
3329
|
+
* How this tool's result blocks appear in the API response when the result was
|
|
3330
|
+
* consumed by a completed code_execution call in the same turn. 'full' returns the
|
|
3331
|
+
* complete content (default). 'excluded' drops the nested server_tool_use and
|
|
3332
|
+
* result block pair entirely. Results from direct calls, or from code_execution
|
|
3333
|
+
* calls that paused before completing, are always returned in full so they can be
|
|
3334
|
+
* sent back on the next turn.
|
|
3335
|
+
*/
|
|
3336
|
+
response_inclusion?: 'full' | 'excluded';
|
|
3337
|
+
/**
|
|
3338
|
+
* When true, guarantees schema validation on tool names and inputs
|
|
3339
|
+
*/
|
|
3340
|
+
strict?: boolean;
|
|
3341
|
+
/**
|
|
3342
|
+
* Parameters for the user's location. Used to provide more relevant search
|
|
3343
|
+
* results.
|
|
3344
|
+
*/
|
|
3345
|
+
user_location?: UserLocation | null;
|
|
3346
|
+
}
|
|
1761
3347
|
export interface WebSearchToolRequestError {
|
|
1762
3348
|
error_code: WebSearchToolResultErrorCode;
|
|
1763
3349
|
type: 'web_search_tool_result_error';
|
|
@@ -1801,17 +3387,22 @@ export type ContentBlockStopEvent = RawContentBlockStopEvent;
|
|
|
1801
3387
|
export type MessageCreateParams = MessageCreateParamsNonStreaming | MessageCreateParamsStreaming;
|
|
1802
3388
|
export interface MessageCreateParamsBase {
|
|
1803
3389
|
/**
|
|
1804
|
-
* The maximum number of tokens to generate before stopping.
|
|
3390
|
+
* Body param: The maximum number of tokens to generate before stopping.
|
|
1805
3391
|
*
|
|
1806
3392
|
* Note that our models may stop _before_ reaching this maximum. This parameter
|
|
1807
3393
|
* only specifies the absolute maximum number of tokens to generate.
|
|
1808
3394
|
*
|
|
3395
|
+
* Set to `0` to populate the
|
|
3396
|
+
* [prompt cache](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#pre-warming-the-cache)
|
|
3397
|
+
* without generating a response.
|
|
3398
|
+
*
|
|
1809
3399
|
* Different models have different maximum values for this parameter. See
|
|
1810
|
-
* [models](https://
|
|
3400
|
+
* [models](https://platform.claude.com/docs/en/about-claude/models/overview) for
|
|
3401
|
+
* details.
|
|
1811
3402
|
*/
|
|
1812
3403
|
max_tokens: number;
|
|
1813
3404
|
/**
|
|
1814
|
-
* Input messages.
|
|
3405
|
+
* Body param: Input messages.
|
|
1815
3406
|
*
|
|
1816
3407
|
* Our models are trained to operate on alternating `user` and `assistant`
|
|
1817
3408
|
* conversational turns. When creating a new `Message`, you specify the prior
|
|
@@ -1868,54 +3459,58 @@ export interface MessageCreateParamsBase {
|
|
|
1868
3459
|
* { "role": "user", "content": [{ "type": "text", "text": "Hello, Claude" }] }
|
|
1869
3460
|
* ```
|
|
1870
3461
|
*
|
|
1871
|
-
* See
|
|
3462
|
+
* See
|
|
3463
|
+
* [input examples](https://platform.claude.com/docs/en/build-with-claude/working-with-messages).
|
|
1872
3464
|
*
|
|
1873
3465
|
* Note that if you want to include a
|
|
1874
|
-
* [system prompt](https://
|
|
1875
|
-
* top-level `system` parameter — there is no `"system"` role for
|
|
1876
|
-
* the Messages API.
|
|
3466
|
+
* [system prompt](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#give-claude-a-role),
|
|
3467
|
+
* you can use the top-level `system` parameter — there is no `"system"` role for
|
|
3468
|
+
* input messages in the Messages API.
|
|
1877
3469
|
*
|
|
1878
3470
|
* There is a limit of 100,000 messages in a single request.
|
|
1879
3471
|
*/
|
|
1880
3472
|
messages: Array<MessageParam>;
|
|
1881
3473
|
/**
|
|
1882
|
-
* The model that will complete your prompt
|
|
1883
|
-
*
|
|
3474
|
+
* Body param: The model that will complete your prompt.
|
|
3475
|
+
*
|
|
3476
|
+
* See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
|
|
1884
3477
|
* details and options.
|
|
1885
3478
|
*/
|
|
1886
3479
|
model: Model;
|
|
1887
3480
|
/**
|
|
1888
|
-
* Top-level cache control automatically applies a cache_control marker
|
|
1889
|
-
* cacheable block in the request.
|
|
3481
|
+
* Body param: Top-level cache control automatically applies a cache_control marker
|
|
3482
|
+
* to the last cacheable block in the request.
|
|
1890
3483
|
*/
|
|
1891
3484
|
cache_control?: CacheControlEphemeral | null;
|
|
1892
3485
|
/**
|
|
1893
|
-
* Container identifier for reuse across requests.
|
|
3486
|
+
* Body param: Container identifier for reuse across requests.
|
|
1894
3487
|
*/
|
|
1895
|
-
container?:
|
|
3488
|
+
container?: MessageCreateParamsContainer | null;
|
|
1896
3489
|
/**
|
|
1897
|
-
* Specifies the geographic region for inference processing. If not
|
|
1898
|
-
* workspace's `default_inference_geo` is used.
|
|
3490
|
+
* Body param: Specifies the geographic region for inference processing. If not
|
|
3491
|
+
* specified, the workspace's `default_inference_geo` is used.
|
|
1899
3492
|
*/
|
|
1900
3493
|
inference_geo?: string | null;
|
|
1901
3494
|
/**
|
|
1902
|
-
* An object describing metadata about the request.
|
|
3495
|
+
* Body param: An object describing metadata about the request.
|
|
1903
3496
|
*/
|
|
1904
3497
|
metadata?: Metadata;
|
|
1905
3498
|
/**
|
|
1906
|
-
* Configuration options for the model's output, such as the output
|
|
3499
|
+
* Body param: Configuration options for the model's output, such as the output
|
|
3500
|
+
* format.
|
|
1907
3501
|
*/
|
|
1908
3502
|
output_config?: OutputConfig;
|
|
1909
3503
|
/**
|
|
1910
|
-
* Determines whether to use priority capacity (if available) or
|
|
1911
|
-
* for this request.
|
|
3504
|
+
* Body param: Determines whether to use priority capacity (if available) or
|
|
3505
|
+
* standard capacity for this request.
|
|
1912
3506
|
*
|
|
1913
3507
|
* Anthropic offers different levels of service for your API requests. See
|
|
1914
|
-
* [service-tiers](https://
|
|
3508
|
+
* [service-tiers](https://platform.claude.com/docs/en/api/service-tiers) for
|
|
3509
|
+
* details.
|
|
1915
3510
|
*/
|
|
1916
3511
|
service_tier?: 'auto' | 'standard_only';
|
|
1917
3512
|
/**
|
|
1918
|
-
* Custom text sequences that will cause the model to stop generating.
|
|
3513
|
+
* Body param: Custom text sequences that will cause the model to stop generating.
|
|
1919
3514
|
*
|
|
1920
3515
|
* Our models will normally stop when they have naturally completed their turn,
|
|
1921
3516
|
* which will result in a response `stop_reason` of `"end_turn"`.
|
|
@@ -1927,17 +3522,19 @@ export interface MessageCreateParamsBase {
|
|
|
1927
3522
|
*/
|
|
1928
3523
|
stop_sequences?: Array<string>;
|
|
1929
3524
|
/**
|
|
1930
|
-
* Whether to incrementally stream the response using server-sent
|
|
3525
|
+
* Body param: Whether to incrementally stream the response using server-sent
|
|
3526
|
+
* events.
|
|
1931
3527
|
*
|
|
1932
|
-
* See [streaming](https://
|
|
3528
|
+
* See [streaming](https://platform.claude.com/docs/en/build-with-claude/streaming)
|
|
3529
|
+
* for details.
|
|
1933
3530
|
*/
|
|
1934
3531
|
stream?: boolean;
|
|
1935
3532
|
/**
|
|
1936
|
-
* System prompt.
|
|
3533
|
+
* Body param: System prompt.
|
|
1937
3534
|
*
|
|
1938
3535
|
* A system prompt is a way of providing context and instructions to Claude, such
|
|
1939
3536
|
* as specifying a particular goal or role. See our
|
|
1940
|
-
* [guide to system prompts](https://
|
|
3537
|
+
* [guide to system prompts](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#give-claude-a-role).
|
|
1941
3538
|
*/
|
|
1942
3539
|
system?: string | Array<TextBlockParam>;
|
|
1943
3540
|
/**
|
|
@@ -1947,24 +3544,24 @@ export interface MessageCreateParamsBase {
|
|
|
1947
3544
|
*/
|
|
1948
3545
|
temperature?: number;
|
|
1949
3546
|
/**
|
|
1950
|
-
* Configuration for enabling Claude's extended thinking.
|
|
3547
|
+
* Body param: Configuration for enabling Claude's extended thinking.
|
|
1951
3548
|
*
|
|
1952
3549
|
* When enabled, responses include `thinking` content blocks showing Claude's
|
|
1953
3550
|
* thinking process before the final answer. Requires a minimum budget of 1,024
|
|
1954
3551
|
* tokens and counts towards your `max_tokens` limit.
|
|
1955
3552
|
*
|
|
1956
3553
|
* See
|
|
1957
|
-
* [extended thinking](https://
|
|
3554
|
+
* [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking)
|
|
1958
3555
|
* for details.
|
|
1959
3556
|
*/
|
|
1960
3557
|
thinking?: ThinkingConfigParam;
|
|
1961
3558
|
/**
|
|
1962
|
-
* How the model should use the provided tools. The model can use a
|
|
1963
|
-
* any available tool, decide by itself, or not use tools at all.
|
|
3559
|
+
* Body param: How the model should use the provided tools. The model can use a
|
|
3560
|
+
* specific tool, any available tool, decide by itself, or not use tools at all.
|
|
1964
3561
|
*/
|
|
1965
3562
|
tool_choice?: ToolChoice;
|
|
1966
3563
|
/**
|
|
1967
|
-
* Definitions of tools that the model may use.
|
|
3564
|
+
* Body param: Definitions of tools that the model may use.
|
|
1968
3565
|
*
|
|
1969
3566
|
* If you include `tools` in your API request, the model may return `tool_use`
|
|
1970
3567
|
* content blocks that represent the model's use of those tools. You can then run
|
|
@@ -1973,9 +3570,9 @@ export interface MessageCreateParamsBase {
|
|
|
1973
3570
|
*
|
|
1974
3571
|
* There are two types of tools: **client tools** and **server tools**. The
|
|
1975
3572
|
* behavior described below applies to client tools. For
|
|
1976
|
-
* [server tools](https://
|
|
3573
|
+
* [server tools](https://platform.claude.com/docs/en/agents-and-tools/tool-use/server-tools),
|
|
1977
3574
|
* see their individual documentation as each has its own behavior (e.g., the
|
|
1978
|
-
* [web search tool](https://
|
|
3575
|
+
* [web search tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool)).
|
|
1979
3576
|
*
|
|
1980
3577
|
* Each tool definition includes:
|
|
1981
3578
|
*
|
|
@@ -2038,7 +3635,9 @@ export interface MessageCreateParamsBase {
|
|
|
2038
3635
|
* functions, or more generally whenever you want the model to produce a particular
|
|
2039
3636
|
* JSON structure of output.
|
|
2040
3637
|
*
|
|
2041
|
-
* See our
|
|
3638
|
+
* See our
|
|
3639
|
+
* [guide](https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview)
|
|
3640
|
+
* for more details.
|
|
2042
3641
|
*/
|
|
2043
3642
|
tools?: Array<ToolUnion>;
|
|
2044
3643
|
/**
|
|
@@ -2052,6 +3651,12 @@ export interface MessageCreateParamsBase {
|
|
|
2052
3651
|
* other values will be rejected with a 400 error.
|
|
2053
3652
|
*/
|
|
2054
3653
|
top_p?: number;
|
|
3654
|
+
/**
|
|
3655
|
+
* Header param: The user profile ID to attribute this request to. Use when acting
|
|
3656
|
+
* on behalf of a party other than your organization. Requires the `user-profiles`
|
|
3657
|
+
* beta header.
|
|
3658
|
+
*/
|
|
3659
|
+
user_profile_id?: string;
|
|
2055
3660
|
}
|
|
2056
3661
|
export declare namespace MessageCreateParams {
|
|
2057
3662
|
type MessageCreateParamsNonStreaming = MessagesAPI.MessageCreateParamsNonStreaming;
|
|
@@ -2059,24 +3664,28 @@ export declare namespace MessageCreateParams {
|
|
|
2059
3664
|
}
|
|
2060
3665
|
export interface MessageCreateParamsNonStreaming extends MessageCreateParamsBase {
|
|
2061
3666
|
/**
|
|
2062
|
-
* Whether to incrementally stream the response using server-sent
|
|
3667
|
+
* Body param: Whether to incrementally stream the response using server-sent
|
|
3668
|
+
* events.
|
|
2063
3669
|
*
|
|
2064
|
-
* See [streaming](https://
|
|
3670
|
+
* See [streaming](https://platform.claude.com/docs/en/build-with-claude/streaming)
|
|
3671
|
+
* for details.
|
|
2065
3672
|
*/
|
|
2066
3673
|
stream?: false;
|
|
2067
3674
|
}
|
|
2068
3675
|
export interface MessageCreateParamsStreaming extends MessageCreateParamsBase {
|
|
2069
3676
|
/**
|
|
2070
|
-
* Whether to incrementally stream the response using server-sent
|
|
3677
|
+
* Body param: Whether to incrementally stream the response using server-sent
|
|
3678
|
+
* events.
|
|
2071
3679
|
*
|
|
2072
|
-
* See [streaming](https://
|
|
3680
|
+
* See [streaming](https://platform.claude.com/docs/en/build-with-claude/streaming)
|
|
3681
|
+
* for details.
|
|
2073
3682
|
*/
|
|
2074
3683
|
stream: true;
|
|
2075
3684
|
}
|
|
2076
3685
|
export type MessageStreamParams = ParseableMessageCreateParams;
|
|
2077
3686
|
export interface MessageCountTokensParams {
|
|
2078
3687
|
/**
|
|
2079
|
-
* Input messages.
|
|
3688
|
+
* Body param: Input messages.
|
|
2080
3689
|
*
|
|
2081
3690
|
* Our models are trained to operate on alternating `user` and `assistant`
|
|
2082
3691
|
* conversational turns. When creating a new `Message`, you specify the prior
|
|
@@ -2133,58 +3742,61 @@ export interface MessageCountTokensParams {
|
|
|
2133
3742
|
* { "role": "user", "content": [{ "type": "text", "text": "Hello, Claude" }] }
|
|
2134
3743
|
* ```
|
|
2135
3744
|
*
|
|
2136
|
-
* See
|
|
3745
|
+
* See
|
|
3746
|
+
* [input examples](https://platform.claude.com/docs/en/build-with-claude/working-with-messages).
|
|
2137
3747
|
*
|
|
2138
3748
|
* Note that if you want to include a
|
|
2139
|
-
* [system prompt](https://
|
|
2140
|
-
* top-level `system` parameter — there is no `"system"` role for
|
|
2141
|
-
* the Messages API.
|
|
3749
|
+
* [system prompt](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#give-claude-a-role),
|
|
3750
|
+
* you can use the top-level `system` parameter — there is no `"system"` role for
|
|
3751
|
+
* input messages in the Messages API.
|
|
2142
3752
|
*
|
|
2143
3753
|
* There is a limit of 100,000 messages in a single request.
|
|
2144
3754
|
*/
|
|
2145
3755
|
messages: Array<MessageParam>;
|
|
2146
3756
|
/**
|
|
2147
|
-
* The model that will complete your prompt
|
|
2148
|
-
*
|
|
3757
|
+
* Body param: The model that will complete your prompt.
|
|
3758
|
+
*
|
|
3759
|
+
* See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
|
|
2149
3760
|
* details and options.
|
|
2150
3761
|
*/
|
|
2151
3762
|
model: Model;
|
|
2152
3763
|
/**
|
|
2153
|
-
* Top-level cache control automatically applies a cache_control marker
|
|
2154
|
-
* cacheable block in the request.
|
|
3764
|
+
* Body param: Top-level cache control automatically applies a cache_control marker
|
|
3765
|
+
* to the last cacheable block in the request.
|
|
2155
3766
|
*/
|
|
2156
3767
|
cache_control?: CacheControlEphemeral | null;
|
|
2157
3768
|
/**
|
|
2158
|
-
* Configuration options for the model's output, such as the output
|
|
3769
|
+
* Body param: Configuration options for the model's output, such as the output
|
|
3770
|
+
* format.
|
|
2159
3771
|
*/
|
|
2160
3772
|
output_config?: OutputConfig;
|
|
2161
3773
|
/**
|
|
2162
|
-
* System prompt.
|
|
3774
|
+
* Body param: System prompt.
|
|
2163
3775
|
*
|
|
2164
3776
|
* A system prompt is a way of providing context and instructions to Claude, such
|
|
2165
3777
|
* as specifying a particular goal or role. See our
|
|
2166
|
-
* [guide to system prompts](https://
|
|
3778
|
+
* [guide to system prompts](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#give-claude-a-role).
|
|
2167
3779
|
*/
|
|
2168
3780
|
system?: string | Array<TextBlockParam>;
|
|
2169
3781
|
/**
|
|
2170
|
-
* Configuration for enabling Claude's extended thinking.
|
|
3782
|
+
* Body param: Configuration for enabling Claude's extended thinking.
|
|
2171
3783
|
*
|
|
2172
3784
|
* When enabled, responses include `thinking` content blocks showing Claude's
|
|
2173
3785
|
* thinking process before the final answer. Requires a minimum budget of 1,024
|
|
2174
3786
|
* tokens and counts towards your `max_tokens` limit.
|
|
2175
3787
|
*
|
|
2176
3788
|
* See
|
|
2177
|
-
* [extended thinking](https://
|
|
3789
|
+
* [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking)
|
|
2178
3790
|
* for details.
|
|
2179
3791
|
*/
|
|
2180
3792
|
thinking?: ThinkingConfigParam;
|
|
2181
3793
|
/**
|
|
2182
|
-
* How the model should use the provided tools. The model can use a
|
|
2183
|
-
* any available tool, decide by itself, or not use tools at all.
|
|
3794
|
+
* Body param: How the model should use the provided tools. The model can use a
|
|
3795
|
+
* specific tool, any available tool, decide by itself, or not use tools at all.
|
|
2184
3796
|
*/
|
|
2185
3797
|
tool_choice?: ToolChoice;
|
|
2186
3798
|
/**
|
|
2187
|
-
* Definitions of tools that the model may use.
|
|
3799
|
+
* Body param: Definitions of tools that the model may use.
|
|
2188
3800
|
*
|
|
2189
3801
|
* If you include `tools` in your API request, the model may return `tool_use`
|
|
2190
3802
|
* content blocks that represent the model's use of those tools. You can then run
|
|
@@ -2193,9 +3805,9 @@ export interface MessageCountTokensParams {
|
|
|
2193
3805
|
*
|
|
2194
3806
|
* There are two types of tools: **client tools** and **server tools**. The
|
|
2195
3807
|
* behavior described below applies to client tools. For
|
|
2196
|
-
* [server tools](https://
|
|
3808
|
+
* [server tools](https://platform.claude.com/docs/en/agents-and-tools/tool-use/server-tools),
|
|
2197
3809
|
* see their individual documentation as each has its own behavior (e.g., the
|
|
2198
|
-
* [web search tool](https://
|
|
3810
|
+
* [web search tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool)).
|
|
2199
3811
|
*
|
|
2200
3812
|
* Each tool definition includes:
|
|
2201
3813
|
*
|
|
@@ -2258,12 +3870,20 @@ export interface MessageCountTokensParams {
|
|
|
2258
3870
|
* functions, or more generally whenever you want the model to produce a particular
|
|
2259
3871
|
* JSON structure of output.
|
|
2260
3872
|
*
|
|
2261
|
-
* See our
|
|
3873
|
+
* See our
|
|
3874
|
+
* [guide](https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview)
|
|
3875
|
+
* for more details.
|
|
2262
3876
|
*/
|
|
2263
3877
|
tools?: Array<MessageCountTokensTool>;
|
|
3878
|
+
/**
|
|
3879
|
+
* Header param: The user profile ID to attribute this request to. Use when acting
|
|
3880
|
+
* on behalf of a party other than your organization. Requires the `user-profiles`
|
|
3881
|
+
* beta header.
|
|
3882
|
+
*/
|
|
3883
|
+
user_profile_id?: string;
|
|
2264
3884
|
}
|
|
2265
3885
|
export declare namespace Messages {
|
|
2266
|
-
export { type Base64ImageSource as Base64ImageSource, type Base64PDFSource as Base64PDFSource, type BashCodeExecutionOutputBlock as BashCodeExecutionOutputBlock, type BashCodeExecutionOutputBlockParam as BashCodeExecutionOutputBlockParam, type BashCodeExecutionResultBlock as BashCodeExecutionResultBlock, type BashCodeExecutionResultBlockParam as BashCodeExecutionResultBlockParam, type BashCodeExecutionToolResultBlock as BashCodeExecutionToolResultBlock, type BashCodeExecutionToolResultBlockParam as BashCodeExecutionToolResultBlockParam, type BashCodeExecutionToolResultError as BashCodeExecutionToolResultError, type BashCodeExecutionToolResultErrorCode as BashCodeExecutionToolResultErrorCode, type BashCodeExecutionToolResultErrorParam as BashCodeExecutionToolResultErrorParam, type CacheControlEphemeral as CacheControlEphemeral, type CacheCreation as CacheCreation, type CitationCharLocation as CitationCharLocation, type CitationCharLocationParam as CitationCharLocationParam, type CitationContentBlockLocation as CitationContentBlockLocation, type CitationContentBlockLocationParam as CitationContentBlockLocationParam, type CitationPageLocation as CitationPageLocation, type CitationPageLocationParam as CitationPageLocationParam, type CitationSearchResultLocationParam as CitationSearchResultLocationParam, type CitationWebSearchResultLocationParam as CitationWebSearchResultLocationParam, type CitationsConfig as CitationsConfig, type CitationsConfigParam as CitationsConfigParam, type CitationsDelta as CitationsDelta, type CitationsSearchResultLocation as CitationsSearchResultLocation, type CitationsWebSearchResultLocation as CitationsWebSearchResultLocation, type CodeExecutionOutputBlock as CodeExecutionOutputBlock, type CodeExecutionOutputBlockParam as CodeExecutionOutputBlockParam, type CodeExecutionResultBlock as CodeExecutionResultBlock, type CodeExecutionResultBlockParam as CodeExecutionResultBlockParam, type CodeExecutionTool20250522 as CodeExecutionTool20250522, type CodeExecutionTool20250825 as CodeExecutionTool20250825, type CodeExecutionTool20260120 as CodeExecutionTool20260120, type CodeExecutionToolResultBlock as CodeExecutionToolResultBlock, type CodeExecutionToolResultBlockContent as CodeExecutionToolResultBlockContent, type CodeExecutionToolResultBlockParam as CodeExecutionToolResultBlockParam, type CodeExecutionToolResultBlockParamContent as CodeExecutionToolResultBlockParamContent, type CodeExecutionToolResultError as CodeExecutionToolResultError, type CodeExecutionToolResultErrorCode as CodeExecutionToolResultErrorCode, type CodeExecutionToolResultErrorParam as CodeExecutionToolResultErrorParam, type Container as Container, type ContainerUploadBlock as ContainerUploadBlock, type ContainerUploadBlockParam as ContainerUploadBlockParam, type ContentBlock as ContentBlock, type ContentBlockParam as ContentBlockParam, type ContentBlockStartEvent as ContentBlockStartEvent, type ContentBlockStopEvent as ContentBlockStopEvent, type ContentBlockSource as ContentBlockSource, type ContentBlockSourceContent as ContentBlockSourceContent, type DirectCaller as DirectCaller, type DocumentBlock as DocumentBlock, type DocumentBlockParam as DocumentBlockParam, type EncryptedCodeExecutionResultBlock as EncryptedCodeExecutionResultBlock, type EncryptedCodeExecutionResultBlockParam as EncryptedCodeExecutionResultBlockParam, type ImageBlockParam as ImageBlockParam, type InputJSONDelta as InputJSONDelta, type JSONOutputFormat as JSONOutputFormat, type MemoryTool20250818 as MemoryTool20250818, type Message as Message, type MessageCountTokensTool as MessageCountTokensTool, type MessageDeltaEvent as MessageDeltaEvent, type MessageDeltaUsage as MessageDeltaUsage, type MessageParam as MessageParam, type MessageTokensCount as MessageTokensCount, type Metadata as Metadata, type Model as Model, type OutputConfig as OutputConfig, type PlainTextSource as PlainTextSource, type RawContentBlockDelta as RawContentBlockDelta, type RawContentBlockDeltaEvent as RawContentBlockDeltaEvent, type RawContentBlockStartEvent as RawContentBlockStartEvent, type RawContentBlockStopEvent as RawContentBlockStopEvent, type RawMessageDeltaEvent as RawMessageDeltaEvent, type RawMessageStartEvent as RawMessageStartEvent, type RawMessageStopEvent as RawMessageStopEvent, type RawMessageStreamEvent as RawMessageStreamEvent, type RedactedThinkingBlock as RedactedThinkingBlock, type RedactedThinkingBlockParam as RedactedThinkingBlockParam, type RefusalStopDetails as RefusalStopDetails, type SearchResultBlockParam as SearchResultBlockParam, type ServerToolCaller as ServerToolCaller, type ServerToolCaller20260120 as ServerToolCaller20260120, type ServerToolUsage as ServerToolUsage, type ServerToolUseBlock as ServerToolUseBlock, type ServerToolUseBlockParam as ServerToolUseBlockParam, type SignatureDelta as SignatureDelta, type StopReason as StopReason, type TextBlock as TextBlock, type TextBlockParam as TextBlockParam, type TextCitation as TextCitation, type TextCitationParam as TextCitationParam, type TextDelta as TextDelta, type TextEditorCodeExecutionCreateResultBlock as TextEditorCodeExecutionCreateResultBlock, type TextEditorCodeExecutionCreateResultBlockParam as TextEditorCodeExecutionCreateResultBlockParam, type TextEditorCodeExecutionStrReplaceResultBlock as TextEditorCodeExecutionStrReplaceResultBlock, type TextEditorCodeExecutionStrReplaceResultBlockParam as TextEditorCodeExecutionStrReplaceResultBlockParam, type TextEditorCodeExecutionToolResultBlock as TextEditorCodeExecutionToolResultBlock, type TextEditorCodeExecutionToolResultBlockParam as TextEditorCodeExecutionToolResultBlockParam, type TextEditorCodeExecutionToolResultError as TextEditorCodeExecutionToolResultError, type TextEditorCodeExecutionToolResultErrorCode as TextEditorCodeExecutionToolResultErrorCode, type TextEditorCodeExecutionToolResultErrorParam as TextEditorCodeExecutionToolResultErrorParam, type TextEditorCodeExecutionViewResultBlock as TextEditorCodeExecutionViewResultBlock, type TextEditorCodeExecutionViewResultBlockParam as TextEditorCodeExecutionViewResultBlockParam, type ThinkingBlock as ThinkingBlock, type ThinkingBlockParam as ThinkingBlockParam, type ThinkingConfigAdaptive as ThinkingConfigAdaptive, type ThinkingConfigDisabled as ThinkingConfigDisabled, type ThinkingConfigEnabled as ThinkingConfigEnabled, type ThinkingConfigParam as ThinkingConfigParam, type ThinkingDelta as ThinkingDelta, type Tool as Tool, type ToolBash20250124 as ToolBash20250124, type ToolChoice as ToolChoice, type ToolChoiceAny as ToolChoiceAny, type ToolChoiceAuto as ToolChoiceAuto, type ToolChoiceNone as ToolChoiceNone, type ToolChoiceTool as ToolChoiceTool, type ToolReferenceBlock as ToolReferenceBlock, type ToolReferenceBlockParam as ToolReferenceBlockParam, type ToolResultBlockParam as ToolResultBlockParam, type ToolSearchToolBm25_20251119 as ToolSearchToolBm25_20251119, type ToolSearchToolRegex20251119 as ToolSearchToolRegex20251119, type ToolSearchToolResultBlock as ToolSearchToolResultBlock, type ToolSearchToolResultBlockParam as ToolSearchToolResultBlockParam, type ToolSearchToolResultError as ToolSearchToolResultError, type ToolSearchToolResultErrorCode as ToolSearchToolResultErrorCode, type ToolSearchToolResultErrorParam as ToolSearchToolResultErrorParam, type ToolSearchToolSearchResultBlock as ToolSearchToolSearchResultBlock, type ToolSearchToolSearchResultBlockParam as ToolSearchToolSearchResultBlockParam, type ToolTextEditor20250124 as ToolTextEditor20250124, type ToolTextEditor20250429 as ToolTextEditor20250429, type ToolTextEditor20250728 as ToolTextEditor20250728, type ToolUnion as ToolUnion, type ToolUseBlock as ToolUseBlock, type ToolUseBlockParam as ToolUseBlockParam, type URLImageSource as URLImageSource, type URLPDFSource as URLPDFSource, type Usage as Usage, type UserLocation as UserLocation, type WebFetchBlock as WebFetchBlock, type WebFetchBlockParam as WebFetchBlockParam, type WebFetchTool20250910 as WebFetchTool20250910, type WebFetchTool20260209 as WebFetchTool20260209, type WebFetchTool20260309 as WebFetchTool20260309, type WebFetchToolResultBlock as WebFetchToolResultBlock, type WebFetchToolResultBlockParam as WebFetchToolResultBlockParam, type WebFetchToolResultErrorBlock as WebFetchToolResultErrorBlock, type WebFetchToolResultErrorBlockParam as WebFetchToolResultErrorBlockParam, type WebFetchToolResultErrorCode as WebFetchToolResultErrorCode, type WebSearchResultBlock as WebSearchResultBlock, type WebSearchResultBlockParam as WebSearchResultBlockParam, type WebSearchTool20250305 as WebSearchTool20250305, type WebSearchTool20260209 as WebSearchTool20260209, type WebSearchToolRequestError as WebSearchToolRequestError, type WebSearchToolResultBlock as WebSearchToolResultBlock, type WebSearchToolResultBlockContent as WebSearchToolResultBlockContent, type WebSearchToolResultBlockParam as WebSearchToolResultBlockParam, type WebSearchToolResultBlockParamContent as WebSearchToolResultBlockParamContent, type WebSearchToolResultError as WebSearchToolResultError, type MessageStreamEvent as MessageStreamEvent, type MessageStartEvent as MessageStartEvent, type MessageStopEvent as MessageStopEvent, type ContentBlockDeltaEvent as ContentBlockDeltaEvent, type MessageCreateParams as MessageCreateParams, type MessageCreateParamsNonStreaming as MessageCreateParamsNonStreaming, type MessageCreateParamsStreaming as MessageCreateParamsStreaming, type MessageStreamParams as MessageStreamParams, type MessageCountTokensParams as MessageCountTokensParams, };
|
|
3886
|
+
export { type Base64ImageSource as Base64ImageSource, type Base64PDFSource as Base64PDFSource, type BashCodeExecutionOutputBlock as BashCodeExecutionOutputBlock, type BashCodeExecutionOutputBlockParam as BashCodeExecutionOutputBlockParam, type BashCodeExecutionResultBlock as BashCodeExecutionResultBlock, type BashCodeExecutionResultBlockParam as BashCodeExecutionResultBlockParam, type BashCodeExecutionToolResultBlock as BashCodeExecutionToolResultBlock, type BashCodeExecutionToolResultBlockParam as BashCodeExecutionToolResultBlockParam, type BashCodeExecutionToolResultError as BashCodeExecutionToolResultError, type BashCodeExecutionToolResultErrorCode as BashCodeExecutionToolResultErrorCode, type BashCodeExecutionToolResultErrorParam as BashCodeExecutionToolResultErrorParam, type BrowserCloseTabConfig as BrowserCloseTabConfig, type BrowserDoubleClickConfig as BrowserDoubleClickConfig, type BrowserFileUploadConfig as BrowserFileUploadConfig, type BrowserFindConfig as BrowserFindConfig, type BrowserFormInputConfig as BrowserFormInputConfig, type BrowserGetPageTextConfig as BrowserGetPageTextConfig, type BrowserHoldKeyConfig as BrowserHoldKeyConfig, type BrowserHoverConfig as BrowserHoverConfig, type BrowserJavascriptExecConfig as BrowserJavascriptExecConfig, type BrowserKeyConfig as BrowserKeyConfig, type BrowserLeftClickConfig as BrowserLeftClickConfig, type BrowserLeftClickDragConfig as BrowserLeftClickDragConfig, type BrowserLeftMouseDownConfig as BrowserLeftMouseDownConfig, type BrowserLeftMouseUpConfig as BrowserLeftMouseUpConfig, type BrowserListTabsConfig as BrowserListTabsConfig, type BrowserMiddleClickConfig as BrowserMiddleClickConfig, type BrowserMouseMoveConfig as BrowserMouseMoveConfig, type BrowserNavigateConfig as BrowserNavigateConfig, type BrowserNewTabConfig as BrowserNewTabConfig, type BrowserReadConsoleConfig as BrowserReadConsoleConfig, type BrowserReadNetworkConfig as BrowserReadNetworkConfig, type BrowserReadPageConfig as BrowserReadPageConfig, type BrowserRightClickConfig as BrowserRightClickConfig, type BrowserScreenshotConfig as BrowserScreenshotConfig, type BrowserScrollConfig as BrowserScrollConfig, type BrowserScrollToConfig as BrowserScrollToConfig, type BrowserStateBlockParam as BrowserStateBlockParam, type BrowserStateChange as BrowserStateChange, type BrowserStateChangeDownloadCompleted as BrowserStateChangeDownloadCompleted, type BrowserStateChangeDownloadFailed as BrowserStateChangeDownloadFailed, type BrowserStateChangeDownloadStarted as BrowserStateChangeDownloadStarted, type BrowserStateChangeTabOpened as BrowserStateChangeTabOpened, type BrowserStateTabEntry as BrowserStateTabEntry, type BrowserSwitchTabConfig as BrowserSwitchTabConfig, type BrowserToolset20260801 as BrowserToolset20260801, type BrowserToolsetConfigs as BrowserToolsetConfigs, type BrowserTripleClickConfig as BrowserTripleClickConfig, type BrowserTypeConfig as BrowserTypeConfig, type BrowserWaitConfig as BrowserWaitConfig, type BrowserZoomConfig as BrowserZoomConfig, type CacheControlEphemeral as CacheControlEphemeral, type CacheCreation as CacheCreation, type CitationCharLocation as CitationCharLocation, type CitationCharLocationParam as CitationCharLocationParam, type CitationContentBlockLocation as CitationContentBlockLocation, type CitationContentBlockLocationParam as CitationContentBlockLocationParam, type CitationPageLocation as CitationPageLocation, type CitationPageLocationParam as CitationPageLocationParam, type CitationSearchResultLocationParam as CitationSearchResultLocationParam, type CitationWebSearchResultLocationParam as CitationWebSearchResultLocationParam, type CitationsConfig as CitationsConfig, type CitationsConfigParam as CitationsConfigParam, type CitationsDelta as CitationsDelta, type CitationsSearchResultLocation as CitationsSearchResultLocation, type CitationsWebSearchResultLocation as CitationsWebSearchResultLocation, type CodeExecutionOutputBlock as CodeExecutionOutputBlock, type CodeExecutionOutputBlockParam as CodeExecutionOutputBlockParam, type CodeExecutionResultBlock as CodeExecutionResultBlock, type CodeExecutionResultBlockParam as CodeExecutionResultBlockParam, type CodeExecutionTool20250522 as CodeExecutionTool20250522, type CodeExecutionTool20250825 as CodeExecutionTool20250825, type CodeExecutionTool20260120 as CodeExecutionTool20260120, type CodeExecutionTool20260521 as CodeExecutionTool20260521, type CodeExecutionToolResultBlock as CodeExecutionToolResultBlock, type CodeExecutionToolResultBlockContent as CodeExecutionToolResultBlockContent, type CodeExecutionToolResultBlockParam as CodeExecutionToolResultBlockParam, type CodeExecutionToolResultBlockParamContent as CodeExecutionToolResultBlockParamContent, type CodeExecutionToolResultError as CodeExecutionToolResultError, type CodeExecutionToolResultErrorCode as CodeExecutionToolResultErrorCode, type CodeExecutionToolResultErrorParam as CodeExecutionToolResultErrorParam, type ComputerCursorPositionConfig as ComputerCursorPositionConfig, type ComputerDoubleClickConfig as ComputerDoubleClickConfig, type ComputerHoldKeyConfig as ComputerHoldKeyConfig, type ComputerKeyConfig as ComputerKeyConfig, type ComputerLeftClickConfig as ComputerLeftClickConfig, type ComputerLeftClickDragConfig as ComputerLeftClickDragConfig, type ComputerLeftMouseDownConfig as ComputerLeftMouseDownConfig, type ComputerLeftMouseUpConfig as ComputerLeftMouseUpConfig, type ComputerMiddleClickConfig as ComputerMiddleClickConfig, type ComputerMouseMoveConfig as ComputerMouseMoveConfig, type ComputerRightClickConfig as ComputerRightClickConfig, type ComputerScreenshotConfig as ComputerScreenshotConfig, type ComputerScrollConfig as ComputerScrollConfig, type ComputerToolset20260801 as ComputerToolset20260801, type ComputerToolsetConfigs as ComputerToolsetConfigs, type ComputerTripleClickConfig as ComputerTripleClickConfig, type ComputerTypeConfig as ComputerTypeConfig, type ComputerWaitConfig as ComputerWaitConfig, type ComputerZoomConfig as ComputerZoomConfig, type Container as Container, type ContainerParams as ContainerParams, type ContainerSkill as ContainerSkill, type ContainerUploadBlock as ContainerUploadBlock, type ContainerUploadBlockParam as ContainerUploadBlockParam, type ContentBlock as ContentBlock, type ContentBlockParam as ContentBlockParam, type ContentBlockStartEvent as ContentBlockStartEvent, type ContentBlockStopEvent as ContentBlockStopEvent, type ContentBlockSource as ContentBlockSource, type ContentBlockSourceContent as ContentBlockSourceContent, type DirectCaller as DirectCaller, type DocumentBlock as DocumentBlock, type DocumentBlockParam as DocumentBlockParam, type EncryptedCodeExecutionResultBlock as EncryptedCodeExecutionResultBlock, type EncryptedCodeExecutionResultBlockParam as EncryptedCodeExecutionResultBlockParam, type FileDocumentSource as FileDocumentSource, type FileImageSource as FileImageSource, type ImageBlockParam as ImageBlockParam, type ImageTransformationsParam as ImageTransformationsParam, type InputJSONDelta as InputJSONDelta, type JSONOutputFormat as JSONOutputFormat, type MemoryTool20250818 as MemoryTool20250818, type Message as Message, type MessageCountTokensTool as MessageCountTokensTool, type MessageCreateParamsContainer as MessageCreateParamsContainer, type MessageDeltaEvent as MessageDeltaEvent, type MessageDeltaUsage as MessageDeltaUsage, type MessageParam as MessageParam, type MessageTokensCount as MessageTokensCount, type Metadata as Metadata, type Model as Model, type OutputConfig as OutputConfig, type OutputTokensDetails as OutputTokensDetails, type PlainTextSource as PlainTextSource, type RawContentBlockDelta as RawContentBlockDelta, type RawContentBlockDeltaEvent as RawContentBlockDeltaEvent, type RawContentBlockStartEvent as RawContentBlockStartEvent, type RawContentBlockStopEvent as RawContentBlockStopEvent, type RawMessageDeltaEvent as RawMessageDeltaEvent, type RawMessageStartEvent as RawMessageStartEvent, type RawMessageStopEvent as RawMessageStopEvent, type RawMessageStreamEvent as RawMessageStreamEvent, type RedactedThinkingBlock as RedactedThinkingBlock, type RedactedThinkingBlockParam as RedactedThinkingBlockParam, type RefusalStopDetails as RefusalStopDetails, type SearchResultBlockParam as SearchResultBlockParam, type ServerToolCaller as ServerToolCaller, type ServerToolCaller20260120 as ServerToolCaller20260120, type ServerToolUsage as ServerToolUsage, type ServerToolUseBlock as ServerToolUseBlock, type ServerToolUseBlockParam as ServerToolUseBlockParam, type SignatureDelta as SignatureDelta, type SkillParams as SkillParams, type StopReason as StopReason, type TextBlock as TextBlock, type TextBlockParam as TextBlockParam, type TextCitation as TextCitation, type TextCitationParam as TextCitationParam, type TextDelta as TextDelta, type TextEditorCodeExecutionCreateResultBlock as TextEditorCodeExecutionCreateResultBlock, type TextEditorCodeExecutionCreateResultBlockParam as TextEditorCodeExecutionCreateResultBlockParam, type TextEditorCodeExecutionStrReplaceResultBlock as TextEditorCodeExecutionStrReplaceResultBlock, type TextEditorCodeExecutionStrReplaceResultBlockParam as TextEditorCodeExecutionStrReplaceResultBlockParam, type TextEditorCodeExecutionToolResultBlock as TextEditorCodeExecutionToolResultBlock, type TextEditorCodeExecutionToolResultBlockParam as TextEditorCodeExecutionToolResultBlockParam, type TextEditorCodeExecutionToolResultError as TextEditorCodeExecutionToolResultError, type TextEditorCodeExecutionToolResultErrorCode as TextEditorCodeExecutionToolResultErrorCode, type TextEditorCodeExecutionToolResultErrorParam as TextEditorCodeExecutionToolResultErrorParam, type TextEditorCodeExecutionViewResultBlock as TextEditorCodeExecutionViewResultBlock, type TextEditorCodeExecutionViewResultBlockParam as TextEditorCodeExecutionViewResultBlockParam, type ThinkingBlock as ThinkingBlock, type ThinkingBlockParam as ThinkingBlockParam, type ThinkingConfigAdaptive as ThinkingConfigAdaptive, type ThinkingConfigDisabled as ThinkingConfigDisabled, type ThinkingConfigEnabled as ThinkingConfigEnabled, type ThinkingConfigParam as ThinkingConfigParam, type ThinkingDelta as ThinkingDelta, type Tool as Tool, type ToolBash20250124 as ToolBash20250124, type ToolChoice as ToolChoice, type ToolChoiceAny as ToolChoiceAny, type ToolChoiceAuto as ToolChoiceAuto, type ToolChoiceNone as ToolChoiceNone, type ToolChoiceTool as ToolChoiceTool, type ToolReferenceBlock as ToolReferenceBlock, type ToolReferenceBlockParam as ToolReferenceBlockParam, type ToolResultBlockParam as ToolResultBlockParam, type ToolSearchToolBm25_20251119 as ToolSearchToolBm25_20251119, type ToolSearchToolRegex20251119 as ToolSearchToolRegex20251119, type ToolSearchToolResultBlock as ToolSearchToolResultBlock, type ToolSearchToolResultBlockParam as ToolSearchToolResultBlockParam, type ToolSearchToolResultError as ToolSearchToolResultError, type ToolSearchToolResultErrorCode as ToolSearchToolResultErrorCode, type ToolSearchToolResultErrorParam as ToolSearchToolResultErrorParam, type ToolSearchToolSearchResultBlock as ToolSearchToolSearchResultBlock, type ToolSearchToolSearchResultBlockParam as ToolSearchToolSearchResultBlockParam, type ToolTextEditor20250124 as ToolTextEditor20250124, type ToolTextEditor20250429 as ToolTextEditor20250429, type ToolTextEditor20250728 as ToolTextEditor20250728, type ToolUnion as ToolUnion, type ToolUseBlock as ToolUseBlock, type ToolUseBlockParam as ToolUseBlockParam, type URLImageSource as URLImageSource, type URLPDFSource as URLPDFSource, type Usage as Usage, type UserLocation as UserLocation, type WebFetchBlock as WebFetchBlock, type WebFetchBlockParam as WebFetchBlockParam, type WebFetchTool20250910 as WebFetchTool20250910, type WebFetchTool20260209 as WebFetchTool20260209, type WebFetchTool20260309 as WebFetchTool20260309, type WebFetchTool20260318 as WebFetchTool20260318, type WebFetchToolResultBlock as WebFetchToolResultBlock, type WebFetchToolResultBlockParam as WebFetchToolResultBlockParam, type WebFetchToolResultErrorBlock as WebFetchToolResultErrorBlock, type WebFetchToolResultErrorBlockParam as WebFetchToolResultErrorBlockParam, type WebFetchToolResultErrorCode as WebFetchToolResultErrorCode, type WebSearchResultBlock as WebSearchResultBlock, type WebSearchResultBlockParam as WebSearchResultBlockParam, type WebSearchTool20250305 as WebSearchTool20250305, type WebSearchTool20260209 as WebSearchTool20260209, type WebSearchTool20260318 as WebSearchTool20260318, type WebSearchToolRequestError as WebSearchToolRequestError, type WebSearchToolResultBlock as WebSearchToolResultBlock, type WebSearchToolResultBlockContent as WebSearchToolResultBlockContent, type WebSearchToolResultBlockParam as WebSearchToolResultBlockParam, type WebSearchToolResultBlockParamContent as WebSearchToolResultBlockParamContent, type WebSearchToolResultError as WebSearchToolResultError, type MessageStreamEvent as MessageStreamEvent, type MessageStartEvent as MessageStartEvent, type MessageStopEvent as MessageStopEvent, type ContentBlockDeltaEvent as ContentBlockDeltaEvent, type MessageCreateParams as MessageCreateParams, type MessageCreateParamsNonStreaming as MessageCreateParamsNonStreaming, type MessageCreateParamsStreaming as MessageCreateParamsStreaming, type MessageStreamParams as MessageStreamParams, type MessageCountTokensParams as MessageCountTokensParams, };
|
|
2267
3887
|
export { Batches as Batches, type DeletedMessageBatch as DeletedMessageBatch, type MessageBatch as MessageBatch, type MessageBatchCanceledResult as MessageBatchCanceledResult, type MessageBatchErroredResult as MessageBatchErroredResult, type MessageBatchExpiredResult as MessageBatchExpiredResult, type MessageBatchIndividualResponse as MessageBatchIndividualResponse, type MessageBatchRequestCounts as MessageBatchRequestCounts, type MessageBatchResult as MessageBatchResult, type MessageBatchSucceededResult as MessageBatchSucceededResult, type MessageBatchesPage as MessageBatchesPage, type BatchCreateParams as BatchCreateParams, type BatchListParams as BatchListParams, };
|
|
2268
3888
|
}
|
|
2269
3889
|
//# sourceMappingURL=messages.d.ts.map
|