@skillcap/gdh 0.1.2
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/INSTALL-BUNDLE.json +5 -0
- package/LICENSE +21 -0
- package/README.md +142 -0
- package/bin/gdh +13 -0
- package/bin/gdh.cmd +3 -0
- package/node_modules/@clack/core/CHANGELOG.md +340 -0
- package/node_modules/@clack/core/LICENSE +9 -0
- package/node_modules/@clack/core/README.md +22 -0
- package/node_modules/@clack/core/dist/index.d.mts +349 -0
- package/node_modules/@clack/core/dist/index.mjs +11 -0
- package/node_modules/@clack/core/dist/index.mjs.map +1 -0
- package/node_modules/@clack/core/package.json +60 -0
- package/node_modules/@clack/prompts/CHANGELOG.md +576 -0
- package/node_modules/@clack/prompts/LICENSE +9 -0
- package/node_modules/@clack/prompts/README.md +270 -0
- package/node_modules/@clack/prompts/dist/index.d.mts +391 -0
- package/node_modules/@clack/prompts/dist/index.mjs +137 -0
- package/node_modules/@clack/prompts/dist/index.mjs.map +1 -0
- package/node_modules/@clack/prompts/package.json +65 -0
- package/node_modules/@gdh/adapters/dist/index.d.ts +36 -0
- package/node_modules/@gdh/adapters/dist/index.d.ts.map +1 -0
- package/node_modules/@gdh/adapters/dist/index.js +2415 -0
- package/node_modules/@gdh/adapters/dist/index.js.map +1 -0
- package/node_modules/@gdh/adapters/package.json +23 -0
- package/node_modules/@gdh/authoring/dist/cache.d.ts +23 -0
- package/node_modules/@gdh/authoring/dist/cache.d.ts.map +1 -0
- package/node_modules/@gdh/authoring/dist/cache.js +252 -0
- package/node_modules/@gdh/authoring/dist/cache.js.map +1 -0
- package/node_modules/@gdh/authoring/dist/index.d.ts +13 -0
- package/node_modules/@gdh/authoring/dist/index.d.ts.map +1 -0
- package/node_modules/@gdh/authoring/dist/index.js +37 -0
- package/node_modules/@gdh/authoring/dist/index.js.map +1 -0
- package/node_modules/@gdh/authoring/dist/lsp.d.ts +15 -0
- package/node_modules/@gdh/authoring/dist/lsp.d.ts.map +1 -0
- package/node_modules/@gdh/authoring/dist/lsp.js +644 -0
- package/node_modules/@gdh/authoring/dist/lsp.js.map +1 -0
- package/node_modules/@gdh/authoring/dist/prepare.d.ts +16 -0
- package/node_modules/@gdh/authoring/dist/prepare.d.ts.map +1 -0
- package/node_modules/@gdh/authoring/dist/prepare.js +327 -0
- package/node_modules/@gdh/authoring/dist/prepare.js.map +1 -0
- package/node_modules/@gdh/authoring/dist/project.d.ts +23 -0
- package/node_modules/@gdh/authoring/dist/project.d.ts.map +1 -0
- package/node_modules/@gdh/authoring/dist/project.js +443 -0
- package/node_modules/@gdh/authoring/dist/project.js.map +1 -0
- package/node_modules/@gdh/authoring/dist/report.d.ts +8 -0
- package/node_modules/@gdh/authoring/dist/report.d.ts.map +1 -0
- package/node_modules/@gdh/authoring/dist/report.js +134 -0
- package/node_modules/@gdh/authoring/dist/report.js.map +1 -0
- package/node_modules/@gdh/authoring/dist/warmup.d.ts +8 -0
- package/node_modules/@gdh/authoring/dist/warmup.d.ts.map +1 -0
- package/node_modules/@gdh/authoring/dist/warmup.js +92 -0
- package/node_modules/@gdh/authoring/dist/warmup.js.map +1 -0
- package/node_modules/@gdh/authoring/package.json +17 -0
- package/node_modules/@gdh/cli/dist/cli.d.ts +3 -0
- package/node_modules/@gdh/cli/dist/cli.d.ts.map +1 -0
- package/node_modules/@gdh/cli/dist/cli.js +7 -0
- package/node_modules/@gdh/cli/dist/cli.js.map +1 -0
- package/node_modules/@gdh/cli/dist/index.d.ts +7 -0
- package/node_modules/@gdh/cli/dist/index.d.ts.map +1 -0
- package/node_modules/@gdh/cli/dist/index.js +3766 -0
- package/node_modules/@gdh/cli/dist/index.js.map +1 -0
- package/node_modules/@gdh/cli/dist/migrate.d.ts +31 -0
- package/node_modules/@gdh/cli/dist/migrate.d.ts.map +1 -0
- package/node_modules/@gdh/cli/dist/migrate.js +514 -0
- package/node_modules/@gdh/cli/dist/migrate.js.map +1 -0
- package/node_modules/@gdh/cli/dist/public-terms.d.ts +2 -0
- package/node_modules/@gdh/cli/dist/public-terms.d.ts.map +1 -0
- package/node_modules/@gdh/cli/dist/public-terms.js +2 -0
- package/node_modules/@gdh/cli/dist/public-terms.js.map +1 -0
- package/node_modules/@gdh/cli/dist/setup.d.ts +37 -0
- package/node_modules/@gdh/cli/dist/setup.d.ts.map +1 -0
- package/node_modules/@gdh/cli/dist/setup.js +518 -0
- package/node_modules/@gdh/cli/dist/setup.js.map +1 -0
- package/node_modules/@gdh/cli/package.json +30 -0
- package/node_modules/@gdh/core/dist/godot-docs-version.d.ts +64 -0
- package/node_modules/@gdh/core/dist/godot-docs-version.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/godot-docs-version.js +373 -0
- package/node_modules/@gdh/core/dist/godot-docs-version.js.map +1 -0
- package/node_modules/@gdh/core/dist/index.d.ts +1632 -0
- package/node_modules/@gdh/core/dist/index.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/index.js +284 -0
- package/node_modules/@gdh/core/dist/index.js.map +1 -0
- package/node_modules/@gdh/core/dist/local-path-hints.d.ts +9 -0
- package/node_modules/@gdh/core/dist/local-path-hints.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/local-path-hints.js +50 -0
- package/node_modules/@gdh/core/dist/local-path-hints.js.map +1 -0
- package/node_modules/@gdh/core/dist/official-docs.d.ts +85 -0
- package/node_modules/@gdh/core/dist/official-docs.d.ts.map +1 -0
- package/node_modules/@gdh/core/dist/official-docs.js +2 -0
- package/node_modules/@gdh/core/dist/official-docs.js.map +1 -0
- package/node_modules/@gdh/core/package.json +14 -0
- package/node_modules/@gdh/docs/dist/agent-contract.d.ts +10 -0
- package/node_modules/@gdh/docs/dist/agent-contract.d.ts.map +1 -0
- package/node_modules/@gdh/docs/dist/agent-contract.js +81 -0
- package/node_modules/@gdh/docs/dist/agent-contract.js.map +1 -0
- package/node_modules/@gdh/docs/dist/files.d.ts +9 -0
- package/node_modules/@gdh/docs/dist/files.d.ts.map +1 -0
- package/node_modules/@gdh/docs/dist/files.js +18 -0
- package/node_modules/@gdh/docs/dist/files.js.map +1 -0
- package/node_modules/@gdh/docs/dist/guidance.d.ts +14 -0
- package/node_modules/@gdh/docs/dist/guidance.d.ts.map +1 -0
- package/node_modules/@gdh/docs/dist/guidance.js +327 -0
- package/node_modules/@gdh/docs/dist/guidance.js.map +1 -0
- package/node_modules/@gdh/docs/dist/index.d.ts +7 -0
- package/node_modules/@gdh/docs/dist/index.d.ts.map +1 -0
- package/node_modules/@gdh/docs/dist/index.js +13 -0
- package/node_modules/@gdh/docs/dist/index.js.map +1 -0
- package/node_modules/@gdh/docs/dist/official-docs.d.ts +4 -0
- package/node_modules/@gdh/docs/dist/official-docs.d.ts.map +1 -0
- package/node_modules/@gdh/docs/dist/official-docs.js +913 -0
- package/node_modules/@gdh/docs/dist/official-docs.js.map +1 -0
- package/node_modules/@gdh/docs/dist/query.d.ts +4 -0
- package/node_modules/@gdh/docs/dist/query.d.ts.map +1 -0
- package/node_modules/@gdh/docs/dist/query.js +157 -0
- package/node_modules/@gdh/docs/dist/query.js.map +1 -0
- package/node_modules/@gdh/docs/dist/rules.d.ts +6 -0
- package/node_modules/@gdh/docs/dist/rules.d.ts.map +1 -0
- package/node_modules/@gdh/docs/dist/rules.js +231 -0
- package/node_modules/@gdh/docs/dist/rules.js.map +1 -0
- package/node_modules/@gdh/docs/package.json +18 -0
- package/node_modules/@gdh/mcp/dist/index.d.ts +12 -0
- package/node_modules/@gdh/mcp/dist/index.d.ts.map +1 -0
- package/node_modules/@gdh/mcp/dist/index.js +1016 -0
- package/node_modules/@gdh/mcp/dist/index.js.map +1 -0
- package/node_modules/@gdh/mcp/package.json +24 -0
- package/node_modules/@gdh/observability/dist/guidance-audit.d.ts +30 -0
- package/node_modules/@gdh/observability/dist/guidance-audit.d.ts.map +1 -0
- package/node_modules/@gdh/observability/dist/guidance-audit.js +809 -0
- package/node_modules/@gdh/observability/dist/guidance-audit.js.map +1 -0
- package/node_modules/@gdh/observability/dist/index.d.ts +5 -0
- package/node_modules/@gdh/observability/dist/index.d.ts.map +1 -0
- package/node_modules/@gdh/observability/dist/index.js +11 -0
- package/node_modules/@gdh/observability/dist/index.js.map +1 -0
- package/node_modules/@gdh/observability/dist/runtime-bundles.d.ts +10 -0
- package/node_modules/@gdh/observability/dist/runtime-bundles.d.ts.map +1 -0
- package/node_modules/@gdh/observability/dist/runtime-bundles.js +332 -0
- package/node_modules/@gdh/observability/dist/runtime-bundles.js.map +1 -0
- package/node_modules/@gdh/observability/dist/runtime-corpus.d.ts +5 -0
- package/node_modules/@gdh/observability/dist/runtime-corpus.d.ts.map +1 -0
- package/node_modules/@gdh/observability/dist/runtime-corpus.js +28 -0
- package/node_modules/@gdh/observability/dist/runtime-corpus.js.map +1 -0
- package/node_modules/@gdh/observability/package.json +17 -0
- package/node_modules/@gdh/runtime/dist/bridge-surface.d.ts +25 -0
- package/node_modules/@gdh/runtime/dist/bridge-surface.d.ts.map +1 -0
- package/node_modules/@gdh/runtime/dist/bridge-surface.js +946 -0
- package/node_modules/@gdh/runtime/dist/bridge-surface.js.map +1 -0
- package/node_modules/@gdh/runtime/dist/index.d.ts +34 -0
- package/node_modules/@gdh/runtime/dist/index.d.ts.map +1 -0
- package/node_modules/@gdh/runtime/dist/index.js +1699 -0
- package/node_modules/@gdh/runtime/dist/index.js.map +1 -0
- package/node_modules/@gdh/runtime/package.json +19 -0
- package/node_modules/@gdh/scan/dist/index.d.ts +4 -0
- package/node_modules/@gdh/scan/dist/index.d.ts.map +1 -0
- package/node_modules/@gdh/scan/dist/index.js +10 -0
- package/node_modules/@gdh/scan/dist/index.js.map +1 -0
- package/node_modules/@gdh/scan/dist/onboard.d.ts +11 -0
- package/node_modules/@gdh/scan/dist/onboard.d.ts.map +1 -0
- package/node_modules/@gdh/scan/dist/onboard.js +441 -0
- package/node_modules/@gdh/scan/dist/onboard.js.map +1 -0
- package/node_modules/@gdh/scan/dist/scan.d.ts +3 -0
- package/node_modules/@gdh/scan/dist/scan.d.ts.map +1 -0
- package/node_modules/@gdh/scan/dist/scan.js +316 -0
- package/node_modules/@gdh/scan/dist/scan.js.map +1 -0
- package/node_modules/@gdh/scan/package.json +18 -0
- package/node_modules/@gdh/verify/dist/corpus.d.ts +24 -0
- package/node_modules/@gdh/verify/dist/corpus.d.ts.map +1 -0
- package/node_modules/@gdh/verify/dist/corpus.js +638 -0
- package/node_modules/@gdh/verify/dist/corpus.js.map +1 -0
- package/node_modules/@gdh/verify/dist/index.d.ts +6 -0
- package/node_modules/@gdh/verify/dist/index.d.ts.map +1 -0
- package/node_modules/@gdh/verify/dist/index.js +19 -0
- package/node_modules/@gdh/verify/dist/index.js.map +1 -0
- package/node_modules/@gdh/verify/dist/policy.d.ts +19 -0
- package/node_modules/@gdh/verify/dist/policy.d.ts.map +1 -0
- package/node_modules/@gdh/verify/dist/policy.js +455 -0
- package/node_modules/@gdh/verify/dist/policy.js.map +1 -0
- package/node_modules/@gdh/verify/dist/readiness.d.ts +6 -0
- package/node_modules/@gdh/verify/dist/readiness.d.ts.map +1 -0
- package/node_modules/@gdh/verify/dist/readiness.js +85 -0
- package/node_modules/@gdh/verify/dist/readiness.js.map +1 -0
- package/node_modules/@gdh/verify/dist/scenarios.d.ts +27 -0
- package/node_modules/@gdh/verify/dist/scenarios.d.ts.map +1 -0
- package/node_modules/@gdh/verify/dist/scenarios.js +624 -0
- package/node_modules/@gdh/verify/dist/scenarios.js.map +1 -0
- package/node_modules/@gdh/verify/package.json +23 -0
- package/node_modules/@hono/node-server/LICENSE +21 -0
- package/node_modules/@hono/node-server/README.md +358 -0
- package/node_modules/@hono/node-server/dist/conninfo.d.mts +10 -0
- package/node_modules/@hono/node-server/dist/conninfo.d.ts +10 -0
- package/node_modules/@hono/node-server/dist/conninfo.js +42 -0
- package/node_modules/@hono/node-server/dist/conninfo.mjs +17 -0
- package/node_modules/@hono/node-server/dist/globals.d.mts +2 -0
- package/node_modules/@hono/node-server/dist/globals.d.ts +2 -0
- package/node_modules/@hono/node-server/dist/globals.js +29 -0
- package/node_modules/@hono/node-server/dist/globals.mjs +5 -0
- package/node_modules/@hono/node-server/dist/index.d.mts +8 -0
- package/node_modules/@hono/node-server/dist/index.d.ts +8 -0
- package/node_modules/@hono/node-server/dist/index.js +680 -0
- package/node_modules/@hono/node-server/dist/index.mjs +640 -0
- package/node_modules/@hono/node-server/dist/listener.d.mts +13 -0
- package/node_modules/@hono/node-server/dist/listener.d.ts +13 -0
- package/node_modules/@hono/node-server/dist/listener.js +648 -0
- package/node_modules/@hono/node-server/dist/listener.mjs +613 -0
- package/node_modules/@hono/node-server/dist/request.d.mts +25 -0
- package/node_modules/@hono/node-server/dist/request.d.ts +25 -0
- package/node_modules/@hono/node-server/dist/request.js +227 -0
- package/node_modules/@hono/node-server/dist/request.mjs +195 -0
- package/node_modules/@hono/node-server/dist/response.d.mts +26 -0
- package/node_modules/@hono/node-server/dist/response.d.ts +26 -0
- package/node_modules/@hono/node-server/dist/response.js +101 -0
- package/node_modules/@hono/node-server/dist/response.mjs +74 -0
- package/node_modules/@hono/node-server/dist/serve-static.d.mts +17 -0
- package/node_modules/@hono/node-server/dist/serve-static.d.ts +17 -0
- package/node_modules/@hono/node-server/dist/serve-static.js +177 -0
- package/node_modules/@hono/node-server/dist/serve-static.mjs +152 -0
- package/node_modules/@hono/node-server/dist/server.d.mts +10 -0
- package/node_modules/@hono/node-server/dist/server.d.ts +10 -0
- package/node_modules/@hono/node-server/dist/server.js +674 -0
- package/node_modules/@hono/node-server/dist/server.mjs +638 -0
- package/node_modules/@hono/node-server/dist/types.d.mts +44 -0
- package/node_modules/@hono/node-server/dist/types.d.ts +44 -0
- package/node_modules/@hono/node-server/dist/types.js +18 -0
- package/node_modules/@hono/node-server/dist/types.mjs +0 -0
- package/node_modules/@hono/node-server/dist/utils/response/constants.d.mts +3 -0
- package/node_modules/@hono/node-server/dist/utils/response/constants.d.ts +3 -0
- package/node_modules/@hono/node-server/dist/utils/response/constants.js +30 -0
- package/node_modules/@hono/node-server/dist/utils/response/constants.mjs +5 -0
- package/node_modules/@hono/node-server/dist/utils/response.d.mts +3 -0
- package/node_modules/@hono/node-server/dist/utils/response.d.ts +3 -0
- package/node_modules/@hono/node-server/dist/utils/response.js +37 -0
- package/node_modules/@hono/node-server/dist/utils/response.mjs +10 -0
- package/node_modules/@hono/node-server/dist/utils.d.mts +9 -0
- package/node_modules/@hono/node-server/dist/utils.d.ts +9 -0
- package/node_modules/@hono/node-server/dist/utils.js +99 -0
- package/node_modules/@hono/node-server/dist/utils.mjs +71 -0
- package/node_modules/@hono/node-server/dist/vercel.d.mts +7 -0
- package/node_modules/@hono/node-server/dist/vercel.d.ts +7 -0
- package/node_modules/@hono/node-server/dist/vercel.js +655 -0
- package/node_modules/@hono/node-server/dist/vercel.mjs +618 -0
- package/node_modules/@hono/node-server/package.json +103 -0
- package/node_modules/@modelcontextprotocol/sdk/LICENSE +21 -0
- package/node_modules/@modelcontextprotocol/sdk/README.md +172 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.d.ts +190 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.js +299 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.d.ts +451 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.js +943 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.d.ts +591 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.js +629 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.d.ts +169 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.js +252 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.d.ts +81 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.js +211 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.d.ts +77 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.js +196 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.d.ts +171 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.js +482 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.d.ts +17 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.js +58 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.d.ts +13 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.js +29 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.d.ts +121 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.js +188 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.d.ts +47 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.js +68 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.d.ts +16 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.js +39 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.d.ts +232 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.js +19 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.d.ts +77 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.js +36 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.d.ts +170 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.js +250 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.d.ts +94 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.js +251 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.d.ts +10 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.js +28 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.d.ts +31 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.js +51 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/package.json +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.d.ts +19 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.js +3 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.d.ts +148 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.js +202 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.d.ts +24 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.js +201 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.d.ts +4 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.js +21 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.d.ts +29 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.js +77 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.d.ts +13 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.js +65 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.d.ts +13 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.js +136 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.d.ts +9 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.js +21 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.d.ts +35 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.js +75 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.d.ts +19 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.js +71 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.d.ts +68 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.js +3 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.d.ts +49 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.js +159 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.d.ts +101 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.js +128 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.d.ts +32 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.js +3 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.d.ts +38 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.js +48 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.d.ts +45 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.js +56 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.d.ts +196 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.js +444 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.d.ts +364 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js +922 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.d.ts +32 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.js +80 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.d.ts +82 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.js +172 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.d.ts +28 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.js +82 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.d.ts +122 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.js +165 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.d.ts +268 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.js +755 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.d.ts +84 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.js +244 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.d.ts +12 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.js +79 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.d.ts +23 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.js +48 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.d.ts +240 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.js +224 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.d.ts +16 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.js +25 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.d.ts +443 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.js +1112 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.d.ts +45 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.js +23 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts +13 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.js +37 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.d.ts +31 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.js +97 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts +89 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.js +43 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.d.ts +25 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.js +243 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.d.ts +2311 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.js +27 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.d.ts +8168 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.js +2105 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.d.ts +53 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.js +94 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.d.ts +51 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.js +69 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.d.ts +29 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.js +30 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.d.ts +65 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.js +3 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.d.ts +190 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.js +269 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.d.ts +451 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js +918 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.d.ts +591 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js +624 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.d.ts +169 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.js +245 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.d.ts +81 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js +206 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.d.ts +77 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js +188 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.d.ts +171 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js +477 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.d.ts +17 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.js +54 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.d.ts +13 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.js +13 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.d.ts +121 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js +184 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.d.ts +47 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js +64 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.d.ts +16 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.js +20 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.d.ts +232 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js +16 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.d.ts +77 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js +32 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.d.ts +170 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js +246 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.d.ts +94 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.js +246 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.d.ts +10 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.js +10 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.d.ts +31 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.js +47 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/package.json +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.d.ts +19 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.js +2 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.d.ts +148 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js +180 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.d.ts +24 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.js +171 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.d.ts +4 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.js +15 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.d.ts +29 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.js +71 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.d.ts +13 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.js +59 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.d.ts +13 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.js +107 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.d.ts +9 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.js +18 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.d.ts +35 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.js +72 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.d.ts +19 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.js +45 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.d.ts +68 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.js +2 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.d.ts +49 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.js +155 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.d.ts +101 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.js +118 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.d.ts +32 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.js +2 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.d.ts +38 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js +41 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.d.ts +45 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.js +50 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.d.ts +196 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js +440 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts +364 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js +917 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.d.ts +32 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.js +76 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.d.ts +82 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js +165 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.d.ts +28 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js +75 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.d.ts +122 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.js +161 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.d.ts +268 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js +751 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.d.ts +84 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +209 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.d.ts +12 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js +51 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.d.ts +23 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js +44 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.d.ts +240 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js +198 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.d.ts +16 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.js +22 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts +443 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +1107 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.d.ts +45 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.js +19 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.d.ts +13 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js +31 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.d.ts +31 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js +92 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts +89 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.js +39 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.d.ts +25 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js +239 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.d.ts +2311 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.js +24 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts +8168 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +2065 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.d.ts +53 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +87 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.d.ts +51 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.js +65 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.d.ts +29 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.js +29 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.d.ts +65 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.d.ts.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.js +2 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.js.map +1 -0
- package/node_modules/@modelcontextprotocol/sdk/package.json +164 -0
- package/node_modules/accepts/HISTORY.md +250 -0
- package/node_modules/accepts/LICENSE +23 -0
- package/node_modules/accepts/README.md +140 -0
- package/node_modules/accepts/index.js +238 -0
- package/node_modules/accepts/package.json +47 -0
- package/node_modules/ajv/.runkit_example.js +23 -0
- package/node_modules/ajv/LICENSE +22 -0
- package/node_modules/ajv/README.md +207 -0
- package/node_modules/ajv/dist/2019.d.ts +19 -0
- package/node_modules/ajv/dist/2019.js +61 -0
- package/node_modules/ajv/dist/2019.js.map +1 -0
- package/node_modules/ajv/dist/2020.d.ts +19 -0
- package/node_modules/ajv/dist/2020.js +55 -0
- package/node_modules/ajv/dist/2020.js.map +1 -0
- package/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/node_modules/ajv/dist/ajv.js +50 -0
- package/node_modules/ajv/dist/ajv.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/node_modules/ajv/dist/core.d.ts +174 -0
- package/node_modules/ajv/dist/core.js +618 -0
- package/node_modules/ajv/dist/core.js.map +1 -0
- package/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/node_modules/ajv/dist/jtd.js +72 -0
- package/node_modules/ajv/dist/jtd.js.map +1 -0
- package/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/ajv/dist/types/index.js.map +1 -0
- package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/node_modules/ajv/lib/2019.ts +81 -0
- package/node_modules/ajv/lib/2020.ts +75 -0
- package/node_modules/ajv/lib/ajv.ts +70 -0
- package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/node_modules/ajv/lib/compile/index.ts +324 -0
- package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
- package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/node_modules/ajv/lib/compile/names.ts +27 -0
- package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/node_modules/ajv/lib/compile/util.ts +213 -0
- package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/node_modules/ajv/lib/core.ts +892 -0
- package/node_modules/ajv/lib/jtd.ts +132 -0
- package/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/node_modules/ajv/lib/types/index.ts +244 -0
- package/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/node_modules/ajv/package.json +127 -0
- package/node_modules/ajv-formats/LICENSE +21 -0
- package/node_modules/ajv-formats/README.md +125 -0
- package/node_modules/ajv-formats/dist/formats.d.ts +9 -0
- package/node_modules/ajv-formats/dist/formats.js +208 -0
- package/node_modules/ajv-formats/dist/formats.js.map +1 -0
- package/node_modules/ajv-formats/dist/index.d.ts +15 -0
- package/node_modules/ajv-formats/dist/index.js +37 -0
- package/node_modules/ajv-formats/dist/index.js.map +1 -0
- package/node_modules/ajv-formats/dist/limit.d.ts +10 -0
- package/node_modules/ajv-formats/dist/limit.js +69 -0
- package/node_modules/ajv-formats/dist/limit.js.map +1 -0
- package/node_modules/ajv-formats/package.json +74 -0
- package/node_modules/ajv-formats/src/formats.ts +269 -0
- package/node_modules/ajv-formats/src/index.ts +62 -0
- package/node_modules/ajv-formats/src/limit.ts +99 -0
- package/node_modules/async-function/.eslintrc +16 -0
- package/node_modules/async-function/.github/FUNDING.yml +12 -0
- package/node_modules/async-function/.nycrc +9 -0
- package/node_modules/async-function/CHANGELOG.md +16 -0
- package/node_modules/async-function/LICENSE +21 -0
- package/node_modules/async-function/README.md +51 -0
- package/node_modules/async-function/index.d.mts +3 -0
- package/node_modules/async-function/index.d.ts +13 -0
- package/node_modules/async-function/index.js +8 -0
- package/node_modules/async-function/index.mjs +4 -0
- package/node_modules/async-function/legacy.js +18 -0
- package/node_modules/async-function/package.json +86 -0
- package/node_modules/async-function/require.mjs +5 -0
- package/node_modules/async-function/tsconfig.json +9 -0
- package/node_modules/async-generator-function/.eslintrc +26 -0
- package/node_modules/async-generator-function/.github/FUNDING.yml +12 -0
- package/node_modules/async-generator-function/.nycrc +9 -0
- package/node_modules/async-generator-function/CHANGELOG.md +15 -0
- package/node_modules/async-generator-function/LICENSE +21 -0
- package/node_modules/async-generator-function/README.md +52 -0
- package/node_modules/async-generator-function/index.d.mts +3 -0
- package/node_modules/async-generator-function/index.d.ts +22 -0
- package/node_modules/async-generator-function/index.js +8 -0
- package/node_modules/async-generator-function/index.mjs +4 -0
- package/node_modules/async-generator-function/legacy.js +18 -0
- package/node_modules/async-generator-function/package.json +87 -0
- package/node_modules/async-generator-function/require.mjs +5 -0
- package/node_modules/async-generator-function/tsconfig.json +9 -0
- package/node_modules/body-parser/LICENSE +23 -0
- package/node_modules/body-parser/README.md +494 -0
- package/node_modules/body-parser/index.js +71 -0
- package/node_modules/body-parser/lib/read.js +247 -0
- package/node_modules/body-parser/lib/types/json.js +158 -0
- package/node_modules/body-parser/lib/types/raw.js +42 -0
- package/node_modules/body-parser/lib/types/text.js +36 -0
- package/node_modules/body-parser/lib/types/urlencoded.js +142 -0
- package/node_modules/body-parser/lib/utils.js +98 -0
- package/node_modules/body-parser/package.json +52 -0
- package/node_modules/bytes/History.md +97 -0
- package/node_modules/bytes/LICENSE +23 -0
- package/node_modules/bytes/Readme.md +152 -0
- package/node_modules/bytes/index.js +170 -0
- package/node_modules/bytes/package.json +42 -0
- package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/node_modules/call-bound/.eslintrc +13 -0
- package/node_modules/call-bound/.github/FUNDING.yml +12 -0
- package/node_modules/call-bound/.nycrc +9 -0
- package/node_modules/call-bound/CHANGELOG.md +42 -0
- package/node_modules/call-bound/LICENSE +21 -0
- package/node_modules/call-bound/README.md +53 -0
- package/node_modules/call-bound/index.d.ts +94 -0
- package/node_modules/call-bound/index.js +19 -0
- package/node_modules/call-bound/package.json +99 -0
- package/node_modules/call-bound/tsconfig.json +10 -0
- package/node_modules/content-disposition/LICENSE +22 -0
- package/node_modules/content-disposition/README.md +141 -0
- package/node_modules/content-disposition/index.js +536 -0
- package/node_modules/content-disposition/package.json +40 -0
- package/node_modules/content-type/HISTORY.md +29 -0
- package/node_modules/content-type/LICENSE +22 -0
- package/node_modules/content-type/README.md +94 -0
- package/node_modules/content-type/index.js +225 -0
- package/node_modules/content-type/package.json +42 -0
- package/node_modules/cookie/LICENSE +24 -0
- package/node_modules/cookie/README.md +317 -0
- package/node_modules/cookie/SECURITY.md +25 -0
- package/node_modules/cookie/index.js +335 -0
- package/node_modules/cookie/package.json +44 -0
- package/node_modules/cookie-signature/History.md +70 -0
- package/node_modules/cookie-signature/LICENSE +22 -0
- package/node_modules/cookie-signature/Readme.md +23 -0
- package/node_modules/cookie-signature/index.js +47 -0
- package/node_modules/cookie-signature/package.json +24 -0
- package/node_modules/cors/LICENSE +22 -0
- package/node_modules/cors/README.md +277 -0
- package/node_modules/cors/lib/index.js +238 -0
- package/node_modules/cors/package.json +42 -0
- package/node_modules/cross-spawn/LICENSE +21 -0
- package/node_modules/cross-spawn/README.md +89 -0
- package/node_modules/cross-spawn/index.js +39 -0
- package/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/node_modules/cross-spawn/lib/parse.js +91 -0
- package/node_modules/cross-spawn/lib/util/escape.js +47 -0
- package/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/node_modules/cross-spawn/node_modules/isexe/.npmignore +2 -0
- package/node_modules/cross-spawn/node_modules/isexe/LICENSE +15 -0
- package/node_modules/cross-spawn/node_modules/isexe/README.md +51 -0
- package/node_modules/cross-spawn/node_modules/isexe/index.js +57 -0
- package/node_modules/cross-spawn/node_modules/isexe/mode.js +41 -0
- package/node_modules/cross-spawn/node_modules/isexe/package.json +31 -0
- package/node_modules/cross-spawn/node_modules/isexe/windows.js +42 -0
- package/node_modules/cross-spawn/node_modules/which/LICENSE +15 -0
- package/node_modules/cross-spawn/node_modules/which/README.md +54 -0
- package/node_modules/cross-spawn/node_modules/which/bin/node-which +52 -0
- package/node_modules/cross-spawn/node_modules/which/package.json +43 -0
- package/node_modules/cross-spawn/node_modules/which/which.js +125 -0
- package/node_modules/cross-spawn/package.json +73 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/depd/History.md +103 -0
- package/node_modules/depd/LICENSE +22 -0
- package/node_modules/depd/Readme.md +280 -0
- package/node_modules/depd/index.js +538 -0
- package/node_modules/depd/lib/browser/index.js +77 -0
- package/node_modules/depd/package.json +45 -0
- package/node_modules/dunder-proto/.eslintrc +5 -0
- package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/node_modules/dunder-proto/.nycrc +13 -0
- package/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/node_modules/dunder-proto/LICENSE +21 -0
- package/node_modules/dunder-proto/README.md +54 -0
- package/node_modules/dunder-proto/get.d.ts +5 -0
- package/node_modules/dunder-proto/get.js +30 -0
- package/node_modules/dunder-proto/package.json +76 -0
- package/node_modules/dunder-proto/set.d.ts +5 -0
- package/node_modules/dunder-proto/set.js +35 -0
- package/node_modules/dunder-proto/tsconfig.json +9 -0
- package/node_modules/ee-first/LICENSE +22 -0
- package/node_modules/ee-first/README.md +80 -0
- package/node_modules/ee-first/index.js +95 -0
- package/node_modules/ee-first/package.json +29 -0
- package/node_modules/encodeurl/LICENSE +22 -0
- package/node_modules/encodeurl/README.md +109 -0
- package/node_modules/encodeurl/index.js +60 -0
- package/node_modules/encodeurl/package.json +40 -0
- package/node_modules/es-define-property/.eslintrc +13 -0
- package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/es-define-property/README.md +49 -0
- package/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/es-define-property/index.js +14 -0
- package/node_modules/es-define-property/package.json +81 -0
- package/node_modules/es-define-property/tsconfig.json +10 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/es-object-atoms/.eslintrc +16 -0
- package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/node_modules/es-object-atoms/CHANGELOG.md +37 -0
- package/node_modules/es-object-atoms/LICENSE +21 -0
- package/node_modules/es-object-atoms/README.md +63 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/node_modules/es-object-atoms/ToObject.js +10 -0
- package/node_modules/es-object-atoms/index.d.ts +3 -0
- package/node_modules/es-object-atoms/index.js +4 -0
- package/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/node_modules/es-object-atoms/isObject.js +6 -0
- package/node_modules/es-object-atoms/package.json +80 -0
- package/node_modules/es-object-atoms/tsconfig.json +6 -0
- package/node_modules/escape-html/LICENSE +24 -0
- package/node_modules/escape-html/Readme.md +43 -0
- package/node_modules/escape-html/index.js +78 -0
- package/node_modules/escape-html/package.json +24 -0
- package/node_modules/etag/HISTORY.md +83 -0
- package/node_modules/etag/LICENSE +22 -0
- package/node_modules/etag/README.md +159 -0
- package/node_modules/etag/index.js +131 -0
- package/node_modules/etag/package.json +47 -0
- package/node_modules/eventsource/LICENSE +22 -0
- package/node_modules/eventsource/README.md +167 -0
- package/node_modules/eventsource/dist/index.cjs +273 -0
- package/node_modules/eventsource/dist/index.cjs.map +1 -0
- package/node_modules/eventsource/dist/index.d.cts +332 -0
- package/node_modules/eventsource/dist/index.d.ts +332 -0
- package/node_modules/eventsource/dist/index.js +273 -0
- package/node_modules/eventsource/dist/index.js.map +1 -0
- package/node_modules/eventsource/package.json +130 -0
- package/node_modules/eventsource/src/EventSource.ts +596 -0
- package/node_modules/eventsource/src/errors.ts +141 -0
- package/node_modules/eventsource/src/index.ts +3 -0
- package/node_modules/eventsource/src/types.ts +152 -0
- package/node_modules/eventsource-parser/LICENSE +21 -0
- package/node_modules/eventsource-parser/README.md +126 -0
- package/node_modules/eventsource-parser/dist/index.cjs +106 -0
- package/node_modules/eventsource-parser/dist/index.cjs.map +1 -0
- package/node_modules/eventsource-parser/dist/index.d.cts +144 -0
- package/node_modules/eventsource-parser/dist/index.d.ts +144 -0
- package/node_modules/eventsource-parser/dist/index.js +106 -0
- package/node_modules/eventsource-parser/dist/index.js.map +1 -0
- package/node_modules/eventsource-parser/dist/stream.cjs +28 -0
- package/node_modules/eventsource-parser/dist/stream.cjs.map +1 -0
- package/node_modules/eventsource-parser/dist/stream.d.cts +118 -0
- package/node_modules/eventsource-parser/dist/stream.d.ts +118 -0
- package/node_modules/eventsource-parser/dist/stream.js +29 -0
- package/node_modules/eventsource-parser/dist/stream.js.map +1 -0
- package/node_modules/eventsource-parser/package.json +115 -0
- package/node_modules/eventsource-parser/src/errors.ts +44 -0
- package/node_modules/eventsource-parser/src/index.ts +3 -0
- package/node_modules/eventsource-parser/src/parse.ts +232 -0
- package/node_modules/eventsource-parser/src/stream.ts +88 -0
- package/node_modules/eventsource-parser/src/types.ts +97 -0
- package/node_modules/eventsource-parser/stream.js +2 -0
- package/node_modules/express/LICENSE +24 -0
- package/node_modules/express/Readme.md +276 -0
- package/node_modules/express/index.js +11 -0
- package/node_modules/express/lib/application.js +631 -0
- package/node_modules/express/lib/express.js +81 -0
- package/node_modules/express/lib/request.js +514 -0
- package/node_modules/express/lib/response.js +1053 -0
- package/node_modules/express/lib/utils.js +271 -0
- package/node_modules/express/lib/view.js +205 -0
- package/node_modules/express/package.json +99 -0
- package/node_modules/express-rate-limit/dist/index.cjs +975 -0
- package/node_modules/express-rate-limit/dist/index.d.cts +642 -0
- package/node_modules/express-rate-limit/dist/index.d.mts +642 -0
- package/node_modules/express-rate-limit/dist/index.d.ts +642 -0
- package/node_modules/express-rate-limit/dist/index.mjs +945 -0
- package/node_modules/express-rate-limit/license.md +20 -0
- package/node_modules/express-rate-limit/package.json +112 -0
- package/node_modules/express-rate-limit/readme.md +136 -0
- package/node_modules/express-rate-limit/tsconfig.json +8 -0
- package/node_modules/fast-deep-equal/LICENSE +21 -0
- package/node_modules/fast-deep-equal/README.md +96 -0
- package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.d.ts +4 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +61 -0
- package/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fast-string-truncated-width/dist/index.d.ts +4 -0
- package/node_modules/fast-string-truncated-width/dist/index.js +171 -0
- package/node_modules/fast-string-truncated-width/dist/types.d.ts +22 -0
- package/node_modules/fast-string-truncated-width/dist/types.js +2 -0
- package/node_modules/fast-string-truncated-width/dist/utils.d.ts +4 -0
- package/node_modules/fast-string-truncated-width/dist/utils.js +15 -0
- package/node_modules/fast-string-truncated-width/license +21 -0
- package/node_modules/fast-string-truncated-width/package.json +35 -0
- package/node_modules/fast-string-truncated-width/readme.md +60 -0
- package/node_modules/fast-string-width/dist/index.d.ts +4 -0
- package/node_modules/fast-string-width/dist/index.js +14 -0
- package/node_modules/fast-string-width/license +21 -0
- package/node_modules/fast-string-width/package.json +34 -0
- package/node_modules/fast-string-width/readme.md +45 -0
- package/node_modules/fast-uri/.gitattributes +2 -0
- package/node_modules/fast-uri/.github/.stale.yml +21 -0
- package/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/node_modules/fast-uri/.github/tests_checker.yml +8 -0
- package/node_modules/fast-uri/.github/workflows/ci.yml +101 -0
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
- package/node_modules/fast-uri/LICENSE +32 -0
- package/node_modules/fast-uri/README.md +143 -0
- package/node_modules/fast-uri/eslint.config.js +6 -0
- package/node_modules/fast-uri/index.js +340 -0
- package/node_modules/fast-uri/lib/schemes.js +267 -0
- package/node_modules/fast-uri/lib/utils.js +336 -0
- package/node_modules/fast-uri/package.json +69 -0
- package/node_modules/fast-uri/tsconfig.json +9 -0
- package/node_modules/fast-uri/types/index.d.ts +60 -0
- package/node_modules/fast-uri/types/index.test-d.ts +17 -0
- package/node_modules/fast-wrap-ansi/LICENSE +23 -0
- package/node_modules/fast-wrap-ansi/README.md +26 -0
- package/node_modules/fast-wrap-ansi/lib/main.d.ts +6 -0
- package/node_modules/fast-wrap-ansi/lib/main.js +216 -0
- package/node_modules/fast-wrap-ansi/lib/main.js.map +1 -0
- package/node_modules/fast-wrap-ansi/package.json +51 -0
- package/node_modules/finalhandler/HISTORY.md +239 -0
- package/node_modules/finalhandler/LICENSE +22 -0
- package/node_modules/finalhandler/README.md +150 -0
- package/node_modules/finalhandler/index.js +293 -0
- package/node_modules/finalhandler/package.json +47 -0
- package/node_modules/forwarded/HISTORY.md +21 -0
- package/node_modules/forwarded/LICENSE +22 -0
- package/node_modules/forwarded/README.md +57 -0
- package/node_modules/forwarded/index.js +90 -0
- package/node_modules/forwarded/package.json +45 -0
- package/node_modules/fresh/HISTORY.md +80 -0
- package/node_modules/fresh/LICENSE +23 -0
- package/node_modules/fresh/README.md +117 -0
- package/node_modules/fresh/index.js +136 -0
- package/node_modules/fresh/package.json +46 -0
- package/node_modules/function-bind/.eslintrc +21 -0
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/function-bind/README.md +46 -0
- package/node_modules/function-bind/implementation.js +84 -0
- package/node_modules/function-bind/index.js +5 -0
- package/node_modules/function-bind/package.json +87 -0
- package/node_modules/generator-function/.eslintrc +16 -0
- package/node_modules/generator-function/.github/FUNDING.yml +12 -0
- package/node_modules/generator-function/.nycrc +9 -0
- package/node_modules/generator-function/CHANGELOG.md +27 -0
- package/node_modules/generator-function/LICENSE.md +7 -0
- package/node_modules/generator-function/README.md +51 -0
- package/node_modules/generator-function/index.d.mts +3 -0
- package/node_modules/generator-function/index.d.ts +3 -0
- package/node_modules/generator-function/index.js +8 -0
- package/node_modules/generator-function/index.mjs +4 -0
- package/node_modules/generator-function/legacy.js +18 -0
- package/node_modules/generator-function/package.json +88 -0
- package/node_modules/generator-function/require.mjs +5 -0
- package/node_modules/generator-function/tsconfig.json +9 -0
- package/node_modules/get-intrinsic/.eslintrc +42 -0
- package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/node_modules/get-intrinsic/.nycrc +9 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +193 -0
- package/node_modules/get-intrinsic/LICENSE +21 -0
- package/node_modules/get-intrinsic/README.md +71 -0
- package/node_modules/get-intrinsic/index.js +373 -0
- package/node_modules/get-intrinsic/package.json +100 -0
- package/node_modules/get-proto/.eslintrc +10 -0
- package/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/node_modules/get-proto/.nycrc +9 -0
- package/node_modules/get-proto/CHANGELOG.md +21 -0
- package/node_modules/get-proto/LICENSE +21 -0
- package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/node_modules/get-proto/README.md +50 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/node_modules/get-proto/index.d.ts +5 -0
- package/node_modules/get-proto/index.js +27 -0
- package/node_modules/get-proto/package.json +81 -0
- package/node_modules/get-proto/tsconfig.json +9 -0
- package/node_modules/gopd/.eslintrc +16 -0
- package/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/node_modules/gopd/CHANGELOG.md +45 -0
- package/node_modules/gopd/LICENSE +21 -0
- package/node_modules/gopd/README.md +40 -0
- package/node_modules/gopd/gOPD.d.ts +1 -0
- package/node_modules/gopd/gOPD.js +4 -0
- package/node_modules/gopd/index.d.ts +5 -0
- package/node_modules/gopd/index.js +15 -0
- package/node_modules/gopd/package.json +77 -0
- package/node_modules/gopd/tsconfig.json +9 -0
- package/node_modules/has-symbols/.eslintrc +11 -0
- package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/node_modules/has-symbols/.nycrc +9 -0
- package/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/node_modules/has-symbols/LICENSE +21 -0
- package/node_modules/has-symbols/README.md +46 -0
- package/node_modules/has-symbols/index.d.ts +3 -0
- package/node_modules/has-symbols/index.js +14 -0
- package/node_modules/has-symbols/package.json +111 -0
- package/node_modules/has-symbols/shams.d.ts +3 -0
- package/node_modules/has-symbols/shams.js +45 -0
- package/node_modules/has-symbols/tsconfig.json +10 -0
- package/node_modules/hasown/.eslintrc +5 -0
- package/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/hasown/.nycrc +13 -0
- package/node_modules/hasown/CHANGELOG.md +40 -0
- package/node_modules/hasown/LICENSE +21 -0
- package/node_modules/hasown/README.md +40 -0
- package/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/hasown/index.js +8 -0
- package/node_modules/hasown/package.json +92 -0
- package/node_modules/hasown/tsconfig.json +6 -0
- package/node_modules/hono/LICENSE +21 -0
- package/node_modules/hono/README.md +85 -0
- package/node_modules/hono/dist/adapter/aws-lambda/conninfo.js +24 -0
- package/node_modules/hono/dist/adapter/aws-lambda/handler.js +366 -0
- package/node_modules/hono/dist/adapter/aws-lambda/index.js +9 -0
- package/node_modules/hono/dist/adapter/aws-lambda/types.js +0 -0
- package/node_modules/hono/dist/adapter/bun/conninfo.js +27 -0
- package/node_modules/hono/dist/adapter/bun/index.js +16 -0
- package/node_modules/hono/dist/adapter/bun/serve-static.js +30 -0
- package/node_modules/hono/dist/adapter/bun/server.js +5 -0
- package/node_modules/hono/dist/adapter/bun/ssg.js +17 -0
- package/node_modules/hono/dist/adapter/bun/websocket.js +71 -0
- package/node_modules/hono/dist/adapter/cloudflare-pages/conninfo.js +9 -0
- package/node_modules/hono/dist/adapter/cloudflare-pages/handler.js +67 -0
- package/node_modules/hono/dist/adapter/cloudflare-pages/index.js +9 -0
- package/node_modules/hono/dist/adapter/cloudflare-workers/conninfo.js +9 -0
- package/node_modules/hono/dist/adapter/cloudflare-workers/index.js +9 -0
- package/node_modules/hono/dist/adapter/cloudflare-workers/serve-static-module.js +8 -0
- package/node_modules/hono/dist/adapter/cloudflare-workers/serve-static.js +22 -0
- package/node_modules/hono/dist/adapter/cloudflare-workers/utils.js +35 -0
- package/node_modules/hono/dist/adapter/cloudflare-workers/websocket.js +41 -0
- package/node_modules/hono/dist/adapter/deno/conninfo.js +14 -0
- package/node_modules/hono/dist/adapter/deno/deno.d.js +0 -0
- package/node_modules/hono/dist/adapter/deno/index.js +12 -0
- package/node_modules/hono/dist/adapter/deno/serve-static.js +40 -0
- package/node_modules/hono/dist/adapter/deno/ssg.js +18 -0
- package/node_modules/hono/dist/adapter/deno/websocket.js +28 -0
- package/node_modules/hono/dist/adapter/lambda-edge/conninfo.js +9 -0
- package/node_modules/hono/dist/adapter/lambda-edge/handler.js +80 -0
- package/node_modules/hono/dist/adapter/lambda-edge/index.js +7 -0
- package/node_modules/hono/dist/adapter/netlify/conninfo.js +9 -0
- package/node_modules/hono/dist/adapter/netlify/handler.js +9 -0
- package/node_modules/hono/dist/adapter/netlify/index.js +2 -0
- package/node_modules/hono/dist/adapter/netlify/mod.js +7 -0
- package/node_modules/hono/dist/adapter/service-worker/handler.js +20 -0
- package/node_modules/hono/dist/adapter/service-worker/index.js +9 -0
- package/node_modules/hono/dist/adapter/service-worker/types.js +0 -0
- package/node_modules/hono/dist/adapter/vercel/conninfo.js +10 -0
- package/node_modules/hono/dist/adapter/vercel/handler.js +7 -0
- package/node_modules/hono/dist/adapter/vercel/index.js +7 -0
- package/node_modules/hono/dist/cjs/adapter/aws-lambda/conninfo.js +46 -0
- package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +397 -0
- package/node_modules/hono/dist/cjs/adapter/aws-lambda/index.js +34 -0
- package/node_modules/hono/dist/cjs/adapter/aws-lambda/types.js +15 -0
- package/node_modules/hono/dist/cjs/adapter/bun/conninfo.js +49 -0
- package/node_modules/hono/dist/cjs/adapter/bun/index.js +45 -0
- package/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +52 -0
- package/node_modules/hono/dist/cjs/adapter/bun/server.js +27 -0
- package/node_modules/hono/dist/cjs/adapter/bun/ssg.js +40 -0
- package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +96 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-pages/conninfo.js +31 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-pages/handler.js +91 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-pages/index.js +34 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/conninfo.js +31 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/index.js +33 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/serve-static-module.js +30 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/serve-static.js +44 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/utils.js +57 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/websocket.js +63 -0
- package/node_modules/hono/dist/cjs/adapter/deno/conninfo.js +36 -0
- package/node_modules/hono/dist/cjs/adapter/deno/deno.d.js +0 -0
- package/node_modules/hono/dist/cjs/adapter/deno/index.js +38 -0
- package/node_modules/hono/dist/cjs/adapter/deno/serve-static.js +62 -0
- package/node_modules/hono/dist/cjs/adapter/deno/ssg.js +41 -0
- package/node_modules/hono/dist/cjs/adapter/deno/websocket.js +50 -0
- package/node_modules/hono/dist/cjs/adapter/lambda-edge/conninfo.js +31 -0
- package/node_modules/hono/dist/cjs/adapter/lambda-edge/handler.js +114 -0
- package/node_modules/hono/dist/cjs/adapter/lambda-edge/index.js +30 -0
- package/node_modules/hono/dist/cjs/adapter/netlify/conninfo.js +31 -0
- package/node_modules/hono/dist/cjs/adapter/netlify/handler.js +31 -0
- package/node_modules/hono/dist/cjs/adapter/netlify/index.js +21 -0
- package/node_modules/hono/dist/cjs/adapter/netlify/mod.js +30 -0
- package/node_modules/hono/dist/cjs/adapter/service-worker/handler.js +42 -0
- package/node_modules/hono/dist/cjs/adapter/service-worker/index.js +32 -0
- package/node_modules/hono/dist/cjs/adapter/service-worker/types.js +15 -0
- package/node_modules/hono/dist/cjs/adapter/vercel/conninfo.js +32 -0
- package/node_modules/hono/dist/cjs/adapter/vercel/handler.js +29 -0
- package/node_modules/hono/dist/cjs/adapter/vercel/index.js +30 -0
- package/node_modules/hono/dist/cjs/client/client.js +195 -0
- package/node_modules/hono/dist/cjs/client/fetch-result-please.js +85 -0
- package/node_modules/hono/dist/cjs/client/index.js +32 -0
- package/node_modules/hono/dist/cjs/client/types.js +15 -0
- package/node_modules/hono/dist/cjs/client/utils.js +105 -0
- package/node_modules/hono/dist/cjs/compose.js +68 -0
- package/node_modules/hono/dist/cjs/context.js +435 -0
- package/node_modules/hono/dist/cjs/helper/accepts/accepts.js +43 -0
- package/node_modules/hono/dist/cjs/helper/accepts/index.js +27 -0
- package/node_modules/hono/dist/cjs/helper/adapter/index.js +81 -0
- package/node_modules/hono/dist/cjs/helper/conninfo/index.js +15 -0
- package/node_modules/hono/dist/cjs/helper/conninfo/types.js +15 -0
- package/node_modules/hono/dist/cjs/helper/cookie/index.js +130 -0
- package/node_modules/hono/dist/cjs/helper/css/common.js +271 -0
- package/node_modules/hono/dist/cjs/helper/css/index.js +149 -0
- package/node_modules/hono/dist/cjs/helper/dev/index.js +79 -0
- package/node_modules/hono/dist/cjs/helper/factory/index.js +54 -0
- package/node_modules/hono/dist/cjs/helper/html/index.js +64 -0
- package/node_modules/hono/dist/cjs/helper/proxy/index.js +111 -0
- package/node_modules/hono/dist/cjs/helper/route/index.js +71 -0
- package/node_modules/hono/dist/cjs/helper/ssg/index.js +43 -0
- package/node_modules/hono/dist/cjs/helper/ssg/middleware.js +73 -0
- package/node_modules/hono/dist/cjs/helper/ssg/plugins.js +70 -0
- package/node_modules/hono/dist/cjs/helper/ssg/ssg.js +318 -0
- package/node_modules/hono/dist/cjs/helper/ssg/utils.js +93 -0
- package/node_modules/hono/dist/cjs/helper/streaming/index.js +35 -0
- package/node_modules/hono/dist/cjs/helper/streaming/sse.js +90 -0
- package/node_modules/hono/dist/cjs/helper/streaming/stream.js +56 -0
- package/node_modules/hono/dist/cjs/helper/streaming/text.js +34 -0
- package/node_modules/hono/dist/cjs/helper/streaming/utils.js +35 -0
- package/node_modules/hono/dist/cjs/helper/testing/index.js +33 -0
- package/node_modules/hono/dist/cjs/helper/websocket/index.js +81 -0
- package/node_modules/hono/dist/cjs/hono-base.js +400 -0
- package/node_modules/hono/dist/cjs/hono.js +43 -0
- package/node_modules/hono/dist/cjs/http-exception.js +57 -0
- package/node_modules/hono/dist/cjs/index.js +27 -0
- package/node_modules/hono/dist/cjs/jsx/base.js +374 -0
- package/node_modules/hono/dist/cjs/jsx/children.js +44 -0
- package/node_modules/hono/dist/cjs/jsx/components.js +201 -0
- package/node_modules/hono/dist/cjs/jsx/constants.js +42 -0
- package/node_modules/hono/dist/cjs/jsx/context.js +62 -0
- package/node_modules/hono/dist/cjs/jsx/dom/client.js +76 -0
- package/node_modules/hono/dist/cjs/jsx/dom/components.js +55 -0
- package/node_modules/hono/dist/cjs/jsx/dom/context.js +71 -0
- package/node_modules/hono/dist/cjs/jsx/dom/css.js +168 -0
- package/node_modules/hono/dist/cjs/jsx/dom/hooks/index.js +74 -0
- package/node_modules/hono/dist/cjs/jsx/dom/index.js +181 -0
- package/node_modules/hono/dist/cjs/jsx/dom/intrinsic-element/components.js +399 -0
- package/node_modules/hono/dist/cjs/jsx/dom/jsx-dev-runtime.js +52 -0
- package/node_modules/hono/dist/cjs/jsx/dom/jsx-runtime.js +32 -0
- package/node_modules/hono/dist/cjs/jsx/dom/render.js +628 -0
- package/node_modules/hono/dist/cjs/jsx/dom/server.js +67 -0
- package/node_modules/hono/dist/cjs/jsx/dom/utils.js +32 -0
- package/node_modules/hono/dist/cjs/jsx/hooks/index.js +370 -0
- package/node_modules/hono/dist/cjs/jsx/index.js +138 -0
- package/node_modules/hono/dist/cjs/jsx/intrinsic-element/common.js +50 -0
- package/node_modules/hono/dist/cjs/jsx/intrinsic-element/components.js +189 -0
- package/node_modules/hono/dist/cjs/jsx/intrinsic-elements.js +15 -0
- package/node_modules/hono/dist/cjs/jsx/jsx-dev-runtime.js +41 -0
- package/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +68 -0
- package/node_modules/hono/dist/cjs/jsx/streaming.js +177 -0
- package/node_modules/hono/dist/cjs/jsx/types.js +15 -0
- package/node_modules/hono/dist/cjs/jsx/utils.js +50 -0
- package/node_modules/hono/dist/cjs/middleware/basic-auth/index.js +88 -0
- package/node_modules/hono/dist/cjs/middleware/bearer-auth/index.js +114 -0
- package/node_modules/hono/dist/cjs/middleware/body-limit/index.js +84 -0
- package/node_modules/hono/dist/cjs/middleware/cache/index.js +111 -0
- package/node_modules/hono/dist/cjs/middleware/combine/index.js +101 -0
- package/node_modules/hono/dist/cjs/middleware/compress/index.js +65 -0
- package/node_modules/hono/dist/cjs/middleware/context-storage/index.js +47 -0
- package/node_modules/hono/dist/cjs/middleware/cors/index.js +112 -0
- package/node_modules/hono/dist/cjs/middleware/csrf/index.js +77 -0
- package/node_modules/hono/dist/cjs/middleware/etag/digest.js +55 -0
- package/node_modules/hono/dist/cjs/middleware/etag/index.js +95 -0
- package/node_modules/hono/dist/cjs/middleware/ip-restriction/index.js +146 -0
- package/node_modules/hono/dist/cjs/middleware/jsx-renderer/index.js +82 -0
- package/node_modules/hono/dist/cjs/middleware/jwk/index.js +27 -0
- package/node_modules/hono/dist/cjs/middleware/jwk/jwk.js +134 -0
- package/node_modules/hono/dist/cjs/middleware/jwt/index.js +38 -0
- package/node_modules/hono/dist/cjs/middleware/jwt/jwt.js +140 -0
- package/node_modules/hono/dist/cjs/middleware/language/index.js +35 -0
- package/node_modules/hono/dist/cjs/middleware/language/language.js +221 -0
- package/node_modules/hono/dist/cjs/middleware/logger/index.js +72 -0
- package/node_modules/hono/dist/cjs/middleware/method-override/index.js +104 -0
- package/node_modules/hono/dist/cjs/middleware/powered-by/index.js +32 -0
- package/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +37 -0
- package/node_modules/hono/dist/cjs/middleware/request-id/index.js +27 -0
- package/node_modules/hono/dist/cjs/middleware/request-id/request-id.js +43 -0
- package/node_modules/hono/dist/cjs/middleware/secure-headers/index.js +29 -0
- package/node_modules/hono/dist/cjs/middleware/secure-headers/permissions-policy.js +15 -0
- package/node_modules/hono/dist/cjs/middleware/secure-headers/secure-headers.js +189 -0
- package/node_modules/hono/dist/cjs/middleware/serve-static/index.js +99 -0
- package/node_modules/hono/dist/cjs/middleware/serve-static/path.js +40 -0
- package/node_modules/hono/dist/cjs/middleware/timeout/index.js +47 -0
- package/node_modules/hono/dist/cjs/middleware/timing/index.js +35 -0
- package/node_modules/hono/dist/cjs/middleware/timing/timing.js +128 -0
- package/node_modules/hono/dist/cjs/middleware/trailing-slash/index.js +62 -0
- package/node_modules/hono/dist/cjs/package.json +3 -0
- package/node_modules/hono/dist/cjs/preset/quick.js +38 -0
- package/node_modules/hono/dist/cjs/preset/tiny.js +34 -0
- package/node_modules/hono/dist/cjs/request/constants.js +27 -0
- package/node_modules/hono/dist/cjs/request.js +324 -0
- package/node_modules/hono/dist/cjs/router/linear-router/index.js +27 -0
- package/node_modules/hono/dist/cjs/router/linear-router/router.js +140 -0
- package/node_modules/hono/dist/cjs/router/pattern-router/index.js +27 -0
- package/node_modules/hono/dist/cjs/router/pattern-router/router.js +70 -0
- package/node_modules/hono/dist/cjs/router/reg-exp-router/index.js +34 -0
- package/node_modules/hono/dist/cjs/router/reg-exp-router/matcher.js +48 -0
- package/node_modules/hono/dist/cjs/router/reg-exp-router/node.js +134 -0
- package/node_modules/hono/dist/cjs/router/reg-exp-router/prepared-router.js +166 -0
- package/node_modules/hono/dist/cjs/router/reg-exp-router/router.js +208 -0
- package/node_modules/hono/dist/cjs/router/reg-exp-router/trie.js +81 -0
- package/node_modules/hono/dist/cjs/router/smart-router/index.js +27 -0
- package/node_modules/hono/dist/cjs/router/smart-router/router.js +80 -0
- package/node_modules/hono/dist/cjs/router/trie-router/index.js +27 -0
- package/node_modules/hono/dist/cjs/router/trie-router/node.js +201 -0
- package/node_modules/hono/dist/cjs/router/trie-router/router.js +48 -0
- package/node_modules/hono/dist/cjs/router.js +40 -0
- package/node_modules/hono/dist/cjs/types.js +28 -0
- package/node_modules/hono/dist/cjs/utils/accept.js +245 -0
- package/node_modules/hono/dist/cjs/utils/basic-auth.js +45 -0
- package/node_modules/hono/dist/cjs/utils/body.js +97 -0
- package/node_modules/hono/dist/cjs/utils/buffer.js +102 -0
- package/node_modules/hono/dist/cjs/utils/color.js +48 -0
- package/node_modules/hono/dist/cjs/utils/compress.js +27 -0
- package/node_modules/hono/dist/cjs/utils/concurrent.js +61 -0
- package/node_modules/hono/dist/cjs/utils/constants.js +27 -0
- package/node_modules/hono/dist/cjs/utils/cookie.js +198 -0
- package/node_modules/hono/dist/cjs/utils/crypto.js +69 -0
- package/node_modules/hono/dist/cjs/utils/encode.js +54 -0
- package/node_modules/hono/dist/cjs/utils/filepath.js +58 -0
- package/node_modules/hono/dist/cjs/utils/handler.js +36 -0
- package/node_modules/hono/dist/cjs/utils/headers.js +15 -0
- package/node_modules/hono/dist/cjs/utils/html.js +150 -0
- package/node_modules/hono/dist/cjs/utils/http-status.js +15 -0
- package/node_modules/hono/dist/cjs/utils/ipaddr.js +135 -0
- package/node_modules/hono/dist/cjs/utils/jwt/index.js +28 -0
- package/node_modules/hono/dist/cjs/utils/jwt/jwa.js +42 -0
- package/node_modules/hono/dist/cjs/utils/jwt/jws.js +215 -0
- package/node_modules/hono/dist/cjs/utils/jwt/jwt.js +213 -0
- package/node_modules/hono/dist/cjs/utils/jwt/types.js +161 -0
- package/node_modules/hono/dist/cjs/utils/jwt/utf8.js +30 -0
- package/node_modules/hono/dist/cjs/utils/mime.js +108 -0
- package/node_modules/hono/dist/cjs/utils/stream.js +101 -0
- package/node_modules/hono/dist/cjs/utils/types.js +15 -0
- package/node_modules/hono/dist/cjs/utils/url.js +256 -0
- package/node_modules/hono/dist/cjs/validator/index.js +27 -0
- package/node_modules/hono/dist/cjs/validator/utils.js +15 -0
- package/node_modules/hono/dist/cjs/validator/validator.js +108 -0
- package/node_modules/hono/dist/client/client.js +180 -0
- package/node_modules/hono/dist/client/fetch-result-please.js +62 -0
- package/node_modules/hono/dist/client/index.js +8 -0
- package/node_modules/hono/dist/client/types.js +0 -0
- package/node_modules/hono/dist/client/utils.js +76 -0
- package/node_modules/hono/dist/compose.js +46 -0
- package/node_modules/hono/dist/context.js +412 -0
- package/node_modules/hono/dist/helper/accepts/accepts.js +20 -0
- package/node_modules/hono/dist/helper/accepts/index.js +5 -0
- package/node_modules/hono/dist/helper/adapter/index.js +56 -0
- package/node_modules/hono/dist/helper/conninfo/index.js +0 -0
- package/node_modules/hono/dist/helper/conninfo/types.js +0 -0
- package/node_modules/hono/dist/helper/cookie/index.js +102 -0
- package/node_modules/hono/dist/helper/css/common.js +234 -0
- package/node_modules/hono/dist/helper/css/index.js +132 -0
- package/node_modules/hono/dist/helper/dev/index.js +55 -0
- package/node_modules/hono/dist/helper/factory/index.js +30 -0
- package/node_modules/hono/dist/helper/html/index.js +41 -0
- package/node_modules/hono/dist/helper/proxy/index.js +89 -0
- package/node_modules/hono/dist/helper/route/index.js +46 -0
- package/node_modules/hono/dist/helper/ssg/index.js +19 -0
- package/node_modules/hono/dist/helper/ssg/middleware.js +45 -0
- package/node_modules/hono/dist/helper/ssg/plugins.js +47 -0
- package/node_modules/hono/dist/helper/ssg/ssg.js +295 -0
- package/node_modules/hono/dist/helper/ssg/utils.js +67 -0
- package/node_modules/hono/dist/helper/streaming/index.js +10 -0
- package/node_modules/hono/dist/helper/streaming/sse.js +67 -0
- package/node_modules/hono/dist/helper/streaming/stream.js +34 -0
- package/node_modules/hono/dist/helper/streaming/text.js +12 -0
- package/node_modules/hono/dist/helper/streaming/utils.js +13 -0
- package/node_modules/hono/dist/helper/testing/index.js +11 -0
- package/node_modules/hono/dist/helper/websocket/index.js +57 -0
- package/node_modules/hono/dist/hono-base.js +378 -0
- package/node_modules/hono/dist/hono.js +21 -0
- package/node_modules/hono/dist/http-exception.js +35 -0
- package/node_modules/hono/dist/index.js +5 -0
- package/node_modules/hono/dist/jsx/base.js +331 -0
- package/node_modules/hono/dist/jsx/children.js +21 -0
- package/node_modules/hono/dist/jsx/components.js +178 -0
- package/node_modules/hono/dist/jsx/constants.js +15 -0
- package/node_modules/hono/dist/jsx/context.js +38 -0
- package/node_modules/hono/dist/jsx/dom/client.js +53 -0
- package/node_modules/hono/dist/jsx/dom/components.js +32 -0
- package/node_modules/hono/dist/jsx/dom/context.js +48 -0
- package/node_modules/hono/dist/jsx/dom/css.js +150 -0
- package/node_modules/hono/dist/jsx/dom/hooks/index.js +48 -0
- package/node_modules/hono/dist/jsx/dom/index.js +142 -0
- package/node_modules/hono/dist/jsx/dom/intrinsic-element/components.js +374 -0
- package/node_modules/hono/dist/jsx/dom/jsx-dev-runtime.js +19 -0
- package/node_modules/hono/dist/jsx/dom/jsx-runtime.js +8 -0
- package/node_modules/hono/dist/jsx/dom/render.js +604 -0
- package/node_modules/hono/dist/jsx/dom/server.js +33 -0
- package/node_modules/hono/dist/jsx/dom/utils.js +10 -0
- package/node_modules/hono/dist/jsx/hooks/index.js +328 -0
- package/node_modules/hono/dist/jsx/index.js +103 -0
- package/node_modules/hono/dist/jsx/intrinsic-element/common.js +24 -0
- package/node_modules/hono/dist/jsx/intrinsic-element/components.js +165 -0
- package/node_modules/hono/dist/jsx/intrinsic-elements.js +0 -0
- package/node_modules/hono/dist/jsx/jsx-dev-runtime.js +18 -0
- package/node_modules/hono/dist/jsx/jsx-runtime.js +41 -0
- package/node_modules/hono/dist/jsx/streaming.js +153 -0
- package/node_modules/hono/dist/jsx/types.js +0 -0
- package/node_modules/hono/dist/jsx/utils.js +27 -0
- package/node_modules/hono/dist/middleware/basic-auth/index.js +66 -0
- package/node_modules/hono/dist/middleware/bearer-auth/index.js +92 -0
- package/node_modules/hono/dist/middleware/body-limit/index.js +62 -0
- package/node_modules/hono/dist/middleware/cache/index.js +89 -0
- package/node_modules/hono/dist/middleware/combine/index.js +77 -0
- package/node_modules/hono/dist/middleware/compress/index.js +43 -0
- package/node_modules/hono/dist/middleware/context-storage/index.js +23 -0
- package/node_modules/hono/dist/middleware/cors/index.js +90 -0
- package/node_modules/hono/dist/middleware/csrf/index.js +55 -0
- package/node_modules/hono/dist/middleware/etag/digest.js +33 -0
- package/node_modules/hono/dist/middleware/etag/index.js +72 -0
- package/node_modules/hono/dist/middleware/ip-restriction/index.js +131 -0
- package/node_modules/hono/dist/middleware/jsx-renderer/index.js +58 -0
- package/node_modules/hono/dist/middleware/jwk/index.js +5 -0
- package/node_modules/hono/dist/middleware/jwk/jwk.js +112 -0
- package/node_modules/hono/dist/middleware/jwt/index.js +11 -0
- package/node_modules/hono/dist/middleware/jwt/jwt.js +114 -0
- package/node_modules/hono/dist/middleware/language/index.js +15 -0
- package/node_modules/hono/dist/middleware/language/language.js +190 -0
- package/node_modules/hono/dist/middleware/logger/index.js +44 -0
- package/node_modules/hono/dist/middleware/method-override/index.js +82 -0
- package/node_modules/hono/dist/middleware/powered-by/index.js +10 -0
- package/node_modules/hono/dist/middleware/pretty-json/index.js +15 -0
- package/node_modules/hono/dist/middleware/request-id/index.js +5 -0
- package/node_modules/hono/dist/middleware/request-id/request-id.js +21 -0
- package/node_modules/hono/dist/middleware/secure-headers/index.js +6 -0
- package/node_modules/hono/dist/middleware/secure-headers/permissions-policy.js +0 -0
- package/node_modules/hono/dist/middleware/secure-headers/secure-headers.js +166 -0
- package/node_modules/hono/dist/middleware/serve-static/index.js +77 -0
- package/node_modules/hono/dist/middleware/serve-static/path.js +18 -0
- package/node_modules/hono/dist/middleware/timeout/index.js +25 -0
- package/node_modules/hono/dist/middleware/timing/index.js +9 -0
- package/node_modules/hono/dist/middleware/timing/timing.js +102 -0
- package/node_modules/hono/dist/middleware/trailing-slash/index.js +39 -0
- package/node_modules/hono/dist/preset/quick.js +16 -0
- package/node_modules/hono/dist/preset/tiny.js +12 -0
- package/node_modules/hono/dist/request/constants.js +5 -0
- package/node_modules/hono/dist/request.js +301 -0
- package/node_modules/hono/dist/router/linear-router/index.js +5 -0
- package/node_modules/hono/dist/router/linear-router/router.js +118 -0
- package/node_modules/hono/dist/router/pattern-router/index.js +5 -0
- package/node_modules/hono/dist/router/pattern-router/router.js +48 -0
- package/node_modules/hono/dist/router/reg-exp-router/index.js +9 -0
- package/node_modules/hono/dist/router/reg-exp-router/matcher.js +25 -0
- package/node_modules/hono/dist/router/reg-exp-router/node.js +111 -0
- package/node_modules/hono/dist/router/reg-exp-router/prepared-router.js +142 -0
- package/node_modules/hono/dist/router/reg-exp-router/router.js +190 -0
- package/node_modules/hono/dist/router/reg-exp-router/trie.js +59 -0
- package/node_modules/hono/dist/router/smart-router/index.js +5 -0
- package/node_modules/hono/dist/router/smart-router/router.js +58 -0
- package/node_modules/hono/dist/router/trie-router/index.js +5 -0
- package/node_modules/hono/dist/router/trie-router/node.js +179 -0
- package/node_modules/hono/dist/router/trie-router/router.js +26 -0
- package/node_modules/hono/dist/router.js +14 -0
- package/node_modules/hono/dist/tsconfig.build.tsbuildinfo +1 -0
- package/node_modules/hono/dist/types/adapter/aws-lambda/conninfo.d.ts +27 -0
- package/node_modules/hono/dist/types/adapter/aws-lambda/handler.d.ts +184 -0
- package/node_modules/hono/dist/types/adapter/aws-lambda/index.d.ts +8 -0
- package/node_modules/hono/dist/types/adapter/aws-lambda/types.d.ts +144 -0
- package/node_modules/hono/dist/types/adapter/bun/conninfo.d.ts +7 -0
- package/node_modules/hono/dist/types/adapter/bun/index.d.ts +10 -0
- package/node_modules/hono/dist/types/adapter/bun/serve-static.d.ts +3 -0
- package/node_modules/hono/dist/types/adapter/bun/server.d.ts +12 -0
- package/node_modules/hono/dist/types/adapter/bun/ssg.d.ts +13 -0
- package/node_modules/hono/dist/types/adapter/bun/websocket.d.ts +39 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-pages/conninfo.d.ts +21 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-pages/handler.d.ts +33 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-pages/index.d.ts +7 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/conninfo.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/index.d.ts +7 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static-module.d.ts +4 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static.d.ts +16 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/utils.d.ts +5 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/websocket.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/deno/conninfo.d.ts +7 -0
- package/node_modules/hono/dist/types/adapter/deno/index.d.ts +8 -0
- package/node_modules/hono/dist/types/adapter/deno/serve-static.d.ts +3 -0
- package/node_modules/hono/dist/types/adapter/deno/ssg.d.ts +13 -0
- package/node_modules/hono/dist/types/adapter/deno/websocket.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/lambda-edge/conninfo.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/lambda-edge/handler.d.ts +87 -0
- package/node_modules/hono/dist/types/adapter/lambda-edge/index.d.ts +7 -0
- package/node_modules/hono/dist/types/adapter/netlify/conninfo.d.ts +21 -0
- package/node_modules/hono/dist/types/adapter/netlify/handler.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/netlify/index.d.ts +5 -0
- package/node_modules/hono/dist/types/adapter/netlify/mod.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/service-worker/handler.d.ts +16 -0
- package/node_modules/hono/dist/types/adapter/service-worker/index.d.ts +28 -0
- package/node_modules/hono/dist/types/adapter/service-worker/types.d.ts +12 -0
- package/node_modules/hono/dist/types/adapter/vercel/conninfo.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/vercel/handler.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/vercel/index.d.ts +6 -0
- package/node_modules/hono/dist/types/client/client.d.ts +4 -0
- package/node_modules/hono/dist/types/client/fetch-result-please.d.ts +35 -0
- package/node_modules/hono/dist/types/client/index.d.ts +7 -0
- package/node_modules/hono/dist/types/client/types.d.ts +229 -0
- package/node_modules/hono/dist/types/client/utils.d.ts +18 -0
- package/node_modules/hono/dist/types/compose.d.ts +14 -0
- package/node_modules/hono/dist/types/context.d.ts +455 -0
- package/node_modules/hono/dist/types/helper/accepts/accepts.d.ts +30 -0
- package/node_modules/hono/dist/types/helper/accepts/index.d.ts +5 -0
- package/node_modules/hono/dist/types/helper/adapter/index.d.ts +12 -0
- package/node_modules/hono/dist/types/helper/conninfo/index.d.ts +5 -0
- package/node_modules/hono/dist/types/helper/conninfo/types.d.ts +36 -0
- package/node_modules/hono/dist/types/helper/cookie/index.d.ts +24 -0
- package/node_modules/hono/dist/types/helper/css/common.d.ts +59 -0
- package/node_modules/hono/dist/types/helper/css/index.d.ts +80 -0
- package/node_modules/hono/dist/types/helper/dev/index.d.ts +20 -0
- package/node_modules/hono/dist/types/helper/factory/index.d.ts +82 -0
- package/node_modules/hono/dist/types/helper/html/index.d.ts +8 -0
- package/node_modules/hono/dist/types/helper/proxy/index.d.ts +72 -0
- package/node_modules/hono/dist/types/helper/route/index.d.ts +75 -0
- package/node_modules/hono/dist/types/helper/ssg/index.d.ts +7 -0
- package/node_modules/hono/dist/types/helper/ssg/middleware.d.ts +44 -0
- package/node_modules/hono/dist/types/helper/ssg/plugins.d.ts +27 -0
- package/node_modules/hono/dist/types/helper/ssg/ssg.d.ts +91 -0
- package/node_modules/hono/dist/types/helper/ssg/utils.d.ts +16 -0
- package/node_modules/hono/dist/types/helper/streaming/index.d.ts +8 -0
- package/node_modules/hono/dist/types/helper/streaming/sse.d.ts +13 -0
- package/node_modules/hono/dist/types/helper/streaming/stream.d.ts +3 -0
- package/node_modules/hono/dist/types/helper/streaming/text.d.ts +3 -0
- package/node_modules/hono/dist/types/helper/streaming/utils.d.ts +1 -0
- package/node_modules/hono/dist/types/helper/testing/index.d.ts +12 -0
- package/node_modules/hono/dist/types/helper/websocket/index.d.ts +69 -0
- package/node_modules/hono/dist/types/hono-base.d.ts +220 -0
- package/node_modules/hono/dist/types/hono.d.ts +19 -0
- package/node_modules/hono/dist/types/http-exception.d.ts +59 -0
- package/node_modules/hono/dist/types/index.d.ts +36 -0
- package/node_modules/hono/dist/types/jsx/base.d.ts +58 -0
- package/node_modules/hono/dist/types/jsx/children.d.ts +9 -0
- package/node_modules/hono/dist/types/jsx/components.d.ts +15 -0
- package/node_modules/hono/dist/types/jsx/constants.d.ts +6 -0
- package/node_modules/hono/dist/types/jsx/context.d.ts +12 -0
- package/node_modules/hono/dist/types/jsx/dom/client.d.ts +31 -0
- package/node_modules/hono/dist/types/jsx/dom/components.d.ts +10 -0
- package/node_modules/hono/dist/types/jsx/dom/context.d.ts +3 -0
- package/node_modules/hono/dist/types/jsx/dom/css.d.ts +83 -0
- package/node_modules/hono/dist/types/jsx/dom/hooks/index.d.ts +39 -0
- package/node_modules/hono/dist/types/jsx/dom/index.d.ts +88 -0
- package/node_modules/hono/dist/types/jsx/dom/intrinsic-element/components.d.ts +16 -0
- package/node_modules/hono/dist/types/jsx/dom/jsx-dev-runtime.d.ts +8 -0
- package/node_modules/hono/dist/types/jsx/dom/jsx-runtime.d.ts +7 -0
- package/node_modules/hono/dist/types/jsx/dom/render.d.ts +73 -0
- package/node_modules/hono/dist/types/jsx/dom/server.d.ts +106 -0
- package/node_modules/hono/dist/types/jsx/dom/utils.d.ts +1 -0
- package/node_modules/hono/dist/types/jsx/hooks/index.d.ts +45 -0
- package/node_modules/hono/dist/types/jsx/index.d.ts +75 -0
- package/node_modules/hono/dist/types/jsx/intrinsic-element/common.d.ts +6 -0
- package/node_modules/hono/dist/types/jsx/intrinsic-element/components.d.ts +13 -0
- package/node_modules/hono/dist/types/jsx/intrinsic-elements.d.ts +722 -0
- package/node_modules/hono/dist/types/jsx/jsx-dev-runtime.d.ts +8 -0
- package/node_modules/hono/dist/types/jsx/jsx-runtime.d.ts +12 -0
- package/node_modules/hono/dist/types/jsx/streaming.d.ts +36 -0
- package/node_modules/hono/dist/types/jsx/types.d.ts +35 -0
- package/node_modules/hono/dist/types/jsx/utils.d.ts +2 -0
- package/node_modules/hono/dist/types/middleware/basic-auth/index.d.ts +75 -0
- package/node_modules/hono/dist/types/middleware/bearer-auth/index.d.ts +91 -0
- package/node_modules/hono/dist/types/middleware/body-limit/index.d.ts +45 -0
- package/node_modules/hono/dist/types/middleware/cache/index.d.ts +41 -0
- package/node_modules/hono/dist/types/middleware/combine/index.d.ts +85 -0
- package/node_modules/hono/dist/types/middleware/compress/index.d.ts +29 -0
- package/node_modules/hono/dist/types/middleware/context-storage/index.d.ts +40 -0
- package/node_modules/hono/dist/types/middleware/cors/index.d.ts +55 -0
- package/node_modules/hono/dist/types/middleware/csrf/index.d.ts +78 -0
- package/node_modules/hono/dist/types/middleware/etag/digest.d.ts +1 -0
- package/node_modules/hono/dist/types/middleware/etag/index.d.ts +42 -0
- package/node_modules/hono/dist/types/middleware/ip-restriction/index.d.ts +67 -0
- package/node_modules/hono/dist/types/middleware/jsx-renderer/index.d.ts +77 -0
- package/node_modules/hono/dist/types/middleware/jwk/index.d.ts +1 -0
- package/node_modules/hono/dist/types/middleware/jwk/jwk.d.ts +54 -0
- package/node_modules/hono/dist/types/middleware/jwt/index.d.ts +8 -0
- package/node_modules/hono/dist/types/middleware/jwt/jwt.d.ts +67 -0
- package/node_modules/hono/dist/types/middleware/language/index.d.ts +7 -0
- package/node_modules/hono/dist/types/middleware/language/language.d.ts +102 -0
- package/node_modules/hono/dist/types/middleware/logger/index.d.ts +24 -0
- package/node_modules/hono/dist/types/middleware/method-override/index.d.ts +48 -0
- package/node_modules/hono/dist/types/middleware/powered-by/index.d.ts +29 -0
- package/node_modules/hono/dist/types/middleware/pretty-json/index.d.ts +42 -0
- package/node_modules/hono/dist/types/middleware/request-id/index.d.ts +7 -0
- package/node_modules/hono/dist/types/middleware/request-id/request-id.d.ts +37 -0
- package/node_modules/hono/dist/types/middleware/secure-headers/index.d.ts +8 -0
- package/node_modules/hono/dist/types/middleware/secure-headers/permissions-policy.d.ts +14 -0
- package/node_modules/hono/dist/types/middleware/secure-headers/secure-headers.d.ts +109 -0
- package/node_modules/hono/dist/types/middleware/serve-static/index.d.ts +31 -0
- package/node_modules/hono/dist/types/middleware/serve-static/path.d.ts +5 -0
- package/node_modules/hono/dist/types/middleware/timeout/index.d.ts +31 -0
- package/node_modules/hono/dist/types/middleware/timing/index.d.ts +7 -0
- package/node_modules/hono/dist/types/middleware/timing/timing.d.ts +129 -0
- package/node_modules/hono/dist/types/middleware/trailing-slash/index.d.ts +78 -0
- package/node_modules/hono/dist/types/package.json +3 -0
- package/node_modules/hono/dist/types/preset/quick.d.ts +10 -0
- package/node_modules/hono/dist/types/preset/tiny.d.ts +10 -0
- package/node_modules/hono/dist/types/request/constants.d.ts +1 -0
- package/node_modules/hono/dist/types/request.d.ts +311 -0
- package/node_modules/hono/dist/types/router/linear-router/index.d.ts +5 -0
- package/node_modules/hono/dist/types/router/linear-router/router.d.ts +7 -0
- package/node_modules/hono/dist/types/router/pattern-router/index.d.ts +5 -0
- package/node_modules/hono/dist/types/router/pattern-router/router.d.ts +7 -0
- package/node_modules/hono/dist/types/router/reg-exp-router/index.d.ts +6 -0
- package/node_modules/hono/dist/types/router/reg-exp-router/matcher.d.ts +7 -0
- package/node_modules/hono/dist/types/router/reg-exp-router/node.d.ts +10 -0
- package/node_modules/hono/dist/types/router/reg-exp-router/prepared-router.d.ts +17 -0
- package/node_modules/hono/dist/types/router/reg-exp-router/router.d.ts +11 -0
- package/node_modules/hono/dist/types/router/reg-exp-router/trie.d.ts +7 -0
- package/node_modules/hono/dist/types/router/smart-router/index.d.ts +5 -0
- package/node_modules/hono/dist/types/router/smart-router/router.d.ts +11 -0
- package/node_modules/hono/dist/types/router/trie-router/index.d.ts +5 -0
- package/node_modules/hono/dist/types/router/trie-router/node.d.ts +7 -0
- package/node_modules/hono/dist/types/router/trie-router/router.d.ts +8 -0
- package/node_modules/hono/dist/types/router.d.ts +97 -0
- package/node_modules/hono/dist/types/types.d.ts +573 -0
- package/node_modules/hono/dist/types/utils/accept.d.ts +6 -0
- package/node_modules/hono/dist/types/utils/basic-auth.d.ts +5 -0
- package/node_modules/hono/dist/types/utils/body.d.ts +79 -0
- package/node_modules/hono/dist/types/utils/buffer.d.ts +17 -0
- package/node_modules/hono/dist/types/utils/color.d.ts +21 -0
- package/node_modules/hono/dist/types/utils/compress.d.ts +8 -0
- package/node_modules/hono/dist/types/utils/concurrent.d.ts +11 -0
- package/node_modules/hono/dist/types/utils/constants.d.ts +4 -0
- package/node_modules/hono/dist/types/utils/cookie.d.ts +40 -0
- package/node_modules/hono/dist/types/utils/crypto.d.ts +15 -0
- package/node_modules/hono/dist/types/utils/encode.d.ts +8 -0
- package/node_modules/hono/dist/types/utils/filepath.d.ts +12 -0
- package/node_modules/hono/dist/types/utils/handler.d.ts +6 -0
- package/node_modules/hono/dist/types/utils/headers.d.ts +8 -0
- package/node_modules/hono/dist/types/utils/html.d.ts +44 -0
- package/node_modules/hono/dist/types/utils/http-status.d.ts +32 -0
- package/node_modules/hono/dist/types/utils/ipaddr.d.ts +52 -0
- package/node_modules/hono/dist/types/utils/jwt/index.d.ts +18 -0
- package/node_modules/hono/dist/types/utils/jwt/jwa.d.ts +23 -0
- package/node_modules/hono/dist/types/utils/jwt/jws.d.ts +12 -0
- package/node_modules/hono/dist/types/utils/jwt/jwt.d.ts +43 -0
- package/node_modules/hono/dist/types/utils/jwt/types.d.ts +86 -0
- package/node_modules/hono/dist/types/utils/jwt/utf8.d.ts +6 -0
- package/node_modules/hono/dist/types/utils/mime.d.ts +70 -0
- package/node_modules/hono/dist/types/utils/stream.d.ts +31 -0
- package/node_modules/hono/dist/types/utils/types.d.ts +74 -0
- package/node_modules/hono/dist/types/utils/url.d.ts +39 -0
- package/node_modules/hono/dist/types/validator/index.d.ts +7 -0
- package/node_modules/hono/dist/types/validator/utils.d.ts +29 -0
- package/node_modules/hono/dist/types/validator/validator.d.ts +16 -0
- package/node_modules/hono/dist/types.js +6 -0
- package/node_modules/hono/dist/utils/accept.js +223 -0
- package/node_modules/hono/dist/utils/basic-auth.js +23 -0
- package/node_modules/hono/dist/utils/body.js +75 -0
- package/node_modules/hono/dist/utils/buffer.js +77 -0
- package/node_modules/hono/dist/utils/color.js +25 -0
- package/node_modules/hono/dist/utils/compress.js +5 -0
- package/node_modules/hono/dist/utils/concurrent.js +39 -0
- package/node_modules/hono/dist/utils/constants.js +5 -0
- package/node_modules/hono/dist/utils/cookie.js +173 -0
- package/node_modules/hono/dist/utils/crypto.js +44 -0
- package/node_modules/hono/dist/utils/encode.js +29 -0
- package/node_modules/hono/dist/utils/filepath.js +35 -0
- package/node_modules/hono/dist/utils/handler.js +13 -0
- package/node_modules/hono/dist/utils/headers.js +0 -0
- package/node_modules/hono/dist/utils/html.js +123 -0
- package/node_modules/hono/dist/utils/http-status.js +0 -0
- package/node_modules/hono/dist/utils/ipaddr.js +106 -0
- package/node_modules/hono/dist/utils/jwt/index.js +6 -0
- package/node_modules/hono/dist/utils/jwt/jwa.js +20 -0
- package/node_modules/hono/dist/utils/jwt/jws.js +192 -0
- package/node_modules/hono/dist/utils/jwt/jwt.js +201 -0
- package/node_modules/hono/dist/utils/jwt/types.js +124 -0
- package/node_modules/hono/dist/utils/jwt/utf8.js +7 -0
- package/node_modules/hono/dist/utils/mime.js +84 -0
- package/node_modules/hono/dist/utils/stream.js +79 -0
- package/node_modules/hono/dist/utils/types.js +0 -0
- package/node_modules/hono/dist/utils/url.js +222 -0
- package/node_modules/hono/dist/validator/index.js +5 -0
- package/node_modules/hono/dist/validator/utils.js +0 -0
- package/node_modules/hono/dist/validator/validator.js +86 -0
- package/node_modules/hono/package.json +692 -0
- package/node_modules/http-errors/HISTORY.md +186 -0
- package/node_modules/http-errors/LICENSE +23 -0
- package/node_modules/http-errors/README.md +169 -0
- package/node_modules/http-errors/index.js +290 -0
- package/node_modules/http-errors/package.json +54 -0
- package/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/iconv-lite/README.md +138 -0
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/node_modules/iconv-lite/encodings/utf32.js +307 -0
- package/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/node_modules/iconv-lite/lib/index.d.ts +129 -0
- package/node_modules/iconv-lite/lib/index.js +182 -0
- package/node_modules/iconv-lite/lib/streams.js +105 -0
- package/node_modules/iconv-lite/package.json +70 -0
- package/node_modules/iconv-lite/types/encodings.d.ts +423 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/ip-address/LICENSE +19 -0
- package/node_modules/ip-address/README.md +105 -0
- package/node_modules/ip-address/dist/address-error.d.ts +5 -0
- package/node_modules/ip-address/dist/address-error.d.ts.map +1 -0
- package/node_modules/ip-address/dist/address-error.js +12 -0
- package/node_modules/ip-address/dist/address-error.js.map +1 -0
- package/node_modules/ip-address/dist/common.d.ts +15 -0
- package/node_modules/ip-address/dist/common.d.ts.map +1 -0
- package/node_modules/ip-address/dist/common.js +46 -0
- package/node_modules/ip-address/dist/common.js.map +1 -0
- package/node_modules/ip-address/dist/ip-address.d.ts +8 -0
- package/node_modules/ip-address/dist/ip-address.d.ts.map +1 -0
- package/node_modules/ip-address/dist/ip-address.js +35 -0
- package/node_modules/ip-address/dist/ip-address.js.map +1 -0
- package/node_modules/ip-address/dist/ipv4.d.ts +209 -0
- package/node_modules/ip-address/dist/ipv4.d.ts.map +1 -0
- package/node_modules/ip-address/dist/ipv4.js +360 -0
- package/node_modules/ip-address/dist/ipv4.js.map +1 -0
- package/node_modules/ip-address/dist/ipv6.d.ts +428 -0
- package/node_modules/ip-address/dist/ipv6.d.ts.map +1 -0
- package/node_modules/ip-address/dist/ipv6.js +1003 -0
- package/node_modules/ip-address/dist/ipv6.js.map +1 -0
- package/node_modules/ip-address/dist/v4/constants.d.ts +5 -0
- package/node_modules/ip-address/dist/v4/constants.d.ts.map +1 -0
- package/node_modules/ip-address/dist/v4/constants.js +8 -0
- package/node_modules/ip-address/dist/v4/constants.js.map +1 -0
- package/node_modules/ip-address/dist/v6/constants.d.ts +45 -0
- package/node_modules/ip-address/dist/v6/constants.d.ts.map +1 -0
- package/node_modules/ip-address/dist/v6/constants.js +76 -0
- package/node_modules/ip-address/dist/v6/constants.js.map +1 -0
- package/node_modules/ip-address/dist/v6/helpers.d.ts +18 -0
- package/node_modules/ip-address/dist/v6/helpers.d.ts.map +1 -0
- package/node_modules/ip-address/dist/v6/helpers.js +45 -0
- package/node_modules/ip-address/dist/v6/helpers.js.map +1 -0
- package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +6 -0
- package/node_modules/ip-address/dist/v6/regular-expressions.d.ts.map +1 -0
- package/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
- package/node_modules/ip-address/dist/v6/regular-expressions.js.map +1 -0
- package/node_modules/ip-address/package.json +78 -0
- package/node_modules/ip-address/src/address-error.ts +11 -0
- package/node_modules/ip-address/src/common.ts +55 -0
- package/node_modules/ip-address/src/ip-address.ts +7 -0
- package/node_modules/ip-address/src/ipv4.ts +394 -0
- package/node_modules/ip-address/src/ipv6.ts +1212 -0
- package/node_modules/ip-address/src/v4/constants.ts +7 -0
- package/node_modules/ip-address/src/v6/constants.ts +79 -0
- package/node_modules/ip-address/src/v6/helpers.ts +48 -0
- package/node_modules/ip-address/src/v6/regular-expressions.ts +94 -0
- package/node_modules/ipaddr.js/LICENSE +19 -0
- package/node_modules/ipaddr.js/README.md +233 -0
- package/node_modules/ipaddr.js/ipaddr.min.js +1 -0
- package/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
- package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
- package/node_modules/ipaddr.js/package.json +35 -0
- package/node_modules/is-promise/LICENSE +19 -0
- package/node_modules/is-promise/index.d.ts +2 -0
- package/node_modules/is-promise/index.js +6 -0
- package/node_modules/is-promise/index.mjs +3 -0
- package/node_modules/is-promise/package.json +30 -0
- package/node_modules/is-promise/readme.md +33 -0
- package/node_modules/jose/LICENSE.md +21 -0
- package/node_modules/jose/README.md +153 -0
- package/node_modules/jose/dist/types/index.d.ts +55 -0
- package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +31 -0
- package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +65 -0
- package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +31 -0
- package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +83 -0
- package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +38 -0
- package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +74 -0
- package/node_modules/jose/dist/types/jwk/embedded.d.ts +17 -0
- package/node_modules/jose/dist/types/jwk/thumbprint.d.ts +32 -0
- package/node_modules/jose/dist/types/jwks/local.d.ts +29 -0
- package/node_modules/jose/dist/types/jwks/remote.d.ts +237 -0
- package/node_modules/jose/dist/types/jws/compact/sign.d.ts +36 -0
- package/node_modules/jose/dist/types/jws/compact/verify.d.ts +33 -0
- package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +42 -0
- package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +33 -0
- package/node_modules/jose/dist/types/jws/general/sign.d.ts +53 -0
- package/node_modules/jose/dist/types/jws/general/verify.d.ts +41 -0
- package/node_modules/jose/dist/types/jwt/decrypt.d.ts +35 -0
- package/node_modules/jose/dist/types/jwt/encrypt.d.ts +91 -0
- package/node_modules/jose/dist/types/jwt/sign.d.ts +43 -0
- package/node_modules/jose/dist/types/jwt/unsecured.d.ts +43 -0
- package/node_modules/jose/dist/types/jwt/verify.d.ts +37 -0
- package/node_modules/jose/dist/types/key/export.d.ts +33 -0
- package/node_modules/jose/dist/types/key/generate_key_pair.d.ts +47 -0
- package/node_modules/jose/dist/types/key/generate_secret.d.ts +35 -0
- package/node_modules/jose/dist/types/key/import.d.ts +83 -0
- package/node_modules/jose/dist/types/types.d.ts +852 -0
- package/node_modules/jose/dist/types/util/base64url.d.ts +9 -0
- package/node_modules/jose/dist/types/util/decode_jwt.d.ts +18 -0
- package/node_modules/jose/dist/types/util/decode_protected_header.d.ts +17 -0
- package/node_modules/jose/dist/types/util/errors.d.ts +213 -0
- package/node_modules/jose/dist/webapi/index.js +32 -0
- package/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +27 -0
- package/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +27 -0
- package/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +159 -0
- package/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +167 -0
- package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +31 -0
- package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +182 -0
- package/node_modules/jose/dist/webapi/jwk/embedded.js +17 -0
- package/node_modules/jose/dist/webapi/jwk/thumbprint.js +68 -0
- package/node_modules/jose/dist/webapi/jwks/local.js +119 -0
- package/node_modules/jose/dist/webapi/jwks/remote.js +179 -0
- package/node_modules/jose/dist/webapi/jws/compact/sign.js +18 -0
- package/node_modules/jose/dist/webapi/jws/compact/verify.js +21 -0
- package/node_modules/jose/dist/webapi/jws/flattened/sign.js +89 -0
- package/node_modules/jose/dist/webapi/jws/flattened/verify.js +110 -0
- package/node_modules/jose/dist/webapi/jws/general/sign.js +70 -0
- package/node_modules/jose/dist/webapi/jws/general/verify.js +24 -0
- package/node_modules/jose/dist/webapi/jwt/decrypt.js +23 -0
- package/node_modules/jose/dist/webapi/jwt/encrypt.js +101 -0
- package/node_modules/jose/dist/webapi/jwt/sign.js +52 -0
- package/node_modules/jose/dist/webapi/jwt/unsecured.js +63 -0
- package/node_modules/jose/dist/webapi/jwt/verify.js +15 -0
- package/node_modules/jose/dist/webapi/key/export.js +11 -0
- package/node_modules/jose/dist/webapi/key/generate_key_pair.js +97 -0
- package/node_modules/jose/dist/webapi/key/generate_secret.js +40 -0
- package/node_modules/jose/dist/webapi/key/import.js +57 -0
- package/node_modules/jose/dist/webapi/lib/aesgcmkw.js +15 -0
- package/node_modules/jose/dist/webapi/lib/aeskw.js +25 -0
- package/node_modules/jose/dist/webapi/lib/asn1.js +243 -0
- package/node_modules/jose/dist/webapi/lib/base64.js +22 -0
- package/node_modules/jose/dist/webapi/lib/buffer_utils.js +43 -0
- package/node_modules/jose/dist/webapi/lib/check_key_type.js +122 -0
- package/node_modules/jose/dist/webapi/lib/content_encryption.js +217 -0
- package/node_modules/jose/dist/webapi/lib/crypto_key.js +136 -0
- package/node_modules/jose/dist/webapi/lib/deflate.js +44 -0
- package/node_modules/jose/dist/webapi/lib/ecdhes.js +52 -0
- package/node_modules/jose/dist/webapi/lib/helpers.js +19 -0
- package/node_modules/jose/dist/webapi/lib/invalid_key_input.js +27 -0
- package/node_modules/jose/dist/webapi/lib/is_key_like.js +17 -0
- package/node_modules/jose/dist/webapi/lib/jwk_to_key.js +107 -0
- package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +238 -0
- package/node_modules/jose/dist/webapi/lib/key_management.js +186 -0
- package/node_modules/jose/dist/webapi/lib/key_to_jwk.js +31 -0
- package/node_modules/jose/dist/webapi/lib/normalize_key.js +166 -0
- package/node_modules/jose/dist/webapi/lib/pbes2kw.js +39 -0
- package/node_modules/jose/dist/webapi/lib/rsaes.js +24 -0
- package/node_modules/jose/dist/webapi/lib/signing.js +68 -0
- package/node_modules/jose/dist/webapi/lib/type_checks.js +40 -0
- package/node_modules/jose/dist/webapi/lib/validate_algorithms.js +10 -0
- package/node_modules/jose/dist/webapi/lib/validate_crit.js +33 -0
- package/node_modules/jose/dist/webapi/util/base64url.js +30 -0
- package/node_modules/jose/dist/webapi/util/decode_jwt.js +32 -0
- package/node_modules/jose/dist/webapi/util/decode_protected_header.js +34 -0
- package/node_modules/jose/dist/webapi/util/errors.js +99 -0
- package/node_modules/jose/package.json +200 -0
- package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/json-schema-traverse/README.md +95 -0
- package/node_modules/json-schema-traverse/index.d.ts +40 -0
- package/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/json-schema-traverse/package.json +43 -0
- package/node_modules/json-schema-typed/LICENSE.md +57 -0
- package/node_modules/json-schema-typed/README.md +108 -0
- package/node_modules/json-schema-typed/draft_07.d.ts +882 -0
- package/node_modules/json-schema-typed/draft_07.js +328 -0
- package/node_modules/json-schema-typed/draft_2019_09.d.ts +1247 -0
- package/node_modules/json-schema-typed/draft_2019_09.js +349 -0
- package/node_modules/json-schema-typed/draft_2020_12.d.ts +1239 -0
- package/node_modules/json-schema-typed/draft_2020_12.js +352 -0
- package/node_modules/json-schema-typed/package.json +44 -0
- package/node_modules/math-intrinsics/.eslintrc +16 -0
- package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/node_modules/math-intrinsics/LICENSE +21 -0
- package/node_modules/math-intrinsics/README.md +50 -0
- package/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/node_modules/math-intrinsics/abs.js +4 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/node_modules/math-intrinsics/floor.js +4 -0
- package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/node_modules/math-intrinsics/isFinite.js +12 -0
- package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/isInteger.js +16 -0
- package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/node_modules/math-intrinsics/isNaN.js +6 -0
- package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/node_modules/math-intrinsics/max.d.ts +1 -0
- package/node_modules/math-intrinsics/max.js +4 -0
- package/node_modules/math-intrinsics/min.d.ts +1 -0
- package/node_modules/math-intrinsics/min.js +4 -0
- package/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/node_modules/math-intrinsics/mod.js +9 -0
- package/node_modules/math-intrinsics/package.json +86 -0
- package/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/node_modules/math-intrinsics/pow.js +4 -0
- package/node_modules/math-intrinsics/round.d.ts +1 -0
- package/node_modules/math-intrinsics/round.js +4 -0
- package/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/node_modules/math-intrinsics/sign.js +11 -0
- package/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/node_modules/media-typer/HISTORY.md +50 -0
- package/node_modules/media-typer/LICENSE +22 -0
- package/node_modules/media-typer/README.md +93 -0
- package/node_modules/media-typer/index.js +143 -0
- package/node_modules/media-typer/package.json +33 -0
- package/node_modules/merge-descriptors/index.d.ts +11 -0
- package/node_modules/merge-descriptors/index.js +26 -0
- package/node_modules/merge-descriptors/license +11 -0
- package/node_modules/merge-descriptors/package.json +50 -0
- package/node_modules/merge-descriptors/readme.md +55 -0
- package/node_modules/mime-db/HISTORY.md +541 -0
- package/node_modules/mime-db/LICENSE +23 -0
- package/node_modules/mime-db/README.md +109 -0
- package/node_modules/mime-db/db.json +9342 -0
- package/node_modules/mime-db/index.js +12 -0
- package/node_modules/mime-db/package.json +56 -0
- package/node_modules/mime-types/HISTORY.md +428 -0
- package/node_modules/mime-types/LICENSE +23 -0
- package/node_modules/mime-types/README.md +126 -0
- package/node_modules/mime-types/index.js +211 -0
- package/node_modules/mime-types/mimeScore.js +57 -0
- package/node_modules/mime-types/package.json +49 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/negotiator/HISTORY.md +114 -0
- package/node_modules/negotiator/LICENSE +24 -0
- package/node_modules/negotiator/README.md +212 -0
- package/node_modules/negotiator/index.js +83 -0
- package/node_modules/negotiator/lib/charset.js +169 -0
- package/node_modules/negotiator/lib/encoding.js +205 -0
- package/node_modules/negotiator/lib/language.js +179 -0
- package/node_modules/negotiator/lib/mediaType.js +294 -0
- package/node_modules/negotiator/package.json +43 -0
- package/node_modules/object-assign/index.js +90 -0
- package/node_modules/object-assign/license +21 -0
- package/node_modules/object-assign/package.json +42 -0
- package/node_modules/object-assign/readme.md +61 -0
- package/node_modules/object-inspect/.eslintrc +53 -0
- package/node_modules/object-inspect/.github/FUNDING.yml +12 -0
- package/node_modules/object-inspect/.nycrc +13 -0
- package/node_modules/object-inspect/CHANGELOG.md +424 -0
- package/node_modules/object-inspect/LICENSE +21 -0
- package/node_modules/object-inspect/index.js +544 -0
- package/node_modules/object-inspect/package-support.json +20 -0
- package/node_modules/object-inspect/package.json +105 -0
- package/node_modules/object-inspect/readme.markdown +84 -0
- package/node_modules/object-inspect/test-core-js.js +26 -0
- package/node_modules/object-inspect/util.inspect.js +1 -0
- package/node_modules/on-finished/HISTORY.md +98 -0
- package/node_modules/on-finished/LICENSE +23 -0
- package/node_modules/on-finished/README.md +162 -0
- package/node_modules/on-finished/index.js +234 -0
- package/node_modules/on-finished/package.json +39 -0
- package/node_modules/once/LICENSE +15 -0
- package/node_modules/once/README.md +79 -0
- package/node_modules/once/once.js +42 -0
- package/node_modules/once/package.json +33 -0
- package/node_modules/parseurl/HISTORY.md +58 -0
- package/node_modules/parseurl/LICENSE +24 -0
- package/node_modules/parseurl/README.md +133 -0
- package/node_modules/parseurl/index.js +158 -0
- package/node_modules/parseurl/package.json +40 -0
- package/node_modules/path-key/index.d.ts +40 -0
- package/node_modules/path-key/index.js +16 -0
- package/node_modules/path-key/license +9 -0
- package/node_modules/path-key/package.json +39 -0
- package/node_modules/path-key/readme.md +61 -0
- package/node_modules/path-to-regexp/LICENSE +21 -0
- package/node_modules/path-to-regexp/Readme.md +224 -0
- package/node_modules/path-to-regexp/dist/index.d.ts +147 -0
- package/node_modules/path-to-regexp/dist/index.js +431 -0
- package/node_modules/path-to-regexp/dist/index.js.map +1 -0
- package/node_modules/path-to-regexp/package.json +64 -0
- package/node_modules/picocolors/LICENSE +15 -0
- package/node_modules/picocolors/README.md +21 -0
- package/node_modules/picocolors/package.json +25 -0
- package/node_modules/picocolors/picocolors.browser.js +4 -0
- package/node_modules/picocolors/picocolors.d.ts +5 -0
- package/node_modules/picocolors/picocolors.js +75 -0
- package/node_modules/picocolors/types.d.ts +51 -0
- package/node_modules/pkce-challenge/CHANGELOG.md +114 -0
- package/node_modules/pkce-challenge/LICENSE +21 -0
- package/node_modules/pkce-challenge/README.md +55 -0
- package/node_modules/pkce-challenge/dist/index.browser.d.ts +19 -0
- package/node_modules/pkce-challenge/dist/index.browser.js +75 -0
- package/node_modules/pkce-challenge/dist/index.node.cjs +83 -0
- package/node_modules/pkce-challenge/dist/index.node.d.cts +19 -0
- package/node_modules/pkce-challenge/dist/index.node.d.ts +19 -0
- package/node_modules/pkce-challenge/dist/index.node.js +78 -0
- package/node_modules/pkce-challenge/package.json +59 -0
- package/node_modules/proxy-addr/HISTORY.md +161 -0
- package/node_modules/proxy-addr/LICENSE +22 -0
- package/node_modules/proxy-addr/README.md +139 -0
- package/node_modules/proxy-addr/index.js +327 -0
- package/node_modules/proxy-addr/package.json +47 -0
- package/node_modules/qs/.editorconfig +46 -0
- package/node_modules/qs/.github/FUNDING.yml +12 -0
- package/node_modules/qs/.github/SECURITY.md +11 -0
- package/node_modules/qs/.github/THREAT_MODEL.md +78 -0
- package/node_modules/qs/.nycrc +13 -0
- package/node_modules/qs/CHANGELOG.md +812 -0
- package/node_modules/qs/LICENSE.md +29 -0
- package/node_modules/qs/README.md +758 -0
- package/node_modules/qs/dist/qs.js +141 -0
- package/node_modules/qs/eslint.config.mjs +56 -0
- package/node_modules/qs/lib/formats.js +23 -0
- package/node_modules/qs/lib/index.js +11 -0
- package/node_modules/qs/lib/parse.js +373 -0
- package/node_modules/qs/lib/stringify.js +356 -0
- package/node_modules/qs/lib/utils.js +342 -0
- package/node_modules/qs/package.json +94 -0
- package/node_modules/range-parser/HISTORY.md +56 -0
- package/node_modules/range-parser/LICENSE +23 -0
- package/node_modules/range-parser/README.md +84 -0
- package/node_modules/range-parser/index.js +162 -0
- package/node_modules/range-parser/package.json +44 -0
- package/node_modules/raw-body/LICENSE +22 -0
- package/node_modules/raw-body/README.md +223 -0
- package/node_modules/raw-body/index.d.ts +85 -0
- package/node_modules/raw-body/index.js +336 -0
- package/node_modules/raw-body/package.json +46 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +28 -0
- package/node_modules/require-from-string/readme.md +56 -0
- package/node_modules/router/HISTORY.md +228 -0
- package/node_modules/router/LICENSE +23 -0
- package/node_modules/router/README.md +416 -0
- package/node_modules/router/index.js +748 -0
- package/node_modules/router/lib/layer.js +247 -0
- package/node_modules/router/lib/route.js +242 -0
- package/node_modules/router/package.json +44 -0
- package/node_modules/safer-buffer/LICENSE +21 -0
- package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/node_modules/safer-buffer/Readme.md +156 -0
- package/node_modules/safer-buffer/dangerous.js +58 -0
- package/node_modules/safer-buffer/package.json +34 -0
- package/node_modules/safer-buffer/safer.js +77 -0
- package/node_modules/safer-buffer/tests.js +406 -0
- package/node_modules/send/LICENSE +23 -0
- package/node_modules/send/README.md +317 -0
- package/node_modules/send/index.js +997 -0
- package/node_modules/send/package.json +63 -0
- package/node_modules/serve-static/LICENSE +25 -0
- package/node_modules/serve-static/README.md +253 -0
- package/node_modules/serve-static/index.js +208 -0
- package/node_modules/serve-static/package.json +44 -0
- package/node_modules/setprototypeof/LICENSE +13 -0
- package/node_modules/setprototypeof/README.md +31 -0
- package/node_modules/setprototypeof/index.d.ts +2 -0
- package/node_modules/setprototypeof/index.js +17 -0
- package/node_modules/setprototypeof/package.json +38 -0
- package/node_modules/shebang-command/index.js +19 -0
- package/node_modules/shebang-command/license +9 -0
- package/node_modules/shebang-command/package.json +34 -0
- package/node_modules/shebang-command/readme.md +34 -0
- package/node_modules/shebang-regex/index.d.ts +22 -0
- package/node_modules/shebang-regex/index.js +2 -0
- package/node_modules/shebang-regex/license +9 -0
- package/node_modules/shebang-regex/package.json +35 -0
- package/node_modules/shebang-regex/readme.md +33 -0
- package/node_modules/side-channel/.editorconfig +9 -0
- package/node_modules/side-channel/.eslintrc +12 -0
- package/node_modules/side-channel/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel/.nycrc +13 -0
- package/node_modules/side-channel/CHANGELOG.md +110 -0
- package/node_modules/side-channel/LICENSE +21 -0
- package/node_modules/side-channel/README.md +61 -0
- package/node_modules/side-channel/index.d.ts +14 -0
- package/node_modules/side-channel/index.js +43 -0
- package/node_modules/side-channel/package.json +85 -0
- package/node_modules/side-channel/tsconfig.json +9 -0
- package/node_modules/side-channel-list/.editorconfig +9 -0
- package/node_modules/side-channel-list/.eslintrc +11 -0
- package/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel-list/.nycrc +13 -0
- package/node_modules/side-channel-list/CHANGELOG.md +36 -0
- package/node_modules/side-channel-list/LICENSE +21 -0
- package/node_modules/side-channel-list/README.md +62 -0
- package/node_modules/side-channel-list/index.d.ts +13 -0
- package/node_modules/side-channel-list/index.js +111 -0
- package/node_modules/side-channel-list/list.d.ts +14 -0
- package/node_modules/side-channel-list/package.json +77 -0
- package/node_modules/side-channel-list/tsconfig.json +9 -0
- package/node_modules/side-channel-map/.editorconfig +9 -0
- package/node_modules/side-channel-map/.eslintrc +11 -0
- package/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel-map/.nycrc +13 -0
- package/node_modules/side-channel-map/CHANGELOG.md +22 -0
- package/node_modules/side-channel-map/LICENSE +21 -0
- package/node_modules/side-channel-map/README.md +62 -0
- package/node_modules/side-channel-map/index.d.ts +15 -0
- package/node_modules/side-channel-map/index.js +68 -0
- package/node_modules/side-channel-map/package.json +80 -0
- package/node_modules/side-channel-map/tsconfig.json +9 -0
- package/node_modules/side-channel-weakmap/.editorconfig +9 -0
- package/node_modules/side-channel-weakmap/.eslintrc +12 -0
- package/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel-weakmap/.nycrc +13 -0
- package/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
- package/node_modules/side-channel-weakmap/LICENSE +21 -0
- package/node_modules/side-channel-weakmap/README.md +62 -0
- package/node_modules/side-channel-weakmap/index.d.ts +15 -0
- package/node_modules/side-channel-weakmap/index.js +84 -0
- package/node_modules/side-channel-weakmap/package.json +87 -0
- package/node_modules/side-channel-weakmap/tsconfig.json +9 -0
- package/node_modules/sisteransi/license +21 -0
- package/node_modules/sisteransi/package.json +34 -0
- package/node_modules/sisteransi/readme.md +113 -0
- package/node_modules/sisteransi/src/index.js +58 -0
- package/node_modules/sisteransi/src/sisteransi.d.ts +35 -0
- package/node_modules/statuses/HISTORY.md +87 -0
- package/node_modules/statuses/LICENSE +23 -0
- package/node_modules/statuses/README.md +139 -0
- package/node_modules/statuses/codes.json +65 -0
- package/node_modules/statuses/index.js +146 -0
- package/node_modules/statuses/package.json +49 -0
- package/node_modules/toidentifier/HISTORY.md +9 -0
- package/node_modules/toidentifier/LICENSE +21 -0
- package/node_modules/toidentifier/README.md +61 -0
- package/node_modules/toidentifier/index.js +32 -0
- package/node_modules/toidentifier/package.json +38 -0
- package/node_modules/type-is/HISTORY.md +292 -0
- package/node_modules/type-is/LICENSE +23 -0
- package/node_modules/type-is/README.md +198 -0
- package/node_modules/type-is/index.js +250 -0
- package/node_modules/type-is/package.json +47 -0
- package/node_modules/unpipe/HISTORY.md +4 -0
- package/node_modules/unpipe/LICENSE +22 -0
- package/node_modules/unpipe/README.md +43 -0
- package/node_modules/unpipe/index.js +69 -0
- package/node_modules/unpipe/package.json +27 -0
- package/node_modules/vary/HISTORY.md +39 -0
- package/node_modules/vary/LICENSE +22 -0
- package/node_modules/vary/README.md +101 -0
- package/node_modules/vary/index.js +149 -0
- package/node_modules/vary/package.json +43 -0
- package/node_modules/wrappy/LICENSE +15 -0
- package/node_modules/wrappy/README.md +36 -0
- package/node_modules/wrappy/package.json +29 -0
- package/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/ws/LICENSE +20 -0
- package/node_modules/ws/README.md +548 -0
- package/node_modules/ws/browser.js +8 -0
- package/node_modules/ws/index.js +22 -0
- package/node_modules/ws/lib/buffer-util.js +131 -0
- package/node_modules/ws/lib/constants.js +19 -0
- package/node_modules/ws/lib/event-target.js +292 -0
- package/node_modules/ws/lib/extension.js +203 -0
- package/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/node_modules/ws/lib/receiver.js +706 -0
- package/node_modules/ws/lib/sender.js +602 -0
- package/node_modules/ws/lib/stream.js +161 -0
- package/node_modules/ws/lib/subprotocol.js +62 -0
- package/node_modules/ws/lib/validation.js +152 -0
- package/node_modules/ws/lib/websocket-server.js +554 -0
- package/node_modules/ws/lib/websocket.js +1393 -0
- package/node_modules/ws/package.json +70 -0
- package/node_modules/ws/wrapper.mjs +21 -0
- package/node_modules/yaml/LICENSE +13 -0
- package/node_modules/yaml/README.md +172 -0
- package/node_modules/yaml/bin.mjs +11 -0
- package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
- package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/node_modules/yaml/browser/dist/compose/composer.js +217 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +223 -0
- package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/node_modules/yaml/browser/dist/errors.js +57 -0
- package/node_modules/yaml/browser/dist/index.js +17 -0
- package/node_modules/yaml/browser/dist/log.js +11 -0
- package/node_modules/yaml/browser/dist/nodes/Alias.js +114 -0
- package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/node_modules/yaml/browser/dist/parse/lexer.js +717 -0
- package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/node_modules/yaml/browser/dist/parse/parser.js +967 -0
- package/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +64 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +24 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/node_modules/yaml/browser/dist/util.js +11 -0
- package/node_modules/yaml/browser/dist/visit.js +233 -0
- package/node_modules/yaml/browser/index.js +5 -0
- package/node_modules/yaml/browser/package.json +3 -0
- package/node_modules/yaml/dist/cli.d.ts +8 -0
- package/node_modules/yaml/dist/cli.mjs +201 -0
- package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/node_modules/yaml/dist/compose/compose-node.js +112 -0
- package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
- package/node_modules/yaml/dist/compose/composer.js +222 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
- package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/node_modules/yaml/dist/doc/Document.js +337 -0
- package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/node_modules/yaml/dist/doc/directives.js +178 -0
- package/node_modules/yaml/dist/errors.d.ts +21 -0
- package/node_modules/yaml/dist/errors.js +62 -0
- package/node_modules/yaml/dist/index.d.ts +25 -0
- package/node_modules/yaml/dist/index.js +50 -0
- package/node_modules/yaml/dist/log.d.ts +3 -0
- package/node_modules/yaml/dist/log.js +19 -0
- package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/Alias.js +116 -0
- package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
- package/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/node_modules/yaml/dist/nodes/Scalar.d.ts +43 -0
- package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/node_modules/yaml/dist/options.d.ts +350 -0
- package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
- package/node_modules/yaml/dist/parse/cst.js +112 -0
- package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/node_modules/yaml/dist/parse/lexer.js +719 -0
- package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/node_modules/yaml/dist/parse/parser.js +972 -0
- package/node_modules/yaml/dist/public-api.d.ts +44 -0
- package/node_modules/yaml/dist/public-api.js +107 -0
- package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/node_modules/yaml/dist/schema/tags.js +99 -0
- package/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/node_modules/yaml/dist/stringify/stringify.js +132 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/node_modules/yaml/dist/test-events.js +134 -0
- package/node_modules/yaml/dist/util.d.ts +16 -0
- package/node_modules/yaml/dist/util.js +28 -0
- package/node_modules/yaml/dist/visit.d.ts +102 -0
- package/node_modules/yaml/dist/visit.js +236 -0
- package/node_modules/yaml/package.json +97 -0
- package/node_modules/yaml/util.js +2 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +208 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.d.cts +4 -0
- package/node_modules/zod/index.d.ts +4 -0
- package/node_modules/zod/index.js +4 -0
- package/node_modules/zod/locales/index.cjs +17 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +6 -0
- package/node_modules/zod/mini/index.cjs +32 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +6 -0
- package/node_modules/zod/package.json +135 -0
- package/node_modules/zod/src/index.ts +4 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/node_modules/zod/src/v4/classic/external.ts +51 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +643 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2409 -0
- package/node_modules/zod/src/v4/core/api.ts +1798 -0
- package/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/zod/src/v4/core/core.ts +138 -0
- package/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/zod/src/v4/core/errors.ts +448 -0
- package/node_modules/zod/src/v4/core/index.ts +16 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +667 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/node_modules/zod/src/v4/core/regexes.ts +183 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +4538 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +613 -0
- package/node_modules/zod/src/v4/core/util.ts +966 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/node_modules/zod/src/v4/locales/en.ts +119 -0
- package/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/node_modules/zod/src/v4/locales/fr.ts +116 -0
- package/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/node_modules/zod/src/v4/locales/index.ts +49 -0
- package/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/node_modules/zod/src/v4/locales/uz.ts +116 -0
- package/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +1916 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +6 -0
- package/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3777 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3695 -0
- package/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/zod/v4/classic/errors.js +48 -0
- package/node_modules/zod/v4/classic/external.cjs +73 -0
- package/node_modules/zod/v4/classic/external.d.cts +15 -0
- package/node_modules/zod/v4/classic/external.d.ts +15 -0
- package/node_modules/zod/v4/classic/external.js +20 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +610 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +584 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/zod/v4/classic/package.json +6 -0
- package/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/node_modules/zod/v4/classic/parse.js +15 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1272 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +739 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +739 -0
- package/node_modules/zod/v4/classic/schemas.js +1157 -0
- package/node_modules/zod/v4/core/api.cjs +1222 -0
- package/node_modules/zod/v4/core/api.d.cts +304 -0
- package/node_modules/zod/v4/core/api.d.ts +304 -0
- package/node_modules/zod/v4/core/api.js +1082 -0
- package/node_modules/zod/v4/core/checks.cjs +601 -0
- package/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/zod/v4/core/checks.js +575 -0
- package/node_modules/zod/v4/core/core.cjs +83 -0
- package/node_modules/zod/v4/core/core.d.cts +70 -0
- package/node_modules/zod/v4/core/core.d.ts +70 -0
- package/node_modules/zod/v4/core/core.js +76 -0
- package/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/zod/v4/core/errors.cjs +213 -0
- package/node_modules/zod/v4/core/errors.d.cts +220 -0
- package/node_modules/zod/v4/core/errors.d.ts +220 -0
- package/node_modules/zod/v4/core/errors.js +182 -0
- package/node_modules/zod/v4/core/index.cjs +47 -0
- package/node_modules/zod/v4/core/index.d.cts +16 -0
- package/node_modules/zod/v4/core/index.d.ts +16 -0
- package/node_modules/zod/v4/core/index.js +16 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +648 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +605 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/package.json +6 -0
- package/node_modules/zod/v4/core/parse.cjs +131 -0
- package/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/node_modules/zod/v4/core/parse.js +93 -0
- package/node_modules/zod/v4/core/regexes.cjs +166 -0
- package/node_modules/zod/v4/core/regexes.d.cts +79 -0
- package/node_modules/zod/v4/core/regexes.d.ts +79 -0
- package/node_modules/zod/v4/core/regexes.js +133 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2124 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1146 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1146 -0
- package/node_modules/zod/v4/core/schemas.js +2093 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +446 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.js +437 -0
- package/node_modules/zod/v4/core/util.cjs +710 -0
- package/node_modules/zod/v4/core/util.d.cts +199 -0
- package/node_modules/zod/v4/core/util.d.ts +199 -0
- package/node_modules/zod/v4/core/util.js +651 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +3 -0
- package/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +106 -0
- package/node_modules/zod/v4/locales/az.cjs +132 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +105 -0
- package/node_modules/zod/v4/locales/be.cjs +183 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +156 -0
- package/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +120 -0
- package/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +107 -0
- package/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +111 -0
- package/node_modules/zod/v4/locales/da.cjs +142 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +115 -0
- package/node_modules/zod/v4/locales/de.cjs +135 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +108 -0
- package/node_modules/zod/v4/locales/en.cjs +136 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +109 -0
- package/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +109 -0
- package/node_modules/zod/v4/locales/es.cjs +159 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +132 -0
- package/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +114 -0
- package/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +112 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/node_modules/zod/v4/locales/fr.cjs +135 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +108 -0
- package/node_modules/zod/v4/locales/he.cjs +241 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +214 -0
- package/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +108 -0
- package/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +147 -0
- package/node_modules/zod/v4/locales/id.cjs +133 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +106 -0
- package/node_modules/zod/v4/locales/index.cjs +104 -0
- package/node_modules/zod/v4/locales/index.d.cts +49 -0
- package/node_modules/zod/v4/locales/index.d.ts +49 -0
- package/node_modules/zod/v4/locales/index.js +49 -0
- package/node_modules/zod/v4/locales/is.cjs +136 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +109 -0
- package/node_modules/zod/v4/locales/it.cjs +135 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +108 -0
- package/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +107 -0
- package/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +112 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +137 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +110 -0
- package/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +111 -0
- package/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +203 -0
- package/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +109 -0
- package/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +107 -0
- package/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +110 -0
- package/node_modules/zod/v4/locales/no.cjs +135 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +108 -0
- package/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +109 -0
- package/node_modules/zod/v4/locales/package.json +6 -0
- package/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +109 -0
- package/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +114 -0
- package/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +108 -0
- package/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +156 -0
- package/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +109 -0
- package/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +110 -0
- package/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +110 -0
- package/node_modules/zod/v4/locales/th.cjs +137 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +110 -0
- package/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +105 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +108 -0
- package/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +110 -0
- package/node_modules/zod/v4/locales/uz.cjs +136 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +109 -0
- package/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +108 -0
- package/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +107 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/external.cjs +63 -0
- package/node_modules/zod/v4/mini/external.d.cts +12 -0
- package/node_modules/zod/v4/mini/external.d.ts +12 -0
- package/node_modules/zod/v4/mini/external.js +14 -0
- package/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +6 -0
- package/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1046 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +427 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +427 -0
- package/node_modules/zod/v4/mini/schemas.js +925 -0
- package/node_modules/zod/v4/package.json +6 -0
- package/node_modules/zod/v4-mini/index.cjs +32 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +6 -0
- package/node_modules/zod-to-json-schema/.github/CR_logotype-full-color.png +0 -0
- package/node_modules/zod-to-json-schema/.github/FUNDING.yml +1 -0
- package/node_modules/zod-to-json-schema/.prettierrc.json +1 -0
- package/node_modules/zod-to-json-schema/LICENSE +15 -0
- package/node_modules/zod-to-json-schema/README.md +390 -0
- package/node_modules/zod-to-json-schema/changelog.md +83 -0
- package/node_modules/zod-to-json-schema/contributing.md +9 -0
- package/node_modules/zod-to-json-schema/createIndex.ts +32 -0
- package/node_modules/zod-to-json-schema/dist/cjs/Options.js +51 -0
- package/node_modules/zod-to-json-schema/dist/cjs/Refs.js +26 -0
- package/node_modules/zod-to-json-schema/dist/cjs/errorMessages.js +19 -0
- package/node_modules/zod-to-json-schema/dist/cjs/getRelativePath.js +12 -0
- package/node_modules/zod-to-json-schema/dist/cjs/index.js +56 -0
- package/node_modules/zod-to-json-schema/dist/cjs/package.json +1 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parseDef.js +66 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parseTypes.js +2 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/any.js +21 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/array.js +30 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/bigint.js +53 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/boolean.js +9 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/branded.js +8 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/catch.js +8 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/date.js +50 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/default.js +11 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/effects.js +11 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/enum.js +10 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/intersection.js +56 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/literal.js +25 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/map.js +30 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/nativeEnum.js +20 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/never.js +15 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/null.js +14 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/nullable.js +37 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/number.js +56 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/object.js +76 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/optional.js +25 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/pipeline.js +24 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/promise.js +8 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/readonly.js +8 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/record.js +65 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/set.js +24 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/string.js +356 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/tuple.js +36 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/undefined.js +10 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/union.js +84 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/unknown.js +8 -0
- package/node_modules/zod-to-json-schema/dist/cjs/selectParser.js +109 -0
- package/node_modules/zod-to-json-schema/dist/cjs/zodToJsonSchema.js +90 -0
- package/node_modules/zod-to-json-schema/dist/esm/Options.js +46 -0
- package/node_modules/zod-to-json-schema/dist/esm/Refs.js +22 -0
- package/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +14 -0
- package/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js +8 -0
- package/node_modules/zod-to-json-schema/dist/esm/index.js +40 -0
- package/node_modules/zod-to-json-schema/dist/esm/package.json +1 -0
- package/node_modules/zod-to-json-schema/dist/esm/parseDef.js +62 -0
- package/node_modules/zod-to-json-schema/dist/esm/parseTypes.js +1 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +17 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +26 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +49 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +5 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +4 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +4 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +46 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +7 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +7 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +6 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +52 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +21 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +26 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +16 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +11 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +10 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +33 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +52 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +72 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +21 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +20 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +4 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +4 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +61 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +20 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +352 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +32 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +6 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +80 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +4 -0
- package/node_modules/zod-to-json-schema/dist/esm/selectParser.js +105 -0
- package/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +87 -0
- package/node_modules/zod-to-json-schema/dist/types/Options.d.ts +37 -0
- package/node_modules/zod-to-json-schema/dist/types/Refs.d.ts +17 -0
- package/node_modules/zod-to-json-schema/dist/types/errorMessages.d.ts +15 -0
- package/node_modules/zod-to-json-schema/dist/types/getRelativePath.d.ts +1 -0
- package/node_modules/zod-to-json-schema/dist/types/index.d.ts +40 -0
- package/node_modules/zod-to-json-schema/dist/types/parseDef.d.ts +4 -0
- package/node_modules/zod-to-json-schema/dist/types/parseTypes.d.ts +34 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/any.d.ts +5 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/array.d.ts +12 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/bigint.d.ts +14 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/boolean.d.ts +4 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/branded.d.ts +3 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/catch.d.ts +3 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/date.d.ts +15 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/default.d.ts +6 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/effects.d.ts +4 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/enum.d.ts +6 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/intersection.d.ts +8 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/literal.d.ts +9 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/map.d.ts +15 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/nativeEnum.d.ts +6 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/never.d.ts +6 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/null.d.ts +5 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/nullable.d.ts +10 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/number.d.ts +13 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/object.d.ts +10 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/optional.d.ts +4 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/pipeline.d.ts +5 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/promise.d.ts +4 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/readonly.d.ts +3 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/record.d.ts +13 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/set.d.ts +13 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/string.d.ts +73 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/tuple.d.ts +13 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/undefined.d.ts +6 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/union.d.ts +23 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/unknown.d.ts +4 -0
- package/node_modules/zod-to-json-schema/dist/types/selectParser.d.ts +5 -0
- package/node_modules/zod-to-json-schema/dist/types/zodToJsonSchema.d.ts +10 -0
- package/node_modules/zod-to-json-schema/package.json +85 -0
- package/node_modules/zod-to-json-schema/postcjs.ts +3 -0
- package/node_modules/zod-to-json-schema/postesm.ts +3 -0
- package/package.json +65 -0
|
@@ -0,0 +1,1699 @@
|
|
|
1
|
+
import { spawn } from "node:child_process";
|
|
2
|
+
import { randomBytes } from "node:crypto";
|
|
3
|
+
import fs from "node:fs/promises";
|
|
4
|
+
import net from "node:net";
|
|
5
|
+
import os from "node:os";
|
|
6
|
+
import path from "node:path";
|
|
7
|
+
import WebSocket, {} from "ws";
|
|
8
|
+
import { GDH_RECIPE_SCHEMA_VERSION, GDH_RUNTIME_RECIPE_RUN_VERSION, definePackageBoundary, presentPublicRuntimeTerms, resolveConfiguredGodotEditorBin, } from "@gdh/core";
|
|
9
|
+
import { parse } from "yaml";
|
|
10
|
+
import { inspectRuntimeBridgeSurface } from "./bridge-surface.js";
|
|
11
|
+
export { inspectRuntimeBridgeSurface, installRuntimeBridgeSurface, removeRuntimeBridgeSurface, repairRuntimeBridgeSurface, resolveRuntimeBridgeConfig, } from "./bridge-surface.js";
|
|
12
|
+
export const runtimePackage = definePackageBoundary({
|
|
13
|
+
name: "@gdh/runtime",
|
|
14
|
+
layer: "capability",
|
|
15
|
+
responsibility: "Local run adapters, runtime bridge coordination, and runtime readiness surfaces.",
|
|
16
|
+
allowedInternalDependencies: ["@gdh/core"],
|
|
17
|
+
});
|
|
18
|
+
const PRIMARY_RUN_CONFIGURATION_DIRECTORY = ".gdh/run-configurations";
|
|
19
|
+
const LEGACY_RECIPE_DIRECTORY = ".gdh/recipes";
|
|
20
|
+
export async function listRuntimeRecipes(input) {
|
|
21
|
+
const context = await loadRuntimeRecipeContext(input);
|
|
22
|
+
const recipes = context.recipes.map((recipe) => ({
|
|
23
|
+
id: recipe.id,
|
|
24
|
+
name: recipe.name,
|
|
25
|
+
status: recipe.status,
|
|
26
|
+
projectPath: recipe.projectPath,
|
|
27
|
+
launchKind: recipe.launch.kind,
|
|
28
|
+
providers: recipe.providers,
|
|
29
|
+
}));
|
|
30
|
+
if (recipes.length === 0) {
|
|
31
|
+
return {
|
|
32
|
+
targetPath: input.targetPath,
|
|
33
|
+
state: "unavailable",
|
|
34
|
+
summary: input.projectConfig === null
|
|
35
|
+
? "Runtime recipes are unavailable because the target has not been onboarded yet."
|
|
36
|
+
: "No runtime recipes are defined for this target yet.",
|
|
37
|
+
reasons: input.projectConfig === null
|
|
38
|
+
? ["project_not_onboarded", "no_recipes_defined"]
|
|
39
|
+
: ["no_recipes_defined"],
|
|
40
|
+
projectConfigPresent: input.projectConfig !== null,
|
|
41
|
+
recipes,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
targetPath: input.targetPath,
|
|
46
|
+
state: "ready",
|
|
47
|
+
summary: `Loaded ${recipes.length} runtime recipe(s).`,
|
|
48
|
+
reasons: [],
|
|
49
|
+
projectConfigPresent: input.projectConfig !== null,
|
|
50
|
+
recipes,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export async function showRuntimeRecipe(input) {
|
|
54
|
+
const context = await loadRuntimeRecipeContext(input);
|
|
55
|
+
const recipe = context.recipes.find((entry) => entry.id === input.recipeId) ?? null;
|
|
56
|
+
if (recipe === null) {
|
|
57
|
+
return {
|
|
58
|
+
targetPath: input.targetPath,
|
|
59
|
+
state: "unavailable",
|
|
60
|
+
summary: `Runtime recipe "${input.recipeId}" was not found.`,
|
|
61
|
+
reasons: ["recipe_not_found"],
|
|
62
|
+
recipe: null,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
targetPath: input.targetPath,
|
|
67
|
+
state: "ready",
|
|
68
|
+
summary: `Loaded runtime recipe "${recipe.id}".`,
|
|
69
|
+
reasons: [],
|
|
70
|
+
recipe,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
export async function checkRuntimeRecipe(input) {
|
|
74
|
+
const context = await loadRuntimeRecipeContext(input);
|
|
75
|
+
return inspectRuntimeRecipe({
|
|
76
|
+
...input,
|
|
77
|
+
evaluationRootPath: input.targetPath,
|
|
78
|
+
context,
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
export async function runRuntimeRecipe(input) {
|
|
82
|
+
const liveCheck = await checkRuntimeRecipe(input);
|
|
83
|
+
if (liveCheck.state !== "runnable" || liveCheck.recipe === null) {
|
|
84
|
+
return {
|
|
85
|
+
version: GDH_RUNTIME_RECIPE_RUN_VERSION,
|
|
86
|
+
targetPath: input.targetPath,
|
|
87
|
+
recipeId: input.recipeId,
|
|
88
|
+
state: "blocked",
|
|
89
|
+
summary: liveCheck.summary,
|
|
90
|
+
reasons: liveCheck.reasons,
|
|
91
|
+
recipe: liveCheck.recipe,
|
|
92
|
+
check: liveCheck,
|
|
93
|
+
session: null,
|
|
94
|
+
startedAt: null,
|
|
95
|
+
finishedAt: new Date().toISOString(),
|
|
96
|
+
exitCode: null,
|
|
97
|
+
launchCommand: liveCheck.launchPreview?.command ?? null,
|
|
98
|
+
artifacts: [],
|
|
99
|
+
statusPromotion: "none",
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
const workspace = await prepareWorkspace(input.targetPath, input.workspaceMode);
|
|
103
|
+
try {
|
|
104
|
+
const executionContext = await loadRuntimeRecipeContext({
|
|
105
|
+
targetPath: workspace.workspacePath,
|
|
106
|
+
projectConfig: input.projectConfig,
|
|
107
|
+
});
|
|
108
|
+
const executionCheck = await inspectRuntimeRecipe({
|
|
109
|
+
...input,
|
|
110
|
+
evaluationRootPath: workspace.workspacePath,
|
|
111
|
+
context: executionContext,
|
|
112
|
+
});
|
|
113
|
+
if (executionCheck.state !== "runnable" || executionCheck.launchPreview === null) {
|
|
114
|
+
return {
|
|
115
|
+
version: GDH_RUNTIME_RECIPE_RUN_VERSION,
|
|
116
|
+
targetPath: input.targetPath,
|
|
117
|
+
recipeId: input.recipeId,
|
|
118
|
+
state: "blocked",
|
|
119
|
+
summary: executionCheck.summary,
|
|
120
|
+
reasons: executionCheck.reasons,
|
|
121
|
+
recipe: executionCheck.recipe,
|
|
122
|
+
check: executionCheck,
|
|
123
|
+
session: {
|
|
124
|
+
launchMode: "gdh_launch",
|
|
125
|
+
workspaceMode: input.workspaceMode,
|
|
126
|
+
targetPath: input.targetPath,
|
|
127
|
+
workingCopyPath: input.workspaceMode === "isolated_copy" ? workspace.workspacePath : null,
|
|
128
|
+
},
|
|
129
|
+
startedAt: null,
|
|
130
|
+
finishedAt: new Date().toISOString(),
|
|
131
|
+
exitCode: null,
|
|
132
|
+
launchCommand: executionCheck.launchPreview?.command ?? null,
|
|
133
|
+
artifacts: [],
|
|
134
|
+
statusPromotion: "none",
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
const session = {
|
|
138
|
+
launchMode: "gdh_launch",
|
|
139
|
+
workspaceMode: input.workspaceMode,
|
|
140
|
+
targetPath: input.targetPath,
|
|
141
|
+
workingCopyPath: input.workspaceMode === "isolated_copy" ? workspace.workspacePath : null,
|
|
142
|
+
};
|
|
143
|
+
const artifactDirectory = input.artifactDirectory ??
|
|
144
|
+
(await createRunArtifactDirectory(input.targetPath, `recipe-${input.recipeId}`));
|
|
145
|
+
await fs.mkdir(artifactDirectory, { recursive: true });
|
|
146
|
+
const startedAt = new Date().toISOString();
|
|
147
|
+
let execution = null;
|
|
148
|
+
try {
|
|
149
|
+
execution = await executeCommand(executionCheck.launchPreview, artifactDirectory, executionCheck.recipe?.launch.kind ?? "project_launch_adapter", input.maxRuntimeSeconds ?? null);
|
|
150
|
+
}
|
|
151
|
+
catch (error) {
|
|
152
|
+
execution = {
|
|
153
|
+
exitCode: 1,
|
|
154
|
+
state: "failed",
|
|
155
|
+
reasons: ["launch_process_error"],
|
|
156
|
+
summaryOverride: null,
|
|
157
|
+
artifacts: [
|
|
158
|
+
{
|
|
159
|
+
id: "launch-error",
|
|
160
|
+
path: artifactDirectory,
|
|
161
|
+
description: `Runtime launch failed before the process exited: ${error instanceof Error ? error.message : String(error)}`,
|
|
162
|
+
},
|
|
163
|
+
],
|
|
164
|
+
errorMessage: error instanceof Error ? error.message : String(error),
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
const finishedAt = new Date().toISOString();
|
|
168
|
+
const reportPath = path.join(artifactDirectory, "report.json");
|
|
169
|
+
const result = {
|
|
170
|
+
version: GDH_RUNTIME_RECIPE_RUN_VERSION,
|
|
171
|
+
targetPath: input.targetPath,
|
|
172
|
+
recipeId: input.recipeId,
|
|
173
|
+
state: execution.state,
|
|
174
|
+
summary: execution.summaryOverride ??
|
|
175
|
+
(execution.state === "passed"
|
|
176
|
+
? `Runtime recipe "${input.recipeId}" ran successfully.`
|
|
177
|
+
: execution.errorMessage !== null
|
|
178
|
+
? `Runtime recipe "${input.recipeId}" failed before the process exited: ${execution.errorMessage}.`
|
|
179
|
+
: `Runtime recipe "${input.recipeId}" exited with code ${execution.exitCode}.`),
|
|
180
|
+
reasons: execution.errorMessage !== null
|
|
181
|
+
? ["launch_process_error"]
|
|
182
|
+
: execution.reasons,
|
|
183
|
+
recipe: executionCheck.recipe,
|
|
184
|
+
check: executionCheck,
|
|
185
|
+
session,
|
|
186
|
+
startedAt,
|
|
187
|
+
finishedAt,
|
|
188
|
+
exitCode: execution.exitCode,
|
|
189
|
+
launchCommand: executionCheck.launchPreview.command,
|
|
190
|
+
artifacts: [
|
|
191
|
+
...execution.artifacts,
|
|
192
|
+
{
|
|
193
|
+
id: "report",
|
|
194
|
+
path: reportPath,
|
|
195
|
+
description: "Structured runtime recipe report for this execution.",
|
|
196
|
+
},
|
|
197
|
+
],
|
|
198
|
+
statusPromotion: execution.state === "passed" && executionCheck.recipe?.status === "draft"
|
|
199
|
+
? "candidate_observed"
|
|
200
|
+
: "none",
|
|
201
|
+
};
|
|
202
|
+
await fs.writeFile(reportPath, `${JSON.stringify(presentPublicRuntimeTerms(result), null, 2)}\n`, "utf8");
|
|
203
|
+
return result;
|
|
204
|
+
}
|
|
205
|
+
finally {
|
|
206
|
+
await workspace.cleanup();
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
export async function inspectRuntimeRecipeRunState(result) {
|
|
210
|
+
const launchArtifactPath = result.artifacts.find((entry) => entry.id === "launch")?.path ?? null;
|
|
211
|
+
const stdoutArtifactPath = result.artifacts.find((entry) => entry.id === "stdout")?.path ?? null;
|
|
212
|
+
const stderrArtifactPath = result.artifacts.find((entry) => entry.id === "stderr")?.path ?? null;
|
|
213
|
+
const reportArtifactPath = result.artifacts.find((entry) => entry.id === "report")?.path ?? null;
|
|
214
|
+
return [
|
|
215
|
+
await inspectJsonArtifact({
|
|
216
|
+
id: "launch",
|
|
217
|
+
artifactPath: launchArtifactPath,
|
|
218
|
+
missingSummary: "Launch-preview state was not captured for this recipe run.",
|
|
219
|
+
invalidSummary: "Launch-preview state exists but is not valid JSON.",
|
|
220
|
+
availableSummary: "Launch-preview state is available for runtime inspection.",
|
|
221
|
+
}),
|
|
222
|
+
await inspectJsonArtifact({
|
|
223
|
+
id: "stdout_json",
|
|
224
|
+
artifactPath: stdoutArtifactPath,
|
|
225
|
+
missingSummary: "Structured stdout state was not captured for this recipe run.",
|
|
226
|
+
invalidSummary: "Stdout was captured, but it is not valid JSON and cannot be inspected structurally.",
|
|
227
|
+
availableSummary: "Structured stdout state is available for runtime inspection.",
|
|
228
|
+
}),
|
|
229
|
+
await inspectTextArtifact({
|
|
230
|
+
id: "stdout_text",
|
|
231
|
+
artifactPath: stdoutArtifactPath,
|
|
232
|
+
missingSummary: "Stdout text was not captured for this recipe run.",
|
|
233
|
+
availableSummary: "Stdout text is available for runtime inspection.",
|
|
234
|
+
}),
|
|
235
|
+
await inspectJsonArtifact({
|
|
236
|
+
id: "stderr_json",
|
|
237
|
+
artifactPath: stderrArtifactPath,
|
|
238
|
+
missingSummary: "Structured stderr state was not captured for this recipe run.",
|
|
239
|
+
invalidSummary: "Stderr was captured, but it is not valid JSON and cannot be inspected structurally.",
|
|
240
|
+
availableSummary: "Structured stderr state is available for runtime inspection.",
|
|
241
|
+
}),
|
|
242
|
+
await inspectTextArtifact({
|
|
243
|
+
id: "stderr_text",
|
|
244
|
+
artifactPath: stderrArtifactPath,
|
|
245
|
+
missingSummary: "Stderr text was not captured for this recipe run.",
|
|
246
|
+
availableSummary: "Stderr text is available for runtime inspection.",
|
|
247
|
+
}),
|
|
248
|
+
await inspectJsonArtifact({
|
|
249
|
+
id: "recipe_report",
|
|
250
|
+
artifactPath: reportArtifactPath,
|
|
251
|
+
missingSummary: "Runtime recipe report metadata is missing.",
|
|
252
|
+
invalidSummary: "Runtime recipe report exists but is not valid JSON.",
|
|
253
|
+
availableSummary: "Runtime recipe report state is available for inspection.",
|
|
254
|
+
}),
|
|
255
|
+
];
|
|
256
|
+
}
|
|
257
|
+
async function loadRuntimeRecipeContext(input) {
|
|
258
|
+
return {
|
|
259
|
+
targetPath: input.targetPath,
|
|
260
|
+
projectConfig: input.projectConfig,
|
|
261
|
+
recipes: await readRecipeDefinitions(input.targetPath),
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
async function readRecipeDefinitions(targetPath) {
|
|
265
|
+
const recipesDirectory = await resolveRuntimeDefinitionDirectory(targetPath, PRIMARY_RUN_CONFIGURATION_DIRECTORY, LEGACY_RECIPE_DIRECTORY);
|
|
266
|
+
const entries = await fs.readdir(recipesDirectory, { withFileTypes: true }).catch(() => []);
|
|
267
|
+
const recipeFiles = entries
|
|
268
|
+
.filter((entry) => entry.isFile() && entry.name.endsWith(".yaml"))
|
|
269
|
+
.map((entry) => entry.name)
|
|
270
|
+
.sort();
|
|
271
|
+
const recipes = [];
|
|
272
|
+
for (const recipeFile of recipeFiles) {
|
|
273
|
+
const absolutePath = path.join(recipesDirectory, recipeFile);
|
|
274
|
+
const content = await fs.readFile(absolutePath, "utf8");
|
|
275
|
+
recipes.push(parseRecipeDefinition(content));
|
|
276
|
+
}
|
|
277
|
+
return recipes;
|
|
278
|
+
}
|
|
279
|
+
function parseRecipeDefinition(content) {
|
|
280
|
+
const parsed = toRecord(parse(content));
|
|
281
|
+
const launch = toRecord(parsed["launch"]);
|
|
282
|
+
const launchKind = readString(launch["kind"]);
|
|
283
|
+
const parsedVersion = readNumber(parsed["version"]);
|
|
284
|
+
return {
|
|
285
|
+
schemaVersion: (parsedVersion <= GDH_RECIPE_SCHEMA_VERSION
|
|
286
|
+
? GDH_RECIPE_SCHEMA_VERSION
|
|
287
|
+
: parsedVersion),
|
|
288
|
+
id: readString(parsed["id"]),
|
|
289
|
+
name: readString(parsed["name"]),
|
|
290
|
+
status: readString(parsed["status"]),
|
|
291
|
+
draftReason: readNullableString(parsed["draft_reason"]),
|
|
292
|
+
projectPath: readString(parsed["project_path"]),
|
|
293
|
+
providers: readStringArray(parsed["providers"], ["local"]),
|
|
294
|
+
parameters: readObjectArray(parsed["parameters"]).map((entry) => ({
|
|
295
|
+
id: readString(entry["id"]),
|
|
296
|
+
summary: readString(entry["summary"]),
|
|
297
|
+
required: readBoolean(entry["required"], false),
|
|
298
|
+
defaultValue: readNullableString(entry["default_value"]),
|
|
299
|
+
argumentTokens: readStringArray(entry["argument_tokens"]),
|
|
300
|
+
envVarName: readNullableString(entry["env_var_name"]),
|
|
301
|
+
})),
|
|
302
|
+
featureFlags: readObjectArray(parsed["feature_flags"]).map((entry) => ({
|
|
303
|
+
id: readString(entry["id"]),
|
|
304
|
+
summary: readString(entry["summary"]),
|
|
305
|
+
enabledByDefault: readBoolean(entry["enabled_by_default"], false),
|
|
306
|
+
argumentTokens: readStringArray(entry["argument_tokens"]),
|
|
307
|
+
envVarName: readNullableString(entry["env_var_name"]),
|
|
308
|
+
envValue: readNullableString(entry["env_value"]),
|
|
309
|
+
})),
|
|
310
|
+
environment: readObjectArray(parsed["env"]).map((entry) => ({
|
|
311
|
+
name: readString(entry["name"]),
|
|
312
|
+
summary: readString(entry["summary"]),
|
|
313
|
+
source: readString(entry["source"]),
|
|
314
|
+
value: readNullableString(entry["value"]),
|
|
315
|
+
required: readBoolean(entry["required"], false),
|
|
316
|
+
})),
|
|
317
|
+
preChecks: readObjectArray(parsed["pre_checks"]).map((entry) => ({
|
|
318
|
+
id: readString(entry["id"]),
|
|
319
|
+
kind: readString(entry["kind"]),
|
|
320
|
+
summary: readString(entry["summary"]),
|
|
321
|
+
required: readBoolean(entry["required"], true),
|
|
322
|
+
relativePath: readNullableString(entry["relative_path"]),
|
|
323
|
+
envVarName: readNullableString(entry["env_var_name"]),
|
|
324
|
+
})),
|
|
325
|
+
launch: launchKind === "project_launch_adapter"
|
|
326
|
+
? {
|
|
327
|
+
kind: "project_launch_adapter",
|
|
328
|
+
scriptPath: readString(launch["script_path"]),
|
|
329
|
+
interpreter: readNullableString(launch["interpreter"]),
|
|
330
|
+
arguments: readStringArray(launch["arguments"]),
|
|
331
|
+
workingDirectory: readNullableString(launch["working_directory"]),
|
|
332
|
+
}
|
|
333
|
+
: {
|
|
334
|
+
kind: "godot_project",
|
|
335
|
+
scenePath: readString(launch["scene_path"]),
|
|
336
|
+
entryPointKind: readString(launch["entry_point_kind"]),
|
|
337
|
+
arguments: readStringArray(launch["arguments"]),
|
|
338
|
+
},
|
|
339
|
+
provenance: {
|
|
340
|
+
source: readString(toRecord(parsed["provenance"])["source"]),
|
|
341
|
+
observedAt: readString(toRecord(parsed["provenance"])["observed_at"]),
|
|
342
|
+
evidenceFiles: readStringArray(toRecord(parsed["provenance"])["evidence_files"]),
|
|
343
|
+
reason: readString(toRecord(parsed["provenance"])["reason"]),
|
|
344
|
+
},
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
async function resolveRuntimeDefinitionDirectory(targetPath, primaryRelativePath, legacyRelativePath) {
|
|
348
|
+
const primaryDirectory = path.join(targetPath, primaryRelativePath);
|
|
349
|
+
if (await directoryExists(primaryDirectory)) {
|
|
350
|
+
return primaryDirectory;
|
|
351
|
+
}
|
|
352
|
+
return path.join(targetPath, legacyRelativePath);
|
|
353
|
+
}
|
|
354
|
+
async function directoryExists(directoryPath) {
|
|
355
|
+
try {
|
|
356
|
+
const stats = await fs.stat(directoryPath);
|
|
357
|
+
return stats.isDirectory();
|
|
358
|
+
}
|
|
359
|
+
catch {
|
|
360
|
+
return false;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
async function inspectRuntimeRecipe(input) {
|
|
364
|
+
const recipe = input.context.recipes.find((entry) => entry.id === input.recipeId) ?? null;
|
|
365
|
+
if (recipe === null) {
|
|
366
|
+
return {
|
|
367
|
+
targetPath: input.targetPath,
|
|
368
|
+
recipeId: input.recipeId,
|
|
369
|
+
state: "misconfigured",
|
|
370
|
+
summary: `Runtime recipe "${input.recipeId}" was not found.`,
|
|
371
|
+
reasons: ["recipe_not_found"],
|
|
372
|
+
recipe: null,
|
|
373
|
+
provider: null,
|
|
374
|
+
parameters: [],
|
|
375
|
+
featureFlags: [],
|
|
376
|
+
environment: [],
|
|
377
|
+
preChecks: [],
|
|
378
|
+
bridge: bridgeNotRequired(),
|
|
379
|
+
launchPreview: null,
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
const values = resolveRuntimeValues(recipe, input);
|
|
383
|
+
const provider = resolveProvider(recipe, input.projectConfig, input.provider);
|
|
384
|
+
const preChecks = await resolvePrechecks({
|
|
385
|
+
targetPath: input.targetPath,
|
|
386
|
+
evaluationRootPath: input.evaluationRootPath,
|
|
387
|
+
recipe,
|
|
388
|
+
environment: values.environment,
|
|
389
|
+
});
|
|
390
|
+
const launchPreview = await buildLaunchPreview({
|
|
391
|
+
targetPath: input.targetPath,
|
|
392
|
+
evaluationRootPath: input.evaluationRootPath,
|
|
393
|
+
recipe,
|
|
394
|
+
values,
|
|
395
|
+
workspaceMode: input.workspaceMode,
|
|
396
|
+
});
|
|
397
|
+
const reasons = [
|
|
398
|
+
...resolveParameterReasons(values.parameters),
|
|
399
|
+
...resolveEnvironmentReasons(values.environment),
|
|
400
|
+
...resolvePrecheckReasons(preChecks),
|
|
401
|
+
];
|
|
402
|
+
if (!provider.supported) {
|
|
403
|
+
reasons.push("provider_not_supported");
|
|
404
|
+
}
|
|
405
|
+
const hasMisconfiguration = preChecks.some((entry) => entry.status === "failed" &&
|
|
406
|
+
(entry.kind === "project_path_exists" ||
|
|
407
|
+
entry.kind === "godot_project_exists" ||
|
|
408
|
+
entry.kind === "launch_adapter_exists"));
|
|
409
|
+
const isBlocked = reasons.length > 0 &&
|
|
410
|
+
!hasMisconfiguration &&
|
|
411
|
+
launchPreview !== null &&
|
|
412
|
+
(preChecks.some((entry) => entry.status === "failed" && entry.required) ||
|
|
413
|
+
values.parameters.some((entry) => entry.status === "missing" && entry.required) ||
|
|
414
|
+
values.environment.some((entry) => entry.status === "missing" && entry.required) ||
|
|
415
|
+
!provider.supported);
|
|
416
|
+
const state = hasMisconfiguration
|
|
417
|
+
? "misconfigured"
|
|
418
|
+
: isBlocked || launchPreview === null
|
|
419
|
+
? "blocked"
|
|
420
|
+
: "runnable";
|
|
421
|
+
return {
|
|
422
|
+
targetPath: input.targetPath,
|
|
423
|
+
recipeId: recipe.id,
|
|
424
|
+
state,
|
|
425
|
+
summary: state === "runnable"
|
|
426
|
+
? `Runtime recipe "${recipe.id}" is runnable.`
|
|
427
|
+
: state === "blocked"
|
|
428
|
+
? `Runtime recipe "${recipe.id}" is blocked by environment or input requirements.`
|
|
429
|
+
: `Runtime recipe "${recipe.id}" is misconfigured.`,
|
|
430
|
+
reasons,
|
|
431
|
+
recipe,
|
|
432
|
+
provider,
|
|
433
|
+
parameters: values.parameters,
|
|
434
|
+
featureFlags: values.featureFlags,
|
|
435
|
+
environment: values.environment,
|
|
436
|
+
preChecks,
|
|
437
|
+
bridge: bridgeNotRequired(),
|
|
438
|
+
launchPreview,
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
function resolveRuntimeValues(recipe, input) {
|
|
442
|
+
const parameters = recipe.parameters.map((definition) => {
|
|
443
|
+
const inputValue = input.parameters[definition.id];
|
|
444
|
+
const value = inputValue ?? definition.defaultValue;
|
|
445
|
+
return {
|
|
446
|
+
id: definition.id,
|
|
447
|
+
summary: definition.summary,
|
|
448
|
+
status: value === null ? "missing" : "resolved",
|
|
449
|
+
required: definition.required,
|
|
450
|
+
value,
|
|
451
|
+
source: inputValue !== undefined
|
|
452
|
+
? "input"
|
|
453
|
+
: definition.defaultValue !== null
|
|
454
|
+
? "default"
|
|
455
|
+
: "missing",
|
|
456
|
+
argumentTokens: definition.argumentTokens,
|
|
457
|
+
envVarName: definition.envVarName,
|
|
458
|
+
};
|
|
459
|
+
});
|
|
460
|
+
const featureFlags = recipe.featureFlags.map((definition) => {
|
|
461
|
+
const explicitlyEnabled = input.enabledFeatures.includes(definition.id);
|
|
462
|
+
const explicitlyDisabled = input.disabledFeatures.includes(definition.id);
|
|
463
|
+
const enabled = explicitlyEnabled
|
|
464
|
+
? true
|
|
465
|
+
: explicitlyDisabled
|
|
466
|
+
? false
|
|
467
|
+
: definition.enabledByDefault;
|
|
468
|
+
return {
|
|
469
|
+
id: definition.id,
|
|
470
|
+
summary: definition.summary,
|
|
471
|
+
enabled,
|
|
472
|
+
source: explicitlyEnabled || explicitlyDisabled ? "input" : "default",
|
|
473
|
+
argumentTokens: definition.argumentTokens,
|
|
474
|
+
envVarName: definition.envVarName,
|
|
475
|
+
envValue: definition.envValue,
|
|
476
|
+
};
|
|
477
|
+
});
|
|
478
|
+
const parameterEnv = new Map();
|
|
479
|
+
for (const parameter of parameters) {
|
|
480
|
+
if (parameter.envVarName !== null && parameter.value !== null) {
|
|
481
|
+
parameterEnv.set(parameter.envVarName, parameter.value);
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
const featureEnv = new Map();
|
|
485
|
+
for (const featureFlag of featureFlags) {
|
|
486
|
+
if (featureFlag.enabled &&
|
|
487
|
+
featureFlag.envVarName !== null &&
|
|
488
|
+
featureFlag.envValue !== null) {
|
|
489
|
+
featureEnv.set(featureFlag.envVarName, featureFlag.envValue);
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
const environment = recipe.environment.map((definition) => {
|
|
493
|
+
const inputValue = input.environment[definition.name];
|
|
494
|
+
if (inputValue !== undefined) {
|
|
495
|
+
return {
|
|
496
|
+
name: definition.name,
|
|
497
|
+
summary: definition.summary,
|
|
498
|
+
status: "resolved",
|
|
499
|
+
required: definition.required,
|
|
500
|
+
value: inputValue,
|
|
501
|
+
source: "input",
|
|
502
|
+
};
|
|
503
|
+
}
|
|
504
|
+
if (parameterEnv.has(definition.name)) {
|
|
505
|
+
return {
|
|
506
|
+
name: definition.name,
|
|
507
|
+
summary: definition.summary,
|
|
508
|
+
status: "resolved",
|
|
509
|
+
required: definition.required,
|
|
510
|
+
value: parameterEnv.get(definition.name) ?? null,
|
|
511
|
+
source: "input",
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
if (featureEnv.has(definition.name)) {
|
|
515
|
+
return {
|
|
516
|
+
name: definition.name,
|
|
517
|
+
summary: definition.summary,
|
|
518
|
+
status: "resolved",
|
|
519
|
+
required: definition.required,
|
|
520
|
+
value: featureEnv.get(definition.name) ?? null,
|
|
521
|
+
source: "input",
|
|
522
|
+
};
|
|
523
|
+
}
|
|
524
|
+
if (definition.source === "inline" && definition.value !== null) {
|
|
525
|
+
return {
|
|
526
|
+
name: definition.name,
|
|
527
|
+
summary: definition.summary,
|
|
528
|
+
status: "resolved",
|
|
529
|
+
required: definition.required,
|
|
530
|
+
value: definition.value,
|
|
531
|
+
source: "inline",
|
|
532
|
+
};
|
|
533
|
+
}
|
|
534
|
+
const processValue = process.env[definition.name];
|
|
535
|
+
if (definition.source === "process_env" && processValue !== undefined) {
|
|
536
|
+
return {
|
|
537
|
+
name: definition.name,
|
|
538
|
+
summary: definition.summary,
|
|
539
|
+
status: "resolved",
|
|
540
|
+
required: definition.required,
|
|
541
|
+
value: processValue,
|
|
542
|
+
source: "process_env",
|
|
543
|
+
};
|
|
544
|
+
}
|
|
545
|
+
return {
|
|
546
|
+
name: definition.name,
|
|
547
|
+
summary: definition.summary,
|
|
548
|
+
status: "missing",
|
|
549
|
+
required: definition.required,
|
|
550
|
+
value: null,
|
|
551
|
+
source: "missing",
|
|
552
|
+
};
|
|
553
|
+
});
|
|
554
|
+
for (const [name, value] of parameterEnv.entries()) {
|
|
555
|
+
if (environment.some((entry) => entry.name === name)) {
|
|
556
|
+
continue;
|
|
557
|
+
}
|
|
558
|
+
environment.push({
|
|
559
|
+
name,
|
|
560
|
+
summary: `Derived from recipe parameter "${name}".`,
|
|
561
|
+
status: "resolved",
|
|
562
|
+
required: false,
|
|
563
|
+
value,
|
|
564
|
+
source: "input",
|
|
565
|
+
});
|
|
566
|
+
}
|
|
567
|
+
for (const [name, value] of featureEnv.entries()) {
|
|
568
|
+
if (environment.some((entry) => entry.name === name)) {
|
|
569
|
+
continue;
|
|
570
|
+
}
|
|
571
|
+
environment.push({
|
|
572
|
+
name,
|
|
573
|
+
summary: `Derived from recipe feature flag "${name}".`,
|
|
574
|
+
status: "resolved",
|
|
575
|
+
required: false,
|
|
576
|
+
value,
|
|
577
|
+
source: "input",
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
for (const [name, rawValue] of Object.entries(input.environment)) {
|
|
581
|
+
if (environment.some((entry) => entry.name === name)) {
|
|
582
|
+
continue;
|
|
583
|
+
}
|
|
584
|
+
environment.push({
|
|
585
|
+
name,
|
|
586
|
+
summary: `Provided as an explicit runtime environment override for "${name}".`,
|
|
587
|
+
status: "resolved",
|
|
588
|
+
required: false,
|
|
589
|
+
value: rawValue,
|
|
590
|
+
source: "input",
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
return {
|
|
594
|
+
parameters,
|
|
595
|
+
featureFlags,
|
|
596
|
+
environment,
|
|
597
|
+
};
|
|
598
|
+
}
|
|
599
|
+
function resolveProvider(recipe, projectConfig, requestedProvider) {
|
|
600
|
+
const allowedProviders = projectConfig?.allowedProviders ?? ["local"];
|
|
601
|
+
const declaredProviders = recipe.providers.length > 0 ? recipe.providers : ["local"];
|
|
602
|
+
const resolved = requestedProvider ?? declaredProviders[0] ?? null;
|
|
603
|
+
const supported = resolved !== null &&
|
|
604
|
+
allowedProviders.includes(resolved) &&
|
|
605
|
+
declaredProviders.includes(resolved);
|
|
606
|
+
return {
|
|
607
|
+
requested: requestedProvider,
|
|
608
|
+
resolved,
|
|
609
|
+
allowedProviders,
|
|
610
|
+
supported,
|
|
611
|
+
summary: supported
|
|
612
|
+
? `Provider "${resolved}" is allowed for this target.`
|
|
613
|
+
: `Provider "${resolved}" is not supported by the recipe or project configuration.`,
|
|
614
|
+
};
|
|
615
|
+
}
|
|
616
|
+
async function resolvePrechecks(input) {
|
|
617
|
+
const results = [];
|
|
618
|
+
const environmentMap = new Map(input.environment
|
|
619
|
+
.filter((entry) => entry.value !== null)
|
|
620
|
+
.map((entry) => [entry.name, entry.value ?? ""]));
|
|
621
|
+
for (const definition of input.recipe.preChecks) {
|
|
622
|
+
if (definition.kind === "project_path_exists") {
|
|
623
|
+
const absolutePath = path.join(input.evaluationRootPath, definition.relativePath ?? input.recipe.projectPath);
|
|
624
|
+
const exists = await pathExists(absolutePath);
|
|
625
|
+
results.push({
|
|
626
|
+
...definition,
|
|
627
|
+
status: exists ? "passed" : "failed",
|
|
628
|
+
reason: exists ? null : "project_path_missing",
|
|
629
|
+
});
|
|
630
|
+
continue;
|
|
631
|
+
}
|
|
632
|
+
if (definition.kind === "godot_project_exists") {
|
|
633
|
+
const projectRelativePath = definition.relativePath ?? input.recipe.projectPath;
|
|
634
|
+
const absolutePath = path.join(input.evaluationRootPath, projectRelativePath, "project.godot");
|
|
635
|
+
const exists = await pathExists(absolutePath);
|
|
636
|
+
results.push({
|
|
637
|
+
...definition,
|
|
638
|
+
status: exists ? "passed" : "failed",
|
|
639
|
+
reason: exists ? null : "project_godot_missing",
|
|
640
|
+
});
|
|
641
|
+
continue;
|
|
642
|
+
}
|
|
643
|
+
if (definition.kind === "godot_editor_configured") {
|
|
644
|
+
const configured = Boolean(await resolveConfiguredGodotEditorBin({
|
|
645
|
+
targetPath: input.targetPath,
|
|
646
|
+
environmentOverride: environmentMap.get("GDH_GODOT_EDITOR_BIN") ?? null,
|
|
647
|
+
environment: process.env,
|
|
648
|
+
}));
|
|
649
|
+
results.push({
|
|
650
|
+
...definition,
|
|
651
|
+
status: configured ? "passed" : "failed",
|
|
652
|
+
reason: configured ? null : "godot_editor_not_configured",
|
|
653
|
+
});
|
|
654
|
+
continue;
|
|
655
|
+
}
|
|
656
|
+
if (definition.kind === "launch_adapter_exists") {
|
|
657
|
+
const relativePath = definition.relativePath ??
|
|
658
|
+
(input.recipe.launch.kind === "project_launch_adapter"
|
|
659
|
+
? input.recipe.launch.scriptPath
|
|
660
|
+
: null);
|
|
661
|
+
const exists = relativePath === null
|
|
662
|
+
? false
|
|
663
|
+
: await pathExists(path.join(input.evaluationRootPath, relativePath));
|
|
664
|
+
results.push({
|
|
665
|
+
...definition,
|
|
666
|
+
relativePath,
|
|
667
|
+
status: exists ? "passed" : "failed",
|
|
668
|
+
reason: exists ? null : "launch_adapter_missing",
|
|
669
|
+
});
|
|
670
|
+
continue;
|
|
671
|
+
}
|
|
672
|
+
const envValue = definition.envVarName === null
|
|
673
|
+
? null
|
|
674
|
+
: environmentMap.get(definition.envVarName) ??
|
|
675
|
+
process.env[definition.envVarName] ??
|
|
676
|
+
null;
|
|
677
|
+
results.push({
|
|
678
|
+
...definition,
|
|
679
|
+
status: envValue === null ? "failed" : "passed",
|
|
680
|
+
reason: envValue === null ? "environment_value_missing" : null,
|
|
681
|
+
});
|
|
682
|
+
}
|
|
683
|
+
return results;
|
|
684
|
+
}
|
|
685
|
+
async function buildLaunchPreview(input) {
|
|
686
|
+
const parameterArguments = input.values.parameters.flatMap((entry) => entry.value === null ? [] : [...entry.argumentTokens, entry.value]);
|
|
687
|
+
const featureArguments = input.values.featureFlags.flatMap((entry) => entry.enabled ? entry.argumentTokens : []);
|
|
688
|
+
const environmentMap = new Map(input.values.environment
|
|
689
|
+
.filter((entry) => entry.value !== null)
|
|
690
|
+
.map((entry) => [entry.name, entry.value ?? ""]));
|
|
691
|
+
for (const parameter of input.values.parameters) {
|
|
692
|
+
if (parameter.envVarName !== null && parameter.value !== null) {
|
|
693
|
+
environmentMap.set(parameter.envVarName, parameter.value);
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
for (const featureFlag of input.values.featureFlags) {
|
|
697
|
+
if (featureFlag.enabled &&
|
|
698
|
+
featureFlag.envVarName !== null &&
|
|
699
|
+
featureFlag.envValue !== null) {
|
|
700
|
+
environmentMap.set(featureFlag.envVarName, featureFlag.envValue);
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
const environment = [...environmentMap.entries()].map(([name, value]) => ({
|
|
704
|
+
name,
|
|
705
|
+
value,
|
|
706
|
+
}));
|
|
707
|
+
if (input.recipe.launch.kind === "godot_project") {
|
|
708
|
+
const godotBin = await resolveConfiguredGodotEditorBin({
|
|
709
|
+
targetPath: input.targetPath,
|
|
710
|
+
environmentOverride: environmentMap.get("GDH_GODOT_EDITOR_BIN") ?? null,
|
|
711
|
+
environment: process.env,
|
|
712
|
+
});
|
|
713
|
+
if (godotBin === null) {
|
|
714
|
+
return null;
|
|
715
|
+
}
|
|
716
|
+
const projectDirectory = path.join(input.evaluationRootPath, input.recipe.projectPath);
|
|
717
|
+
return {
|
|
718
|
+
command: [
|
|
719
|
+
godotBin,
|
|
720
|
+
"--path",
|
|
721
|
+
projectDirectory,
|
|
722
|
+
input.recipe.launch.scenePath,
|
|
723
|
+
...input.recipe.launch.arguments,
|
|
724
|
+
...parameterArguments,
|
|
725
|
+
...featureArguments,
|
|
726
|
+
],
|
|
727
|
+
cwd: projectDirectory,
|
|
728
|
+
env: environment,
|
|
729
|
+
workspaceMode: input.workspaceMode,
|
|
730
|
+
};
|
|
731
|
+
}
|
|
732
|
+
const scriptPath = path.join(input.evaluationRootPath, input.recipe.launch.scriptPath);
|
|
733
|
+
const command = input.recipe.launch.interpreter === null
|
|
734
|
+
? [
|
|
735
|
+
scriptPath,
|
|
736
|
+
...input.recipe.launch.arguments,
|
|
737
|
+
...parameterArguments,
|
|
738
|
+
...featureArguments,
|
|
739
|
+
]
|
|
740
|
+
: [
|
|
741
|
+
input.recipe.launch.interpreter,
|
|
742
|
+
scriptPath,
|
|
743
|
+
...input.recipe.launch.arguments,
|
|
744
|
+
...parameterArguments,
|
|
745
|
+
...featureArguments,
|
|
746
|
+
];
|
|
747
|
+
return {
|
|
748
|
+
command,
|
|
749
|
+
cwd: path.join(input.evaluationRootPath, input.recipe.launch.workingDirectory ?? input.recipe.projectPath),
|
|
750
|
+
env: environment,
|
|
751
|
+
workspaceMode: input.workspaceMode,
|
|
752
|
+
};
|
|
753
|
+
}
|
|
754
|
+
function bridgeNotRequired() {
|
|
755
|
+
return {
|
|
756
|
+
required: false,
|
|
757
|
+
state: "not_required",
|
|
758
|
+
summary: "Recipe execution alone does not require the runtime bridge yet. Bridge readiness becomes relevant once scenarios and runtime assertions run above this layer.",
|
|
759
|
+
reasons: [],
|
|
760
|
+
};
|
|
761
|
+
}
|
|
762
|
+
function resolveParameterReasons(parameters) {
|
|
763
|
+
return parameters
|
|
764
|
+
.filter((entry) => entry.required && entry.status === "missing")
|
|
765
|
+
.map((entry) => `missing_parameter:${entry.id}`);
|
|
766
|
+
}
|
|
767
|
+
function resolveEnvironmentReasons(environment) {
|
|
768
|
+
return environment
|
|
769
|
+
.filter((entry) => entry.required && entry.status === "missing")
|
|
770
|
+
.map((entry) => `missing_environment:${entry.name}`);
|
|
771
|
+
}
|
|
772
|
+
function resolvePrecheckReasons(preChecks) {
|
|
773
|
+
return preChecks
|
|
774
|
+
.filter((entry) => entry.required && entry.status === "failed")
|
|
775
|
+
.map((entry) => `${entry.kind}:${entry.reason ?? "failed"}`);
|
|
776
|
+
}
|
|
777
|
+
async function prepareWorkspace(targetPath, workspaceMode) {
|
|
778
|
+
if (workspaceMode === "live_workspace") {
|
|
779
|
+
return {
|
|
780
|
+
workspacePath: targetPath,
|
|
781
|
+
cleanup: async () => { },
|
|
782
|
+
};
|
|
783
|
+
}
|
|
784
|
+
const tempRoot = await fs.mkdtemp(path.join(os.tmpdir(), "gdh-run-"));
|
|
785
|
+
const workspacePath = path.join(tempRoot, path.basename(targetPath));
|
|
786
|
+
await fs.cp(targetPath, workspacePath, {
|
|
787
|
+
recursive: true,
|
|
788
|
+
verbatimSymlinks: true,
|
|
789
|
+
filter: async (sourcePath) => {
|
|
790
|
+
const relativePath = path.relative(targetPath, sourcePath);
|
|
791
|
+
if (relativePath === "") {
|
|
792
|
+
return true;
|
|
793
|
+
}
|
|
794
|
+
const segments = relativePath.split(path.sep);
|
|
795
|
+
return !segments.includes(".gdh-state") && !segments.includes(".git");
|
|
796
|
+
},
|
|
797
|
+
});
|
|
798
|
+
return {
|
|
799
|
+
workspacePath,
|
|
800
|
+
cleanup: async () => {
|
|
801
|
+
await fs.rm(tempRoot, { recursive: true, force: true });
|
|
802
|
+
},
|
|
803
|
+
};
|
|
804
|
+
}
|
|
805
|
+
async function createRunArtifactDirectory(targetPath, recipeId) {
|
|
806
|
+
const timestamp = new Date().toISOString().replace(/[:.]/g, "-");
|
|
807
|
+
const directory = path.join(targetPath, ".gdh-state/runs", `${timestamp}-${recipeId}`);
|
|
808
|
+
await fs.mkdir(directory, { recursive: true });
|
|
809
|
+
return directory;
|
|
810
|
+
}
|
|
811
|
+
async function executeCommand(preview, artifactDirectory, launchKind, maxRuntimeSeconds) {
|
|
812
|
+
const command = preview.command;
|
|
813
|
+
if (command === null || command.length === 0) {
|
|
814
|
+
throw new Error("Cannot execute a runtime recipe without a launch command.");
|
|
815
|
+
}
|
|
816
|
+
const stdoutPath = path.join(artifactDirectory, "stdout.log");
|
|
817
|
+
const stderrPath = path.join(artifactDirectory, "stderr.log");
|
|
818
|
+
const launchPath = path.join(artifactDirectory, "launch.json");
|
|
819
|
+
const terminationPath = path.join(artifactDirectory, "termination.json");
|
|
820
|
+
await fs.writeFile(launchPath, `${JSON.stringify({
|
|
821
|
+
cwd: preview.cwd,
|
|
822
|
+
command,
|
|
823
|
+
env: preview.env,
|
|
824
|
+
workspaceMode: preview.workspaceMode,
|
|
825
|
+
}, null, 2)}\n`, "utf8");
|
|
826
|
+
const output = await new Promise((resolve, reject) => {
|
|
827
|
+
const child = spawn(command[0], command.slice(1), {
|
|
828
|
+
cwd: preview.cwd ?? undefined,
|
|
829
|
+
env: {
|
|
830
|
+
...process.env,
|
|
831
|
+
...Object.fromEntries(preview.env.map((entry) => [entry.name, entry.value])),
|
|
832
|
+
},
|
|
833
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
834
|
+
});
|
|
835
|
+
let stdout = "";
|
|
836
|
+
let stderr = "";
|
|
837
|
+
let timedOut = false;
|
|
838
|
+
let timeoutHandle = null;
|
|
839
|
+
let forceKillHandle = null;
|
|
840
|
+
if (maxRuntimeSeconds !== null && maxRuntimeSeconds > 0) {
|
|
841
|
+
timeoutHandle = setTimeout(() => {
|
|
842
|
+
timedOut = true;
|
|
843
|
+
child.kill("SIGTERM");
|
|
844
|
+
forceKillHandle = setTimeout(() => {
|
|
845
|
+
child.kill("SIGKILL");
|
|
846
|
+
}, 5000);
|
|
847
|
+
}, maxRuntimeSeconds * 1000);
|
|
848
|
+
}
|
|
849
|
+
child.stdout.on("data", (chunk) => {
|
|
850
|
+
stdout += typeof chunk === "string" ? chunk : chunk.toString("utf8");
|
|
851
|
+
});
|
|
852
|
+
child.stderr.on("data", (chunk) => {
|
|
853
|
+
stderr += typeof chunk === "string" ? chunk : chunk.toString("utf8");
|
|
854
|
+
});
|
|
855
|
+
child.on("error", reject);
|
|
856
|
+
child.on("close", (exitCode, signal) => {
|
|
857
|
+
if (timeoutHandle !== null) {
|
|
858
|
+
clearTimeout(timeoutHandle);
|
|
859
|
+
}
|
|
860
|
+
if (forceKillHandle !== null) {
|
|
861
|
+
clearTimeout(forceKillHandle);
|
|
862
|
+
}
|
|
863
|
+
resolve({
|
|
864
|
+
exitCode: exitCode ?? (timedOut ? 0 : 1),
|
|
865
|
+
signal: signal ?? null,
|
|
866
|
+
stdout,
|
|
867
|
+
stderr,
|
|
868
|
+
timedOut,
|
|
869
|
+
});
|
|
870
|
+
});
|
|
871
|
+
});
|
|
872
|
+
await fs.writeFile(stdoutPath, output.stdout, "utf8");
|
|
873
|
+
await fs.writeFile(stderrPath, output.stderr, "utf8");
|
|
874
|
+
if (output.timedOut) {
|
|
875
|
+
await fs.writeFile(terminationPath, `${JSON.stringify({
|
|
876
|
+
policy: "max_runtime_seconds",
|
|
877
|
+
maxRuntimeSeconds,
|
|
878
|
+
signal: output.signal,
|
|
879
|
+
}, null, 2)}\n`, "utf8");
|
|
880
|
+
}
|
|
881
|
+
const stderrFatality = detectFatalGodotStderr({
|
|
882
|
+
launchKind,
|
|
883
|
+
exitCode: output.exitCode,
|
|
884
|
+
stderr: output.stderr,
|
|
885
|
+
});
|
|
886
|
+
const timedOutSuccessfully = output.timedOut && !stderrFatality.detected;
|
|
887
|
+
return {
|
|
888
|
+
exitCode: output.exitCode,
|
|
889
|
+
state: timedOutSuccessfully || (!stderrFatality.detected && output.exitCode === 0)
|
|
890
|
+
? "passed"
|
|
891
|
+
: "failed",
|
|
892
|
+
reasons: stderrFatality.detected && stderrFatality.reason !== null
|
|
893
|
+
? [stderrFatality.reason]
|
|
894
|
+
: timedOutSuccessfully || output.exitCode === 0
|
|
895
|
+
? []
|
|
896
|
+
: [`process_exit_${output.exitCode}`],
|
|
897
|
+
summaryOverride: stderrFatality.summary ??
|
|
898
|
+
(timedOutSuccessfully
|
|
899
|
+
? `Runtime run stayed alive for ${maxRuntimeSeconds} second(s) and GDH terminated it intentionally.`
|
|
900
|
+
: null),
|
|
901
|
+
artifacts: [
|
|
902
|
+
{
|
|
903
|
+
id: "launch",
|
|
904
|
+
path: launchPath,
|
|
905
|
+
description: "Assembled launch preview used for the runtime recipe run.",
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
id: "stdout",
|
|
909
|
+
path: stdoutPath,
|
|
910
|
+
description: "Captured standard output from the runtime recipe process.",
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
id: "stderr",
|
|
914
|
+
path: stderrPath,
|
|
915
|
+
description: "Captured standard error from the runtime recipe process.",
|
|
916
|
+
},
|
|
917
|
+
...(output.timedOut
|
|
918
|
+
? [
|
|
919
|
+
{
|
|
920
|
+
id: "termination",
|
|
921
|
+
path: terminationPath,
|
|
922
|
+
description: "Termination policy artifact for a bounded runtime run stopped by GDH.",
|
|
923
|
+
},
|
|
924
|
+
]
|
|
925
|
+
: []),
|
|
926
|
+
],
|
|
927
|
+
errorMessage: null,
|
|
928
|
+
};
|
|
929
|
+
}
|
|
930
|
+
function detectFatalGodotStderr(input) {
|
|
931
|
+
if (input.launchKind !== "godot_project" || input.exitCode !== 0) {
|
|
932
|
+
return {
|
|
933
|
+
detected: false,
|
|
934
|
+
reason: null,
|
|
935
|
+
summary: null,
|
|
936
|
+
};
|
|
937
|
+
}
|
|
938
|
+
const stderr = input.stderr.trim();
|
|
939
|
+
if (stderr.length === 0) {
|
|
940
|
+
return {
|
|
941
|
+
detected: false,
|
|
942
|
+
reason: null,
|
|
943
|
+
summary: null,
|
|
944
|
+
};
|
|
945
|
+
}
|
|
946
|
+
const fatalPatterns = [
|
|
947
|
+
/^\s*SCRIPT ERROR:/m,
|
|
948
|
+
/^\s*ERROR:/m,
|
|
949
|
+
/Failed loading resource/i,
|
|
950
|
+
/Parse Error:/i,
|
|
951
|
+
];
|
|
952
|
+
if (!fatalPatterns.some((pattern) => pattern.test(stderr))) {
|
|
953
|
+
return {
|
|
954
|
+
detected: false,
|
|
955
|
+
reason: null,
|
|
956
|
+
summary: null,
|
|
957
|
+
};
|
|
958
|
+
}
|
|
959
|
+
return {
|
|
960
|
+
detected: true,
|
|
961
|
+
reason: "godot_stderr_fatal_error_detected",
|
|
962
|
+
summary: "Runtime run exited with code 0 but emitted fatal Godot errors to stderr.",
|
|
963
|
+
};
|
|
964
|
+
}
|
|
965
|
+
const BRIDGE_SESSION_DIRECTORY = ".gdh-state/bridge-sessions";
|
|
966
|
+
const BRIDGE_LAUNCH_HOLD_ITERATIONS = "3600";
|
|
967
|
+
const BRIDGE_HANDSHAKE_TIMEOUT_MS = 15000;
|
|
968
|
+
export function createRuntimeBridgeManager() {
|
|
969
|
+
const sessions = new Map();
|
|
970
|
+
return {
|
|
971
|
+
async startSession(input) {
|
|
972
|
+
const liveCheck = await checkRuntimeRecipe(input);
|
|
973
|
+
if (liveCheck.state !== "runnable" || liveCheck.recipe === null || liveCheck.launchPreview === null) {
|
|
974
|
+
return {
|
|
975
|
+
targetPath: input.targetPath,
|
|
976
|
+
recipeId: input.recipeId,
|
|
977
|
+
state: liveCheck.state === "blocked" ? "blocked" : "failed",
|
|
978
|
+
summary: liveCheck.summary,
|
|
979
|
+
reasons: liveCheck.reasons,
|
|
980
|
+
bridge: bridgeMissing("Runtime bridge session start requires a runnable run configuration."),
|
|
981
|
+
launchCommand: liveCheck.launchPreview?.command ?? null,
|
|
982
|
+
session: null,
|
|
983
|
+
};
|
|
984
|
+
}
|
|
985
|
+
if (liveCheck.recipe.launch.kind === "godot_project") {
|
|
986
|
+
const bridgeStatus = await inspectRuntimeBridgeSurface({
|
|
987
|
+
targetPath: input.targetPath,
|
|
988
|
+
projectConfig: input.projectConfig,
|
|
989
|
+
});
|
|
990
|
+
if (bridgeStatus.state !== "ready") {
|
|
991
|
+
return {
|
|
992
|
+
targetPath: input.targetPath,
|
|
993
|
+
recipeId: input.recipeId,
|
|
994
|
+
state: "blocked",
|
|
995
|
+
summary: "Runtime bridge session start is blocked until the project-side GDH bridge is installed and healthy for direct Godot launches.",
|
|
996
|
+
reasons: [
|
|
997
|
+
"runtime_bridge_surface_not_ready",
|
|
998
|
+
...bridgeStatus.reasons,
|
|
999
|
+
],
|
|
1000
|
+
bridge: bridgeMissing(bridgeStatus.summary),
|
|
1001
|
+
launchCommand: liveCheck.launchPreview.command,
|
|
1002
|
+
session: null,
|
|
1003
|
+
};
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
const sessionId = buildBridgeSessionId(input.recipeId);
|
|
1007
|
+
const workspace = await prepareWorkspace(input.targetPath, input.workspaceMode);
|
|
1008
|
+
const artifactDirectory = await createBridgeArtifactDirectory(input.targetPath, input.recipeId, sessionId);
|
|
1009
|
+
const bridgePort = await reserveTcpPort();
|
|
1010
|
+
const bridgeToken = randomBytes(24).toString("hex");
|
|
1011
|
+
const launchPath = path.join(artifactDirectory, "launch.json");
|
|
1012
|
+
const transcriptPath = path.join(artifactDirectory, "bridge-transcript.json");
|
|
1013
|
+
const stdoutPath = path.join(artifactDirectory, "stdout.log");
|
|
1014
|
+
const stderrPath = path.join(artifactDirectory, "stderr.log");
|
|
1015
|
+
const startedAt = new Date().toISOString();
|
|
1016
|
+
let startedChild = null;
|
|
1017
|
+
let startedSocket = null;
|
|
1018
|
+
try {
|
|
1019
|
+
const executionCheck = await checkRuntimeRecipe({
|
|
1020
|
+
...input,
|
|
1021
|
+
targetPath: workspace.workspacePath,
|
|
1022
|
+
environment: {
|
|
1023
|
+
...input.environment,
|
|
1024
|
+
GDH_BRIDGE_ENABLED: "1",
|
|
1025
|
+
GDH_BRIDGE_PORT: String(bridgePort),
|
|
1026
|
+
GDH_BRIDGE_TOKEN: bridgeToken,
|
|
1027
|
+
GDH_BRIDGE_SESSION_ID: sessionId,
|
|
1028
|
+
GDH_BRIDGE_HOLD_ITERATIONS: BRIDGE_LAUNCH_HOLD_ITERATIONS,
|
|
1029
|
+
},
|
|
1030
|
+
});
|
|
1031
|
+
if (executionCheck.state !== "runnable" ||
|
|
1032
|
+
executionCheck.recipe === null ||
|
|
1033
|
+
executionCheck.launchPreview === null) {
|
|
1034
|
+
await workspace.cleanup();
|
|
1035
|
+
return {
|
|
1036
|
+
targetPath: input.targetPath,
|
|
1037
|
+
recipeId: input.recipeId,
|
|
1038
|
+
state: executionCheck.state === "blocked" ? "blocked" : "failed",
|
|
1039
|
+
summary: executionCheck.summary,
|
|
1040
|
+
reasons: executionCheck.reasons,
|
|
1041
|
+
bridge: bridgeMissing("Runtime bridge session start could not assemble a runnable launch preview."),
|
|
1042
|
+
launchCommand: executionCheck.launchPreview?.command ?? null,
|
|
1043
|
+
session: null,
|
|
1044
|
+
};
|
|
1045
|
+
}
|
|
1046
|
+
await fs.writeFile(launchPath, `${JSON.stringify({
|
|
1047
|
+
cwd: executionCheck.launchPreview.cwd,
|
|
1048
|
+
command: executionCheck.launchPreview.command,
|
|
1049
|
+
env: executionCheck.launchPreview.env,
|
|
1050
|
+
workspaceMode: executionCheck.launchPreview.workspaceMode,
|
|
1051
|
+
bridge: {
|
|
1052
|
+
port: bridgePort,
|
|
1053
|
+
sessionId,
|
|
1054
|
+
},
|
|
1055
|
+
}, null, 2)}\n`, "utf8");
|
|
1056
|
+
const child = spawn(executionCheck.launchPreview.command?.[0] ?? "", executionCheck.launchPreview.command?.slice(1) ?? [], {
|
|
1057
|
+
cwd: executionCheck.launchPreview.cwd ?? undefined,
|
|
1058
|
+
env: {
|
|
1059
|
+
...process.env,
|
|
1060
|
+
...Object.fromEntries(executionCheck.launchPreview.env.map((entry) => [entry.name, entry.value])),
|
|
1061
|
+
},
|
|
1062
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
1063
|
+
});
|
|
1064
|
+
startedChild = child;
|
|
1065
|
+
const stdoutChunks = [];
|
|
1066
|
+
const stderrChunks = [];
|
|
1067
|
+
child.stdout.on("data", (chunk) => {
|
|
1068
|
+
const text = typeof chunk === "string" ? chunk : chunk.toString("utf8");
|
|
1069
|
+
stdoutChunks.push(text);
|
|
1070
|
+
void fs.appendFile(stdoutPath, text, "utf8");
|
|
1071
|
+
});
|
|
1072
|
+
child.stderr.on("data", (chunk) => {
|
|
1073
|
+
const text = typeof chunk === "string" ? chunk : chunk.toString("utf8");
|
|
1074
|
+
stderrChunks.push(text);
|
|
1075
|
+
void fs.appendFile(stderrPath, text, "utf8");
|
|
1076
|
+
});
|
|
1077
|
+
const exitCode = { value: null };
|
|
1078
|
+
const exitPromise = new Promise((resolve, reject) => {
|
|
1079
|
+
child.on("error", reject);
|
|
1080
|
+
child.on("close", (code) => {
|
|
1081
|
+
exitCode.value = code ?? 1;
|
|
1082
|
+
resolve(exitCode.value);
|
|
1083
|
+
});
|
|
1084
|
+
});
|
|
1085
|
+
const ws = await connectBridgeSocket({
|
|
1086
|
+
port: bridgePort,
|
|
1087
|
+
token: bridgeToken,
|
|
1088
|
+
sessionId,
|
|
1089
|
+
timeoutMs: BRIDGE_HANDSHAKE_TIMEOUT_MS,
|
|
1090
|
+
});
|
|
1091
|
+
startedSocket = ws;
|
|
1092
|
+
const entries = await listBridgeEntriesFromSocket(ws, sessionId);
|
|
1093
|
+
const handle = {
|
|
1094
|
+
sessionId,
|
|
1095
|
+
targetPath: input.targetPath,
|
|
1096
|
+
recipeId: input.recipeId,
|
|
1097
|
+
artifactDirectory,
|
|
1098
|
+
workspace,
|
|
1099
|
+
workspaceMode: input.workspaceMode,
|
|
1100
|
+
startedAt,
|
|
1101
|
+
launchPreview: executionCheck.launchPreview,
|
|
1102
|
+
bridgePort,
|
|
1103
|
+
bridgeToken,
|
|
1104
|
+
workingCopyPath: input.workspaceMode === "isolated_copy" ? workspace.workspacePath : null,
|
|
1105
|
+
child,
|
|
1106
|
+
stdoutPath,
|
|
1107
|
+
stderrPath,
|
|
1108
|
+
transcriptPath,
|
|
1109
|
+
launchPath,
|
|
1110
|
+
stdoutChunks,
|
|
1111
|
+
stderrChunks,
|
|
1112
|
+
transcript: [],
|
|
1113
|
+
exitPromise,
|
|
1114
|
+
exitCode,
|
|
1115
|
+
ws,
|
|
1116
|
+
entries,
|
|
1117
|
+
state: "ready",
|
|
1118
|
+
finishedAt: null,
|
|
1119
|
+
invocationBusy: false,
|
|
1120
|
+
};
|
|
1121
|
+
recordBridgeEvent(handle, "session_started", {
|
|
1122
|
+
bridgePort,
|
|
1123
|
+
entryCount: entries.length,
|
|
1124
|
+
});
|
|
1125
|
+
sessions.set(sessionId, handle);
|
|
1126
|
+
child.on("close", () => {
|
|
1127
|
+
if (handle.state !== "closed") {
|
|
1128
|
+
handle.state = "closed";
|
|
1129
|
+
handle.finishedAt = new Date().toISOString();
|
|
1130
|
+
recordBridgeEvent(handle, "process_closed", {
|
|
1131
|
+
exitCode: handle.exitCode.value,
|
|
1132
|
+
});
|
|
1133
|
+
void finalizeBridgeSession(handle);
|
|
1134
|
+
}
|
|
1135
|
+
});
|
|
1136
|
+
ws.on("close", () => {
|
|
1137
|
+
if (handle.state !== "closed" && handle.exitCode.value === null) {
|
|
1138
|
+
recordBridgeEvent(handle, "socket_closed", {});
|
|
1139
|
+
}
|
|
1140
|
+
});
|
|
1141
|
+
ws.on("error", (error) => {
|
|
1142
|
+
recordBridgeEvent(handle, "socket_error", {
|
|
1143
|
+
message: error.message,
|
|
1144
|
+
});
|
|
1145
|
+
});
|
|
1146
|
+
return {
|
|
1147
|
+
targetPath: input.targetPath,
|
|
1148
|
+
recipeId: input.recipeId,
|
|
1149
|
+
state: "ready",
|
|
1150
|
+
summary: `Runtime bridge session "${sessionId}" is ready.`,
|
|
1151
|
+
reasons: [],
|
|
1152
|
+
bridge: {
|
|
1153
|
+
required: true,
|
|
1154
|
+
state: "ready",
|
|
1155
|
+
summary: "Runtime bridge session is connected and ready for bounded invocation.",
|
|
1156
|
+
reasons: [],
|
|
1157
|
+
},
|
|
1158
|
+
launchCommand: executionCheck.launchPreview.command,
|
|
1159
|
+
session: summarizeBridgeSession(handle),
|
|
1160
|
+
};
|
|
1161
|
+
}
|
|
1162
|
+
catch (error) {
|
|
1163
|
+
if (startedSocket && startedSocket.readyState === WebSocket.OPEN) {
|
|
1164
|
+
startedSocket.close();
|
|
1165
|
+
}
|
|
1166
|
+
if (startedChild) {
|
|
1167
|
+
startedChild.kill("SIGTERM");
|
|
1168
|
+
}
|
|
1169
|
+
await workspace.cleanup();
|
|
1170
|
+
return {
|
|
1171
|
+
targetPath: input.targetPath,
|
|
1172
|
+
recipeId: input.recipeId,
|
|
1173
|
+
state: "failed",
|
|
1174
|
+
summary: `Runtime bridge session start failed: ${formatBridgeError(error)}.`,
|
|
1175
|
+
reasons: ["bridge_start_failed"],
|
|
1176
|
+
bridge: bridgeMissing(formatBridgeError(error)),
|
|
1177
|
+
launchCommand: liveCheck.launchPreview.command,
|
|
1178
|
+
session: null,
|
|
1179
|
+
};
|
|
1180
|
+
}
|
|
1181
|
+
},
|
|
1182
|
+
async listEntries(sessionId) {
|
|
1183
|
+
const session = sessions.get(sessionId) ?? null;
|
|
1184
|
+
if (session === null) {
|
|
1185
|
+
return {
|
|
1186
|
+
sessionId,
|
|
1187
|
+
state: "missing",
|
|
1188
|
+
summary: `Runtime bridge session "${sessionId}" was not found.`,
|
|
1189
|
+
reasons: ["bridge_session_not_found"],
|
|
1190
|
+
entries: [],
|
|
1191
|
+
};
|
|
1192
|
+
}
|
|
1193
|
+
if (session.state !== "ready") {
|
|
1194
|
+
return {
|
|
1195
|
+
sessionId,
|
|
1196
|
+
state: "missing",
|
|
1197
|
+
summary: `Runtime bridge session "${sessionId}" is no longer active.`,
|
|
1198
|
+
reasons: ["bridge_session_not_active"],
|
|
1199
|
+
entries: session.entries,
|
|
1200
|
+
};
|
|
1201
|
+
}
|
|
1202
|
+
session.entries = await listBridgeEntriesFromSocket(session.ws, sessionId);
|
|
1203
|
+
return {
|
|
1204
|
+
sessionId,
|
|
1205
|
+
state: "ready",
|
|
1206
|
+
summary: `Loaded ${session.entries.length} bridge entr${session.entries.length === 1 ? "y" : "ies"} for session "${sessionId}".`,
|
|
1207
|
+
reasons: [],
|
|
1208
|
+
entries: session.entries,
|
|
1209
|
+
};
|
|
1210
|
+
},
|
|
1211
|
+
async invokeEntry(sessionId, entryId, inputValue) {
|
|
1212
|
+
const session = sessions.get(sessionId) ?? null;
|
|
1213
|
+
if (session === null) {
|
|
1214
|
+
return {
|
|
1215
|
+
sessionId,
|
|
1216
|
+
entryId,
|
|
1217
|
+
state: "unavailable",
|
|
1218
|
+
summary: `Runtime bridge session "${sessionId}" was not found.`,
|
|
1219
|
+
reasons: ["bridge_session_not_found"],
|
|
1220
|
+
result: null,
|
|
1221
|
+
transcriptPath: null,
|
|
1222
|
+
};
|
|
1223
|
+
}
|
|
1224
|
+
if (session.state !== "ready") {
|
|
1225
|
+
return {
|
|
1226
|
+
sessionId,
|
|
1227
|
+
entryId,
|
|
1228
|
+
state: "unavailable",
|
|
1229
|
+
summary: `Runtime bridge session "${sessionId}" is no longer active.`,
|
|
1230
|
+
reasons: ["bridge_session_not_active"],
|
|
1231
|
+
result: null,
|
|
1232
|
+
transcriptPath: session.transcriptPath,
|
|
1233
|
+
};
|
|
1234
|
+
}
|
|
1235
|
+
if (session.invocationBusy) {
|
|
1236
|
+
return {
|
|
1237
|
+
sessionId,
|
|
1238
|
+
entryId,
|
|
1239
|
+
state: "busy",
|
|
1240
|
+
summary: `Runtime bridge session "${sessionId}" is already handling another invocation.`,
|
|
1241
|
+
reasons: ["bridge_session_busy"],
|
|
1242
|
+
result: null,
|
|
1243
|
+
transcriptPath: session.transcriptPath,
|
|
1244
|
+
};
|
|
1245
|
+
}
|
|
1246
|
+
session.invocationBusy = true;
|
|
1247
|
+
try {
|
|
1248
|
+
recordBridgeEvent(session, "invoke_request", {
|
|
1249
|
+
entryId,
|
|
1250
|
+
input: inputValue,
|
|
1251
|
+
});
|
|
1252
|
+
const response = await invokeBridgeEntryOverSocket(session.ws, sessionId, entryId, inputValue);
|
|
1253
|
+
recordBridgeEvent(session, "invoke_response", {
|
|
1254
|
+
entryId,
|
|
1255
|
+
state: response.state,
|
|
1256
|
+
result: response.result,
|
|
1257
|
+
error: response.error,
|
|
1258
|
+
});
|
|
1259
|
+
return {
|
|
1260
|
+
sessionId,
|
|
1261
|
+
entryId,
|
|
1262
|
+
state: response.state,
|
|
1263
|
+
summary: response.state === "ok"
|
|
1264
|
+
? `Bridge entry "${entryId}" completed successfully.`
|
|
1265
|
+
: `Bridge entry "${entryId}" returned state "${response.state}".`,
|
|
1266
|
+
reasons: response.error ? [response.error] : [],
|
|
1267
|
+
result: response.result,
|
|
1268
|
+
transcriptPath: session.transcriptPath,
|
|
1269
|
+
};
|
|
1270
|
+
}
|
|
1271
|
+
catch (error) {
|
|
1272
|
+
recordBridgeEvent(session, "invoke_error", {
|
|
1273
|
+
entryId,
|
|
1274
|
+
message: formatBridgeError(error),
|
|
1275
|
+
});
|
|
1276
|
+
return {
|
|
1277
|
+
sessionId,
|
|
1278
|
+
entryId,
|
|
1279
|
+
state: "failed",
|
|
1280
|
+
summary: `Bridge entry "${entryId}" failed: ${formatBridgeError(error)}.`,
|
|
1281
|
+
reasons: ["bridge_invoke_failed"],
|
|
1282
|
+
result: null,
|
|
1283
|
+
transcriptPath: session.transcriptPath,
|
|
1284
|
+
};
|
|
1285
|
+
}
|
|
1286
|
+
finally {
|
|
1287
|
+
session.invocationBusy = false;
|
|
1288
|
+
}
|
|
1289
|
+
},
|
|
1290
|
+
async stopSession(sessionId) {
|
|
1291
|
+
const session = sessions.get(sessionId) ?? null;
|
|
1292
|
+
if (session === null) {
|
|
1293
|
+
return {
|
|
1294
|
+
sessionId,
|
|
1295
|
+
state: "missing",
|
|
1296
|
+
summary: `Runtime bridge session "${sessionId}" was not found.`,
|
|
1297
|
+
reasons: ["bridge_session_not_found"],
|
|
1298
|
+
session: null,
|
|
1299
|
+
transcriptPath: null,
|
|
1300
|
+
exitCode: null,
|
|
1301
|
+
};
|
|
1302
|
+
}
|
|
1303
|
+
sessions.delete(sessionId);
|
|
1304
|
+
return stopBridgeSessionHandle(session);
|
|
1305
|
+
},
|
|
1306
|
+
async stopAll() {
|
|
1307
|
+
const activeSessions = [...sessions.values()];
|
|
1308
|
+
sessions.clear();
|
|
1309
|
+
await Promise.all(activeSessions.map((session) => stopBridgeSessionHandle(session)));
|
|
1310
|
+
},
|
|
1311
|
+
};
|
|
1312
|
+
}
|
|
1313
|
+
async function stopBridgeSessionHandle(session) {
|
|
1314
|
+
session.state = "closed";
|
|
1315
|
+
recordBridgeEvent(session, "session_stop_requested", {});
|
|
1316
|
+
if (session.ws.readyState === WebSocket.OPEN || session.ws.readyState === WebSocket.CONNECTING) {
|
|
1317
|
+
session.ws.close();
|
|
1318
|
+
}
|
|
1319
|
+
if (session.exitCode.value === null) {
|
|
1320
|
+
session.child.kill("SIGTERM");
|
|
1321
|
+
const exited = await Promise.race([
|
|
1322
|
+
session.exitPromise,
|
|
1323
|
+
waitMs(2000).then(() => null),
|
|
1324
|
+
]);
|
|
1325
|
+
if (exited === null) {
|
|
1326
|
+
session.child.kill("SIGKILL");
|
|
1327
|
+
await session.exitPromise;
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
session.finishedAt = new Date().toISOString();
|
|
1331
|
+
recordBridgeEvent(session, "session_stopped", {
|
|
1332
|
+
exitCode: session.exitCode.value,
|
|
1333
|
+
});
|
|
1334
|
+
await finalizeBridgeSession(session);
|
|
1335
|
+
return {
|
|
1336
|
+
sessionId: session.sessionId,
|
|
1337
|
+
state: "stopped",
|
|
1338
|
+
summary: `Runtime bridge session "${session.sessionId}" stopped.`,
|
|
1339
|
+
reasons: [],
|
|
1340
|
+
session: summarizeBridgeSession(session),
|
|
1341
|
+
transcriptPath: session.transcriptPath,
|
|
1342
|
+
exitCode: session.exitCode.value,
|
|
1343
|
+
};
|
|
1344
|
+
}
|
|
1345
|
+
async function finalizeBridgeSession(session) {
|
|
1346
|
+
const payload = {
|
|
1347
|
+
session: summarizeBridgeSession(session),
|
|
1348
|
+
launch: {
|
|
1349
|
+
cwd: session.launchPreview.cwd,
|
|
1350
|
+
command: session.launchPreview.command,
|
|
1351
|
+
env: session.launchPreview.env,
|
|
1352
|
+
workspaceMode: session.launchPreview.workspaceMode,
|
|
1353
|
+
},
|
|
1354
|
+
transcript: session.transcript,
|
|
1355
|
+
};
|
|
1356
|
+
await fs.mkdir(session.artifactDirectory, { recursive: true });
|
|
1357
|
+
await fs.writeFile(session.transcriptPath, `${JSON.stringify(payload, null, 2)}\n`, "utf8");
|
|
1358
|
+
await session.workspace.cleanup();
|
|
1359
|
+
}
|
|
1360
|
+
function summarizeBridgeSession(session) {
|
|
1361
|
+
return {
|
|
1362
|
+
sessionId: session.sessionId,
|
|
1363
|
+
targetPath: session.targetPath,
|
|
1364
|
+
recipeId: session.recipeId,
|
|
1365
|
+
state: session.state,
|
|
1366
|
+
startedAt: session.startedAt,
|
|
1367
|
+
finishedAt: session.finishedAt,
|
|
1368
|
+
workspaceMode: session.workspaceMode,
|
|
1369
|
+
workingCopyPath: session.workingCopyPath,
|
|
1370
|
+
artifactDirectory: session.artifactDirectory,
|
|
1371
|
+
entries: session.entries,
|
|
1372
|
+
};
|
|
1373
|
+
}
|
|
1374
|
+
function recordBridgeEvent(session, event, payload) {
|
|
1375
|
+
session.transcript.push({
|
|
1376
|
+
recordedAt: new Date().toISOString(),
|
|
1377
|
+
event,
|
|
1378
|
+
...payload,
|
|
1379
|
+
});
|
|
1380
|
+
}
|
|
1381
|
+
function bridgeMissing(reason) {
|
|
1382
|
+
return {
|
|
1383
|
+
required: true,
|
|
1384
|
+
state: "missing",
|
|
1385
|
+
summary: "Runtime bridge is required for this operation but is not available.",
|
|
1386
|
+
reasons: [reason],
|
|
1387
|
+
};
|
|
1388
|
+
}
|
|
1389
|
+
function buildBridgeSessionId(recipeId) {
|
|
1390
|
+
return `${new Date().toISOString().replace(/[:.]/g, "-")}-${recipeId}`;
|
|
1391
|
+
}
|
|
1392
|
+
function waitMs(delayMs) {
|
|
1393
|
+
return new Promise((resolve) => {
|
|
1394
|
+
setTimeout(resolve, delayMs);
|
|
1395
|
+
});
|
|
1396
|
+
}
|
|
1397
|
+
function bridgeDataToString(data) {
|
|
1398
|
+
if (typeof data === "string") {
|
|
1399
|
+
return data;
|
|
1400
|
+
}
|
|
1401
|
+
if (data instanceof ArrayBuffer) {
|
|
1402
|
+
return Buffer.from(data).toString("utf8");
|
|
1403
|
+
}
|
|
1404
|
+
if (Array.isArray(data)) {
|
|
1405
|
+
return Buffer.concat(data.map((entry) => Buffer.from(entry))).toString("utf8");
|
|
1406
|
+
}
|
|
1407
|
+
return Buffer.from(data).toString("utf8");
|
|
1408
|
+
}
|
|
1409
|
+
async function createBridgeArtifactDirectory(targetPath, recipeId, sessionId) {
|
|
1410
|
+
const directory = path.join(targetPath, BRIDGE_SESSION_DIRECTORY, `${sessionId}-${recipeId}`);
|
|
1411
|
+
await fs.mkdir(directory, { recursive: true });
|
|
1412
|
+
return directory;
|
|
1413
|
+
}
|
|
1414
|
+
async function reserveTcpPort() {
|
|
1415
|
+
return new Promise((resolve, reject) => {
|
|
1416
|
+
const server = net.createServer();
|
|
1417
|
+
server.on("error", reject);
|
|
1418
|
+
server.listen(0, "127.0.0.1", () => {
|
|
1419
|
+
const address = server.address();
|
|
1420
|
+
const port = typeof address === "object" && address !== null ? address.port : null;
|
|
1421
|
+
server.close((error) => {
|
|
1422
|
+
if (error) {
|
|
1423
|
+
reject(error);
|
|
1424
|
+
return;
|
|
1425
|
+
}
|
|
1426
|
+
if (port === null) {
|
|
1427
|
+
reject(new Error("Failed to reserve a dynamic TCP port for the runtime bridge."));
|
|
1428
|
+
return;
|
|
1429
|
+
}
|
|
1430
|
+
resolve(port);
|
|
1431
|
+
});
|
|
1432
|
+
});
|
|
1433
|
+
});
|
|
1434
|
+
}
|
|
1435
|
+
async function connectBridgeSocket(input) {
|
|
1436
|
+
const deadline = Date.now() + input.timeoutMs;
|
|
1437
|
+
let lastError = null;
|
|
1438
|
+
while (Date.now() < deadline) {
|
|
1439
|
+
try {
|
|
1440
|
+
return await attemptBridgeSocketConnection(input);
|
|
1441
|
+
}
|
|
1442
|
+
catch (error) {
|
|
1443
|
+
const failure = error instanceof Error ? error : new Error(String(error));
|
|
1444
|
+
lastError = failure;
|
|
1445
|
+
const codeCandidate = failure;
|
|
1446
|
+
const code = typeof codeCandidate.code === "string" ? codeCandidate.code : null;
|
|
1447
|
+
const retryable = code === "ECONNREFUSED" ||
|
|
1448
|
+
code === "ECONNRESET" ||
|
|
1449
|
+
code === "ENOENT" ||
|
|
1450
|
+
failure.message.includes("socket hang up");
|
|
1451
|
+
if (!retryable && !failure.message.includes("Timed out waiting")) {
|
|
1452
|
+
throw failure;
|
|
1453
|
+
}
|
|
1454
|
+
await waitMs(100);
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
throw new Error(lastError?.message ??
|
|
1458
|
+
"Timed out waiting for the runtime bridge WebSocket handshake.");
|
|
1459
|
+
}
|
|
1460
|
+
async function attemptBridgeSocketConnection(input) {
|
|
1461
|
+
return new Promise((resolve, reject) => {
|
|
1462
|
+
const socket = new WebSocket(`ws://127.0.0.1:${input.port}`);
|
|
1463
|
+
const timeout = setTimeout(() => {
|
|
1464
|
+
socket.close();
|
|
1465
|
+
reject(new Error("Timed out waiting for the runtime bridge WebSocket handshake."));
|
|
1466
|
+
}, Math.min(1000, input.timeoutMs));
|
|
1467
|
+
socket.once("error", (error) => {
|
|
1468
|
+
clearTimeout(timeout);
|
|
1469
|
+
reject(error);
|
|
1470
|
+
});
|
|
1471
|
+
socket.once("open", () => {
|
|
1472
|
+
socket.send(JSON.stringify({
|
|
1473
|
+
kind: "hello",
|
|
1474
|
+
session_id: input.sessionId,
|
|
1475
|
+
token: input.token,
|
|
1476
|
+
}));
|
|
1477
|
+
});
|
|
1478
|
+
socket.on("message", (data) => {
|
|
1479
|
+
try {
|
|
1480
|
+
const parsed = JSON.parse(bridgeDataToString(data));
|
|
1481
|
+
if (parsed.kind === "hello_ok") {
|
|
1482
|
+
clearTimeout(timeout);
|
|
1483
|
+
socket.removeAllListeners("message");
|
|
1484
|
+
socket.gdhEntries =
|
|
1485
|
+
parsed.entries ?? [];
|
|
1486
|
+
resolve(socket);
|
|
1487
|
+
return;
|
|
1488
|
+
}
|
|
1489
|
+
if (parsed.kind === "error") {
|
|
1490
|
+
clearTimeout(timeout);
|
|
1491
|
+
socket.close();
|
|
1492
|
+
reject(new Error(parsed.error ?? "Runtime bridge handshake failed."));
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
catch (error) {
|
|
1496
|
+
clearTimeout(timeout);
|
|
1497
|
+
socket.close();
|
|
1498
|
+
reject(error);
|
|
1499
|
+
}
|
|
1500
|
+
});
|
|
1501
|
+
});
|
|
1502
|
+
}
|
|
1503
|
+
async function listBridgeEntriesFromSocket(socket, sessionId) {
|
|
1504
|
+
const cachedEntries = socket.gdhEntries ??
|
|
1505
|
+
null;
|
|
1506
|
+
if (cachedEntries !== null) {
|
|
1507
|
+
return cachedEntries;
|
|
1508
|
+
}
|
|
1509
|
+
const response = await sendBridgeRequest(socket, {
|
|
1510
|
+
kind: "list_entries",
|
|
1511
|
+
request_id: `${sessionId}-list-${randomBytes(8).toString("hex")}`,
|
|
1512
|
+
});
|
|
1513
|
+
const entries = response.result ?? [];
|
|
1514
|
+
socket.gdhEntries = entries;
|
|
1515
|
+
return entries;
|
|
1516
|
+
}
|
|
1517
|
+
async function invokeBridgeEntryOverSocket(socket, sessionId, entryId, input) {
|
|
1518
|
+
const response = await sendBridgeRequest(socket, {
|
|
1519
|
+
kind: "invoke",
|
|
1520
|
+
request_id: `${sessionId}-invoke-${randomBytes(8).toString("hex")}`,
|
|
1521
|
+
entry_id: entryId,
|
|
1522
|
+
input,
|
|
1523
|
+
});
|
|
1524
|
+
return {
|
|
1525
|
+
state: normalizeBridgeInvocationState(response.state),
|
|
1526
|
+
result: response.result ?? null,
|
|
1527
|
+
error: response.error ?? null,
|
|
1528
|
+
};
|
|
1529
|
+
}
|
|
1530
|
+
async function sendBridgeRequest(socket, payload) {
|
|
1531
|
+
const requestId = String(payload["request_id"] ?? "");
|
|
1532
|
+
return new Promise((resolve, reject) => {
|
|
1533
|
+
const cleanup = () => {
|
|
1534
|
+
socket.off("message", onMessage);
|
|
1535
|
+
socket.off("error", onError);
|
|
1536
|
+
socket.off("close", onClose);
|
|
1537
|
+
};
|
|
1538
|
+
const onError = (error) => {
|
|
1539
|
+
cleanup();
|
|
1540
|
+
reject(error);
|
|
1541
|
+
};
|
|
1542
|
+
const onClose = () => {
|
|
1543
|
+
cleanup();
|
|
1544
|
+
reject(new Error("Runtime bridge socket closed while waiting for a response."));
|
|
1545
|
+
};
|
|
1546
|
+
const onMessage = (data) => {
|
|
1547
|
+
try {
|
|
1548
|
+
const parsed = JSON.parse(bridgeDataToString(data));
|
|
1549
|
+
if (parsed.kind !== "response" || parsed.request_id !== requestId) {
|
|
1550
|
+
return;
|
|
1551
|
+
}
|
|
1552
|
+
cleanup();
|
|
1553
|
+
resolve({
|
|
1554
|
+
state: parsed.state ?? "failed",
|
|
1555
|
+
result: parsed.result ?? null,
|
|
1556
|
+
error: parsed.error ?? null,
|
|
1557
|
+
});
|
|
1558
|
+
}
|
|
1559
|
+
catch (error) {
|
|
1560
|
+
cleanup();
|
|
1561
|
+
reject(error);
|
|
1562
|
+
}
|
|
1563
|
+
};
|
|
1564
|
+
socket.on("message", onMessage);
|
|
1565
|
+
socket.once("error", onError);
|
|
1566
|
+
socket.once("close", onClose);
|
|
1567
|
+
socket.send(JSON.stringify(payload), (error) => {
|
|
1568
|
+
if (error) {
|
|
1569
|
+
cleanup();
|
|
1570
|
+
reject(error);
|
|
1571
|
+
}
|
|
1572
|
+
});
|
|
1573
|
+
});
|
|
1574
|
+
}
|
|
1575
|
+
function normalizeBridgeInvocationState(value) {
|
|
1576
|
+
if (value === "ok" ||
|
|
1577
|
+
value === "unavailable" ||
|
|
1578
|
+
value === "busy" ||
|
|
1579
|
+
value === "failed" ||
|
|
1580
|
+
value === "cancelled") {
|
|
1581
|
+
return value;
|
|
1582
|
+
}
|
|
1583
|
+
return "failed";
|
|
1584
|
+
}
|
|
1585
|
+
function formatBridgeError(error) {
|
|
1586
|
+
return error instanceof Error ? error.message : String(error);
|
|
1587
|
+
}
|
|
1588
|
+
async function inspectJsonArtifact(input) {
|
|
1589
|
+
if (input.artifactPath === null) {
|
|
1590
|
+
return {
|
|
1591
|
+
id: input.id,
|
|
1592
|
+
state: "missing",
|
|
1593
|
+
summary: input.missingSummary,
|
|
1594
|
+
artifactPath: null,
|
|
1595
|
+
value: null,
|
|
1596
|
+
};
|
|
1597
|
+
}
|
|
1598
|
+
const content = await fs.readFile(input.artifactPath, "utf8").catch(() => null);
|
|
1599
|
+
if (content === null) {
|
|
1600
|
+
return {
|
|
1601
|
+
id: input.id,
|
|
1602
|
+
state: "missing",
|
|
1603
|
+
summary: input.missingSummary,
|
|
1604
|
+
artifactPath: input.artifactPath,
|
|
1605
|
+
value: null,
|
|
1606
|
+
};
|
|
1607
|
+
}
|
|
1608
|
+
try {
|
|
1609
|
+
return {
|
|
1610
|
+
id: input.id,
|
|
1611
|
+
state: "available",
|
|
1612
|
+
summary: input.availableSummary,
|
|
1613
|
+
artifactPath: input.artifactPath,
|
|
1614
|
+
value: JSON.parse(content),
|
|
1615
|
+
};
|
|
1616
|
+
}
|
|
1617
|
+
catch {
|
|
1618
|
+
return {
|
|
1619
|
+
id: input.id,
|
|
1620
|
+
state: "invalid",
|
|
1621
|
+
summary: input.invalidSummary,
|
|
1622
|
+
artifactPath: input.artifactPath,
|
|
1623
|
+
value: null,
|
|
1624
|
+
};
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
async function inspectTextArtifact(input) {
|
|
1628
|
+
if (input.artifactPath === null) {
|
|
1629
|
+
return {
|
|
1630
|
+
id: input.id,
|
|
1631
|
+
state: "missing",
|
|
1632
|
+
summary: input.missingSummary,
|
|
1633
|
+
artifactPath: null,
|
|
1634
|
+
value: null,
|
|
1635
|
+
};
|
|
1636
|
+
}
|
|
1637
|
+
const content = await fs.readFile(input.artifactPath, "utf8").catch(() => null);
|
|
1638
|
+
if (content === null) {
|
|
1639
|
+
return {
|
|
1640
|
+
id: input.id,
|
|
1641
|
+
state: "missing",
|
|
1642
|
+
summary: input.missingSummary,
|
|
1643
|
+
artifactPath: input.artifactPath,
|
|
1644
|
+
value: null,
|
|
1645
|
+
};
|
|
1646
|
+
}
|
|
1647
|
+
return {
|
|
1648
|
+
id: input.id,
|
|
1649
|
+
state: "available",
|
|
1650
|
+
summary: input.availableSummary,
|
|
1651
|
+
artifactPath: input.artifactPath,
|
|
1652
|
+
value: content,
|
|
1653
|
+
};
|
|
1654
|
+
}
|
|
1655
|
+
async function pathExists(targetPath) {
|
|
1656
|
+
return fs
|
|
1657
|
+
.access(targetPath)
|
|
1658
|
+
.then(() => true)
|
|
1659
|
+
.catch(() => false);
|
|
1660
|
+
}
|
|
1661
|
+
function toRecord(value) {
|
|
1662
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) {
|
|
1663
|
+
return {};
|
|
1664
|
+
}
|
|
1665
|
+
return value;
|
|
1666
|
+
}
|
|
1667
|
+
function readString(value) {
|
|
1668
|
+
if (typeof value !== "string") {
|
|
1669
|
+
return "";
|
|
1670
|
+
}
|
|
1671
|
+
return value;
|
|
1672
|
+
}
|
|
1673
|
+
function readNullableString(value) {
|
|
1674
|
+
return typeof value === "string" ? value : null;
|
|
1675
|
+
}
|
|
1676
|
+
function readNumber(value) {
|
|
1677
|
+
return typeof value === "number" ? value : Number.parseInt(readString(value), 10);
|
|
1678
|
+
}
|
|
1679
|
+
function readBoolean(value, fallback) {
|
|
1680
|
+
if (typeof value === "boolean") {
|
|
1681
|
+
return value;
|
|
1682
|
+
}
|
|
1683
|
+
return fallback;
|
|
1684
|
+
}
|
|
1685
|
+
function readStringArray(value, fallback = []) {
|
|
1686
|
+
if (!Array.isArray(value)) {
|
|
1687
|
+
return fallback;
|
|
1688
|
+
}
|
|
1689
|
+
return value
|
|
1690
|
+
.filter((entry) => typeof entry === "string")
|
|
1691
|
+
.map((entry) => entry);
|
|
1692
|
+
}
|
|
1693
|
+
function readObjectArray(value) {
|
|
1694
|
+
if (!Array.isArray(value)) {
|
|
1695
|
+
return [];
|
|
1696
|
+
}
|
|
1697
|
+
return value.map((entry) => toRecord(entry));
|
|
1698
|
+
}
|
|
1699
|
+
//# sourceMappingURL=index.js.map
|