@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
|
@@ -15,8 +15,15 @@ import { path } from '../../../internal/utils/path';
|
|
|
15
15
|
import { ChatCompletionRunner } from '../../../lib/ChatCompletionRunner';
|
|
16
16
|
import { ChatCompletionStreamingRunner } from '../../../lib/ChatCompletionStreamingRunner';
|
|
17
17
|
import { RunnerOptions } from '../../../lib/AbstractChatCompletionRunner';
|
|
18
|
-
import {
|
|
19
|
-
|
|
18
|
+
import {
|
|
19
|
+
ChatCompletionToolRunnerParamsWithContext,
|
|
20
|
+
ChatCompletionToolRunnerParamsWithoutContext,
|
|
21
|
+
} from '../../../lib/ChatCompletionRunner';
|
|
22
|
+
import {
|
|
23
|
+
ChatCompletionStreamingToolRunnerParamsWithContext,
|
|
24
|
+
ChatCompletionStreamingToolRunnerParamsWithoutContext,
|
|
25
|
+
} from '../../../lib/ChatCompletionStreamingRunner';
|
|
26
|
+
import { type RunnableToolFunctionWithContext } from '../../../lib/RunnableFunction';
|
|
20
27
|
import { ChatCompletionStream, type ChatCompletionStreamParams } from '../../../lib/ChatCompletionStream';
|
|
21
28
|
import { ExtractParsedContentFromParams, parseChatCompletion, validateInputTools } from '../../../lib/parser';
|
|
22
29
|
|
|
@@ -188,17 +195,55 @@ export class Completions extends APIResource {
|
|
|
188
195
|
* [the docs](https://github.com/openai/openai-node#automated-function-calls)
|
|
189
196
|
*/
|
|
190
197
|
runTools<
|
|
191
|
-
|
|
198
|
+
ToolContext,
|
|
199
|
+
Params extends Omit<
|
|
200
|
+
ChatCompletionToolRunnerParamsWithContext<any, ToolContext>,
|
|
201
|
+
'toolContext' | 'tools'
|
|
202
|
+
> = Omit<ChatCompletionToolRunnerParamsWithContext<any, ToolContext>, 'toolContext' | 'tools'>,
|
|
203
|
+
ParsedT = ExtractParsedContentFromParams<
|
|
204
|
+
Params & ChatCompletionToolRunnerParamsWithContext<any, ToolContext>
|
|
205
|
+
>,
|
|
206
|
+
>(
|
|
207
|
+
body: Params & {
|
|
208
|
+
toolContext: ToolContext;
|
|
209
|
+
tools: readonly RunnableToolFunctionWithContext<ToolContext>[];
|
|
210
|
+
},
|
|
211
|
+
options?: RunnerOptions,
|
|
212
|
+
): ChatCompletionRunner<ParsedT>;
|
|
213
|
+
|
|
214
|
+
runTools<
|
|
215
|
+
ToolContext,
|
|
216
|
+
Params extends Omit<
|
|
217
|
+
ChatCompletionStreamingToolRunnerParamsWithContext<any, ToolContext>,
|
|
218
|
+
'toolContext' | 'tools'
|
|
219
|
+
> = Omit<ChatCompletionStreamingToolRunnerParamsWithContext<any, ToolContext>, 'toolContext' | 'tools'>,
|
|
220
|
+
ParsedT = ExtractParsedContentFromParams<
|
|
221
|
+
Params & ChatCompletionStreamingToolRunnerParamsWithContext<any, ToolContext>
|
|
222
|
+
>,
|
|
223
|
+
>(
|
|
224
|
+
body: Params & {
|
|
225
|
+
toolContext: ToolContext;
|
|
226
|
+
tools: readonly RunnableToolFunctionWithContext<ToolContext>[];
|
|
227
|
+
},
|
|
228
|
+
options?: RunnerOptions,
|
|
229
|
+
): ChatCompletionStreamingRunner<ParsedT>;
|
|
230
|
+
|
|
231
|
+
runTools<
|
|
232
|
+
Params extends ChatCompletionToolRunnerParamsWithoutContext<any>,
|
|
192
233
|
ParsedT = ExtractParsedContentFromParams<Params>,
|
|
193
234
|
>(body: Params, options?: RunnerOptions): ChatCompletionRunner<ParsedT>;
|
|
194
235
|
|
|
195
236
|
runTools<
|
|
196
|
-
Params extends
|
|
237
|
+
Params extends ChatCompletionStreamingToolRunnerParamsWithoutContext<any>,
|
|
197
238
|
ParsedT = ExtractParsedContentFromParams<Params>,
|
|
198
239
|
>(body: Params, options?: RunnerOptions): ChatCompletionStreamingRunner<ParsedT>;
|
|
199
240
|
|
|
200
241
|
runTools<
|
|
201
|
-
Params extends
|
|
242
|
+
Params extends
|
|
243
|
+
| ChatCompletionToolRunnerParamsWithoutContext<any>
|
|
244
|
+
| ChatCompletionToolRunnerParamsWithContext<any, any>
|
|
245
|
+
| ChatCompletionStreamingToolRunnerParamsWithoutContext<any>
|
|
246
|
+
| ChatCompletionStreamingToolRunnerParamsWithContext<any, any>,
|
|
202
247
|
ParsedT = ExtractParsedContentFromParams<Params>,
|
|
203
248
|
>(
|
|
204
249
|
body: Params,
|
|
@@ -207,12 +252,16 @@ export class Completions extends APIResource {
|
|
|
207
252
|
if (body.stream) {
|
|
208
253
|
return ChatCompletionStreamingRunner.runTools(
|
|
209
254
|
this._client,
|
|
210
|
-
body as
|
|
255
|
+
body as ChatCompletionStreamingToolRunnerParamsWithContext<any, any>,
|
|
211
256
|
options,
|
|
212
257
|
);
|
|
213
258
|
}
|
|
214
259
|
|
|
215
|
-
return ChatCompletionRunner.runTools(
|
|
260
|
+
return ChatCompletionRunner.runTools(
|
|
261
|
+
this._client,
|
|
262
|
+
body as ChatCompletionToolRunnerParamsWithContext<any, any>,
|
|
263
|
+
options,
|
|
264
|
+
);
|
|
216
265
|
}
|
|
217
266
|
|
|
218
267
|
/**
|
|
@@ -255,8 +304,16 @@ export {
|
|
|
255
304
|
type RunnableFunctionWithoutParse,
|
|
256
305
|
ParsingToolFunction,
|
|
257
306
|
} from '../../../lib/RunnableFunction';
|
|
258
|
-
export {
|
|
259
|
-
|
|
307
|
+
export {
|
|
308
|
+
type ChatCompletionToolRunnerParams,
|
|
309
|
+
type ChatCompletionToolRunnerParamsWithContext,
|
|
310
|
+
type ChatCompletionToolRunnerParamsWithoutContext,
|
|
311
|
+
} from '../../../lib/ChatCompletionRunner';
|
|
312
|
+
export {
|
|
313
|
+
type ChatCompletionStreamingToolRunnerParams,
|
|
314
|
+
type ChatCompletionStreamingToolRunnerParamsWithContext,
|
|
315
|
+
type ChatCompletionStreamingToolRunnerParamsWithoutContext,
|
|
316
|
+
} from '../../../lib/ChatCompletionStreamingRunner';
|
|
260
317
|
export { ChatCompletionStream, type ChatCompletionStreamParams } from '../../../lib/ChatCompletionStream';
|
|
261
318
|
export { ChatCompletionRunner } from '../../../lib/ChatCompletionRunner';
|
|
262
319
|
|
|
@@ -1129,6 +1186,13 @@ export namespace ChatCompletionContentPart {
|
|
|
1129
1186
|
* The type of the content part. Always `file`.
|
|
1130
1187
|
*/
|
|
1131
1188
|
type: 'file';
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
1192
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
1193
|
+
* token block.
|
|
1194
|
+
*/
|
|
1195
|
+
prompt_cache_breakpoint?: File.PromptCacheBreakpoint;
|
|
1132
1196
|
}
|
|
1133
1197
|
|
|
1134
1198
|
export namespace File {
|
|
@@ -1149,6 +1213,18 @@ export namespace ChatCompletionContentPart {
|
|
|
1149
1213
|
*/
|
|
1150
1214
|
filename?: string;
|
|
1151
1215
|
}
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
1219
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
1220
|
+
* token block.
|
|
1221
|
+
*/
|
|
1222
|
+
export interface PromptCacheBreakpoint {
|
|
1223
|
+
/**
|
|
1224
|
+
* The breakpoint mode. Always `explicit`.
|
|
1225
|
+
*/
|
|
1226
|
+
mode: 'explicit';
|
|
1227
|
+
}
|
|
1152
1228
|
}
|
|
1153
1229
|
}
|
|
1154
1230
|
|
|
@@ -1162,6 +1238,13 @@ export interface ChatCompletionContentPartImage {
|
|
|
1162
1238
|
* The type of the content part.
|
|
1163
1239
|
*/
|
|
1164
1240
|
type: 'image_url';
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
1244
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
1245
|
+
* token block.
|
|
1246
|
+
*/
|
|
1247
|
+
prompt_cache_breakpoint?: ChatCompletionContentPartImage.PromptCacheBreakpoint;
|
|
1165
1248
|
}
|
|
1166
1249
|
|
|
1167
1250
|
export namespace ChatCompletionContentPartImage {
|
|
@@ -1177,6 +1260,18 @@ export namespace ChatCompletionContentPartImage {
|
|
|
1177
1260
|
*/
|
|
1178
1261
|
detail?: 'auto' | 'low' | 'high';
|
|
1179
1262
|
}
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
1266
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
1267
|
+
* token block.
|
|
1268
|
+
*/
|
|
1269
|
+
export interface PromptCacheBreakpoint {
|
|
1270
|
+
/**
|
|
1271
|
+
* The breakpoint mode. Always `explicit`.
|
|
1272
|
+
*/
|
|
1273
|
+
mode: 'explicit';
|
|
1274
|
+
}
|
|
1180
1275
|
}
|
|
1181
1276
|
|
|
1182
1277
|
/**
|
|
@@ -1189,6 +1284,13 @@ export interface ChatCompletionContentPartInputAudio {
|
|
|
1189
1284
|
* The type of the content part. Always `input_audio`.
|
|
1190
1285
|
*/
|
|
1191
1286
|
type: 'input_audio';
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
1290
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
1291
|
+
* token block.
|
|
1292
|
+
*/
|
|
1293
|
+
prompt_cache_breakpoint?: ChatCompletionContentPartInputAudio.PromptCacheBreakpoint;
|
|
1192
1294
|
}
|
|
1193
1295
|
|
|
1194
1296
|
export namespace ChatCompletionContentPartInputAudio {
|
|
@@ -1203,6 +1305,18 @@ export namespace ChatCompletionContentPartInputAudio {
|
|
|
1203
1305
|
*/
|
|
1204
1306
|
format: 'wav' | 'mp3';
|
|
1205
1307
|
}
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
1311
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
1312
|
+
* token block.
|
|
1313
|
+
*/
|
|
1314
|
+
export interface PromptCacheBreakpoint {
|
|
1315
|
+
/**
|
|
1316
|
+
* The breakpoint mode. Always `explicit`.
|
|
1317
|
+
*/
|
|
1318
|
+
mode: 'explicit';
|
|
1319
|
+
}
|
|
1206
1320
|
}
|
|
1207
1321
|
|
|
1208
1322
|
export interface ChatCompletionContentPartRefusal {
|
|
@@ -1231,6 +1345,27 @@ export interface ChatCompletionContentPartText {
|
|
|
1231
1345
|
* The type of the content part.
|
|
1232
1346
|
*/
|
|
1233
1347
|
type: 'text';
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
1351
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
1352
|
+
* token block.
|
|
1353
|
+
*/
|
|
1354
|
+
prompt_cache_breakpoint?: ChatCompletionContentPartText.PromptCacheBreakpoint;
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
export namespace ChatCompletionContentPartText {
|
|
1358
|
+
/**
|
|
1359
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
1360
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
1361
|
+
* token block.
|
|
1362
|
+
*/
|
|
1363
|
+
export interface PromptCacheBreakpoint {
|
|
1364
|
+
/**
|
|
1365
|
+
* The breakpoint mode. Always `explicit`.
|
|
1366
|
+
*/
|
|
1367
|
+
mode: 'explicit';
|
|
1368
|
+
}
|
|
1234
1369
|
}
|
|
1235
1370
|
|
|
1236
1371
|
/**
|
|
@@ -2043,14 +2178,32 @@ export interface ChatCompletionCreateParamsBase {
|
|
|
2043
2178
|
* hit rates. Replaces the `user` field.
|
|
2044
2179
|
* [Learn more](https://platform.openai.com/docs/guides/prompt-caching).
|
|
2045
2180
|
*/
|
|
2046
|
-
prompt_cache_key?: string;
|
|
2181
|
+
prompt_cache_key?: string | null;
|
|
2047
2182
|
|
|
2048
2183
|
/**
|
|
2184
|
+
* Options for prompt caching. Supported for `gpt-5.6` and later models. By
|
|
2185
|
+
* default, OpenAI automatically chooses one implicit cache breakpoint. You can add
|
|
2186
|
+
* explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each
|
|
2187
|
+
* request can write up to four breakpoints. For cache matching, OpenAI considers
|
|
2188
|
+
* up to the latest 80 breakpoints in the conversation, without a content-block
|
|
2189
|
+
* lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The
|
|
2190
|
+
* `ttl` defaults to `30m`, which is currently the only supported value. See the
|
|
2191
|
+
* [prompt caching guide](https://platform.openai.com/docs/guides/prompt-caching)
|
|
2192
|
+
* for current details.
|
|
2193
|
+
*/
|
|
2194
|
+
prompt_cache_options?: ChatCompletionCreateParams.PromptCacheOptions;
|
|
2195
|
+
|
|
2196
|
+
/**
|
|
2197
|
+
* @deprecated Deprecated. Use `prompt_cache_options.ttl` instead.
|
|
2198
|
+
*
|
|
2049
2199
|
* The retention policy for the prompt cache. Set to `24h` to enable extended
|
|
2050
2200
|
* prompt caching, which keeps cached prefixes active for longer, up to a maximum
|
|
2051
2201
|
* of 24 hours.
|
|
2052
2202
|
* [Learn more](https://platform.openai.com/docs/guides/prompt-caching#prompt-cache-retention).
|
|
2053
|
-
*
|
|
2203
|
+
* This field expresses a maximum retention policy, while
|
|
2204
|
+
* `prompt_cache_options.ttl` expresses a minimum cache lifetime. The two fields
|
|
2205
|
+
* are independent and do not interact. For `gpt-5.5`, `gpt-5.5-pro`, and future
|
|
2206
|
+
* models, only `24h` is supported.
|
|
2054
2207
|
*
|
|
2055
2208
|
* For older models that support both `in_memory` and `24h`, the default depends on
|
|
2056
2209
|
* your organization's data retention policy:
|
|
@@ -2062,19 +2215,12 @@ export interface ChatCompletionCreateParamsBase {
|
|
|
2062
2215
|
prompt_cache_retention?: 'in_memory' | '24h' | null;
|
|
2063
2216
|
|
|
2064
2217
|
/**
|
|
2065
|
-
* Constrains effort on reasoning for
|
|
2066
|
-
*
|
|
2067
|
-
*
|
|
2068
|
-
*
|
|
2069
|
-
*
|
|
2070
|
-
*
|
|
2071
|
-
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
|
|
2072
|
-
* reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
|
|
2073
|
-
* calls are supported for all reasoning values in gpt-5.1.
|
|
2074
|
-
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
|
|
2075
|
-
* support `none`.
|
|
2076
|
-
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
2077
|
-
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
|
|
2218
|
+
* Constrains effort on reasoning for reasoning models. Currently supported values
|
|
2219
|
+
* are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing
|
|
2220
|
+
* reasoning effort can result in faster responses and fewer tokens used on
|
|
2221
|
+
* reasoning in a response. Not all reasoning models support every value. See the
|
|
2222
|
+
* [reasoning guide](https://platform.openai.com/docs/guides/reasoning) for
|
|
2223
|
+
* model-specific support.
|
|
2078
2224
|
*/
|
|
2079
2225
|
reasoning_effort?: Shared.ReasoningEffort | null;
|
|
2080
2226
|
|
|
@@ -2103,7 +2249,7 @@ export interface ChatCompletionCreateParamsBase {
|
|
|
2103
2249
|
* identifying information.
|
|
2104
2250
|
* [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers).
|
|
2105
2251
|
*/
|
|
2106
|
-
safety_identifier?: string;
|
|
2252
|
+
safety_identifier?: string | null;
|
|
2107
2253
|
|
|
2108
2254
|
/**
|
|
2109
2255
|
* @deprecated This feature is in Beta. If specified, our system will make a best
|
|
@@ -2226,7 +2372,8 @@ export interface ChatCompletionCreateParamsBase {
|
|
|
2226
2372
|
/**
|
|
2227
2373
|
* Constrains the verbosity of the model's response. Lower values will result in
|
|
2228
2374
|
* more concise responses, while higher values will result in more verbose
|
|
2229
|
-
* responses. Currently supported values are `low`, `medium`, and `high`.
|
|
2375
|
+
* responses. Currently supported values are `low`, `medium`, and `high`. The
|
|
2376
|
+
* default is `medium`.
|
|
2230
2377
|
*/
|
|
2231
2378
|
verbosity?: 'low' | 'medium' | 'high' | null;
|
|
2232
2379
|
|
|
@@ -2276,6 +2423,74 @@ export namespace ChatCompletionCreateParams {
|
|
|
2276
2423
|
* 'omni-moderation-latest'.
|
|
2277
2424
|
*/
|
|
2278
2425
|
model: string;
|
|
2426
|
+
|
|
2427
|
+
/**
|
|
2428
|
+
* The policy to apply to moderated response input and output.
|
|
2429
|
+
*/
|
|
2430
|
+
policy?: Moderation.Policy | null;
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2433
|
+
export namespace Moderation {
|
|
2434
|
+
/**
|
|
2435
|
+
* The policy to apply to moderated response input and output.
|
|
2436
|
+
*/
|
|
2437
|
+
export interface Policy {
|
|
2438
|
+
/**
|
|
2439
|
+
* The moderation policy for the response input.
|
|
2440
|
+
*/
|
|
2441
|
+
input?: Policy.Input | null;
|
|
2442
|
+
|
|
2443
|
+
/**
|
|
2444
|
+
* The moderation policy for the response output.
|
|
2445
|
+
*/
|
|
2446
|
+
output?: Policy.Output | null;
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
export namespace Policy {
|
|
2450
|
+
/**
|
|
2451
|
+
* The moderation policy for the response input.
|
|
2452
|
+
*/
|
|
2453
|
+
export interface Input {
|
|
2454
|
+
mode: 'score' | 'block';
|
|
2455
|
+
}
|
|
2456
|
+
|
|
2457
|
+
/**
|
|
2458
|
+
* The moderation policy for the response output.
|
|
2459
|
+
*/
|
|
2460
|
+
export interface Output {
|
|
2461
|
+
mode: 'score' | 'block';
|
|
2462
|
+
}
|
|
2463
|
+
}
|
|
2464
|
+
}
|
|
2465
|
+
|
|
2466
|
+
/**
|
|
2467
|
+
* Options for prompt caching. Supported for `gpt-5.6` and later models. By
|
|
2468
|
+
* default, OpenAI automatically chooses one implicit cache breakpoint. You can add
|
|
2469
|
+
* explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each
|
|
2470
|
+
* request can write up to four breakpoints. For cache matching, OpenAI considers
|
|
2471
|
+
* up to the latest 80 breakpoints in the conversation, without a content-block
|
|
2472
|
+
* lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The
|
|
2473
|
+
* `ttl` defaults to `30m`, which is currently the only supported value. See the
|
|
2474
|
+
* [prompt caching guide](https://platform.openai.com/docs/guides/prompt-caching)
|
|
2475
|
+
* for current details.
|
|
2476
|
+
*/
|
|
2477
|
+
export interface PromptCacheOptions {
|
|
2478
|
+
/**
|
|
2479
|
+
* Controls whether OpenAI automatically creates an implicit cache breakpoint.
|
|
2480
|
+
* Defaults to `implicit`. With `implicit`, OpenAI creates one implicit breakpoint
|
|
2481
|
+
* and writes up to the latest three explicit breakpoints in the request. With
|
|
2482
|
+
* `explicit`, OpenAI does not create an implicit breakpoint and writes up to the
|
|
2483
|
+
* latest four explicit breakpoints. If there are no explicit breakpoints, the
|
|
2484
|
+
* request does not use prompt caching.
|
|
2485
|
+
*/
|
|
2486
|
+
mode?: 'implicit' | 'explicit';
|
|
2487
|
+
|
|
2488
|
+
/**
|
|
2489
|
+
* The minimum lifetime applied to every implicit and explicit cache breakpoint
|
|
2490
|
+
* written by the request. Defaults to `30m`, which is currently the only supported
|
|
2491
|
+
* value. The backend may retain cache entries for longer.
|
|
2492
|
+
*/
|
|
2493
|
+
ttl?: '30m';
|
|
2279
2494
|
}
|
|
2280
2495
|
|
|
2281
2496
|
/**
|
|
@@ -185,6 +185,11 @@ export namespace CompletionUsage {
|
|
|
185
185
|
*/
|
|
186
186
|
audio_tokens?: number;
|
|
187
187
|
|
|
188
|
+
/**
|
|
189
|
+
* The unadjusted number of prompt tokens written to cache.
|
|
190
|
+
*/
|
|
191
|
+
cache_write_tokens?: number;
|
|
192
|
+
|
|
188
193
|
/**
|
|
189
194
|
* Cached tokens present in the prompt.
|
|
190
195
|
*/
|
|
@@ -95,6 +95,27 @@ export interface ComputerScreenshotContent {
|
|
|
95
95
|
* to `computer_screenshot`.
|
|
96
96
|
*/
|
|
97
97
|
type: 'computer_screenshot';
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
101
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
102
|
+
* token block.
|
|
103
|
+
*/
|
|
104
|
+
prompt_cache_breakpoint?: ComputerScreenshotContent.PromptCacheBreakpoint;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export namespace ComputerScreenshotContent {
|
|
108
|
+
/**
|
|
109
|
+
* Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL
|
|
110
|
+
* from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a
|
|
111
|
+
* token block.
|
|
112
|
+
*/
|
|
113
|
+
export interface PromptCacheBreakpoint {
|
|
114
|
+
/**
|
|
115
|
+
* The breakpoint mode. Always `explicit`.
|
|
116
|
+
*/
|
|
117
|
+
mode: 'explicit';
|
|
118
|
+
}
|
|
98
119
|
}
|
|
99
120
|
|
|
100
121
|
export interface Conversation {
|
|
@@ -100,6 +100,8 @@ export type ConversationItem =
|
|
|
100
100
|
| ResponsesAPI.ResponseToolSearchOutputItem
|
|
101
101
|
| ConversationItem.AdditionalTools
|
|
102
102
|
| ResponsesAPI.ResponseReasoningItem
|
|
103
|
+
| ConversationItem.Program
|
|
104
|
+
| ConversationItem.ProgramOutput
|
|
103
105
|
| ResponsesAPI.ResponseCompactionItem
|
|
104
106
|
| ResponsesAPI.ResponseCodeInterpreterToolCall
|
|
105
107
|
| ConversationItem.LocalShellCall
|
|
@@ -163,6 +165,60 @@ export namespace ConversationItem {
|
|
|
163
165
|
type: 'additional_tools';
|
|
164
166
|
}
|
|
165
167
|
|
|
168
|
+
export interface Program {
|
|
169
|
+
/**
|
|
170
|
+
* The unique ID of the program item.
|
|
171
|
+
*/
|
|
172
|
+
id: string;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* The stable call ID of the program item.
|
|
176
|
+
*/
|
|
177
|
+
call_id: string;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* The JavaScript source executed by programmatic tool calling.
|
|
181
|
+
*/
|
|
182
|
+
code: string;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Opaque program replay fingerprint that must be round-tripped.
|
|
186
|
+
*/
|
|
187
|
+
fingerprint: string;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* The type of the item. Always `program`.
|
|
191
|
+
*/
|
|
192
|
+
type: 'program';
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export interface ProgramOutput {
|
|
196
|
+
/**
|
|
197
|
+
* The unique ID of the program output item.
|
|
198
|
+
*/
|
|
199
|
+
id: string;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* The call ID of the program item.
|
|
203
|
+
*/
|
|
204
|
+
call_id: string;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* The result produced by the program item.
|
|
208
|
+
*/
|
|
209
|
+
result: string;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* The terminal status of the program output item.
|
|
213
|
+
*/
|
|
214
|
+
status: 'completed' | 'incomplete';
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* The type of the item. Always `program_output`.
|
|
218
|
+
*/
|
|
219
|
+
type: 'program_output';
|
|
220
|
+
}
|
|
221
|
+
|
|
166
222
|
/**
|
|
167
223
|
* A tool call to run a command on the local shell.
|
|
168
224
|
*/
|