@coro-ai/runner 0.1.33 → 0.1.36
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/dashboard-dist/assets/{index-C7l2FOsX.js → index-DVdRvXW2.js} +1 -1
- package/dashboard-dist/index.html +1 -1
- package/dist/src/clients/github.d.ts +21 -10
- package/dist/src/clients/github.js +48 -40
- package/dist/src/clients/github.js.map +1 -1
- package/dist/src/clients/tracker/jira.js +6 -0
- package/dist/src/clients/tracker/jira.js.map +1 -1
- package/dist/src/clients/tracker/linear.js +6 -2
- package/dist/src/clients/tracker/linear.js.map +1 -1
- package/dist/src/clients/tracker/types.d.ts +11 -0
- package/dist/src/cloud/db/postgres-backend.js +21 -13
- package/dist/src/cloud/db/postgres-backend.js.map +1 -1
- package/dist/src/cloud/db/schema.d.ts +1 -1
- package/dist/src/intake/system-prompt.js +3 -0
- package/dist/src/intake/system-prompt.js.map +1 -1
- package/dist/src/jobs/phase-assignment.d.ts +42 -0
- package/dist/src/jobs/phase-assignment.js +46 -43
- package/dist/src/jobs/phase-assignment.js.map +1 -1
- package/dist/src/jobs/runner.js +63 -34
- package/dist/src/jobs/runner.js.map +1 -1
- package/dist/src/mcp-handlers.d.ts +1 -0
- package/dist/src/mcp-handlers.js +6 -2
- package/dist/src/mcp-handlers.js.map +1 -1
- package/dist/src/mcp-server.js +6 -1
- package/dist/src/mcp-server.js.map +1 -1
- package/dist/src/plugins/builtin/github-tracker/intelligence/snippets/github-issues-keys.md +4 -1
- package/dist/src/plugins/builtin/jira/index.js +12 -0
- package/dist/src/plugins/builtin/jira/index.js.map +1 -1
- package/dist/src/plugins/builtin/jira/intelligence/snippets/jira-transitions.md +6 -1
- package/dist/src/plugins/builtin/linear/index.js +12 -0
- package/dist/src/plugins/builtin/linear/index.js.map +1 -1
- package/dist/src/plugins/builtin/linear/intelligence/snippets/linear-keys.md +6 -2
- package/dist/src/plugins/refs.d.ts +50 -1
- package/dist/src/plugins/refs.js +97 -1
- package/dist/src/plugins/refs.js.map +1 -1
- package/dist/src/plugins/registry.d.ts +6 -0
- package/dist/src/plugins/registry.js +11 -2
- package/dist/src/plugins/registry.js.map +1 -1
- package/dist/src/plugins/types.d.ts +13 -1
- package/dist/src/prompt/builder.d.ts +2 -1
- package/dist/src/prompt/builder.js +42 -1
- package/dist/src/prompt/builder.js.map +1 -1
- package/dist/src/runner/build-settings.js +16 -4
- package/dist/src/runner/build-settings.js.map +1 -1
- package/dist/src/state/polling-transport.d.ts +41 -12
- package/dist/src/state/polling-transport.js +95 -56
- package/dist/src/state/polling-transport.js.map +1 -1
- package/dist/src/state/sqlite-backend.js +19 -13
- package/dist/src/state/sqlite-backend.js.map +1 -1
- package/dist/src/tools/run-subagent.js +10 -5
- package/dist/src/tools/run-subagent.js.map +1 -1
- package/node_modules/@coro-ai/cloud-protocol/package.json +1 -1
- package/node_modules/@coro-ai/intelligence-base/layer/agents/coder.md +1 -1
- package/node_modules/@coro-ai/intelligence-base/layer/agents/planner.md +1 -1
- package/node_modules/@coro-ai/intelligence-base/package.json +1 -1
- package/node_modules/@coro-ai/llm-anthropic/dist/credential-store.d.ts +58 -0
- package/node_modules/@coro-ai/llm-anthropic/dist/credential-store.d.ts.map +1 -0
- package/node_modules/@coro-ai/llm-anthropic/dist/credential-store.js +278 -0
- package/node_modules/@coro-ai/llm-anthropic/dist/credential-store.js.map +1 -0
- package/node_modules/@coro-ai/llm-anthropic/dist/executor.d.ts +12 -1
- package/node_modules/@coro-ai/llm-anthropic/dist/executor.d.ts.map +1 -1
- package/node_modules/@coro-ai/llm-anthropic/dist/executor.js +85 -46
- package/node_modules/@coro-ai/llm-anthropic/dist/executor.js.map +1 -1
- package/node_modules/@coro-ai/llm-anthropic/dist/http-routes.d.ts.map +1 -1
- package/node_modules/@coro-ai/llm-anthropic/dist/http-routes.js +4 -0
- package/node_modules/@coro-ai/llm-anthropic/dist/http-routes.js.map +1 -1
- package/node_modules/@coro-ai/llm-anthropic/dist/index.d.ts +2 -1
- package/node_modules/@coro-ai/llm-anthropic/dist/index.d.ts.map +1 -1
- package/node_modules/@coro-ai/llm-anthropic/dist/index.js +6 -2
- package/node_modules/@coro-ai/llm-anthropic/dist/index.js.map +1 -1
- package/node_modules/@coro-ai/llm-anthropic/dist/sandbox-probe.d.ts +11 -0
- package/node_modules/@coro-ai/llm-anthropic/dist/sandbox-probe.d.ts.map +1 -0
- package/node_modules/@coro-ai/llm-anthropic/dist/sandbox-probe.js +112 -0
- package/node_modules/@coro-ai/llm-anthropic/dist/sandbox-probe.js.map +1 -0
- package/node_modules/@coro-ai/llm-anthropic/dist/test-connection.d.ts +0 -26
- package/node_modules/@coro-ai/llm-anthropic/dist/test-connection.d.ts.map +1 -1
- package/node_modules/@coro-ai/llm-anthropic/dist/test-connection.js +40 -106
- package/node_modules/@coro-ai/llm-anthropic/dist/test-connection.js.map +1 -1
- package/node_modules/@coro-ai/llm-anthropic/package.json +1 -1
- package/node_modules/@coro-ai/llm-openai/README.md +3 -3
- package/node_modules/@coro-ai/llm-openai/dist/executor.d.ts.map +1 -1
- package/node_modules/@coro-ai/llm-openai/dist/executor.js +13 -10
- package/node_modules/@coro-ai/llm-openai/dist/executor.js.map +1 -1
- package/node_modules/@coro-ai/llm-openai/dist/models.d.ts.map +1 -1
- package/node_modules/@coro-ai/llm-openai/dist/models.js +27 -0
- package/node_modules/@coro-ai/llm-openai/dist/models.js.map +1 -1
- package/node_modules/@coro-ai/llm-openai/package.json +1 -1
- package/node_modules/@coro-ai/plugin-sdk/dist/chat-mcp.d.ts +10 -1
- package/node_modules/@coro-ai/plugin-sdk/dist/chat-mcp.d.ts.map +1 -1
- package/node_modules/@coro-ai/plugin-sdk/dist/chat-mcp.js +16 -2
- package/node_modules/@coro-ai/plugin-sdk/dist/chat-mcp.js.map +1 -1
- package/node_modules/@coro-ai/plugin-sdk/dist/helpers.d.ts +27 -1
- package/node_modules/@coro-ai/plugin-sdk/dist/helpers.d.ts.map +1 -1
- package/node_modules/@coro-ai/plugin-sdk/dist/helpers.js +47 -0
- package/node_modules/@coro-ai/plugin-sdk/dist/helpers.js.map +1 -1
- package/node_modules/@coro-ai/plugin-sdk/dist/types.d.ts +79 -4
- package/node_modules/@coro-ai/plugin-sdk/dist/types.d.ts.map +1 -1
- package/node_modules/@coro-ai/plugin-sdk/package.json +1 -1
- package/node_modules/@hono/node-server/README.md +104 -25
- package/node_modules/@hono/node-server/dist/conninfo.cjs +22 -0
- package/node_modules/@hono/node-server/dist/{conninfo.d.ts → conninfo.d.cts} +4 -3
- package/node_modules/@hono/node-server/dist/conninfo.d.mts +4 -3
- package/node_modules/@hono/node-server/dist/conninfo.mjs +19 -16
- package/node_modules/@hono/node-server/dist/constants-BLSFu_RU.mjs +5 -0
- package/node_modules/@hono/node-server/dist/constants-BXAKTxRC.cjs +11 -0
- package/node_modules/@hono/node-server/dist/early-hints.cjs +35 -0
- package/node_modules/@hono/node-server/dist/early-hints.d.cts +16 -0
- package/node_modules/@hono/node-server/dist/early-hints.d.mts +16 -0
- package/node_modules/@hono/node-server/dist/early-hints.mjs +33 -0
- package/node_modules/@hono/node-server/dist/index.cjs +1176 -0
- package/node_modules/@hono/node-server/dist/index.d.cts +101 -0
- package/node_modules/@hono/node-server/dist/index.d.mts +101 -8
- package/node_modules/@hono/node-server/dist/index.mjs +1146 -637
- package/node_modules/@hono/node-server/dist/serve-static.cjs +151 -0
- package/node_modules/@hono/node-server/dist/serve-static.d.cts +18 -0
- package/node_modules/@hono/node-server/dist/serve-static.d.mts +14 -13
- package/node_modules/@hono/node-server/dist/serve-static.mjs +143 -145
- package/node_modules/@hono/node-server/dist/utils/response.cjs +8 -0
- package/node_modules/@hono/node-server/dist/utils/response.d.cts +4 -0
- package/node_modules/@hono/node-server/dist/utils/response.d.mts +3 -2
- package/node_modules/@hono/node-server/dist/utils/response.mjs +6 -9
- package/node_modules/@hono/node-server/dist/utils/stream.cjs +65 -0
- package/node_modules/@hono/node-server/dist/utils/stream.d.cts +6 -0
- package/node_modules/@hono/node-server/dist/utils/stream.d.mts +6 -0
- package/node_modules/@hono/node-server/dist/utils/stream.mjs +64 -0
- package/node_modules/@hono/node-server/package.json +78 -54
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.js +1 -12
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.d.ts +7 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.js +9 -3
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.js +5 -3
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.js +1 -12
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sseKeepAlive.d.ts +5 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sseKeepAlive.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sseKeepAlive.js +17 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sseKeepAlive.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.d.ts +9 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.js +10 -4
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.d.ts +21 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.js +239 -41
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.js +25 -6
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/mediaType.d.ts +32 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/mediaType.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/mediaType.js +64 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/mediaType.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts +5 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.js +10 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js +2 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.d.ts +7 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js +9 -3
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js +5 -3
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js +2 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sseKeepAlive.d.ts +5 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sseKeepAlive.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sseKeepAlive.js +13 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sseKeepAlive.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.d.ts +9 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js +10 -4
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.d.ts +21 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js +239 -41
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +25 -6
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/mediaType.d.ts +32 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/mediaType.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/mediaType.js +57 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/mediaType.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.d.ts +5 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js +9 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/sbcs-data.js +2 -0
- package/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/utf32.js +10 -3
- package/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/package.json +2 -2
- package/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/types/encodings.d.ts +2 -0
- package/node_modules/@modelcontextprotocol/sdk/node_modules/media-typer/README.md +15 -14
- package/node_modules/@modelcontextprotocol/sdk/node_modules/media-typer/index.js +0 -8
- package/node_modules/@modelcontextprotocol/sdk/node_modules/media-typer/package.json +16 -12
- package/node_modules/@modelcontextprotocol/sdk/package.json +4 -3
- package/node_modules/body-parser/HISTORY.md +7 -1
- package/node_modules/body-parser/lib/types/json.js +7 -3
- package/node_modules/body-parser/lib/types/raw.js +7 -3
- package/node_modules/body-parser/lib/types/text.js +7 -3
- package/node_modules/body-parser/lib/types/urlencoded.js +7 -3
- package/node_modules/body-parser/package.json +1 -1
- package/node_modules/express-rate-limit/dist/index.cjs +75 -6
- package/node_modules/express-rate-limit/dist/index.d.cts +16 -0
- package/node_modules/express-rate-limit/dist/index.d.mts +16 -0
- package/node_modules/express-rate-limit/dist/index.d.ts +16 -0
- package/node_modules/express-rate-limit/dist/index.mjs +61 -6
- package/node_modules/express-rate-limit/node_modules/debug/LICENSE +20 -0
- package/node_modules/express-rate-limit/node_modules/debug/README.md +481 -0
- package/node_modules/express-rate-limit/node_modules/debug/package.json +64 -0
- package/node_modules/express-rate-limit/node_modules/debug/src/browser.js +272 -0
- package/node_modules/express-rate-limit/node_modules/debug/src/common.js +292 -0
- package/node_modules/express-rate-limit/node_modules/debug/src/index.js +10 -0
- package/node_modules/express-rate-limit/node_modules/debug/src/node.js +263 -0
- package/node_modules/express-rate-limit/node_modules/ms/index.js +162 -0
- package/node_modules/express-rate-limit/node_modules/ms/license.md +21 -0
- package/node_modules/express-rate-limit/node_modules/ms/package.json +38 -0
- package/node_modules/express-rate-limit/node_modules/ms/readme.md +59 -0
- package/node_modules/express-rate-limit/package.json +12 -9
- package/node_modules/fast-copy/README.md +46 -46
- package/node_modules/fast-copy/dist/cjs/index.cjs +13 -19
- package/node_modules/fast-copy/dist/cjs/index.cjs.map +1 -1
- package/node_modules/fast-copy/dist/cjs/index.d.cts +40 -6
- package/node_modules/fast-copy/dist/es/index.d.mts +40 -6
- package/node_modules/fast-copy/dist/es/index.mjs +13 -19
- package/node_modules/fast-copy/dist/es/index.mjs.map +1 -1
- package/node_modules/fast-copy/dist/umd/index.d.ts +40 -6
- package/node_modules/fast-copy/dist/umd/index.js +13 -19
- package/node_modules/fast-copy/dist/umd/index.js.map +1 -1
- package/node_modules/fast-copy/index.d.ts +22 -22
- package/node_modules/fast-copy/package.json +30 -23
- package/node_modules/fast-uri/index.js +55 -2
- package/node_modules/fast-uri/package.json +1 -1
- package/node_modules/fast-uri/test/security.test.js +226 -0
- package/node_modules/hono/dist/adapter/aws-lambda/handler.js +2 -5
- package/node_modules/hono/dist/adapter/bun/websocket.js +3 -1
- package/node_modules/hono/dist/adapter/lambda-edge/handler.js +12 -2
- package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +2 -5
- package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +3 -1
- package/node_modules/hono/dist/cjs/adapter/lambda-edge/handler.js +12 -2
- package/node_modules/hono/dist/cjs/client/client.js +10 -1
- package/node_modules/hono/dist/cjs/client/utils.js +1 -1
- package/node_modules/hono/dist/cjs/context.js +28 -13
- package/node_modules/hono/dist/cjs/helper/proxy/index.js +4 -0
- package/node_modules/hono/dist/cjs/helper/streaming/sse.js +5 -4
- package/node_modules/hono/dist/cjs/hono-base.js +3 -2
- package/node_modules/hono/dist/cjs/jsx/base.js +27 -23
- package/node_modules/hono/dist/cjs/jsx/hooks/index.js +16 -13
- package/node_modules/hono/dist/cjs/middleware/cache/index.js +104 -9
- package/node_modules/hono/dist/cjs/middleware/compress/index.js +7 -1
- package/node_modules/hono/dist/cjs/middleware/cors/index.js +2 -2
- package/node_modules/hono/dist/cjs/middleware/etag/index.js +5 -1
- package/node_modules/hono/dist/cjs/middleware/jwk/jwk.js +9 -4
- package/node_modules/hono/dist/cjs/middleware/jwt/jwt.js +9 -4
- package/node_modules/hono/dist/cjs/middleware/language/language.js +10 -6
- package/node_modules/hono/dist/cjs/middleware/method-not-allowed/index.js +90 -0
- package/node_modules/hono/dist/cjs/middleware/method-override/index.js +5 -3
- package/node_modules/hono/dist/cjs/middleware/secure-headers/secure-headers.js +10 -4
- package/node_modules/hono/dist/cjs/middleware/serve-static/index.js +1 -1
- package/node_modules/hono/dist/cjs/request.js +14 -11
- package/node_modules/hono/dist/cjs/router/reg-exp-router/node.js +55 -56
- package/node_modules/hono/dist/cjs/router/reg-exp-router/router.js +64 -85
- package/node_modules/hono/dist/cjs/router/reg-exp-router/trie.js +13 -5
- package/node_modules/hono/dist/cjs/router/trie-router/node.js +10 -1
- package/node_modules/hono/dist/cjs/router.js +1 -1
- package/node_modules/hono/dist/cjs/utils/accept.js +1 -1
- package/node_modules/hono/dist/cjs/utils/body.js +18 -4
- package/node_modules/hono/dist/cjs/utils/buffer.js +2 -1
- package/node_modules/hono/dist/cjs/utils/cookie.js +3 -2
- package/node_modules/hono/dist/cjs/utils/stream.js +5 -2
- package/node_modules/hono/dist/cjs/utils/url.js +8 -8
- package/node_modules/hono/dist/cjs/validator/validator.js +3 -3
- package/node_modules/hono/dist/client/client.js +10 -1
- package/node_modules/hono/dist/client/utils.js +1 -1
- package/node_modules/hono/dist/context.js +28 -13
- package/node_modules/hono/dist/helper/proxy/index.js +4 -0
- package/node_modules/hono/dist/helper/streaming/sse.js +5 -4
- package/node_modules/hono/dist/hono-base.js +3 -2
- package/node_modules/hono/dist/jsx/base.js +27 -23
- package/node_modules/hono/dist/jsx/hooks/index.js +16 -13
- package/node_modules/hono/dist/middleware/cache/index.js +104 -9
- package/node_modules/hono/dist/middleware/compress/index.js +7 -1
- package/node_modules/hono/dist/middleware/cors/index.js +2 -2
- package/node_modules/hono/dist/middleware/etag/index.js +5 -1
- package/node_modules/hono/dist/middleware/jwk/jwk.js +9 -4
- package/node_modules/hono/dist/middleware/jwt/jwt.js +9 -4
- package/node_modules/hono/dist/middleware/language/language.js +10 -6
- package/node_modules/hono/dist/middleware/method-not-allowed/index.js +68 -0
- package/node_modules/hono/dist/middleware/method-override/index.js +5 -3
- package/node_modules/hono/dist/middleware/secure-headers/secure-headers.js +10 -4
- package/node_modules/hono/dist/middleware/serve-static/index.js +1 -1
- package/node_modules/hono/dist/request.js +15 -12
- package/node_modules/hono/dist/router/reg-exp-router/node.js +55 -56
- package/node_modules/hono/dist/router/reg-exp-router/router.js +64 -85
- package/node_modules/hono/dist/router/reg-exp-router/trie.js +13 -5
- package/node_modules/hono/dist/router/trie-router/node.js +10 -1
- package/node_modules/hono/dist/router.js +1 -1
- package/node_modules/hono/dist/types/adapter/aws-lambda/types.d.ts +9 -0
- package/node_modules/hono/dist/types/adapter/lambda-edge/handler.d.ts +1 -1
- package/node_modules/hono/dist/types/client/types.d.ts +1 -1
- package/node_modules/hono/dist/types/helper/websocket/index.d.ts +1 -1
- package/node_modules/hono/dist/types/hono-base.d.ts +4 -3
- package/node_modules/hono/dist/types/jsx/base.d.ts +4 -2
- package/node_modules/hono/dist/types/jsx/dom/index.d.ts +5 -5
- package/node_modules/hono/dist/types/jsx/dom/intrinsic-element/components.d.ts +2 -2
- package/node_modules/hono/dist/types/jsx/dom/server.d.ts +5 -5
- package/node_modules/hono/dist/types/jsx/hooks/index.d.ts +8 -6
- package/node_modules/hono/dist/types/jsx/index.d.ts +5 -5
- package/node_modules/hono/dist/types/middleware/cache/index.d.ts +6 -4
- package/node_modules/hono/dist/types/middleware/combine/index.d.ts +1 -1
- package/node_modules/hono/dist/types/middleware/context-storage/index.d.ts +2 -2
- package/node_modules/hono/dist/types/middleware/cors/index.d.ts +1 -1
- package/node_modules/hono/dist/types/middleware/jsx-renderer/index.d.ts +2 -2
- package/node_modules/hono/dist/types/middleware/jwk/jwk.d.ts +2 -0
- package/node_modules/hono/dist/types/middleware/jwt/jwt.d.ts +2 -0
- package/node_modules/hono/dist/types/middleware/language/language.d.ts +18 -0
- package/node_modules/hono/dist/types/middleware/method-not-allowed/index.d.ts +49 -0
- package/node_modules/hono/dist/types/router/reg-exp-router/node.d.ts +1 -1
- package/node_modules/hono/dist/types/router/reg-exp-router/trie.d.ts +2 -1
- package/node_modules/hono/dist/types/router.d.ts +1 -1
- package/node_modules/hono/dist/types/utils/body.d.ts +1 -1
- package/node_modules/hono/dist/types/utils/headers.d.ts +2 -2
- package/node_modules/hono/dist/types/utils/types.d.ts +1 -1
- package/node_modules/hono/dist/types/utils/url.d.ts +1 -0
- package/node_modules/hono/dist/utils/accept.js +1 -1
- package/node_modules/hono/dist/utils/body.js +18 -4
- package/node_modules/hono/dist/utils/buffer.js +2 -1
- package/node_modules/hono/dist/utils/cookie.js +4 -3
- package/node_modules/hono/dist/utils/stream.js +5 -2
- package/node_modules/hono/dist/utils/url.js +6 -7
- package/node_modules/hono/dist/validator/validator.js +3 -3
- package/node_modules/hono/package.json +19 -11
- package/node_modules/ip-address/README.md +146 -126
- package/node_modules/ip-address/dist/common.d.ts +29 -0
- package/node_modules/ip-address/dist/common.js +44 -5
- package/node_modules/ip-address/dist/common.js.map +1 -1
- package/node_modules/ip-address/dist/ipv4.d.ts +8 -1
- package/node_modules/ip-address/dist/ipv4.js +24 -20
- package/node_modules/ip-address/dist/ipv4.js.map +1 -1
- package/node_modules/ip-address/dist/ipv6.d.ts +68 -3
- package/node_modules/ip-address/dist/ipv6.js +180 -53
- package/node_modules/ip-address/dist/ipv6.js.map +1 -1
- package/node_modules/ip-address/dist/v4/constants.js +5 -1
- package/node_modules/ip-address/dist/v4/constants.js.map +1 -1
- package/node_modules/ip-address/dist/v6/constants.js +3 -2
- package/node_modules/ip-address/dist/v6/constants.js.map +1 -1
- package/node_modules/ip-address/package.json +6 -4
- package/node_modules/jose/README.md +13 -16
- package/node_modules/jose/dist/types/index.d.ts +6 -5
- package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +17 -11
- package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +7 -19
- package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +17 -11
- package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +7 -19
- package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +18 -13
- package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +20 -21
- package/node_modules/jose/dist/types/jwk/embedded.d.ts +8 -12
- package/node_modules/jose/dist/types/jwk/thumbprint.d.ts +0 -15
- package/node_modules/jose/dist/types/jwks/local.d.ts +12 -21
- package/node_modules/jose/dist/types/jwks/remote.d.ts +34 -165
- package/node_modules/jose/dist/types/jws/compact/sign.d.ts +2 -13
- package/node_modules/jose/dist/types/jws/compact/verify.d.ts +17 -13
- package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +2 -13
- package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +17 -13
- package/node_modules/jose/dist/types/jws/general/sign.d.ts +16 -17
- package/node_modules/jose/dist/types/jws/general/verify.d.ts +18 -15
- package/node_modules/jose/dist/types/jwt/decrypt.d.ts +17 -11
- package/node_modules/jose/dist/types/jwt/encrypt.d.ts +10 -34
- package/node_modules/jose/dist/types/jwt/sign.d.ts +2 -13
- package/node_modules/jose/dist/types/jwt/unsecured.d.ts +4 -13
- package/node_modules/jose/dist/types/jwt/verify.d.ts +14 -13
- package/node_modules/jose/dist/types/key/export.d.ts +0 -14
- package/node_modules/jose/dist/types/key/generate_key_pair.d.ts +7 -14
- package/node_modules/jose/dist/types/key/generate_secret.d.ts +16 -14
- package/node_modules/jose/dist/types/key/import.d.ts +18 -28
- package/node_modules/jose/dist/types/types.d.ts +239 -222
- package/node_modules/jose/dist/types/util/base64url.d.ts +11 -4
- package/node_modules/jose/dist/types/util/decode_jwt.d.ts +1 -9
- package/node_modules/jose/dist/types/util/decode_protected_header.d.ts +0 -8
- package/node_modules/jose/dist/types/util/errors.d.ts +128 -121
- package/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +4 -22
- package/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +5 -153
- package/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +16 -111
- package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +23 -3
- package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +66 -82
- package/node_modules/jose/dist/webapi/jwk/embedded.js +5 -3
- package/node_modules/jose/dist/webapi/jwks/local.js +32 -73
- package/node_modules/jose/dist/webapi/jwks/remote.js +19 -28
- package/node_modules/jose/dist/webapi/jws/compact/sign.js +5 -2
- package/node_modules/jose/dist/webapi/jws/compact/verify.js +4 -16
- package/node_modules/jose/dist/webapi/jws/flattened/sign.js +7 -65
- package/node_modules/jose/dist/webapi/jws/flattened/verify.js +3 -89
- package/node_modules/jose/dist/webapi/jws/general/sign.js +19 -15
- package/node_modules/jose/dist/webapi/jws/general/verify.js +29 -9
- package/node_modules/jose/dist/webapi/jwt/decrypt.js +5 -5
- package/node_modules/jose/dist/webapi/jwt/sign.js +2 -3
- package/node_modules/jose/dist/webapi/jwt/unsecured.js +4 -3
- package/node_modules/jose/dist/webapi/jwt/verify.js +6 -6
- package/node_modules/jose/dist/webapi/key/export.js +37 -4
- package/node_modules/jose/dist/webapi/key/generate_key_pair.js +33 -82
- package/node_modules/jose/dist/webapi/key/generate_secret.js +2 -2
- package/node_modules/jose/dist/webapi/key/import.js +8 -8
- package/node_modules/jose/dist/webapi/lib/asn1.js +53 -122
- package/node_modules/jose/dist/webapi/lib/buffer_utils.js +1 -0
- package/node_modules/jose/dist/webapi/lib/content_encryption.js +34 -109
- package/node_modules/jose/dist/webapi/lib/crypto_key.js +18 -126
- package/node_modules/jose/dist/webapi/lib/helpers.js +23 -0
- package/node_modules/jose/dist/webapi/lib/invalid_key_input.js +0 -1
- package/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +107 -0
- package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +186 -0
- package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +110 -0
- package/node_modules/jose/dist/webapi/lib/jwk_to_key.js +8 -98
- package/node_modules/jose/dist/webapi/lib/jws_algorithms.js +73 -0
- package/node_modules/jose/dist/webapi/lib/jws_sign.js +74 -0
- package/node_modules/jose/dist/webapi/lib/jws_verify.js +107 -0
- package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +68 -109
- package/node_modules/jose/dist/webapi/lib/key.js +132 -0
- package/node_modules/jose/dist/webapi/lib/key_algorithm.js +10 -0
- package/node_modules/jose/dist/webapi/lib/key_descriptor.js +7 -0
- package/node_modules/jose/dist/webapi/lib/key_management.js +162 -92
- package/node_modules/jose/dist/webapi/lib/options.js +48 -0
- package/node_modules/jose/dist/webapi/lib/signing.js +14 -56
- package/node_modules/jose/dist/webapi/lib/type_checks.js +13 -18
- package/node_modules/jose/dist/webapi/util/base64url.js +13 -4
- package/node_modules/jose/dist/webapi/util/decode_jwt.js +2 -2
- package/node_modules/jose/dist/webapi/util/decode_protected_header.js +5 -15
- package/node_modules/jose/dist/webapi/util/errors.js +1 -1
- package/node_modules/jose/package.json +2 -4
- package/node_modules/js-yaml/README.md +5 -3
- package/node_modules/js-yaml/dist/js-yaml.js +3012 -2402
- package/node_modules/js-yaml/dist/js-yaml.js.map +1 -1
- package/node_modules/js-yaml/dist/js-yaml.min.js +2 -33
- package/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -1
- package/node_modules/js-yaml/dist/js-yaml.mjs +3073 -2381
- package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -1
- package/node_modules/js-yaml/lib/loader.js +7 -11
- package/node_modules/js-yaml/lib/type/float.js +1 -1
- package/node_modules/js-yaml/lib/type/int.js +4 -4
- package/node_modules/js-yaml/lib/type/omap.js +3 -3
- package/node_modules/js-yaml/package.json +10 -4
- package/node_modules/node-abi/abi_registry.json +8 -1
- package/node_modules/node-abi/package.json +1 -1
- package/node_modules/openai/CHANGELOG.md +101 -0
- package/node_modules/openai/README.md +9 -2
- package/node_modules/openai/azure.d.mts.map +1 -1
- package/node_modules/openai/azure.d.ts.map +1 -1
- package/node_modules/openai/azure.js +5 -1
- package/node_modules/openai/azure.js.map +1 -1
- package/node_modules/openai/azure.mjs +5 -1
- package/node_modules/openai/azure.mjs.map +1 -1
- package/node_modules/openai/client.d.mts +1 -0
- package/node_modules/openai/client.d.mts.map +1 -1
- package/node_modules/openai/client.d.ts +1 -0
- package/node_modules/openai/client.d.ts.map +1 -1
- package/node_modules/openai/client.js +11 -5
- package/node_modules/openai/client.js.map +1 -1
- package/node_modules/openai/client.mjs +11 -5
- package/node_modules/openai/client.mjs.map +1 -1
- package/node_modules/openai/core/streaming.d.mts.map +1 -1
- package/node_modules/openai/core/streaming.d.ts.map +1 -1
- package/node_modules/openai/core/streaming.js +38 -6
- package/node_modules/openai/core/streaming.js.map +1 -1
- package/node_modules/openai/core/streaming.mjs +38 -6
- package/node_modules/openai/core/streaming.mjs.map +1 -1
- package/node_modules/openai/core/uploads.d.mts +1 -1
- package/node_modules/openai/core/uploads.d.mts.map +1 -1
- package/node_modules/openai/core/uploads.d.ts +1 -1
- package/node_modules/openai/core/uploads.d.ts.map +1 -1
- package/node_modules/openai/core/uploads.js +3 -1
- package/node_modules/openai/core/uploads.js.map +1 -1
- package/node_modules/openai/core/uploads.mjs +1 -0
- package/node_modules/openai/core/uploads.mjs.map +1 -1
- package/node_modules/openai/helpers/audio.d.mts.map +1 -1
- package/node_modules/openai/helpers/audio.d.ts.map +1 -1
- package/node_modules/openai/helpers/audio.js +16 -3
- package/node_modules/openai/helpers/audio.js.map +1 -1
- package/node_modules/openai/helpers/audio.mjs +17 -4
- package/node_modules/openai/helpers/audio.mjs.map +1 -1
- package/node_modules/openai/helpers/standard-schema.d.mts +104 -0
- package/node_modules/openai/helpers/standard-schema.d.mts.map +1 -0
- package/node_modules/openai/helpers/standard-schema.d.ts +104 -0
- package/node_modules/openai/helpers/standard-schema.d.ts.map +1 -0
- package/node_modules/openai/helpers/standard-schema.js +320 -0
- package/node_modules/openai/helpers/standard-schema.js.map +1 -0
- package/node_modules/openai/helpers/standard-schema.mjs +314 -0
- package/node_modules/openai/helpers/standard-schema.mjs.map +1 -0
- package/node_modules/openai/helpers/zod.d.mts +45 -9
- package/node_modules/openai/helpers/zod.d.mts.map +1 -1
- package/node_modules/openai/helpers/zod.d.ts +45 -9
- package/node_modules/openai/helpers/zod.d.ts.map +1 -1
- package/node_modules/openai/helpers/zod.js +120 -18
- package/node_modules/openai/helpers/zod.js.map +1 -1
- package/node_modules/openai/helpers/zod.mjs +119 -18
- package/node_modules/openai/helpers/zod.mjs.map +1 -1
- package/node_modules/openai/index.d.mts +1 -1
- package/node_modules/openai/index.d.mts.map +1 -1
- package/node_modules/openai/index.d.ts +1 -1
- package/node_modules/openai/index.d.ts.map +1 -1
- package/node_modules/openai/index.js +2 -1
- package/node_modules/openai/index.js.map +1 -1
- package/node_modules/openai/index.mjs +1 -1
- package/node_modules/openai/index.mjs.map +1 -1
- package/node_modules/openai/internal/headers.d.mts.map +1 -1
- package/node_modules/openai/internal/headers.d.ts.map +1 -1
- package/node_modules/openai/internal/headers.js +7 -3
- package/node_modules/openai/internal/headers.js.map +1 -1
- package/node_modules/openai/internal/headers.mjs +7 -3
- package/node_modules/openai/internal/headers.mjs.map +1 -1
- package/node_modules/openai/internal/uploads.d.mts +26 -1
- package/node_modules/openai/internal/uploads.d.mts.map +1 -1
- package/node_modules/openai/internal/uploads.d.ts +26 -1
- package/node_modules/openai/internal/uploads.d.ts.map +1 -1
- package/node_modules/openai/internal/uploads.js +169 -1
- package/node_modules/openai/internal/uploads.js.map +1 -1
- package/node_modules/openai/internal/uploads.mjs +169 -2
- package/node_modules/openai/internal/uploads.mjs.map +1 -1
- package/node_modules/openai/lib/AbstractChatCompletionRunner.d.mts +3 -3
- package/node_modules/openai/lib/AbstractChatCompletionRunner.d.mts.map +1 -1
- package/node_modules/openai/lib/AbstractChatCompletionRunner.d.ts +3 -3
- package/node_modules/openai/lib/AbstractChatCompletionRunner.d.ts.map +1 -1
- package/node_modules/openai/lib/AbstractChatCompletionRunner.js +61 -4
- package/node_modules/openai/lib/AbstractChatCompletionRunner.js.map +1 -1
- package/node_modules/openai/lib/AbstractChatCompletionRunner.mjs +61 -4
- package/node_modules/openai/lib/AbstractChatCompletionRunner.mjs.map +1 -1
- package/node_modules/openai/lib/AssistantStream.d.mts.map +1 -1
- package/node_modules/openai/lib/AssistantStream.d.ts.map +1 -1
- package/node_modules/openai/lib/AssistantStream.js +4 -3
- package/node_modules/openai/lib/AssistantStream.js.map +1 -1
- package/node_modules/openai/lib/AssistantStream.mjs +4 -3
- package/node_modules/openai/lib/AssistantStream.mjs.map +1 -1
- package/node_modules/openai/lib/ChatCompletionRunner.d.mts +26 -2
- package/node_modules/openai/lib/ChatCompletionRunner.d.mts.map +1 -1
- package/node_modules/openai/lib/ChatCompletionRunner.d.ts +26 -2
- package/node_modules/openai/lib/ChatCompletionRunner.d.ts.map +1 -1
- package/node_modules/openai/lib/ChatCompletionRunner.js.map +1 -1
- package/node_modules/openai/lib/ChatCompletionRunner.mjs.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStream.d.mts +15 -1
- package/node_modules/openai/lib/ChatCompletionStream.d.mts.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStream.d.ts +15 -1
- package/node_modules/openai/lib/ChatCompletionStream.d.ts.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStream.js +128 -30
- package/node_modules/openai/lib/ChatCompletionStream.js.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStream.mjs +127 -30
- package/node_modules/openai/lib/ChatCompletionStream.mjs.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.d.mts +25 -2
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.d.mts.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.d.ts +25 -2
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.d.ts.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.js +77 -0
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.js.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.mjs +78 -1
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.mjs.map +1 -1
- package/node_modules/openai/lib/EventStream.d.mts +13 -0
- package/node_modules/openai/lib/EventStream.d.mts.map +1 -1
- package/node_modules/openai/lib/EventStream.d.ts +13 -0
- package/node_modules/openai/lib/EventStream.d.ts.map +1 -1
- package/node_modules/openai/lib/EventStream.js +107 -2
- package/node_modules/openai/lib/EventStream.js.map +1 -1
- package/node_modules/openai/lib/EventStream.mjs +107 -2
- package/node_modules/openai/lib/EventStream.mjs.map +1 -1
- package/node_modules/openai/lib/ResponsesParser.d.mts.map +1 -1
- package/node_modules/openai/lib/ResponsesParser.d.ts.map +1 -1
- package/node_modules/openai/lib/ResponsesParser.js +3 -5
- package/node_modules/openai/lib/ResponsesParser.js.map +1 -1
- package/node_modules/openai/lib/ResponsesParser.mjs +3 -5
- package/node_modules/openai/lib/ResponsesParser.mjs.map +1 -1
- package/node_modules/openai/lib/RunnableFunction.d.mts +38 -21
- package/node_modules/openai/lib/RunnableFunction.d.mts.map +1 -1
- package/node_modules/openai/lib/RunnableFunction.d.ts +38 -21
- package/node_modules/openai/lib/RunnableFunction.d.ts.map +1 -1
- package/node_modules/openai/lib/RunnableFunction.js.map +1 -1
- package/node_modules/openai/lib/RunnableFunction.mjs.map +1 -1
- package/node_modules/openai/lib/jsonschema.d.mts +3 -0
- package/node_modules/openai/lib/jsonschema.d.mts.map +1 -1
- package/node_modules/openai/lib/jsonschema.d.ts +3 -0
- package/node_modules/openai/lib/jsonschema.d.ts.map +1 -1
- package/node_modules/openai/lib/parser.d.mts +2 -2
- package/node_modules/openai/lib/parser.d.mts.map +1 -1
- package/node_modules/openai/lib/parser.d.ts +2 -2
- package/node_modules/openai/lib/parser.d.ts.map +1 -1
- package/node_modules/openai/lib/parser.js.map +1 -1
- package/node_modules/openai/lib/parser.mjs.map +1 -1
- package/node_modules/openai/lib/responses/ResponseAccumulator.d.mts +6 -1
- package/node_modules/openai/lib/responses/ResponseAccumulator.d.mts.map +1 -1
- package/node_modules/openai/lib/responses/ResponseAccumulator.d.ts +6 -1
- package/node_modules/openai/lib/responses/ResponseAccumulator.d.ts.map +1 -1
- package/node_modules/openai/lib/responses/ResponseAccumulator.js +1 -0
- package/node_modules/openai/lib/responses/ResponseAccumulator.js.map +1 -1
- package/node_modules/openai/lib/responses/ResponseAccumulator.mjs +1 -0
- package/node_modules/openai/lib/responses/ResponseAccumulator.mjs.map +1 -1
- package/node_modules/openai/lib/responses/ResponseInputItems.d.mts.map +1 -1
- package/node_modules/openai/lib/responses/ResponseInputItems.d.ts.map +1 -1
- package/node_modules/openai/lib/responses/ResponseInputItems.js +2 -0
- package/node_modules/openai/lib/responses/ResponseInputItems.js.map +1 -1
- package/node_modules/openai/lib/responses/ResponseInputItems.mjs +2 -0
- package/node_modules/openai/lib/responses/ResponseInputItems.mjs.map +1 -1
- package/node_modules/openai/lib/responses/ResponseStream.d.mts +6 -1
- package/node_modules/openai/lib/responses/ResponseStream.d.mts.map +1 -1
- package/node_modules/openai/lib/responses/ResponseStream.d.ts +6 -1
- package/node_modules/openai/lib/responses/ResponseStream.d.ts.map +1 -1
- package/node_modules/openai/lib/responses/ResponseStream.js +21 -0
- package/node_modules/openai/lib/responses/ResponseStream.js.map +1 -1
- package/node_modules/openai/lib/responses/ResponseStream.mjs +21 -0
- package/node_modules/openai/lib/responses/ResponseStream.mjs.map +1 -1
- package/node_modules/openai/lib/transform.d.mts +25 -1
- package/node_modules/openai/lib/transform.d.mts.map +1 -1
- package/node_modules/openai/lib/transform.d.ts +25 -1
- package/node_modules/openai/lib/transform.d.ts.map +1 -1
- package/node_modules/openai/lib/transform.js +1521 -82
- package/node_modules/openai/lib/transform.js.map +1 -1
- package/node_modules/openai/lib/transform.mjs +1515 -82
- package/node_modules/openai/lib/transform.mjs.map +1 -1
- package/node_modules/openai/package.json +1 -1
- package/node_modules/openai/resources/admin/organization/audit-logs.d.mts +2 -2
- package/node_modules/openai/resources/admin/organization/audit-logs.d.mts.map +1 -1
- package/node_modules/openai/resources/admin/organization/audit-logs.d.ts +2 -2
- package/node_modules/openai/resources/admin/organization/audit-logs.d.ts.map +1 -1
- package/node_modules/openai/resources/admin/organization/index.d.mts +1 -0
- package/node_modules/openai/resources/admin/organization/index.d.mts.map +1 -1
- package/node_modules/openai/resources/admin/organization/index.d.ts +1 -0
- package/node_modules/openai/resources/admin/organization/index.d.ts.map +1 -1
- package/node_modules/openai/resources/admin/organization/index.js +3 -1
- package/node_modules/openai/resources/admin/organization/index.js.map +1 -1
- package/node_modules/openai/resources/admin/organization/index.mjs +1 -0
- package/node_modules/openai/resources/admin/organization/index.mjs.map +1 -1
- package/node_modules/openai/resources/admin/organization/organization.d.mts +4 -0
- package/node_modules/openai/resources/admin/organization/organization.d.mts.map +1 -1
- package/node_modules/openai/resources/admin/organization/organization.d.ts +4 -0
- package/node_modules/openai/resources/admin/organization/organization.d.ts.map +1 -1
- package/node_modules/openai/resources/admin/organization/organization.js +4 -0
- package/node_modules/openai/resources/admin/organization/organization.js.map +1 -1
- package/node_modules/openai/resources/admin/organization/organization.mjs +4 -0
- package/node_modules/openai/resources/admin/organization/organization.mjs.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/api-keys.d.mts +12 -0
- package/node_modules/openai/resources/admin/organization/projects/api-keys.d.mts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/api-keys.d.ts +12 -0
- package/node_modules/openai/resources/admin/organization/projects/api-keys.d.ts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/index.d.mts +2 -1
- package/node_modules/openai/resources/admin/organization/projects/index.d.mts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/index.d.ts +2 -1
- package/node_modules/openai/resources/admin/organization/projects/index.d.ts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/index.js +7 -5
- package/node_modules/openai/resources/admin/organization/projects/index.js.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/index.mjs +2 -1
- package/node_modules/openai/resources/admin/organization/projects/index.mjs.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/projects.d.mts +6 -2
- package/node_modules/openai/resources/admin/organization/projects/projects.d.mts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/projects.d.ts +6 -2
- package/node_modules/openai/resources/admin/organization/projects/projects.d.ts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/projects.js +6 -2
- package/node_modules/openai/resources/admin/organization/projects/projects.js.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/projects.mjs +6 -2
- package/node_modules/openai/resources/admin/organization/projects/projects.mjs.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.d.mts +58 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.d.mts.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.d.ts +58 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.d.ts.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.js +26 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.js.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.mjs +22 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.mjs.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.d.mts +3 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.d.mts.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.d.ts +3 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.d.ts.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.js +9 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.js.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.mjs +4 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.mjs.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.d.mts +177 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.d.mts.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.d.ts +177 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.d.ts.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.js +109 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.js.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.mjs +104 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.mjs.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.d.mts +1 -167
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.d.mts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.d.ts +1 -167
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.d.ts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.js +2 -97
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.js.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.mjs +1 -95
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.mjs.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/spend-limit.d.mts +115 -0
- package/node_modules/openai/resources/admin/organization/projects/spend-limit.d.mts.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/spend-limit.d.ts +115 -0
- package/node_modules/openai/resources/admin/organization/projects/spend-limit.d.ts.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/spend-limit.js +67 -0
- package/node_modules/openai/resources/admin/organization/projects/spend-limit.js.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/spend-limit.mjs +63 -0
- package/node_modules/openai/resources/admin/organization/projects/spend-limit.mjs.map +1 -0
- package/node_modules/openai/resources/admin/organization/spend-limit.d.mts +108 -0
- package/node_modules/openai/resources/admin/organization/spend-limit.d.mts.map +1 -0
- package/node_modules/openai/resources/admin/organization/spend-limit.d.ts +108 -0
- package/node_modules/openai/resources/admin/organization/spend-limit.d.ts.map +1 -0
- package/node_modules/openai/resources/admin/organization/spend-limit.js +59 -0
- package/node_modules/openai/resources/admin/organization/spend-limit.js.map +1 -0
- package/node_modules/openai/resources/admin/organization/spend-limit.mjs +55 -0
- package/node_modules/openai/resources/admin/organization/spend-limit.mjs.map +1 -0
- package/node_modules/openai/resources/admin/organization/usage.d.mts +517 -88
- package/node_modules/openai/resources/admin/organization/usage.d.mts.map +1 -1
- package/node_modules/openai/resources/admin/organization/usage.d.ts +517 -88
- package/node_modules/openai/resources/admin/organization/usage.d.ts.map +1 -1
- package/node_modules/openai/resources/beta/assistants.d.mts +12 -26
- package/node_modules/openai/resources/beta/assistants.d.mts.map +1 -1
- package/node_modules/openai/resources/beta/assistants.d.ts +12 -26
- package/node_modules/openai/resources/beta/assistants.d.ts.map +1 -1
- package/node_modules/openai/resources/beta/beta.d.mts +6 -1
- package/node_modules/openai/resources/beta/beta.d.mts.map +1 -1
- package/node_modules/openai/resources/beta/beta.d.ts +6 -1
- package/node_modules/openai/resources/beta/beta.d.ts.map +1 -1
- package/node_modules/openai/resources/beta/beta.js +4 -0
- package/node_modules/openai/resources/beta/beta.js.map +1 -1
- package/node_modules/openai/resources/beta/beta.mjs +4 -0
- package/node_modules/openai/resources/beta/beta.mjs.map +1 -1
- package/node_modules/openai/resources/beta/index.d.mts +1 -0
- package/node_modules/openai/resources/beta/index.d.mts.map +1 -1
- package/node_modules/openai/resources/beta/index.d.ts +1 -0
- package/node_modules/openai/resources/beta/index.d.ts.map +1 -1
- package/node_modules/openai/resources/beta/index.js +5 -3
- package/node_modules/openai/resources/beta/index.js.map +1 -1
- package/node_modules/openai/resources/beta/index.mjs +1 -0
- package/node_modules/openai/resources/beta/index.mjs.map +1 -1
- package/node_modules/openai/resources/beta/responses/index.d.mts +6 -0
- package/node_modules/openai/resources/beta/responses/index.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses/index.d.ts +6 -0
- package/node_modules/openai/resources/beta/responses/index.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses/index.js +11 -0
- package/node_modules/openai/resources/beta/responses/index.js.map +1 -0
- package/node_modules/openai/resources/beta/responses/index.mjs +5 -0
- package/node_modules/openai/resources/beta/responses/index.mjs.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-items.d.mts +69 -0
- package/node_modules/openai/resources/beta/responses/input-items.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-items.d.ts +69 -0
- package/node_modules/openai/resources/beta/responses/input-items.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-items.js +37 -0
- package/node_modules/openai/resources/beta/responses/input-items.js.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-items.mjs +33 -0
- package/node_modules/openai/resources/beta/responses/input-items.mjs.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.d.mts +195 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.d.ts +195 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.js +34 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.js.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.mjs +30 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.mjs.map +1 -0
- package/node_modules/openai/resources/beta/responses/internal-base.d.mts +71 -0
- package/node_modules/openai/resources/beta/responses/internal-base.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses/internal-base.d.ts +71 -0
- package/node_modules/openai/resources/beta/responses/internal-base.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses/internal-base.js +48 -0
- package/node_modules/openai/resources/beta/responses/internal-base.js.map +1 -0
- package/node_modules/openai/resources/beta/responses/internal-base.mjs +42 -0
- package/node_modules/openai/resources/beta/responses/internal-base.mjs.map +1 -0
- package/node_modules/openai/resources/beta/responses/responses.d.mts +9996 -0
- package/node_modules/openai/resources/beta/responses/responses.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses/responses.d.ts +9996 -0
- package/node_modules/openai/resources/beta/responses/responses.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses/responses.js +121 -0
- package/node_modules/openai/resources/beta/responses/responses.js.map +1 -0
- package/node_modules/openai/resources/beta/responses/responses.mjs +116 -0
- package/node_modules/openai/resources/beta/responses/responses.mjs.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws-base.d.mts +106 -0
- package/node_modules/openai/resources/beta/responses/ws-base.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws-base.d.ts +106 -0
- package/node_modules/openai/resources/beta/responses/ws-base.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws-base.js +476 -0
- package/node_modules/openai/resources/beta/responses/ws-base.js.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws-base.mjs +472 -0
- package/node_modules/openai/resources/beta/responses/ws-base.mjs.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws.d.mts +13 -0
- package/node_modules/openai/resources/beta/responses/ws.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws.d.ts +13 -0
- package/node_modules/openai/resources/beta/responses/ws.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws.js +31 -0
- package/node_modules/openai/resources/beta/responses/ws.js.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws.mjs +26 -0
- package/node_modules/openai/resources/beta/responses/ws.mjs.map +1 -0
- package/node_modules/openai/resources/beta/responses.d.mts +2 -0
- package/node_modules/openai/resources/beta/responses.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses.d.ts +2 -0
- package/node_modules/openai/resources/beta/responses.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses.js +6 -0
- package/node_modules/openai/resources/beta/responses.js.map +1 -0
- package/node_modules/openai/resources/beta/responses.mjs +3 -0
- package/node_modules/openai/resources/beta/responses.mjs.map +1 -0
- package/node_modules/openai/resources/beta/threads/runs/runs.d.mts +6 -13
- package/node_modules/openai/resources/beta/threads/runs/runs.d.mts.map +1 -1
- package/node_modules/openai/resources/beta/threads/runs/runs.d.ts +6 -13
- package/node_modules/openai/resources/beta/threads/runs/runs.d.ts.map +1 -1
- package/node_modules/openai/resources/beta/threads/runs/runs.js.map +1 -1
- package/node_modules/openai/resources/beta/threads/runs/runs.mjs.map +1 -1
- package/node_modules/openai/resources/chat/completions/completions.d.mts +174 -23
- package/node_modules/openai/resources/chat/completions/completions.d.mts.map +1 -1
- package/node_modules/openai/resources/chat/completions/completions.d.ts +174 -23
- package/node_modules/openai/resources/chat/completions/completions.d.ts.map +1 -1
- package/node_modules/openai/resources/chat/completions/completions.js.map +1 -1
- package/node_modules/openai/resources/chat/completions/completions.mjs.map +1 -1
- package/node_modules/openai/resources/completions.d.mts +4 -0
- package/node_modules/openai/resources/completions.d.mts.map +1 -1
- package/node_modules/openai/resources/completions.d.ts +4 -0
- package/node_modules/openai/resources/completions.d.ts.map +1 -1
- package/node_modules/openai/resources/conversations/conversations.d.mts +19 -0
- package/node_modules/openai/resources/conversations/conversations.d.mts.map +1 -1
- package/node_modules/openai/resources/conversations/conversations.d.ts +19 -0
- package/node_modules/openai/resources/conversations/conversations.d.ts.map +1 -1
- package/node_modules/openai/resources/conversations/conversations.js.map +1 -1
- package/node_modules/openai/resources/conversations/conversations.mjs.map +1 -1
- package/node_modules/openai/resources/conversations/items.d.mts +45 -1
- package/node_modules/openai/resources/conversations/items.d.mts.map +1 -1
- package/node_modules/openai/resources/conversations/items.d.ts +45 -1
- package/node_modules/openai/resources/conversations/items.d.ts.map +1 -1
- package/node_modules/openai/resources/evals/runs/runs.d.mts +66 -143
- package/node_modules/openai/resources/evals/runs/runs.d.mts.map +1 -1
- package/node_modules/openai/resources/evals/runs/runs.d.ts +66 -143
- package/node_modules/openai/resources/evals/runs/runs.d.ts.map +1 -1
- package/node_modules/openai/resources/evals/runs/runs.js.map +1 -1
- package/node_modules/openai/resources/evals/runs/runs.mjs.map +1 -1
- package/node_modules/openai/resources/graders/grader-models.d.mts +6 -13
- package/node_modules/openai/resources/graders/grader-models.d.mts.map +1 -1
- package/node_modules/openai/resources/graders/grader-models.d.ts +6 -13
- package/node_modules/openai/resources/graders/grader-models.d.ts.map +1 -1
- package/node_modules/openai/resources/realtime/calls.d.mts +1 -1
- package/node_modules/openai/resources/realtime/calls.d.mts.map +1 -1
- package/node_modules/openai/resources/realtime/calls.d.ts +1 -1
- package/node_modules/openai/resources/realtime/calls.d.ts.map +1 -1
- package/node_modules/openai/resources/realtime/client-secrets.d.mts +5 -1
- package/node_modules/openai/resources/realtime/client-secrets.d.mts.map +1 -1
- package/node_modules/openai/resources/realtime/client-secrets.d.ts +5 -1
- package/node_modules/openai/resources/realtime/client-secrets.d.ts.map +1 -1
- package/node_modules/openai/resources/realtime/realtime.d.mts +9 -1
- package/node_modules/openai/resources/realtime/realtime.d.mts.map +1 -1
- package/node_modules/openai/resources/realtime/realtime.d.ts +9 -1
- package/node_modules/openai/resources/realtime/realtime.d.ts.map +1 -1
- package/node_modules/openai/resources/realtime/realtime.js.map +1 -1
- package/node_modules/openai/resources/realtime/realtime.mjs.map +1 -1
- package/node_modules/openai/resources/responses/input-tokens.d.mts +9 -2
- package/node_modules/openai/resources/responses/input-tokens.d.mts.map +1 -1
- package/node_modules/openai/resources/responses/input-tokens.d.ts +9 -2
- package/node_modules/openai/resources/responses/input-tokens.d.ts.map +1 -1
- package/node_modules/openai/resources/responses/responses.d.mts +827 -33
- package/node_modules/openai/resources/responses/responses.d.mts.map +1 -1
- package/node_modules/openai/resources/responses/responses.d.ts +827 -33
- package/node_modules/openai/resources/responses/responses.d.ts.map +1 -1
- package/node_modules/openai/resources/responses/responses.js +1 -1
- package/node_modules/openai/resources/responses/responses.js.map +1 -1
- package/node_modules/openai/resources/responses/responses.mjs +1 -1
- package/node_modules/openai/resources/responses/responses.mjs.map +1 -1
- package/node_modules/openai/resources/shared.d.mts +24 -29
- package/node_modules/openai/resources/shared.d.mts.map +1 -1
- package/node_modules/openai/resources/shared.d.ts +24 -29
- package/node_modules/openai/resources/shared.d.ts.map +1 -1
- package/node_modules/openai/src/azure.ts +5 -1
- package/node_modules/openai/src/client.ts +13 -5
- package/node_modules/openai/src/core/streaming.ts +36 -8
- package/node_modules/openai/src/core/uploads.ts +6 -1
- package/node_modules/openai/src/helpers/audio.ts +18 -4
- package/node_modules/openai/src/helpers/standard-schema.ts +570 -0
- package/node_modules/openai/src/helpers/zod.ts +218 -50
- package/node_modules/openai/src/index.ts +1 -1
- package/node_modules/openai/src/internal/headers.ts +7 -3
- package/node_modules/openai/src/internal/uploads.ts +214 -4
- package/node_modules/openai/src/lib/AbstractChatCompletionRunner.ts +75 -10
- package/node_modules/openai/src/lib/AssistantStream.ts +4 -3
- package/node_modules/openai/src/lib/ChatCompletionRunner.ts +46 -6
- package/node_modules/openai/src/lib/ChatCompletionStream.ts +171 -25
- package/node_modules/openai/src/lib/ChatCompletionStreamingRunner.ts +144 -7
- package/node_modules/openai/src/lib/EventStream.ts +114 -4
- package/node_modules/openai/src/lib/ResponsesParser.ts +7 -5
- package/node_modules/openai/src/lib/RunnableFunction.ts +60 -31
- package/node_modules/openai/src/lib/jsonschema.ts +3 -0
- package/node_modules/openai/src/lib/parser.ts +4 -0
- package/node_modules/openai/src/lib/responses/ResponseAccumulator.ts +10 -1
- package/node_modules/openai/src/lib/responses/ResponseInputItems.ts +2 -0
- package/node_modules/openai/src/lib/responses/ResponseStream.ts +29 -1
- package/node_modules/openai/src/lib/transform.ts +1930 -103
- package/node_modules/openai/src/resources/admin/organization/audit-logs.ts +169 -1
- package/node_modules/openai/src/resources/admin/organization/index.ts +6 -0
- package/node_modules/openai/src/resources/admin/organization/organization.ts +16 -0
- package/node_modules/openai/src/resources/admin/organization/projects/api-keys.ts +15 -1
- package/node_modules/openai/src/resources/admin/organization/projects/index.ts +7 -1
- package/node_modules/openai/src/resources/admin/organization/projects/projects.ts +29 -13
- package/node_modules/openai/src/resources/admin/organization/projects/service-accounts/api-keys.ts +80 -0
- package/node_modules/openai/src/resources/admin/organization/projects/service-accounts/index.ts +15 -0
- package/node_modules/openai/src/resources/admin/organization/projects/service-accounts/service-accounts.ts +284 -0
- package/node_modules/openai/src/resources/admin/organization/projects/service-accounts.ts +1 -264
- package/node_modules/openai/src/resources/admin/organization/projects/spend-limit.ts +156 -0
- package/node_modules/openai/src/resources/admin/organization/spend-limit.ts +144 -0
- package/node_modules/openai/src/resources/admin/organization/usage.ts +616 -88
- package/node_modules/openai/src/resources/beta/assistants.ts +12 -26
- package/node_modules/openai/src/resources/beta/beta.ts +330 -2
- package/node_modules/openai/src/resources/beta/index.ts +163 -0
- package/node_modules/openai/src/resources/beta/responses/index.ts +169 -0
- package/node_modules/openai/src/resources/beta/responses/input-items.ts +105 -0
- package/node_modules/openai/src/resources/beta/responses/input-tokens.ts +249 -0
- package/node_modules/openai/src/resources/beta/responses/internal-base.ts +117 -0
- package/node_modules/openai/src/resources/beta/responses/responses.ts +12644 -0
- package/node_modules/openai/src/resources/beta/responses/ws-base.ts +615 -0
- package/node_modules/openai/src/resources/beta/responses/ws.ts +38 -0
- package/node_modules/openai/src/resources/beta/responses.ts +3 -0
- package/node_modules/openai/src/resources/beta/threads/runs/runs.ts +6 -13
- package/node_modules/openai/src/resources/chat/completions/completions.ts +241 -26
- package/node_modules/openai/src/resources/completions.ts +5 -0
- package/node_modules/openai/src/resources/conversations/conversations.ts +21 -0
- package/node_modules/openai/src/resources/conversations/items.ts +56 -0
- package/node_modules/openai/src/resources/evals/runs/runs.ts +66 -143
- package/node_modules/openai/src/resources/graders/grader-models.ts +6 -13
- package/node_modules/openai/src/resources/realtime/calls.ts +2 -0
- package/node_modules/openai/src/resources/realtime/client-secrets.ts +7 -0
- package/node_modules/openai/src/resources/realtime/realtime.ts +12 -0
- package/node_modules/openai/src/resources/responses/input-tokens.ts +10 -1
- package/node_modules/openai/src/resources/responses/responses.ts +962 -24
- package/node_modules/openai/src/resources/shared.ts +27 -28
- package/node_modules/openai/src/version.ts +1 -1
- package/node_modules/openai/version.d.mts +1 -1
- package/node_modules/openai/version.d.ts +1 -1
- package/node_modules/openai/version.js +1 -1
- package/node_modules/openai/version.mjs +1 -1
- package/node_modules/process-warning/LICENSE +1 -1
- package/node_modules/process-warning/README.md +41 -2
- package/node_modules/process-warning/index.js +85 -17
- package/node_modules/process-warning/package.json +6 -7
- package/node_modules/process-warning/test/emit-once-only.test.js +3 -3
- package/node_modules/process-warning/test/emit-reset.test.js +4 -4
- package/node_modules/process-warning/test/emit-unlimited.test.js +2 -2
- package/node_modules/process-warning/test/spy-warning.test.js +143 -0
- package/node_modules/process-warning/types/index.d.ts +15 -1
- package/node_modules/process-warning/types/index.tst.ts +48 -0
- package/node_modules/tar-fs/index.js +39 -10
- package/node_modules/tar-fs/package.json +6 -1
- package/node_modules/tar-fs/test/index.js +111 -0
- package/node_modules/ws/lib/receiver.js +15 -32
- package/node_modules/ws/lib/websocket-server.js +4 -4
- package/node_modules/ws/lib/websocket.js +4 -4
- package/node_modules/ws/package.json +5 -1
- package/package.json +6 -6
- package/node_modules/@hono/node-server/dist/conninfo.js +0 -42
- package/node_modules/@hono/node-server/dist/globals.d.mts +0 -2
- package/node_modules/@hono/node-server/dist/globals.d.ts +0 -2
- package/node_modules/@hono/node-server/dist/globals.js +0 -29
- package/node_modules/@hono/node-server/dist/globals.mjs +0 -5
- package/node_modules/@hono/node-server/dist/index.d.ts +0 -8
- package/node_modules/@hono/node-server/dist/index.js +0 -702
- package/node_modules/@hono/node-server/dist/listener.d.mts +0 -13
- package/node_modules/@hono/node-server/dist/listener.d.ts +0 -13
- package/node_modules/@hono/node-server/dist/listener.js +0 -670
- package/node_modules/@hono/node-server/dist/listener.mjs +0 -635
- package/node_modules/@hono/node-server/dist/request.d.mts +0 -25
- package/node_modules/@hono/node-server/dist/request.d.ts +0 -25
- package/node_modules/@hono/node-server/dist/request.js +0 -238
- package/node_modules/@hono/node-server/dist/request.mjs +0 -206
- package/node_modules/@hono/node-server/dist/response.d.mts +0 -26
- package/node_modules/@hono/node-server/dist/response.d.ts +0 -26
- package/node_modules/@hono/node-server/dist/response.js +0 -112
- package/node_modules/@hono/node-server/dist/response.mjs +0 -85
- package/node_modules/@hono/node-server/dist/serve-static.d.ts +0 -17
- package/node_modules/@hono/node-server/dist/serve-static.js +0 -177
- package/node_modules/@hono/node-server/dist/server.d.mts +0 -10
- package/node_modules/@hono/node-server/dist/server.d.ts +0 -10
- package/node_modules/@hono/node-server/dist/server.js +0 -696
- package/node_modules/@hono/node-server/dist/server.mjs +0 -660
- package/node_modules/@hono/node-server/dist/types.d.mts +0 -44
- package/node_modules/@hono/node-server/dist/types.d.ts +0 -44
- package/node_modules/@hono/node-server/dist/types.js +0 -18
- package/node_modules/@hono/node-server/dist/types.mjs +0 -0
- package/node_modules/@hono/node-server/dist/utils/response/constants.d.mts +0 -3
- package/node_modules/@hono/node-server/dist/utils/response/constants.d.ts +0 -3
- package/node_modules/@hono/node-server/dist/utils/response/constants.js +0 -30
- package/node_modules/@hono/node-server/dist/utils/response/constants.mjs +0 -5
- package/node_modules/@hono/node-server/dist/utils/response.d.ts +0 -3
- package/node_modules/@hono/node-server/dist/utils/response.js +0 -37
- package/node_modules/@hono/node-server/dist/utils.d.mts +0 -9
- package/node_modules/@hono/node-server/dist/utils.d.ts +0 -9
- package/node_modules/@hono/node-server/dist/utils.js +0 -99
- package/node_modules/@hono/node-server/dist/utils.mjs +0 -71
- package/node_modules/@hono/node-server/dist/vercel.d.mts +0 -7
- package/node_modules/@hono/node-server/dist/vercel.d.ts +0 -7
- package/node_modules/@hono/node-server/dist/vercel.js +0 -677
- package/node_modules/@hono/node-server/dist/vercel.mjs +0 -640
- package/node_modules/fast-copy/CHANGELOG.md +0 -176
- package/node_modules/fast-copy/dist/cjs/copier.d.cts +0 -75
- package/node_modules/fast-copy/dist/cjs/options.d.cts +0 -69
- package/node_modules/fast-copy/dist/cjs/utils.d.cts +0 -13
- package/node_modules/fast-copy/dist/es/copier.d.mts +0 -75
- package/node_modules/fast-copy/dist/es/options.d.mts +0 -69
- package/node_modules/fast-copy/dist/es/utils.d.mts +0 -13
- package/node_modules/fast-copy/dist/umd/copier.d.ts +0 -72
- package/node_modules/fast-copy/dist/umd/options.d.ts +0 -65
- package/node_modules/fast-copy/dist/umd/utils.d.ts +0 -13
- package/node_modules/hono/dist/tsconfig.build.tsbuildinfo +0 -1
- package/node_modules/jose/dist/webapi/lib/aesgcmkw.js +0 -15
- package/node_modules/jose/dist/webapi/lib/aeskw.js +0 -25
- package/node_modules/jose/dist/webapi/lib/check_key_type.js +0 -122
- package/node_modules/jose/dist/webapi/lib/ecdhes.js +0 -52
- package/node_modules/jose/dist/webapi/lib/key_to_jwk.js +0 -31
- package/node_modules/jose/dist/webapi/lib/normalize_key.js +0 -166
- package/node_modules/jose/dist/webapi/lib/pbes2kw.js +0 -42
- package/node_modules/jose/dist/webapi/lib/rsaes.js +0 -24
- package/node_modules/jose/dist/webapi/lib/validate_algorithms.js +0 -10
- package/node_modules/jose/dist/webapi/lib/validate_crit.js +0 -33
- package/node_modules/process-warning/types/index.test-d.ts +0 -36
|
@@ -43,6 +43,8 @@ export type ParsedResponseOutputItem<ParsedT> =
|
|
|
43
43
|
| ResponseFunctionWebSearch
|
|
44
44
|
| ResponseComputerToolCall
|
|
45
45
|
| ResponseComputerToolCallOutputItem
|
|
46
|
+
| ResponseOutputItem.Program
|
|
47
|
+
| ResponseOutputItem.ProgramOutput
|
|
46
48
|
| ResponseToolSearchCall
|
|
47
49
|
| ResponseToolSearchOutputItem
|
|
48
50
|
| ResponseOutputItem.AdditionalTools
|
|
@@ -235,7 +237,7 @@ export class Responses extends APIResource {
|
|
|
235
237
|
* @example
|
|
236
238
|
* ```ts
|
|
237
239
|
* const compactedResponse = await client.responses.compact({
|
|
238
|
-
* model: 'gpt-5.
|
|
240
|
+
* model: 'gpt-5.6-sol',
|
|
239
241
|
* });
|
|
240
242
|
* ```
|
|
241
243
|
*/
|
|
@@ -254,6 +256,11 @@ export interface ApplyPatchTool {
|
|
|
254
256
|
* The type of the tool. Always `apply_patch`.
|
|
255
257
|
*/
|
|
256
258
|
type: 'apply_patch';
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* The tool invocation context(s).
|
|
262
|
+
*/
|
|
263
|
+
allowed_callers?: Array<'direct' | 'programmatic'> | null;
|
|
257
264
|
}
|
|
258
265
|
|
|
259
266
|
export interface CompactedResponse {
|
|
@@ -659,6 +666,11 @@ export interface CustomTool {
|
|
|
659
666
|
*/
|
|
660
667
|
type: 'custom';
|
|
661
668
|
|
|
669
|
+
/**
|
|
670
|
+
* The tool invocation context(s).
|
|
671
|
+
*/
|
|
672
|
+
allowed_callers?: Array<'direct' | 'programmatic'> | null;
|
|
673
|
+
|
|
662
674
|
/**
|
|
663
675
|
* Whether this tool should be deferred and discovered via tool search.
|
|
664
676
|
*/
|
|
@@ -794,6 +806,11 @@ export interface FunctionShellTool {
|
|
|
794
806
|
*/
|
|
795
807
|
type: 'shell';
|
|
796
808
|
|
|
809
|
+
/**
|
|
810
|
+
* The tool invocation context(s).
|
|
811
|
+
*/
|
|
812
|
+
allowed_callers?: Array<'direct' | 'programmatic'> | null;
|
|
813
|
+
|
|
797
814
|
environment?: ContainerAuto | LocalEnvironment | ContainerReference | null;
|
|
798
815
|
}
|
|
799
816
|
|
|
@@ -814,7 +831,7 @@ export interface FunctionTool {
|
|
|
814
831
|
parameters: { [key: string]: unknown } | null;
|
|
815
832
|
|
|
816
833
|
/**
|
|
817
|
-
* Whether
|
|
834
|
+
* Whether strict parameter validation is enforced for this function tool.
|
|
818
835
|
*/
|
|
819
836
|
strict: boolean | null;
|
|
820
837
|
|
|
@@ -823,6 +840,11 @@ export interface FunctionTool {
|
|
|
823
840
|
*/
|
|
824
841
|
type: 'function';
|
|
825
842
|
|
|
843
|
+
/**
|
|
844
|
+
* The tool invocation context(s).
|
|
845
|
+
*/
|
|
846
|
+
allowed_callers?: Array<'direct' | 'programmatic'> | null;
|
|
847
|
+
|
|
826
848
|
/**
|
|
827
849
|
* Whether this function is deferred and loaded via tool search.
|
|
828
850
|
*/
|
|
@@ -833,6 +855,12 @@ export interface FunctionTool {
|
|
|
833
855
|
* call the function.
|
|
834
856
|
*/
|
|
835
857
|
description?: string | null;
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* A JSON schema object describing the JSON value encoded in string outputs for
|
|
861
|
+
* this function.
|
|
862
|
+
*/
|
|
863
|
+
output_schema?: { [key: string]: unknown } | null;
|
|
836
864
|
}
|
|
837
865
|
|
|
838
866
|
export interface InlineSkill {
|
|
@@ -937,6 +965,11 @@ export namespace NamespaceTool {
|
|
|
937
965
|
|
|
938
966
|
type: 'function';
|
|
939
967
|
|
|
968
|
+
/**
|
|
969
|
+
* The tool invocation context(s).
|
|
970
|
+
*/
|
|
971
|
+
allowed_callers?: Array<'direct' | 'programmatic'> | null;
|
|
972
|
+
|
|
940
973
|
/**
|
|
941
974
|
* Whether this function should be deferred and discovered via tool search.
|
|
942
975
|
*/
|
|
@@ -944,8 +977,19 @@ export namespace NamespaceTool {
|
|
|
944
977
|
|
|
945
978
|
description?: string | null;
|
|
946
979
|
|
|
980
|
+
/**
|
|
981
|
+
* A JSON Schema describing the JSON value encoded in string outputs for this
|
|
982
|
+
* function tool. This does not describe content-array outputs.
|
|
983
|
+
*/
|
|
984
|
+
output_schema?: { [key: string]: unknown } | null;
|
|
985
|
+
|
|
947
986
|
parameters?: unknown | null;
|
|
948
987
|
|
|
988
|
+
/**
|
|
989
|
+
* Whether to enforce strict parameter validation. If omitted, Responses attempts
|
|
990
|
+
* to use strict validation when the schema is compatible, and falls back to
|
|
991
|
+
* non-strict validation otherwise.
|
|
992
|
+
*/
|
|
949
993
|
strict?: boolean | null;
|
|
950
994
|
}
|
|
951
995
|
}
|
|
@@ -1042,6 +1086,7 @@ export interface Response {
|
|
|
1042
1086
|
| ToolChoiceFunction
|
|
1043
1087
|
| ToolChoiceMcp
|
|
1044
1088
|
| ToolChoiceCustom
|
|
1089
|
+
| Response.SpecificProgrammaticToolCallingParam
|
|
1045
1090
|
| ToolChoiceApplyPatch
|
|
1046
1091
|
| ToolChoiceShell;
|
|
1047
1092
|
|
|
@@ -1127,14 +1172,25 @@ export interface Response {
|
|
|
1127
1172
|
* hit rates. Replaces the `user` field.
|
|
1128
1173
|
* [Learn more](https://platform.openai.com/docs/guides/prompt-caching).
|
|
1129
1174
|
*/
|
|
1130
|
-
prompt_cache_key?: string;
|
|
1175
|
+
prompt_cache_key?: string | null;
|
|
1131
1176
|
|
|
1132
1177
|
/**
|
|
1178
|
+
* The prompt-caching options that were applied to the response. Supported for
|
|
1179
|
+
* `gpt-5.6` and later models.
|
|
1180
|
+
*/
|
|
1181
|
+
prompt_cache_options?: Response.PromptCacheOptions;
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* @deprecated Deprecated. Use `prompt_cache_options.ttl` instead.
|
|
1185
|
+
*
|
|
1133
1186
|
* The retention policy for the prompt cache. Set to `24h` to enable extended
|
|
1134
1187
|
* prompt caching, which keeps cached prefixes active for longer, up to a maximum
|
|
1135
1188
|
* of 24 hours.
|
|
1136
1189
|
* [Learn more](https://platform.openai.com/docs/guides/prompt-caching#prompt-cache-retention).
|
|
1137
|
-
*
|
|
1190
|
+
* This field expresses a maximum retention policy, while
|
|
1191
|
+
* `prompt_cache_options.ttl` expresses a minimum cache lifetime. The two fields
|
|
1192
|
+
* are independent and do not interact. For `gpt-5.5`, `gpt-5.5-pro`, and future
|
|
1193
|
+
* models, only `24h` is supported.
|
|
1138
1194
|
*
|
|
1139
1195
|
* For older models that support both `in_memory` and `24h`, the default depends on
|
|
1140
1196
|
* your organization's data retention policy:
|
|
@@ -1161,7 +1217,7 @@ export interface Response {
|
|
|
1161
1217
|
* identifying information.
|
|
1162
1218
|
* [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers).
|
|
1163
1219
|
*/
|
|
1164
|
-
safety_identifier?: string;
|
|
1220
|
+
safety_identifier?: string | null;
|
|
1165
1221
|
|
|
1166
1222
|
/**
|
|
1167
1223
|
* Specifies the latency tier to use for processing the request. This parameter is
|
|
@@ -1243,6 +1299,13 @@ export namespace Response {
|
|
|
1243
1299
|
reason?: 'max_output_tokens' | 'content_filter';
|
|
1244
1300
|
}
|
|
1245
1301
|
|
|
1302
|
+
export interface SpecificProgrammaticToolCallingParam {
|
|
1303
|
+
/**
|
|
1304
|
+
* The tool to call. Always `programmatic_tool_calling`.
|
|
1305
|
+
*/
|
|
1306
|
+
type: 'programmatic_tool_calling';
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1246
1309
|
/**
|
|
1247
1310
|
* The conversation that this response belonged to. Input items and output items
|
|
1248
1311
|
* from this response were automatically added to this conversation.
|
|
@@ -1385,6 +1448,22 @@ export namespace Response {
|
|
|
1385
1448
|
type: 'error';
|
|
1386
1449
|
}
|
|
1387
1450
|
}
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* The prompt-caching options that were applied to the response. Supported for
|
|
1454
|
+
* `gpt-5.6` and later models.
|
|
1455
|
+
*/
|
|
1456
|
+
export interface PromptCacheOptions {
|
|
1457
|
+
/**
|
|
1458
|
+
* Whether implicit prompt-cache breakpoints were enabled.
|
|
1459
|
+
*/
|
|
1460
|
+
mode: 'implicit' | 'explicit';
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* The minimum lifetime applied to each cache breakpoint.
|
|
1464
|
+
*/
|
|
1465
|
+
ttl: '30m';
|
|
1466
|
+
}
|
|
1388
1467
|
}
|
|
1389
1468
|
|
|
1390
1469
|
/**
|
|
@@ -1421,6 +1500,11 @@ export interface ResponseApplyPatchToolCall {
|
|
|
1421
1500
|
*/
|
|
1422
1501
|
type: 'apply_patch_call';
|
|
1423
1502
|
|
|
1503
|
+
/**
|
|
1504
|
+
* The execution context that produced this tool call.
|
|
1505
|
+
*/
|
|
1506
|
+
caller?: ResponseApplyPatchToolCall.Direct | ResponseApplyPatchToolCall.Program | null;
|
|
1507
|
+
|
|
1424
1508
|
/**
|
|
1425
1509
|
* The ID of the entity that created this tool call.
|
|
1426
1510
|
*/
|
|
@@ -1482,6 +1566,19 @@ export namespace ResponseApplyPatchToolCall {
|
|
|
1482
1566
|
*/
|
|
1483
1567
|
type: 'update_file';
|
|
1484
1568
|
}
|
|
1569
|
+
|
|
1570
|
+
export interface Direct {
|
|
1571
|
+
type: 'direct';
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
export interface Program {
|
|
1575
|
+
/**
|
|
1576
|
+
* The call ID of the program item that produced this tool call.
|
|
1577
|
+
*/
|
|
1578
|
+
caller_id: string;
|
|
1579
|
+
|
|
1580
|
+
type: 'program';
|
|
1581
|
+
}
|
|
1485
1582
|
}
|
|
1486
1583
|
|
|
1487
1584
|
/**
|
|
@@ -1509,6 +1606,11 @@ export interface ResponseApplyPatchToolCallOutput {
|
|
|
1509
1606
|
*/
|
|
1510
1607
|
type: 'apply_patch_call_output';
|
|
1511
1608
|
|
|
1609
|
+
/**
|
|
1610
|
+
* The execution context that produced this tool call.
|
|
1611
|
+
*/
|
|
1612
|
+
caller?: ResponseApplyPatchToolCallOutput.Direct | ResponseApplyPatchToolCallOutput.Program | null;
|
|
1613
|
+
|
|
1512
1614
|
/**
|
|
1513
1615
|
* The ID of the entity that created this tool call output.
|
|
1514
1616
|
*/
|
|
@@ -1520,6 +1622,21 @@ export interface ResponseApplyPatchToolCallOutput {
|
|
|
1520
1622
|
output?: string | null;
|
|
1521
1623
|
}
|
|
1522
1624
|
|
|
1625
|
+
export namespace ResponseApplyPatchToolCallOutput {
|
|
1626
|
+
export interface Direct {
|
|
1627
|
+
type: 'direct';
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
export interface Program {
|
|
1631
|
+
/**
|
|
1632
|
+
* The call ID of the program item that produced this tool call.
|
|
1633
|
+
*/
|
|
1634
|
+
caller_id: string;
|
|
1635
|
+
|
|
1636
|
+
type: 'program';
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1523
1640
|
/**
|
|
1524
1641
|
* Emitted when there is a partial audio response.
|
|
1525
1642
|
*/
|
|
@@ -2445,12 +2562,32 @@ export interface ResponseCustomToolCall {
|
|
|
2445
2562
|
*/
|
|
2446
2563
|
id?: string;
|
|
2447
2564
|
|
|
2565
|
+
/**
|
|
2566
|
+
* The execution context that produced this tool call.
|
|
2567
|
+
*/
|
|
2568
|
+
caller?: ResponseCustomToolCall.Direct | ResponseCustomToolCall.Program | null;
|
|
2569
|
+
|
|
2448
2570
|
/**
|
|
2449
2571
|
* The namespace of the custom tool being called.
|
|
2450
2572
|
*/
|
|
2451
2573
|
namespace?: string;
|
|
2452
2574
|
}
|
|
2453
2575
|
|
|
2576
|
+
export namespace ResponseCustomToolCall {
|
|
2577
|
+
export interface Direct {
|
|
2578
|
+
type: 'direct';
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
export interface Program {
|
|
2582
|
+
/**
|
|
2583
|
+
* The call ID of the program item that produced this tool call.
|
|
2584
|
+
*/
|
|
2585
|
+
caller_id: string;
|
|
2586
|
+
|
|
2587
|
+
type: 'program';
|
|
2588
|
+
}
|
|
2589
|
+
}
|
|
2590
|
+
|
|
2454
2591
|
/**
|
|
2455
2592
|
* Event representing a delta (partial update) to the input of a custom tool call.
|
|
2456
2593
|
*/
|
|
@@ -2556,6 +2693,32 @@ export interface ResponseCustomToolCallOutput {
|
|
|
2556
2693
|
* The unique ID of the custom tool call output in the OpenAI platform.
|
|
2557
2694
|
*/
|
|
2558
2695
|
id?: string;
|
|
2696
|
+
|
|
2697
|
+
/**
|
|
2698
|
+
* The execution context that produced this tool call.
|
|
2699
|
+
*/
|
|
2700
|
+
caller?: ResponseCustomToolCallOutput.Direct | ResponseCustomToolCallOutput.Program | null;
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
export namespace ResponseCustomToolCallOutput {
|
|
2704
|
+
export interface Direct {
|
|
2705
|
+
/**
|
|
2706
|
+
* The caller type. Always `direct`.
|
|
2707
|
+
*/
|
|
2708
|
+
type: 'direct';
|
|
2709
|
+
}
|
|
2710
|
+
|
|
2711
|
+
export interface Program {
|
|
2712
|
+
/**
|
|
2713
|
+
* The call ID of the program item that produced this tool call.
|
|
2714
|
+
*/
|
|
2715
|
+
caller_id: string;
|
|
2716
|
+
|
|
2717
|
+
/**
|
|
2718
|
+
* The caller type. Always `program`.
|
|
2719
|
+
*/
|
|
2720
|
+
type: 'program';
|
|
2721
|
+
}
|
|
2559
2722
|
}
|
|
2560
2723
|
|
|
2561
2724
|
/**
|
|
@@ -2590,6 +2753,8 @@ export interface ResponseError {
|
|
|
2590
2753
|
| 'server_error'
|
|
2591
2754
|
| 'rate_limit_exceeded'
|
|
2592
2755
|
| 'invalid_prompt'
|
|
2756
|
+
| 'data_residency_mismatch'
|
|
2757
|
+
| 'bio_policy'
|
|
2593
2758
|
| 'vector_store_timeout'
|
|
2594
2759
|
| 'invalid_image'
|
|
2595
2760
|
| 'invalid_image_format'
|
|
@@ -3020,6 +3185,11 @@ export interface ResponseFunctionShellToolCall {
|
|
|
3020
3185
|
*/
|
|
3021
3186
|
type: 'shell_call';
|
|
3022
3187
|
|
|
3188
|
+
/**
|
|
3189
|
+
* The execution context that produced this tool call.
|
|
3190
|
+
*/
|
|
3191
|
+
caller?: ResponseFunctionShellToolCall.Direct | ResponseFunctionShellToolCall.Program | null;
|
|
3192
|
+
|
|
3023
3193
|
/**
|
|
3024
3194
|
* The ID of the entity that created this tool call.
|
|
3025
3195
|
*/
|
|
@@ -3043,6 +3213,19 @@ export namespace ResponseFunctionShellToolCall {
|
|
|
3043
3213
|
*/
|
|
3044
3214
|
timeout_ms: number | null;
|
|
3045
3215
|
}
|
|
3216
|
+
|
|
3217
|
+
export interface Direct {
|
|
3218
|
+
type: 'direct';
|
|
3219
|
+
}
|
|
3220
|
+
|
|
3221
|
+
export interface Program {
|
|
3222
|
+
/**
|
|
3223
|
+
* The call ID of the program item that produced this tool call.
|
|
3224
|
+
*/
|
|
3225
|
+
caller_id: string;
|
|
3226
|
+
|
|
3227
|
+
type: 'program';
|
|
3228
|
+
}
|
|
3046
3229
|
}
|
|
3047
3230
|
|
|
3048
3231
|
/**
|
|
@@ -3082,6 +3265,11 @@ export interface ResponseFunctionShellToolCallOutput {
|
|
|
3082
3265
|
*/
|
|
3083
3266
|
type: 'shell_call_output';
|
|
3084
3267
|
|
|
3268
|
+
/**
|
|
3269
|
+
* The execution context that produced this tool call.
|
|
3270
|
+
*/
|
|
3271
|
+
caller?: ResponseFunctionShellToolCallOutput.Direct | ResponseFunctionShellToolCallOutput.Program | null;
|
|
3272
|
+
|
|
3085
3273
|
/**
|
|
3086
3274
|
* The identifier of the actor that created the item.
|
|
3087
3275
|
*/
|
|
@@ -3141,6 +3329,19 @@ export namespace ResponseFunctionShellToolCallOutput {
|
|
|
3141
3329
|
type: 'exit';
|
|
3142
3330
|
}
|
|
3143
3331
|
}
|
|
3332
|
+
|
|
3333
|
+
export interface Direct {
|
|
3334
|
+
type: 'direct';
|
|
3335
|
+
}
|
|
3336
|
+
|
|
3337
|
+
export interface Program {
|
|
3338
|
+
/**
|
|
3339
|
+
* The call ID of the program item that produced this tool call.
|
|
3340
|
+
*/
|
|
3341
|
+
caller_id: string;
|
|
3342
|
+
|
|
3343
|
+
type: 'program';
|
|
3344
|
+
}
|
|
3144
3345
|
}
|
|
3145
3346
|
|
|
3146
3347
|
/**
|
|
@@ -3174,6 +3375,11 @@ export interface ResponseFunctionToolCall {
|
|
|
3174
3375
|
*/
|
|
3175
3376
|
id?: string;
|
|
3176
3377
|
|
|
3378
|
+
/**
|
|
3379
|
+
* The execution context that produced this tool call.
|
|
3380
|
+
*/
|
|
3381
|
+
caller?: ResponseFunctionToolCall.Direct | ResponseFunctionToolCall.Program | null;
|
|
3382
|
+
|
|
3177
3383
|
/**
|
|
3178
3384
|
* The namespace of the function to run.
|
|
3179
3385
|
*/
|
|
@@ -3186,6 +3392,21 @@ export interface ResponseFunctionToolCall {
|
|
|
3186
3392
|
status?: 'in_progress' | 'completed' | 'incomplete';
|
|
3187
3393
|
}
|
|
3188
3394
|
|
|
3395
|
+
export namespace ResponseFunctionToolCall {
|
|
3396
|
+
export interface Direct {
|
|
3397
|
+
type: 'direct';
|
|
3398
|
+
}
|
|
3399
|
+
|
|
3400
|
+
export interface Program {
|
|
3401
|
+
/**
|
|
3402
|
+
* The call ID of the program item that produced this tool call.
|
|
3403
|
+
*/
|
|
3404
|
+
caller_id: string;
|
|
3405
|
+
|
|
3406
|
+
type: 'program';
|
|
3407
|
+
}
|
|
3408
|
+
}
|
|
3409
|
+
|
|
3189
3410
|
/**
|
|
3190
3411
|
* A tool call to run a function. See the
|
|
3191
3412
|
* [function calling guide](https://platform.openai.com/docs/guides/function-calling)
|
|
@@ -3237,12 +3458,38 @@ export interface ResponseFunctionToolCallOutputItem {
|
|
|
3237
3458
|
*/
|
|
3238
3459
|
type: 'function_call_output';
|
|
3239
3460
|
|
|
3461
|
+
/**
|
|
3462
|
+
* The execution context that produced this tool call.
|
|
3463
|
+
*/
|
|
3464
|
+
caller?: ResponseFunctionToolCallOutputItem.Direct | ResponseFunctionToolCallOutputItem.Program | null;
|
|
3465
|
+
|
|
3240
3466
|
/**
|
|
3241
3467
|
* The identifier of the actor that created the item.
|
|
3242
3468
|
*/
|
|
3243
3469
|
created_by?: string;
|
|
3244
3470
|
}
|
|
3245
3471
|
|
|
3472
|
+
export namespace ResponseFunctionToolCallOutputItem {
|
|
3473
|
+
export interface Direct {
|
|
3474
|
+
/**
|
|
3475
|
+
* The caller type. Always `direct`.
|
|
3476
|
+
*/
|
|
3477
|
+
type: 'direct';
|
|
3478
|
+
}
|
|
3479
|
+
|
|
3480
|
+
export interface Program {
|
|
3481
|
+
/**
|
|
3482
|
+
* The call ID of the program item that produced this tool call.
|
|
3483
|
+
*/
|
|
3484
|
+
caller_id: string;
|
|
3485
|
+
|
|
3486
|
+
/**
|
|
3487
|
+
* The caller type. Always `program`.
|
|
3488
|
+
*/
|
|
3489
|
+
type: 'program';
|
|
3490
|
+
}
|
|
3491
|
+
}
|
|
3492
|
+
|
|
3246
3493
|
/**
|
|
3247
3494
|
* The results of a web search tool call. See the
|
|
3248
3495
|
* [web search guide](https://platform.openai.com/docs/guides/tools-web-search) for
|
|
@@ -3588,11 +3835,13 @@ export interface ResponseInputFile {
|
|
|
3588
3835
|
type: 'input_file';
|
|
3589
3836
|
|
|
3590
3837
|
/**
|
|
3591
|
-
* The detail level of the file to be sent to the model. Use `
|
|
3592
|
-
*
|
|
3593
|
-
* `low
|
|
3838
|
+
* The detail level of the file to be sent to the model. Use `auto` to let the
|
|
3839
|
+
* system select the detail level; for GPT-5.6 and later models, `auto` uses
|
|
3840
|
+
* high-quality rendering, which may increase input token usage. Use `low` for
|
|
3841
|
+
* lower-cost rendering, or `high` to render the file at higher quality. Defaults
|
|
3842
|
+
* to `auto`.
|
|
3594
3843
|
*/
|
|
3595
|
-
detail?: 'low' | 'high';
|
|
3844
|
+
detail?: 'auto' | 'low' | 'high';
|
|
3596
3845
|
|
|
3597
3846
|
/**
|
|
3598
3847
|
* The content of the file to be sent to the model.
|
|
@@ -3613,6 +3862,27 @@ export interface ResponseInputFile {
|
|
|
3613
3862
|
* The name of the file to be sent to the model.
|
|
3614
3863
|
*/
|
|
3615
3864
|
filename?: string;
|
|
3865
|
+
|
|
3866
|
+
/**
|
|
3867
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
3868
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
3869
|
+
* token block.
|
|
3870
|
+
*/
|
|
3871
|
+
prompt_cache_breakpoint?: ResponseInputFile.PromptCacheBreakpoint;
|
|
3872
|
+
}
|
|
3873
|
+
|
|
3874
|
+
export namespace ResponseInputFile {
|
|
3875
|
+
/**
|
|
3876
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
3877
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
3878
|
+
* token block.
|
|
3879
|
+
*/
|
|
3880
|
+
export interface PromptCacheBreakpoint {
|
|
3881
|
+
/**
|
|
3882
|
+
* The breakpoint mode. Always `explicit`.
|
|
3883
|
+
*/
|
|
3884
|
+
mode: 'explicit';
|
|
3885
|
+
}
|
|
3616
3886
|
}
|
|
3617
3887
|
|
|
3618
3888
|
/**
|
|
@@ -3625,11 +3895,13 @@ export interface ResponseInputFileContent {
|
|
|
3625
3895
|
type: 'input_file';
|
|
3626
3896
|
|
|
3627
3897
|
/**
|
|
3628
|
-
* The detail level of the file to be sent to the model. Use `
|
|
3629
|
-
*
|
|
3630
|
-
* `low
|
|
3898
|
+
* The detail level of the file to be sent to the model. Use `auto` to let the
|
|
3899
|
+
* system select the detail level; for GPT-5.6 and later models, `auto` uses
|
|
3900
|
+
* high-quality rendering, which may increase input token usage. Use `low` for
|
|
3901
|
+
* lower-cost rendering, or `high` to render the file at higher quality. Defaults
|
|
3902
|
+
* to `auto`.
|
|
3631
3903
|
*/
|
|
3632
|
-
detail?: 'low' | 'high';
|
|
3904
|
+
detail?: 'auto' | 'low' | 'high';
|
|
3633
3905
|
|
|
3634
3906
|
/**
|
|
3635
3907
|
* The base64-encoded data of the file to be sent to the model.
|
|
@@ -3650,6 +3922,27 @@ export interface ResponseInputFileContent {
|
|
|
3650
3922
|
* The name of the file to be sent to the model.
|
|
3651
3923
|
*/
|
|
3652
3924
|
filename?: string | null;
|
|
3925
|
+
|
|
3926
|
+
/**
|
|
3927
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
3928
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
3929
|
+
* token block.
|
|
3930
|
+
*/
|
|
3931
|
+
prompt_cache_breakpoint?: ResponseInputFileContent.PromptCacheBreakpoint | null;
|
|
3932
|
+
}
|
|
3933
|
+
|
|
3934
|
+
export namespace ResponseInputFileContent {
|
|
3935
|
+
/**
|
|
3936
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
3937
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
3938
|
+
* token block.
|
|
3939
|
+
*/
|
|
3940
|
+
export interface PromptCacheBreakpoint {
|
|
3941
|
+
/**
|
|
3942
|
+
* The breakpoint mode. Always `explicit`.
|
|
3943
|
+
*/
|
|
3944
|
+
mode: 'explicit';
|
|
3945
|
+
}
|
|
3653
3946
|
}
|
|
3654
3947
|
|
|
3655
3948
|
/**
|
|
@@ -3678,6 +3971,27 @@ export interface ResponseInputImage {
|
|
|
3678
3971
|
* encoded image in a data URL.
|
|
3679
3972
|
*/
|
|
3680
3973
|
image_url?: string | null;
|
|
3974
|
+
|
|
3975
|
+
/**
|
|
3976
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
3977
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
3978
|
+
* token block.
|
|
3979
|
+
*/
|
|
3980
|
+
prompt_cache_breakpoint?: ResponseInputImage.PromptCacheBreakpoint;
|
|
3981
|
+
}
|
|
3982
|
+
|
|
3983
|
+
export namespace ResponseInputImage {
|
|
3984
|
+
/**
|
|
3985
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
3986
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
3987
|
+
* token block.
|
|
3988
|
+
*/
|
|
3989
|
+
export interface PromptCacheBreakpoint {
|
|
3990
|
+
/**
|
|
3991
|
+
* The breakpoint mode. Always `explicit`.
|
|
3992
|
+
*/
|
|
3993
|
+
mode: 'explicit';
|
|
3994
|
+
}
|
|
3681
3995
|
}
|
|
3682
3996
|
|
|
3683
3997
|
/**
|
|
@@ -3706,6 +4020,27 @@ export interface ResponseInputImageContent {
|
|
|
3706
4020
|
* encoded image in a data URL.
|
|
3707
4021
|
*/
|
|
3708
4022
|
image_url?: string | null;
|
|
4023
|
+
|
|
4024
|
+
/**
|
|
4025
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
4026
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
4027
|
+
* token block.
|
|
4028
|
+
*/
|
|
4029
|
+
prompt_cache_breakpoint?: ResponseInputImageContent.PromptCacheBreakpoint | null;
|
|
4030
|
+
}
|
|
4031
|
+
|
|
4032
|
+
export namespace ResponseInputImageContent {
|
|
4033
|
+
/**
|
|
4034
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
4035
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
4036
|
+
* token block.
|
|
4037
|
+
*/
|
|
4038
|
+
export interface PromptCacheBreakpoint {
|
|
4039
|
+
/**
|
|
4040
|
+
* The breakpoint mode. Always `explicit`.
|
|
4041
|
+
*/
|
|
4042
|
+
mode: 'explicit';
|
|
4043
|
+
}
|
|
3709
4044
|
}
|
|
3710
4045
|
|
|
3711
4046
|
/**
|
|
@@ -3745,7 +4080,9 @@ export type ResponseInputItem =
|
|
|
3745
4080
|
| ResponseCustomToolCallOutput
|
|
3746
4081
|
| ResponseCustomToolCall
|
|
3747
4082
|
| ResponseInputItem.CompactionTrigger
|
|
3748
|
-
| ResponseInputItem.ItemReference
|
|
4083
|
+
| ResponseInputItem.ItemReference
|
|
4084
|
+
| ResponseInputItem.Program
|
|
4085
|
+
| ResponseInputItem.ProgramOutput;
|
|
3749
4086
|
|
|
3750
4087
|
export namespace ResponseInputItem {
|
|
3751
4088
|
/**
|
|
@@ -3861,6 +4198,11 @@ export namespace ResponseInputItem {
|
|
|
3861
4198
|
*/
|
|
3862
4199
|
id?: string | null;
|
|
3863
4200
|
|
|
4201
|
+
/**
|
|
4202
|
+
* The execution context that produced this tool call.
|
|
4203
|
+
*/
|
|
4204
|
+
caller?: FunctionCallOutput.Direct | FunctionCallOutput.Program | null;
|
|
4205
|
+
|
|
3864
4206
|
/**
|
|
3865
4207
|
* The status of the item. One of `in_progress`, `completed`, or `incomplete`.
|
|
3866
4208
|
* Populated when items are returned via API.
|
|
@@ -3868,6 +4210,27 @@ export namespace ResponseInputItem {
|
|
|
3868
4210
|
status?: 'in_progress' | 'completed' | 'incomplete' | null;
|
|
3869
4211
|
}
|
|
3870
4212
|
|
|
4213
|
+
export namespace FunctionCallOutput {
|
|
4214
|
+
export interface Direct {
|
|
4215
|
+
/**
|
|
4216
|
+
* The caller type. Always `direct`.
|
|
4217
|
+
*/
|
|
4218
|
+
type: 'direct';
|
|
4219
|
+
}
|
|
4220
|
+
|
|
4221
|
+
export interface Program {
|
|
4222
|
+
/**
|
|
4223
|
+
* The call ID of the program item that produced this tool call.
|
|
4224
|
+
*/
|
|
4225
|
+
caller_id: string;
|
|
4226
|
+
|
|
4227
|
+
/**
|
|
4228
|
+
* The caller type. Always `program`.
|
|
4229
|
+
*/
|
|
4230
|
+
type: 'program';
|
|
4231
|
+
}
|
|
4232
|
+
}
|
|
4233
|
+
|
|
3871
4234
|
export interface ToolSearchCall {
|
|
3872
4235
|
/**
|
|
3873
4236
|
* The arguments supplied to the tool search call.
|
|
@@ -4064,6 +4427,11 @@ export namespace ResponseInputItem {
|
|
|
4064
4427
|
*/
|
|
4065
4428
|
id?: string | null;
|
|
4066
4429
|
|
|
4430
|
+
/**
|
|
4431
|
+
* The execution context that produced this tool call.
|
|
4432
|
+
*/
|
|
4433
|
+
caller?: ShellCall.Direct | ShellCall.Program | null;
|
|
4434
|
+
|
|
4067
4435
|
/**
|
|
4068
4436
|
* The environment to execute the shell commands in.
|
|
4069
4437
|
*/
|
|
@@ -4097,6 +4465,25 @@ export namespace ResponseInputItem {
|
|
|
4097
4465
|
*/
|
|
4098
4466
|
timeout_ms?: number | null;
|
|
4099
4467
|
}
|
|
4468
|
+
|
|
4469
|
+
export interface Direct {
|
|
4470
|
+
/**
|
|
4471
|
+
* The caller type. Always `direct`.
|
|
4472
|
+
*/
|
|
4473
|
+
type: 'direct';
|
|
4474
|
+
}
|
|
4475
|
+
|
|
4476
|
+
export interface Program {
|
|
4477
|
+
/**
|
|
4478
|
+
* The call ID of the program item that produced this tool call.
|
|
4479
|
+
*/
|
|
4480
|
+
caller_id: string;
|
|
4481
|
+
|
|
4482
|
+
/**
|
|
4483
|
+
* The caller type. Always `program`.
|
|
4484
|
+
*/
|
|
4485
|
+
type: 'program';
|
|
4486
|
+
}
|
|
4100
4487
|
}
|
|
4101
4488
|
|
|
4102
4489
|
/**
|
|
@@ -4125,6 +4512,11 @@ export namespace ResponseInputItem {
|
|
|
4125
4512
|
*/
|
|
4126
4513
|
id?: string | null;
|
|
4127
4514
|
|
|
4515
|
+
/**
|
|
4516
|
+
* The execution context that produced this tool call.
|
|
4517
|
+
*/
|
|
4518
|
+
caller?: ShellCallOutput.Direct | ShellCallOutput.Program | null;
|
|
4519
|
+
|
|
4128
4520
|
/**
|
|
4129
4521
|
* The maximum number of UTF-8 characters captured for this shell call's combined
|
|
4130
4522
|
* output.
|
|
@@ -4137,6 +4529,27 @@ export namespace ResponseInputItem {
|
|
|
4137
4529
|
status?: 'in_progress' | 'completed' | 'incomplete' | null;
|
|
4138
4530
|
}
|
|
4139
4531
|
|
|
4532
|
+
export namespace ShellCallOutput {
|
|
4533
|
+
export interface Direct {
|
|
4534
|
+
/**
|
|
4535
|
+
* The caller type. Always `direct`.
|
|
4536
|
+
*/
|
|
4537
|
+
type: 'direct';
|
|
4538
|
+
}
|
|
4539
|
+
|
|
4540
|
+
export interface Program {
|
|
4541
|
+
/**
|
|
4542
|
+
* The call ID of the program item that produced this tool call.
|
|
4543
|
+
*/
|
|
4544
|
+
caller_id: string;
|
|
4545
|
+
|
|
4546
|
+
/**
|
|
4547
|
+
* The caller type. Always `program`.
|
|
4548
|
+
*/
|
|
4549
|
+
type: 'program';
|
|
4550
|
+
}
|
|
4551
|
+
}
|
|
4552
|
+
|
|
4140
4553
|
/**
|
|
4141
4554
|
* A tool call representing a request to create, delete, or update files using diff
|
|
4142
4555
|
* patches.
|
|
@@ -4168,6 +4581,11 @@ export namespace ResponseInputItem {
|
|
|
4168
4581
|
* via API.
|
|
4169
4582
|
*/
|
|
4170
4583
|
id?: string | null;
|
|
4584
|
+
|
|
4585
|
+
/**
|
|
4586
|
+
* The execution context that produced this tool call.
|
|
4587
|
+
*/
|
|
4588
|
+
caller?: ApplyPatchCall.Direct | ApplyPatchCall.Program | null;
|
|
4171
4589
|
}
|
|
4172
4590
|
|
|
4173
4591
|
export namespace ApplyPatchCall {
|
|
@@ -4225,6 +4643,25 @@ export namespace ResponseInputItem {
|
|
|
4225
4643
|
*/
|
|
4226
4644
|
type: 'update_file';
|
|
4227
4645
|
}
|
|
4646
|
+
|
|
4647
|
+
export interface Direct {
|
|
4648
|
+
/**
|
|
4649
|
+
* The caller type. Always `direct`.
|
|
4650
|
+
*/
|
|
4651
|
+
type: 'direct';
|
|
4652
|
+
}
|
|
4653
|
+
|
|
4654
|
+
export interface Program {
|
|
4655
|
+
/**
|
|
4656
|
+
* The call ID of the program item that produced this tool call.
|
|
4657
|
+
*/
|
|
4658
|
+
caller_id: string;
|
|
4659
|
+
|
|
4660
|
+
/**
|
|
4661
|
+
* The caller type. Always `program`.
|
|
4662
|
+
*/
|
|
4663
|
+
type: 'program';
|
|
4664
|
+
}
|
|
4228
4665
|
}
|
|
4229
4666
|
|
|
4230
4667
|
/**
|
|
@@ -4252,6 +4689,11 @@ export namespace ResponseInputItem {
|
|
|
4252
4689
|
*/
|
|
4253
4690
|
id?: string | null;
|
|
4254
4691
|
|
|
4692
|
+
/**
|
|
4693
|
+
* The execution context that produced this tool call.
|
|
4694
|
+
*/
|
|
4695
|
+
caller?: ApplyPatchCallOutput.Direct | ApplyPatchCallOutput.Program | null;
|
|
4696
|
+
|
|
4255
4697
|
/**
|
|
4256
4698
|
* Optional human-readable log text from the apply patch tool (e.g., patch results
|
|
4257
4699
|
* or errors).
|
|
@@ -4259,6 +4701,27 @@ export namespace ResponseInputItem {
|
|
|
4259
4701
|
output?: string | null;
|
|
4260
4702
|
}
|
|
4261
4703
|
|
|
4704
|
+
export namespace ApplyPatchCallOutput {
|
|
4705
|
+
export interface Direct {
|
|
4706
|
+
/**
|
|
4707
|
+
* The caller type. Always `direct`.
|
|
4708
|
+
*/
|
|
4709
|
+
type: 'direct';
|
|
4710
|
+
}
|
|
4711
|
+
|
|
4712
|
+
export interface Program {
|
|
4713
|
+
/**
|
|
4714
|
+
* The call ID of the program item that produced this tool call.
|
|
4715
|
+
*/
|
|
4716
|
+
caller_id: string;
|
|
4717
|
+
|
|
4718
|
+
/**
|
|
4719
|
+
* The caller type. Always `program`.
|
|
4720
|
+
*/
|
|
4721
|
+
type: 'program';
|
|
4722
|
+
}
|
|
4723
|
+
}
|
|
4724
|
+
|
|
4262
4725
|
/**
|
|
4263
4726
|
* A list of tools available on an MCP server.
|
|
4264
4727
|
*/
|
|
@@ -4453,6 +4916,60 @@ export namespace ResponseInputItem {
|
|
|
4453
4916
|
*/
|
|
4454
4917
|
type?: 'item_reference' | null;
|
|
4455
4918
|
}
|
|
4919
|
+
|
|
4920
|
+
export interface Program {
|
|
4921
|
+
/**
|
|
4922
|
+
* The unique ID of this program item.
|
|
4923
|
+
*/
|
|
4924
|
+
id: string;
|
|
4925
|
+
|
|
4926
|
+
/**
|
|
4927
|
+
* The stable call ID of the program item.
|
|
4928
|
+
*/
|
|
4929
|
+
call_id: string;
|
|
4930
|
+
|
|
4931
|
+
/**
|
|
4932
|
+
* The JavaScript source executed by programmatic tool calling.
|
|
4933
|
+
*/
|
|
4934
|
+
code: string;
|
|
4935
|
+
|
|
4936
|
+
/**
|
|
4937
|
+
* Opaque program replay fingerprint that must be round-tripped.
|
|
4938
|
+
*/
|
|
4939
|
+
fingerprint: string;
|
|
4940
|
+
|
|
4941
|
+
/**
|
|
4942
|
+
* The item type. Always `program`.
|
|
4943
|
+
*/
|
|
4944
|
+
type: 'program';
|
|
4945
|
+
}
|
|
4946
|
+
|
|
4947
|
+
export interface ProgramOutput {
|
|
4948
|
+
/**
|
|
4949
|
+
* The unique ID of this program output item.
|
|
4950
|
+
*/
|
|
4951
|
+
id: string;
|
|
4952
|
+
|
|
4953
|
+
/**
|
|
4954
|
+
* The call ID of the program item.
|
|
4955
|
+
*/
|
|
4956
|
+
call_id: string;
|
|
4957
|
+
|
|
4958
|
+
/**
|
|
4959
|
+
* The result produced by the program item.
|
|
4960
|
+
*/
|
|
4961
|
+
result: string;
|
|
4962
|
+
|
|
4963
|
+
/**
|
|
4964
|
+
* The terminal status of the program output.
|
|
4965
|
+
*/
|
|
4966
|
+
status: 'completed' | 'incomplete';
|
|
4967
|
+
|
|
4968
|
+
/**
|
|
4969
|
+
* The item type. Always `program_output`.
|
|
4970
|
+
*/
|
|
4971
|
+
type: 'program_output';
|
|
4972
|
+
}
|
|
4456
4973
|
}
|
|
4457
4974
|
|
|
4458
4975
|
/**
|
|
@@ -4503,6 +5020,27 @@ export interface ResponseInputText {
|
|
|
4503
5020
|
* The type of the input item. Always `input_text`.
|
|
4504
5021
|
*/
|
|
4505
5022
|
type: 'input_text';
|
|
5023
|
+
|
|
5024
|
+
/**
|
|
5025
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
5026
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
5027
|
+
* token block.
|
|
5028
|
+
*/
|
|
5029
|
+
prompt_cache_breakpoint?: ResponseInputText.PromptCacheBreakpoint;
|
|
5030
|
+
}
|
|
5031
|
+
|
|
5032
|
+
export namespace ResponseInputText {
|
|
5033
|
+
/**
|
|
5034
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
5035
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
5036
|
+
* token block.
|
|
5037
|
+
*/
|
|
5038
|
+
export interface PromptCacheBreakpoint {
|
|
5039
|
+
/**
|
|
5040
|
+
* The breakpoint mode. Always `explicit`.
|
|
5041
|
+
*/
|
|
5042
|
+
mode: 'explicit';
|
|
5043
|
+
}
|
|
4506
5044
|
}
|
|
4507
5045
|
|
|
4508
5046
|
/**
|
|
@@ -4518,6 +5056,27 @@ export interface ResponseInputTextContent {
|
|
|
4518
5056
|
* The type of the input item. Always `input_text`.
|
|
4519
5057
|
*/
|
|
4520
5058
|
type: 'input_text';
|
|
5059
|
+
|
|
5060
|
+
/**
|
|
5061
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
5062
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
5063
|
+
* token block.
|
|
5064
|
+
*/
|
|
5065
|
+
prompt_cache_breakpoint?: ResponseInputTextContent.PromptCacheBreakpoint | null;
|
|
5066
|
+
}
|
|
5067
|
+
|
|
5068
|
+
export namespace ResponseInputTextContent {
|
|
5069
|
+
/**
|
|
5070
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
5071
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
5072
|
+
* token block.
|
|
5073
|
+
*/
|
|
5074
|
+
export interface PromptCacheBreakpoint {
|
|
5075
|
+
/**
|
|
5076
|
+
* The breakpoint mode. Always `explicit`.
|
|
5077
|
+
*/
|
|
5078
|
+
mode: 'explicit';
|
|
5079
|
+
}
|
|
4521
5080
|
}
|
|
4522
5081
|
|
|
4523
5082
|
/**
|
|
@@ -4536,6 +5095,8 @@ export type ResponseItem =
|
|
|
4536
5095
|
| ResponseToolSearchOutputItem
|
|
4537
5096
|
| ResponseItem.AdditionalTools
|
|
4538
5097
|
| ResponseReasoningItem
|
|
5098
|
+
| ResponseItem.Program
|
|
5099
|
+
| ResponseItem.ProgramOutput
|
|
4539
5100
|
| ResponseCompactionItem
|
|
4540
5101
|
| ResponseItem.ImageGenerationCall
|
|
4541
5102
|
| ResponseCodeInterpreterToolCall
|
|
@@ -4575,6 +5136,60 @@ export namespace ResponseItem {
|
|
|
4575
5136
|
type: 'additional_tools';
|
|
4576
5137
|
}
|
|
4577
5138
|
|
|
5139
|
+
export interface Program {
|
|
5140
|
+
/**
|
|
5141
|
+
* The unique ID of the program item.
|
|
5142
|
+
*/
|
|
5143
|
+
id: string;
|
|
5144
|
+
|
|
5145
|
+
/**
|
|
5146
|
+
* The stable call ID of the program item.
|
|
5147
|
+
*/
|
|
5148
|
+
call_id: string;
|
|
5149
|
+
|
|
5150
|
+
/**
|
|
5151
|
+
* The JavaScript source executed by programmatic tool calling.
|
|
5152
|
+
*/
|
|
5153
|
+
code: string;
|
|
5154
|
+
|
|
5155
|
+
/**
|
|
5156
|
+
* Opaque program replay fingerprint that must be round-tripped.
|
|
5157
|
+
*/
|
|
5158
|
+
fingerprint: string;
|
|
5159
|
+
|
|
5160
|
+
/**
|
|
5161
|
+
* The type of the item. Always `program`.
|
|
5162
|
+
*/
|
|
5163
|
+
type: 'program';
|
|
5164
|
+
}
|
|
5165
|
+
|
|
5166
|
+
export interface ProgramOutput {
|
|
5167
|
+
/**
|
|
5168
|
+
* The unique ID of the program output item.
|
|
5169
|
+
*/
|
|
5170
|
+
id: string;
|
|
5171
|
+
|
|
5172
|
+
/**
|
|
5173
|
+
* The call ID of the program item.
|
|
5174
|
+
*/
|
|
5175
|
+
call_id: string;
|
|
5176
|
+
|
|
5177
|
+
/**
|
|
5178
|
+
* The result produced by the program item.
|
|
5179
|
+
*/
|
|
5180
|
+
result: string;
|
|
5181
|
+
|
|
5182
|
+
/**
|
|
5183
|
+
* The terminal status of the program output item.
|
|
5184
|
+
*/
|
|
5185
|
+
status: 'completed' | 'incomplete';
|
|
5186
|
+
|
|
5187
|
+
/**
|
|
5188
|
+
* The type of the item. Always `program_output`.
|
|
5189
|
+
*/
|
|
5190
|
+
type: 'program_output';
|
|
5191
|
+
}
|
|
5192
|
+
|
|
4578
5193
|
/**
|
|
4579
5194
|
* An image generation request made by the model.
|
|
4580
5195
|
*/
|
|
@@ -5118,6 +5733,8 @@ export type ResponseOutputItem =
|
|
|
5118
5733
|
| ResponseComputerToolCall
|
|
5119
5734
|
| ResponseComputerToolCallOutputItem
|
|
5120
5735
|
| ResponseReasoningItem
|
|
5736
|
+
| ResponseOutputItem.Program
|
|
5737
|
+
| ResponseOutputItem.ProgramOutput
|
|
5121
5738
|
| ResponseToolSearchCall
|
|
5122
5739
|
| ResponseToolSearchOutputItem
|
|
5123
5740
|
| ResponseOutputItem.AdditionalTools
|
|
@@ -5138,6 +5755,60 @@ export type ResponseOutputItem =
|
|
|
5138
5755
|
| ResponseCustomToolCallOutputItem;
|
|
5139
5756
|
|
|
5140
5757
|
export namespace ResponseOutputItem {
|
|
5758
|
+
export interface Program {
|
|
5759
|
+
/**
|
|
5760
|
+
* The unique ID of the program item.
|
|
5761
|
+
*/
|
|
5762
|
+
id: string;
|
|
5763
|
+
|
|
5764
|
+
/**
|
|
5765
|
+
* The stable call ID of the program item.
|
|
5766
|
+
*/
|
|
5767
|
+
call_id: string;
|
|
5768
|
+
|
|
5769
|
+
/**
|
|
5770
|
+
* The JavaScript source executed by programmatic tool calling.
|
|
5771
|
+
*/
|
|
5772
|
+
code: string;
|
|
5773
|
+
|
|
5774
|
+
/**
|
|
5775
|
+
* Opaque program replay fingerprint that must be round-tripped.
|
|
5776
|
+
*/
|
|
5777
|
+
fingerprint: string;
|
|
5778
|
+
|
|
5779
|
+
/**
|
|
5780
|
+
* The type of the item. Always `program`.
|
|
5781
|
+
*/
|
|
5782
|
+
type: 'program';
|
|
5783
|
+
}
|
|
5784
|
+
|
|
5785
|
+
export interface ProgramOutput {
|
|
5786
|
+
/**
|
|
5787
|
+
* The unique ID of the program output item.
|
|
5788
|
+
*/
|
|
5789
|
+
id: string;
|
|
5790
|
+
|
|
5791
|
+
/**
|
|
5792
|
+
* The call ID of the program item.
|
|
5793
|
+
*/
|
|
5794
|
+
call_id: string;
|
|
5795
|
+
|
|
5796
|
+
/**
|
|
5797
|
+
* The result produced by the program item.
|
|
5798
|
+
*/
|
|
5799
|
+
result: string;
|
|
5800
|
+
|
|
5801
|
+
/**
|
|
5802
|
+
* The terminal status of the program output item.
|
|
5803
|
+
*/
|
|
5804
|
+
status: 'completed' | 'incomplete';
|
|
5805
|
+
|
|
5806
|
+
/**
|
|
5807
|
+
* The type of the item. Always `program_output`.
|
|
5808
|
+
*/
|
|
5809
|
+
type: 'program_output';
|
|
5810
|
+
}
|
|
5811
|
+
|
|
5141
5812
|
export interface AdditionalTools {
|
|
5142
5813
|
/**
|
|
5143
5814
|
* The unique ID of the additional tools item.
|
|
@@ -5828,8 +6499,9 @@ export interface ResponseReasoningItem {
|
|
|
5828
6499
|
content?: Array<ResponseReasoningItem.Content>;
|
|
5829
6500
|
|
|
5830
6501
|
/**
|
|
5831
|
-
* The encrypted content of the reasoning item
|
|
5832
|
-
*
|
|
6502
|
+
* The encrypted content of the reasoning item. This is populated by default for
|
|
6503
|
+
* reasoning items returned by `POST /v1/responses` and WebSocket `response.create`
|
|
6504
|
+
* requests.
|
|
5833
6505
|
*/
|
|
5834
6506
|
encrypted_content?: string | null;
|
|
5835
6507
|
|
|
@@ -5957,6 +6629,12 @@ export interface ResponseReasoningSummaryPartDoneEvent {
|
|
|
5957
6629
|
* The type of the event. Always `response.reasoning_summary_part.done`.
|
|
5958
6630
|
*/
|
|
5959
6631
|
type: 'response.reasoning_summary_part.done';
|
|
6632
|
+
|
|
6633
|
+
/**
|
|
6634
|
+
* The completion status of the summary part. Omitted when the part completed
|
|
6635
|
+
* normally and set to `incomplete` when generation was interrupted.
|
|
6636
|
+
*/
|
|
6637
|
+
status?: 'incomplete';
|
|
5960
6638
|
}
|
|
5961
6639
|
|
|
5962
6640
|
export namespace ResponseReasoningSummaryPartDoneEvent {
|
|
@@ -6278,7 +6956,8 @@ export interface ResponseTextConfig {
|
|
|
6278
6956
|
/**
|
|
6279
6957
|
* Constrains the verbosity of the model's response. Lower values will result in
|
|
6280
6958
|
* more concise responses, while higher values will result in more verbose
|
|
6281
|
-
* responses. Currently supported values are `low`, `medium`, and `high`.
|
|
6959
|
+
* responses. Currently supported values are `low`, `medium`, and `high`. The
|
|
6960
|
+
* default is `medium`.
|
|
6282
6961
|
*/
|
|
6283
6962
|
verbosity?: 'low' | 'medium' | 'high' | null;
|
|
6284
6963
|
}
|
|
@@ -6581,6 +7260,11 @@ export namespace ResponseUsage {
|
|
|
6581
7260
|
* A detailed breakdown of the input tokens.
|
|
6582
7261
|
*/
|
|
6583
7262
|
export interface InputTokensDetails {
|
|
7263
|
+
/**
|
|
7264
|
+
* The number of input tokens that were written to the cache.
|
|
7265
|
+
*/
|
|
7266
|
+
cache_write_tokens: number;
|
|
7267
|
+
|
|
6584
7268
|
/**
|
|
6585
7269
|
* The number of tokens that were retrieved from the cache.
|
|
6586
7270
|
* [More on prompt caching](https://platform.openai.com/docs/guides/prompt-caching).
|
|
@@ -6806,14 +7490,32 @@ export interface ResponsesClientEvent {
|
|
|
6806
7490
|
* hit rates. Replaces the `user` field.
|
|
6807
7491
|
* [Learn more](https://platform.openai.com/docs/guides/prompt-caching).
|
|
6808
7492
|
*/
|
|
6809
|
-
prompt_cache_key?: string;
|
|
7493
|
+
prompt_cache_key?: string | null;
|
|
7494
|
+
|
|
7495
|
+
/**
|
|
7496
|
+
* Options for prompt caching. Supported for `gpt-5.6` and later models. By
|
|
7497
|
+
* default, OpenAI automatically chooses one implicit cache breakpoint. You can add
|
|
7498
|
+
* explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each
|
|
7499
|
+
* request can write up to four breakpoints. For cache matching, OpenAI considers
|
|
7500
|
+
* up to the latest 80 breakpoints in the conversation, without a content-block
|
|
7501
|
+
* lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The
|
|
7502
|
+
* `ttl` defaults to `30m`, which is currently the only supported value. See the
|
|
7503
|
+
* [prompt caching guide](https://platform.openai.com/docs/guides/prompt-caching)
|
|
7504
|
+
* for current details.
|
|
7505
|
+
*/
|
|
7506
|
+
prompt_cache_options?: ResponsesClientEvent.PromptCacheOptions;
|
|
6810
7507
|
|
|
6811
7508
|
/**
|
|
7509
|
+
* @deprecated Deprecated. Use `prompt_cache_options.ttl` instead.
|
|
7510
|
+
*
|
|
6812
7511
|
* The retention policy for the prompt cache. Set to `24h` to enable extended
|
|
6813
7512
|
* prompt caching, which keeps cached prefixes active for longer, up to a maximum
|
|
6814
7513
|
* of 24 hours.
|
|
6815
7514
|
* [Learn more](https://platform.openai.com/docs/guides/prompt-caching#prompt-cache-retention).
|
|
6816
|
-
*
|
|
7515
|
+
* This field expresses a maximum retention policy, while
|
|
7516
|
+
* `prompt_cache_options.ttl` expresses a minimum cache lifetime. The two fields
|
|
7517
|
+
* are independent and do not interact. For `gpt-5.5`, `gpt-5.5-pro`, and future
|
|
7518
|
+
* models, only `24h` is supported.
|
|
6817
7519
|
*
|
|
6818
7520
|
* For older models that support both `in_memory` and `24h`, the default depends on
|
|
6819
7521
|
* your organization's data retention policy:
|
|
@@ -6840,7 +7542,7 @@ export interface ResponsesClientEvent {
|
|
|
6840
7542
|
* identifying information.
|
|
6841
7543
|
* [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers).
|
|
6842
7544
|
*/
|
|
6843
|
-
safety_identifier?: string;
|
|
7545
|
+
safety_identifier?: string | null;
|
|
6844
7546
|
|
|
6845
7547
|
/**
|
|
6846
7548
|
* Specifies the processing type used for serving the request.
|
|
@@ -6911,6 +7613,7 @@ export interface ResponsesClientEvent {
|
|
|
6911
7613
|
| ToolChoiceFunction
|
|
6912
7614
|
| ToolChoiceMcp
|
|
6913
7615
|
| ToolChoiceCustom
|
|
7616
|
+
| ResponsesClientEvent.SpecificProgrammaticToolCallingParam
|
|
6914
7617
|
| ToolChoiceApplyPatch
|
|
6915
7618
|
| ToolChoiceShell;
|
|
6916
7619
|
|
|
@@ -6997,6 +7700,74 @@ export namespace ResponsesClientEvent {
|
|
|
6997
7700
|
* 'omni-moderation-latest'.
|
|
6998
7701
|
*/
|
|
6999
7702
|
model: string;
|
|
7703
|
+
|
|
7704
|
+
/**
|
|
7705
|
+
* The policy to apply to moderated response input and output.
|
|
7706
|
+
*/
|
|
7707
|
+
policy?: Moderation.Policy | null;
|
|
7708
|
+
}
|
|
7709
|
+
|
|
7710
|
+
export namespace Moderation {
|
|
7711
|
+
/**
|
|
7712
|
+
* The policy to apply to moderated response input and output.
|
|
7713
|
+
*/
|
|
7714
|
+
export interface Policy {
|
|
7715
|
+
/**
|
|
7716
|
+
* The moderation policy for the response input.
|
|
7717
|
+
*/
|
|
7718
|
+
input?: Policy.Input | null;
|
|
7719
|
+
|
|
7720
|
+
/**
|
|
7721
|
+
* The moderation policy for the response output.
|
|
7722
|
+
*/
|
|
7723
|
+
output?: Policy.Output | null;
|
|
7724
|
+
}
|
|
7725
|
+
|
|
7726
|
+
export namespace Policy {
|
|
7727
|
+
/**
|
|
7728
|
+
* The moderation policy for the response input.
|
|
7729
|
+
*/
|
|
7730
|
+
export interface Input {
|
|
7731
|
+
mode: 'score' | 'block';
|
|
7732
|
+
}
|
|
7733
|
+
|
|
7734
|
+
/**
|
|
7735
|
+
* The moderation policy for the response output.
|
|
7736
|
+
*/
|
|
7737
|
+
export interface Output {
|
|
7738
|
+
mode: 'score' | 'block';
|
|
7739
|
+
}
|
|
7740
|
+
}
|
|
7741
|
+
}
|
|
7742
|
+
|
|
7743
|
+
/**
|
|
7744
|
+
* Options for prompt caching. Supported for `gpt-5.6` and later models. By
|
|
7745
|
+
* default, OpenAI automatically chooses one implicit cache breakpoint. You can add
|
|
7746
|
+
* explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each
|
|
7747
|
+
* request can write up to four breakpoints. For cache matching, OpenAI considers
|
|
7748
|
+
* up to the latest 80 breakpoints in the conversation, without a content-block
|
|
7749
|
+
* lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The
|
|
7750
|
+
* `ttl` defaults to `30m`, which is currently the only supported value. See the
|
|
7751
|
+
* [prompt caching guide](https://platform.openai.com/docs/guides/prompt-caching)
|
|
7752
|
+
* for current details.
|
|
7753
|
+
*/
|
|
7754
|
+
export interface PromptCacheOptions {
|
|
7755
|
+
/**
|
|
7756
|
+
* Controls whether OpenAI automatically creates an implicit cache breakpoint.
|
|
7757
|
+
* Defaults to `implicit`. With `implicit`, OpenAI creates one implicit breakpoint
|
|
7758
|
+
* and writes up to the latest three explicit breakpoints in the request. With
|
|
7759
|
+
* `explicit`, OpenAI does not create an implicit breakpoint and writes up to the
|
|
7760
|
+
* latest four explicit breakpoints. If there are no explicit breakpoints, the
|
|
7761
|
+
* request does not use prompt caching.
|
|
7762
|
+
*/
|
|
7763
|
+
mode?: 'implicit' | 'explicit';
|
|
7764
|
+
|
|
7765
|
+
/**
|
|
7766
|
+
* The minimum lifetime applied to every implicit and explicit cache breakpoint
|
|
7767
|
+
* written by the request. Defaults to `30m`, which is currently the only supported
|
|
7768
|
+
* value. The backend may retain cache entries for longer.
|
|
7769
|
+
*/
|
|
7770
|
+
ttl?: '30m';
|
|
7000
7771
|
}
|
|
7001
7772
|
|
|
7002
7773
|
/**
|
|
@@ -7013,6 +7784,13 @@ export namespace ResponsesClientEvent {
|
|
|
7013
7784
|
*/
|
|
7014
7785
|
include_obfuscation?: boolean;
|
|
7015
7786
|
}
|
|
7787
|
+
|
|
7788
|
+
export interface SpecificProgrammaticToolCallingParam {
|
|
7789
|
+
/**
|
|
7790
|
+
* The tool to call. Always `programmatic_tool_calling`.
|
|
7791
|
+
*/
|
|
7792
|
+
type: 'programmatic_tool_calling';
|
|
7793
|
+
}
|
|
7016
7794
|
}
|
|
7017
7795
|
|
|
7018
7796
|
/**
|
|
@@ -7101,6 +7879,7 @@ export type Tool =
|
|
|
7101
7879
|
| WebSearchTool
|
|
7102
7880
|
| Tool.Mcp
|
|
7103
7881
|
| Tool.CodeInterpreter
|
|
7882
|
+
| Tool.ProgrammaticToolCalling
|
|
7104
7883
|
| Tool.ImageGeneration
|
|
7105
7884
|
| Tool.LocalShell
|
|
7106
7885
|
| FunctionShellTool
|
|
@@ -7127,6 +7906,11 @@ export namespace Tool {
|
|
|
7127
7906
|
*/
|
|
7128
7907
|
type: 'mcp';
|
|
7129
7908
|
|
|
7909
|
+
/**
|
|
7910
|
+
* The tool invocation context(s).
|
|
7911
|
+
*/
|
|
7912
|
+
allowed_callers?: Array<'direct' | 'programmatic'> | null;
|
|
7913
|
+
|
|
7130
7914
|
/**
|
|
7131
7915
|
* List of allowed tool names or a filter object.
|
|
7132
7916
|
*/
|
|
@@ -7289,6 +8073,11 @@ export namespace Tool {
|
|
|
7289
8073
|
* The type of the code interpreter tool. Always `code_interpreter`.
|
|
7290
8074
|
*/
|
|
7291
8075
|
type: 'code_interpreter';
|
|
8076
|
+
|
|
8077
|
+
/**
|
|
8078
|
+
* The tool invocation context(s).
|
|
8079
|
+
*/
|
|
8080
|
+
allowed_callers?: Array<'direct' | 'programmatic'> | null;
|
|
7292
8081
|
}
|
|
7293
8082
|
|
|
7294
8083
|
export namespace CodeInterpreter {
|
|
@@ -7321,6 +8110,13 @@ export namespace Tool {
|
|
|
7321
8110
|
}
|
|
7322
8111
|
}
|
|
7323
8112
|
|
|
8113
|
+
export interface ProgrammaticToolCalling {
|
|
8114
|
+
/**
|
|
8115
|
+
* The type of the tool. Always `programmatic_tool_calling`.
|
|
8116
|
+
*/
|
|
8117
|
+
type: 'programmatic_tool_calling';
|
|
8118
|
+
}
|
|
8119
|
+
|
|
7324
8120
|
/**
|
|
7325
8121
|
* A tool that generates images using the GPT image models.
|
|
7326
8122
|
*/
|
|
@@ -7883,14 +8679,32 @@ export interface ResponseCreateParamsBase {
|
|
|
7883
8679
|
* hit rates. Replaces the `user` field.
|
|
7884
8680
|
* [Learn more](https://platform.openai.com/docs/guides/prompt-caching).
|
|
7885
8681
|
*/
|
|
7886
|
-
prompt_cache_key?: string;
|
|
8682
|
+
prompt_cache_key?: string | null;
|
|
7887
8683
|
|
|
7888
8684
|
/**
|
|
8685
|
+
* Options for prompt caching. Supported for `gpt-5.6` and later models. By
|
|
8686
|
+
* default, OpenAI automatically chooses one implicit cache breakpoint. You can add
|
|
8687
|
+
* explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each
|
|
8688
|
+
* request can write up to four breakpoints. For cache matching, OpenAI considers
|
|
8689
|
+
* up to the latest 80 breakpoints in the conversation, without a content-block
|
|
8690
|
+
* lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The
|
|
8691
|
+
* `ttl` defaults to `30m`, which is currently the only supported value. See the
|
|
8692
|
+
* [prompt caching guide](https://platform.openai.com/docs/guides/prompt-caching)
|
|
8693
|
+
* for current details.
|
|
8694
|
+
*/
|
|
8695
|
+
prompt_cache_options?: ResponseCreateParams.PromptCacheOptions;
|
|
8696
|
+
|
|
8697
|
+
/**
|
|
8698
|
+
* @deprecated Deprecated. Use `prompt_cache_options.ttl` instead.
|
|
8699
|
+
*
|
|
7889
8700
|
* The retention policy for the prompt cache. Set to `24h` to enable extended
|
|
7890
8701
|
* prompt caching, which keeps cached prefixes active for longer, up to a maximum
|
|
7891
8702
|
* of 24 hours.
|
|
7892
8703
|
* [Learn more](https://platform.openai.com/docs/guides/prompt-caching#prompt-cache-retention).
|
|
7893
|
-
*
|
|
8704
|
+
* This field expresses a maximum retention policy, while
|
|
8705
|
+
* `prompt_cache_options.ttl` expresses a minimum cache lifetime. The two fields
|
|
8706
|
+
* are independent and do not interact. For `gpt-5.5`, `gpt-5.5-pro`, and future
|
|
8707
|
+
* models, only `24h` is supported.
|
|
7894
8708
|
*
|
|
7895
8709
|
* For older models that support both `in_memory` and `24h`, the default depends on
|
|
7896
8710
|
* your organization's data retention policy:
|
|
@@ -7917,7 +8731,7 @@ export interface ResponseCreateParamsBase {
|
|
|
7917
8731
|
* identifying information.
|
|
7918
8732
|
* [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers).
|
|
7919
8733
|
*/
|
|
7920
|
-
safety_identifier?: string;
|
|
8734
|
+
safety_identifier?: string | null;
|
|
7921
8735
|
|
|
7922
8736
|
/**
|
|
7923
8737
|
* Specifies the latency tier to use for processing the request. This parameter is
|
|
@@ -7987,6 +8801,7 @@ export interface ResponseCreateParamsBase {
|
|
|
7987
8801
|
| ToolChoiceFunction
|
|
7988
8802
|
| ToolChoiceMcp
|
|
7989
8803
|
| ToolChoiceCustom
|
|
8804
|
+
| ResponseCreateParams.SpecificProgrammaticToolCallingParam
|
|
7990
8805
|
| ToolChoiceApplyPatch
|
|
7991
8806
|
| ToolChoiceShell;
|
|
7992
8807
|
|
|
@@ -8073,6 +8888,74 @@ export namespace ResponseCreateParams {
|
|
|
8073
8888
|
* 'omni-moderation-latest'.
|
|
8074
8889
|
*/
|
|
8075
8890
|
model: string;
|
|
8891
|
+
|
|
8892
|
+
/**
|
|
8893
|
+
* The policy to apply to moderated response input and output.
|
|
8894
|
+
*/
|
|
8895
|
+
policy?: Moderation.Policy | null;
|
|
8896
|
+
}
|
|
8897
|
+
|
|
8898
|
+
export namespace Moderation {
|
|
8899
|
+
/**
|
|
8900
|
+
* The policy to apply to moderated response input and output.
|
|
8901
|
+
*/
|
|
8902
|
+
export interface Policy {
|
|
8903
|
+
/**
|
|
8904
|
+
* The moderation policy for the response input.
|
|
8905
|
+
*/
|
|
8906
|
+
input?: Policy.Input | null;
|
|
8907
|
+
|
|
8908
|
+
/**
|
|
8909
|
+
* The moderation policy for the response output.
|
|
8910
|
+
*/
|
|
8911
|
+
output?: Policy.Output | null;
|
|
8912
|
+
}
|
|
8913
|
+
|
|
8914
|
+
export namespace Policy {
|
|
8915
|
+
/**
|
|
8916
|
+
* The moderation policy for the response input.
|
|
8917
|
+
*/
|
|
8918
|
+
export interface Input {
|
|
8919
|
+
mode: 'score' | 'block';
|
|
8920
|
+
}
|
|
8921
|
+
|
|
8922
|
+
/**
|
|
8923
|
+
* The moderation policy for the response output.
|
|
8924
|
+
*/
|
|
8925
|
+
export interface Output {
|
|
8926
|
+
mode: 'score' | 'block';
|
|
8927
|
+
}
|
|
8928
|
+
}
|
|
8929
|
+
}
|
|
8930
|
+
|
|
8931
|
+
/**
|
|
8932
|
+
* Options for prompt caching. Supported for `gpt-5.6` and later models. By
|
|
8933
|
+
* default, OpenAI automatically chooses one implicit cache breakpoint. You can add
|
|
8934
|
+
* explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each
|
|
8935
|
+
* request can write up to four breakpoints. For cache matching, OpenAI considers
|
|
8936
|
+
* up to the latest 80 breakpoints in the conversation, without a content-block
|
|
8937
|
+
* lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The
|
|
8938
|
+
* `ttl` defaults to `30m`, which is currently the only supported value. See the
|
|
8939
|
+
* [prompt caching guide](https://platform.openai.com/docs/guides/prompt-caching)
|
|
8940
|
+
* for current details.
|
|
8941
|
+
*/
|
|
8942
|
+
export interface PromptCacheOptions {
|
|
8943
|
+
/**
|
|
8944
|
+
* Controls whether OpenAI automatically creates an implicit cache breakpoint.
|
|
8945
|
+
* Defaults to `implicit`. With `implicit`, OpenAI creates one implicit breakpoint
|
|
8946
|
+
* and writes up to the latest three explicit breakpoints in the request. With
|
|
8947
|
+
* `explicit`, OpenAI does not create an implicit breakpoint and writes up to the
|
|
8948
|
+
* latest four explicit breakpoints. If there are no explicit breakpoints, the
|
|
8949
|
+
* request does not use prompt caching.
|
|
8950
|
+
*/
|
|
8951
|
+
mode?: 'implicit' | 'explicit';
|
|
8952
|
+
|
|
8953
|
+
/**
|
|
8954
|
+
* The minimum lifetime applied to every implicit and explicit cache breakpoint
|
|
8955
|
+
* written by the request. Defaults to `30m`, which is currently the only supported
|
|
8956
|
+
* value. The backend may retain cache entries for longer.
|
|
8957
|
+
*/
|
|
8958
|
+
ttl?: '30m';
|
|
8076
8959
|
}
|
|
8077
8960
|
|
|
8078
8961
|
/**
|
|
@@ -8090,6 +8973,13 @@ export namespace ResponseCreateParams {
|
|
|
8090
8973
|
include_obfuscation?: boolean;
|
|
8091
8974
|
}
|
|
8092
8975
|
|
|
8976
|
+
export interface SpecificProgrammaticToolCallingParam {
|
|
8977
|
+
/**
|
|
8978
|
+
* The tool to call. Always `programmatic_tool_calling`.
|
|
8979
|
+
*/
|
|
8980
|
+
type: 'programmatic_tool_calling';
|
|
8981
|
+
}
|
|
8982
|
+
|
|
8093
8983
|
export type ResponseCreateParamsNonStreaming = ResponsesAPI.ResponseCreateParamsNonStreaming;
|
|
8094
8984
|
export type ResponseCreateParamsStreaming = ResponsesAPI.ResponseCreateParamsStreaming;
|
|
8095
8985
|
}
|
|
@@ -8191,6 +9081,9 @@ export interface ResponseCompactParams {
|
|
|
8191
9081
|
* available models.
|
|
8192
9082
|
*/
|
|
8193
9083
|
model:
|
|
9084
|
+
| 'gpt-5.6-sol'
|
|
9085
|
+
| 'gpt-5.6-terra'
|
|
9086
|
+
| 'gpt-5.6-luna'
|
|
8194
9087
|
| 'gpt-5.4'
|
|
8195
9088
|
| 'gpt-5.4-mini'
|
|
8196
9089
|
| 'gpt-5.4-nano'
|
|
@@ -8313,7 +9206,20 @@ export interface ResponseCompactParams {
|
|
|
8313
9206
|
prompt_cache_key?: string | null;
|
|
8314
9207
|
|
|
8315
9208
|
/**
|
|
8316
|
-
*
|
|
9209
|
+
* Options for prompt caching. Supported for `gpt-5.6` and later models. By
|
|
9210
|
+
* default, OpenAI automatically chooses one implicit cache breakpoint. You can add
|
|
9211
|
+
* explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each
|
|
9212
|
+
* request can write up to four breakpoints. For cache matching, OpenAI considers
|
|
9213
|
+
* up to the latest 80 breakpoints in the conversation, without a content-block
|
|
9214
|
+
* lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The
|
|
9215
|
+
* `ttl` defaults to `30m`, which is currently the only supported value. See the
|
|
9216
|
+
* [prompt caching guide](https://platform.openai.com/docs/guides/prompt-caching)
|
|
9217
|
+
* for current details.
|
|
9218
|
+
*/
|
|
9219
|
+
prompt_cache_options?: ResponseCompactParams.PromptCacheOptions | null;
|
|
9220
|
+
|
|
9221
|
+
/**
|
|
9222
|
+
* @deprecated How long to retain a prompt cache entry created by this request.
|
|
8317
9223
|
*/
|
|
8318
9224
|
prompt_cache_retention?: 'in_memory' | '24h' | null;
|
|
8319
9225
|
|
|
@@ -8323,6 +9229,38 @@ export interface ResponseCompactParams {
|
|
|
8323
9229
|
service_tier?: 'auto' | 'default' | 'flex' | 'priority' | null;
|
|
8324
9230
|
}
|
|
8325
9231
|
|
|
9232
|
+
export namespace ResponseCompactParams {
|
|
9233
|
+
/**
|
|
9234
|
+
* Options for prompt caching. Supported for `gpt-5.6` and later models. By
|
|
9235
|
+
* default, OpenAI automatically chooses one implicit cache breakpoint. You can add
|
|
9236
|
+
* explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each
|
|
9237
|
+
* request can write up to four breakpoints. For cache matching, OpenAI considers
|
|
9238
|
+
* up to the latest 80 breakpoints in the conversation, without a content-block
|
|
9239
|
+
* lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The
|
|
9240
|
+
* `ttl` defaults to `30m`, which is currently the only supported value. See the
|
|
9241
|
+
* [prompt caching guide](https://platform.openai.com/docs/guides/prompt-caching)
|
|
9242
|
+
* for current details.
|
|
9243
|
+
*/
|
|
9244
|
+
export interface PromptCacheOptions {
|
|
9245
|
+
/**
|
|
9246
|
+
* Controls whether OpenAI automatically creates an implicit cache breakpoint.
|
|
9247
|
+
* Defaults to `implicit`. With `implicit`, OpenAI creates one implicit breakpoint
|
|
9248
|
+
* and writes up to the latest three explicit breakpoints in the request. With
|
|
9249
|
+
* `explicit`, OpenAI does not create an implicit breakpoint and writes up to the
|
|
9250
|
+
* latest four explicit breakpoints. If there are no explicit breakpoints, the
|
|
9251
|
+
* request does not use prompt caching.
|
|
9252
|
+
*/
|
|
9253
|
+
mode?: 'implicit' | 'explicit';
|
|
9254
|
+
|
|
9255
|
+
/**
|
|
9256
|
+
* The minimum lifetime applied to every implicit and explicit cache breakpoint
|
|
9257
|
+
* written by the request. Defaults to `30m`, which is currently the only supported
|
|
9258
|
+
* value. The backend may retain cache entries for longer.
|
|
9259
|
+
*/
|
|
9260
|
+
ttl?: '30m';
|
|
9261
|
+
}
|
|
9262
|
+
}
|
|
9263
|
+
|
|
8326
9264
|
Responses.InputItems = InputItems;
|
|
8327
9265
|
Responses.InputTokens = InputTokens;
|
|
8328
9266
|
|