playwright-codegen-pro-core 1.0.3 → 1.0.5
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/bundles/mcp/node_modules/.package-lock.json +1126 -0
- package/bundles/mcp/node_modules/@hono/node-server/LICENSE +21 -0
- package/bundles/mcp/node_modules/@hono/node-server/README.md +358 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/conninfo.d.mts +10 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/conninfo.d.ts +10 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/conninfo.js +42 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/conninfo.mjs +17 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/globals.d.mts +2 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/globals.d.ts +2 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/globals.js +29 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/globals.mjs +5 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/index.d.mts +8 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/index.d.ts +8 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/index.js +632 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/index.mjs +592 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/listener.d.mts +13 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/listener.d.ts +13 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/listener.js +600 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/listener.mjs +565 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/request.d.mts +25 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/request.d.ts +25 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/request.js +227 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/request.mjs +195 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/response.d.mts +26 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/response.d.ts +26 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/response.js +101 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/response.mjs +74 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/serve-static.d.mts +17 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/serve-static.d.ts +17 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/serve-static.js +177 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/serve-static.mjs +152 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/server.d.mts +10 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/server.d.ts +10 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/server.js +626 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/server.mjs +590 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/types.d.mts +44 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/types.d.ts +44 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/types.js +18 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/types.mjs +0 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/utils/response/constants.d.mts +3 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/utils/response/constants.d.ts +3 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/utils/response/constants.js +30 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/utils/response/constants.mjs +5 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/utils/response.d.mts +3 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/utils/response.d.ts +3 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/utils/response.js +37 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/utils/response.mjs +10 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/utils.d.mts +9 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/utils.d.ts +9 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/utils.js +99 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/utils.mjs +71 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/vercel.d.mts +7 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/vercel.d.ts +7 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/vercel.js +607 -0
- package/bundles/mcp/node_modules/@hono/node-server/dist/vercel.mjs +570 -0
- package/bundles/mcp/node_modules/@hono/node-server/package.json +103 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/LICENSE +21 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/README.md +169 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.d.ts +190 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.js +299 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.d.ts +368 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.js +848 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.d.ts +588 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.js +629 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.d.ts +169 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.js +252 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.d.ts +81 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.js +211 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.d.ts +77 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.js +199 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.d.ts +171 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.js +482 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.d.ts +17 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.js +58 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.js +692 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.js +134 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.js +176 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.d.ts +20 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.js +70 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.d.ts +3 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.js +413 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.d.ts +26 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.js +51 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.js +818 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.d.ts +10 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.js +157 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.js +95 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.js +168 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.d.ts +78 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.js +205 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.js +437 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.js +656 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.d.ts +10 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.js +85 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.js +171 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.d.ts +7 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.js +95 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.js +168 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.js +166 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.js +661 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.d.ts +12 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.js +600 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.js +256 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.js +107 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.js +124 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.js +73 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.d.ts +31 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.js +69 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.d.ts +13 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.js +29 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.d.ts +121 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.js +188 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.d.ts +47 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.js +68 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.d.ts +16 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.js +39 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.d.ts +232 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.js +19 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.d.ts +77 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.js +36 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.d.ts +83 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.js +93 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.d.ts +94 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.js +251 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.d.ts +10 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.js +28 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.d.ts +31 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.js +51 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/package.json +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.d.ts +19 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.js +3 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.d.ts +148 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.js +202 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.d.ts +13 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.js +167 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.d.ts +4 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.js +21 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.d.ts +29 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.js +77 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.d.ts +13 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.js +65 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.d.ts +13 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.js +136 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.d.ts +9 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.js +21 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.d.ts +35 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.js +75 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.d.ts +19 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.js +71 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.d.ts +68 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.js +3 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.d.ts +49 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.js +159 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.d.ts +101 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.js +128 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.d.ts +32 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.js +3 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.d.ts +38 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.js +48 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.d.ts +45 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.js +56 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.d.ts +196 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.js +444 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.d.ts +364 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js +918 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.d.ts +32 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.js +80 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.d.ts +82 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.js +165 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.d.ts +28 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.js +82 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.d.ts +122 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.js +165 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.d.ts +268 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.js +736 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.d.ts +84 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.js +244 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.d.ts +12 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.js +79 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.d.ts +23 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.js +48 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.d.ts +240 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.js +224 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.d.ts +16 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.js +25 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.d.ts +443 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.js +1104 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.d.ts +45 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.js +23 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts +13 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.js +37 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.d.ts +31 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.js +97 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts +89 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.js +43 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.d.ts +25 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.js +243 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.d.ts +2299 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.js +27 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.d.ts +8133 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.js +2092 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.d.ts +53 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.js +94 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.d.ts +51 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.js +69 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.d.ts +29 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.js +30 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.d.ts +65 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.js +3 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.d.ts +190 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.js +269 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.d.ts +368 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js +824 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.d.ts +588 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js +624 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.d.ts +169 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.js +245 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.d.ts +81 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js +206 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.d.ts +77 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js +191 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.d.ts +171 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js +477 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.d.ts +17 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.js +54 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.js +690 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.js +132 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.js +174 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.d.ts +20 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.js +68 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.d.ts +3 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.js +411 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.d.ts +26 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.js +47 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.js +816 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.d.ts +10 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.js +155 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.js +93 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.js +166 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.d.ts +78 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.js +196 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.js +435 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.js +651 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.d.ts +10 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.js +60 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.js +146 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.d.ts +7 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.js +70 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.js +143 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.js +141 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.js +636 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.d.ts +12 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.js +598 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.js +231 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.js +102 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.js +122 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.d.ts +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.js +48 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.d.ts +31 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.js +65 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.d.ts +13 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.js +13 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.d.ts +121 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js +184 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.d.ts +47 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js +64 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.d.ts +16 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.js +20 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.d.ts +232 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js +16 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.d.ts +77 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js +32 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.d.ts +83 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js +89 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.d.ts +94 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.js +246 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.d.ts +10 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.js +10 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.d.ts +31 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.js +47 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/package.json +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.d.ts +19 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.js +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.d.ts +148 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js +180 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.d.ts +13 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.js +138 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.d.ts +4 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.js +15 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.d.ts +29 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.js +71 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.d.ts +13 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.js +59 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.d.ts +13 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.js +107 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.d.ts +9 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.js +18 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.d.ts +35 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.js +72 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.d.ts +19 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.js +45 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.d.ts +68 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.js +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.d.ts +49 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.js +155 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.d.ts +101 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.js +118 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.d.ts +32 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.js +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.d.ts +38 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js +41 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.d.ts +45 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.js +50 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.d.ts +196 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js +440 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts +364 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js +913 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.d.ts +32 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.js +76 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.d.ts +82 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js +158 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.d.ts +28 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js +75 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.d.ts +122 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.js +161 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.d.ts +268 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js +732 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.d.ts +84 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +209 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.d.ts +12 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js +51 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.d.ts +23 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js +44 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.d.ts +240 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js +198 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.d.ts +16 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.js +22 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts +443 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +1099 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.d.ts +45 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.js +19 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.d.ts +13 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js +31 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.d.ts +31 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js +92 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts +89 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.js +39 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.d.ts +25 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js +239 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.d.ts +2299 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.js +24 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts +8133 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +2052 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.d.ts +53 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +87 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.d.ts +51 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.js +65 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.d.ts +29 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.js +29 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.d.ts +65 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.d.ts.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.js +2 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.js.map +1 -0
- package/bundles/mcp/node_modules/@modelcontextprotocol/sdk/package.json +149 -0
- package/bundles/mcp/node_modules/accepts/HISTORY.md +250 -0
- package/bundles/mcp/node_modules/accepts/LICENSE +23 -0
- package/bundles/mcp/node_modules/accepts/README.md +140 -0
- package/bundles/mcp/node_modules/accepts/index.js +238 -0
- package/bundles/mcp/node_modules/accepts/package.json +47 -0
- package/bundles/mcp/node_modules/ajv/.runkit_example.js +23 -0
- package/bundles/mcp/node_modules/ajv/LICENSE +22 -0
- package/bundles/mcp/node_modules/ajv/README.md +207 -0
- package/bundles/mcp/node_modules/ajv/dist/2019.d.ts +19 -0
- package/bundles/mcp/node_modules/ajv/dist/2019.js +61 -0
- package/bundles/mcp/node_modules/ajv/dist/2019.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/2020.d.ts +19 -0
- package/bundles/mcp/node_modules/ajv/dist/2020.js +55 -0
- package/bundles/mcp/node_modules/ajv/dist/2020.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/bundles/mcp/node_modules/ajv/dist/ajv.js +50 -0
- package/bundles/mcp/node_modules/ajv/dist/ajv.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/errors.js +123 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/index.js +242 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/jtd/serialize.js +229 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/names.js +28 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/rules.js +26 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/util.js +178 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/bundles/mcp/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/core.d.ts +173 -0
- package/bundles/mcp/node_modules/ajv/dist/core.js +618 -0
- package/bundles/mcp/node_modules/ajv/dist/core.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/bundles/mcp/node_modules/ajv/dist/jtd.js +72 -0
- package/bundles/mcp/node_modules/ajv/dist/jtd.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/data.json +13 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/bundles/mcp/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/bundles/mcp/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/standalone/index.js +90 -0
- package/bundles/mcp/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/bundles/mcp/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/bundles/mcp/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/bundles/mcp/node_modules/ajv/dist/types/index.js +3 -0
- package/bundles/mcp/node_modules/ajv/dist/types/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/bundles/mcp/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/bundles/mcp/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/bundles/mcp/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/bundles/mcp/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/pattern.js +24 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/bundles/mcp/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/bundles/mcp/node_modules/ajv/lib/2019.ts +81 -0
- package/bundles/mcp/node_modules/ajv/lib/2020.ts +75 -0
- package/bundles/mcp/node_modules/ajv/lib/ajv.ts +70 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/index.ts +324 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/jtd/serialize.ts +266 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/names.ts +27 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/util.ts +213 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/bundles/mcp/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/bundles/mcp/node_modules/ajv/lib/core.ts +891 -0
- package/bundles/mcp/node_modules/ajv/lib/jtd.ts +132 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/data.json +13 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/bundles/mcp/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/bundles/mcp/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/bundles/mcp/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/bundles/mcp/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/bundles/mcp/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/bundles/mcp/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/bundles/mcp/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/bundles/mcp/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/bundles/mcp/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/bundles/mcp/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/bundles/mcp/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/bundles/mcp/node_modules/ajv/lib/types/index.ts +244 -0
- package/bundles/mcp/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/bundles/mcp/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/validation/pattern.ts +28 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/bundles/mcp/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/bundles/mcp/node_modules/ajv/package.json +126 -0
- package/bundles/mcp/node_modules/ajv-formats/LICENSE +21 -0
- package/bundles/mcp/node_modules/ajv-formats/README.md +125 -0
- package/bundles/mcp/node_modules/ajv-formats/dist/formats.d.ts +9 -0
- package/bundles/mcp/node_modules/ajv-formats/dist/formats.js +208 -0
- package/bundles/mcp/node_modules/ajv-formats/dist/formats.js.map +1 -0
- package/bundles/mcp/node_modules/ajv-formats/dist/index.d.ts +15 -0
- package/bundles/mcp/node_modules/ajv-formats/dist/index.js +37 -0
- package/bundles/mcp/node_modules/ajv-formats/dist/index.js.map +1 -0
- package/bundles/mcp/node_modules/ajv-formats/dist/limit.d.ts +10 -0
- package/bundles/mcp/node_modules/ajv-formats/dist/limit.js +69 -0
- package/bundles/mcp/node_modules/ajv-formats/dist/limit.js.map +1 -0
- package/bundles/mcp/node_modules/ajv-formats/package.json +74 -0
- package/bundles/mcp/node_modules/body-parser/LICENSE +23 -0
- package/bundles/mcp/node_modules/body-parser/README.md +494 -0
- package/bundles/mcp/node_modules/body-parser/index.js +71 -0
- package/bundles/mcp/node_modules/body-parser/lib/read.js +247 -0
- package/bundles/mcp/node_modules/body-parser/lib/types/json.js +158 -0
- package/bundles/mcp/node_modules/body-parser/lib/types/raw.js +42 -0
- package/bundles/mcp/node_modules/body-parser/lib/types/text.js +36 -0
- package/bundles/mcp/node_modules/body-parser/lib/types/urlencoded.js +142 -0
- package/bundles/mcp/node_modules/body-parser/lib/utils.js +98 -0
- package/bundles/mcp/node_modules/body-parser/package.json +52 -0
- package/bundles/mcp/node_modules/bytes/History.md +97 -0
- package/bundles/mcp/node_modules/bytes/LICENSE +23 -0
- package/bundles/mcp/node_modules/bytes/Readme.md +152 -0
- package/bundles/mcp/node_modules/bytes/index.js +170 -0
- package/bundles/mcp/node_modules/bytes/package.json +42 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/bundles/mcp/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/bundles/mcp/node_modules/call-bound/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/call-bound/.nycrc +9 -0
- package/bundles/mcp/node_modules/call-bound/CHANGELOG.md +42 -0
- package/bundles/mcp/node_modules/call-bound/LICENSE +21 -0
- package/bundles/mcp/node_modules/call-bound/README.md +53 -0
- package/bundles/mcp/node_modules/call-bound/index.d.ts +94 -0
- package/bundles/mcp/node_modules/call-bound/index.js +19 -0
- package/bundles/mcp/node_modules/call-bound/package.json +99 -0
- package/bundles/mcp/node_modules/call-bound/test/index.js +61 -0
- package/bundles/mcp/node_modules/content-disposition/HISTORY.md +72 -0
- package/bundles/mcp/node_modules/content-disposition/LICENSE +22 -0
- package/bundles/mcp/node_modules/content-disposition/README.md +142 -0
- package/bundles/mcp/node_modules/content-disposition/index.js +458 -0
- package/bundles/mcp/node_modules/content-disposition/package.json +43 -0
- package/bundles/mcp/node_modules/content-type/HISTORY.md +29 -0
- package/bundles/mcp/node_modules/content-type/LICENSE +22 -0
- package/bundles/mcp/node_modules/content-type/README.md +94 -0
- package/bundles/mcp/node_modules/content-type/index.js +225 -0
- package/bundles/mcp/node_modules/content-type/package.json +42 -0
- package/bundles/mcp/node_modules/cookie/LICENSE +24 -0
- package/bundles/mcp/node_modules/cookie/README.md +317 -0
- package/bundles/mcp/node_modules/cookie/SECURITY.md +25 -0
- package/bundles/mcp/node_modules/cookie/index.js +335 -0
- package/bundles/mcp/node_modules/cookie/package.json +44 -0
- package/bundles/mcp/node_modules/cookie-signature/History.md +70 -0
- package/bundles/mcp/node_modules/cookie-signature/LICENSE +22 -0
- package/bundles/mcp/node_modules/cookie-signature/Readme.md +23 -0
- package/bundles/mcp/node_modules/cookie-signature/index.js +47 -0
- package/bundles/mcp/node_modules/cookie-signature/package.json +24 -0
- package/bundles/mcp/node_modules/cors/CONTRIBUTING.md +33 -0
- package/bundles/mcp/node_modules/cors/HISTORY.md +58 -0
- package/bundles/mcp/node_modules/cors/LICENSE +22 -0
- package/bundles/mcp/node_modules/cors/README.md +243 -0
- package/bundles/mcp/node_modules/cors/lib/index.js +238 -0
- package/bundles/mcp/node_modules/cors/package.json +41 -0
- package/bundles/mcp/node_modules/cross-spawn/LICENSE +21 -0
- package/bundles/mcp/node_modules/cross-spawn/README.md +89 -0
- package/bundles/mcp/node_modules/cross-spawn/index.js +39 -0
- package/bundles/mcp/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/bundles/mcp/node_modules/cross-spawn/lib/parse.js +91 -0
- package/bundles/mcp/node_modules/cross-spawn/lib/util/escape.js +47 -0
- package/bundles/mcp/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/bundles/mcp/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/bundles/mcp/node_modules/cross-spawn/package.json +73 -0
- package/bundles/mcp/node_modules/debug/LICENSE +20 -0
- package/bundles/mcp/node_modules/debug/README.md +481 -0
- package/bundles/mcp/node_modules/debug/package.json +64 -0
- package/bundles/mcp/node_modules/depd/History.md +103 -0
- package/bundles/mcp/node_modules/depd/LICENSE +22 -0
- package/bundles/mcp/node_modules/depd/Readme.md +280 -0
- package/bundles/mcp/node_modules/depd/index.js +538 -0
- package/bundles/mcp/node_modules/depd/lib/browser/index.js +77 -0
- package/bundles/mcp/node_modules/depd/package.json +45 -0
- package/bundles/mcp/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/dunder-proto/.nycrc +13 -0
- package/bundles/mcp/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/bundles/mcp/node_modules/dunder-proto/LICENSE +21 -0
- package/bundles/mcp/node_modules/dunder-proto/README.md +54 -0
- package/bundles/mcp/node_modules/dunder-proto/get.d.ts +5 -0
- package/bundles/mcp/node_modules/dunder-proto/get.js +30 -0
- package/bundles/mcp/node_modules/dunder-proto/package.json +76 -0
- package/bundles/mcp/node_modules/dunder-proto/set.d.ts +5 -0
- package/bundles/mcp/node_modules/dunder-proto/set.js +35 -0
- package/bundles/mcp/node_modules/dunder-proto/test/get.js +34 -0
- package/bundles/mcp/node_modules/dunder-proto/test/index.js +4 -0
- package/bundles/mcp/node_modules/dunder-proto/test/set.js +50 -0
- package/bundles/mcp/node_modules/ee-first/LICENSE +22 -0
- package/bundles/mcp/node_modules/ee-first/README.md +80 -0
- package/bundles/mcp/node_modules/ee-first/index.js +95 -0
- package/bundles/mcp/node_modules/ee-first/package.json +29 -0
- package/bundles/mcp/node_modules/encodeurl/LICENSE +22 -0
- package/bundles/mcp/node_modules/encodeurl/README.md +109 -0
- package/bundles/mcp/node_modules/encodeurl/index.js +60 -0
- package/bundles/mcp/node_modules/encodeurl/package.json +40 -0
- package/bundles/mcp/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/es-define-property/.nycrc +9 -0
- package/bundles/mcp/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/bundles/mcp/node_modules/es-define-property/LICENSE +21 -0
- package/bundles/mcp/node_modules/es-define-property/README.md +49 -0
- package/bundles/mcp/node_modules/es-define-property/index.d.ts +3 -0
- package/bundles/mcp/node_modules/es-define-property/index.js +14 -0
- package/bundles/mcp/node_modules/es-define-property/package.json +81 -0
- package/bundles/mcp/node_modules/es-define-property/test/index.js +56 -0
- package/bundles/mcp/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/es-errors/CHANGELOG.md +40 -0
- package/bundles/mcp/node_modules/es-errors/LICENSE +21 -0
- package/bundles/mcp/node_modules/es-errors/README.md +55 -0
- package/bundles/mcp/node_modules/es-errors/eval.d.ts +3 -0
- package/bundles/mcp/node_modules/es-errors/eval.js +4 -0
- package/bundles/mcp/node_modules/es-errors/index.d.ts +3 -0
- package/bundles/mcp/node_modules/es-errors/index.js +4 -0
- package/bundles/mcp/node_modules/es-errors/package.json +80 -0
- package/bundles/mcp/node_modules/es-errors/range.d.ts +3 -0
- package/bundles/mcp/node_modules/es-errors/range.js +4 -0
- package/bundles/mcp/node_modules/es-errors/ref.d.ts +3 -0
- package/bundles/mcp/node_modules/es-errors/ref.js +4 -0
- package/bundles/mcp/node_modules/es-errors/syntax.d.ts +3 -0
- package/bundles/mcp/node_modules/es-errors/syntax.js +4 -0
- package/bundles/mcp/node_modules/es-errors/test/index.js +19 -0
- package/bundles/mcp/node_modules/es-errors/type.d.ts +3 -0
- package/bundles/mcp/node_modules/es-errors/type.js +4 -0
- package/bundles/mcp/node_modules/es-errors/uri.d.ts +3 -0
- package/bundles/mcp/node_modules/es-errors/uri.js +4 -0
- package/bundles/mcp/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/es-object-atoms/CHANGELOG.md +37 -0
- package/bundles/mcp/node_modules/es-object-atoms/LICENSE +21 -0
- package/bundles/mcp/node_modules/es-object-atoms/README.md +63 -0
- package/bundles/mcp/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/bundles/mcp/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/bundles/mcp/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/bundles/mcp/node_modules/es-object-atoms/ToObject.js +10 -0
- package/bundles/mcp/node_modules/es-object-atoms/index.d.ts +3 -0
- package/bundles/mcp/node_modules/es-object-atoms/index.js +4 -0
- package/bundles/mcp/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/bundles/mcp/node_modules/es-object-atoms/isObject.js +6 -0
- package/bundles/mcp/node_modules/es-object-atoms/package.json +80 -0
- package/bundles/mcp/node_modules/es-object-atoms/test/index.js +38 -0
- package/bundles/mcp/node_modules/escape-html/LICENSE +24 -0
- package/bundles/mcp/node_modules/escape-html/Readme.md +43 -0
- package/bundles/mcp/node_modules/escape-html/index.js +78 -0
- package/bundles/mcp/node_modules/escape-html/package.json +24 -0
- package/bundles/mcp/node_modules/etag/HISTORY.md +83 -0
- package/bundles/mcp/node_modules/etag/LICENSE +22 -0
- package/bundles/mcp/node_modules/etag/README.md +159 -0
- package/bundles/mcp/node_modules/etag/index.js +131 -0
- package/bundles/mcp/node_modules/etag/package.json +47 -0
- package/bundles/mcp/node_modules/eventsource/LICENSE +22 -0
- package/bundles/mcp/node_modules/eventsource/README.md +167 -0
- package/bundles/mcp/node_modules/eventsource/dist/index.cjs +273 -0
- package/bundles/mcp/node_modules/eventsource/dist/index.cjs.map +1 -0
- package/bundles/mcp/node_modules/eventsource/dist/index.d.cts +332 -0
- package/bundles/mcp/node_modules/eventsource/dist/index.d.ts +332 -0
- package/bundles/mcp/node_modules/eventsource/dist/index.js +273 -0
- package/bundles/mcp/node_modules/eventsource/dist/index.js.map +1 -0
- package/bundles/mcp/node_modules/eventsource/package.json +130 -0
- package/bundles/mcp/node_modules/eventsource-parser/LICENSE +21 -0
- package/bundles/mcp/node_modules/eventsource-parser/README.md +126 -0
- package/bundles/mcp/node_modules/eventsource-parser/dist/index.cjs +106 -0
- package/bundles/mcp/node_modules/eventsource-parser/dist/index.cjs.map +1 -0
- package/bundles/mcp/node_modules/eventsource-parser/dist/index.d.cts +144 -0
- package/bundles/mcp/node_modules/eventsource-parser/dist/index.d.ts +144 -0
- package/bundles/mcp/node_modules/eventsource-parser/dist/index.js +106 -0
- package/bundles/mcp/node_modules/eventsource-parser/dist/index.js.map +1 -0
- package/bundles/mcp/node_modules/eventsource-parser/dist/stream.cjs +28 -0
- package/bundles/mcp/node_modules/eventsource-parser/dist/stream.cjs.map +1 -0
- package/bundles/mcp/node_modules/eventsource-parser/dist/stream.d.cts +118 -0
- package/bundles/mcp/node_modules/eventsource-parser/dist/stream.d.ts +118 -0
- package/bundles/mcp/node_modules/eventsource-parser/dist/stream.js +29 -0
- package/bundles/mcp/node_modules/eventsource-parser/dist/stream.js.map +1 -0
- package/bundles/mcp/node_modules/eventsource-parser/package.json +115 -0
- package/bundles/mcp/node_modules/eventsource-parser/stream.js +2 -0
- package/bundles/mcp/node_modules/express/LICENSE +24 -0
- package/bundles/mcp/node_modules/express/Readme.md +276 -0
- package/bundles/mcp/node_modules/express/index.js +11 -0
- package/bundles/mcp/node_modules/express/lib/application.js +631 -0
- package/bundles/mcp/node_modules/express/lib/express.js +81 -0
- package/bundles/mcp/node_modules/express/lib/request.js +514 -0
- package/bundles/mcp/node_modules/express/lib/response.js +1053 -0
- package/bundles/mcp/node_modules/express/lib/utils.js +271 -0
- package/bundles/mcp/node_modules/express/lib/view.js +205 -0
- package/bundles/mcp/node_modules/express/package.json +99 -0
- package/bundles/mcp/node_modules/express-rate-limit/dist/index.cjs +959 -0
- package/bundles/mcp/node_modules/express-rate-limit/dist/index.d.cts +642 -0
- package/bundles/mcp/node_modules/express-rate-limit/dist/index.d.mts +642 -0
- package/bundles/mcp/node_modules/express-rate-limit/dist/index.d.ts +642 -0
- package/bundles/mcp/node_modules/express-rate-limit/dist/index.mjs +929 -0
- package/bundles/mcp/node_modules/express-rate-limit/license.md +20 -0
- package/bundles/mcp/node_modules/express-rate-limit/package.json +112 -0
- package/bundles/mcp/node_modules/express-rate-limit/readme.md +151 -0
- package/bundles/mcp/node_modules/fast-deep-equal/LICENSE +21 -0
- package/bundles/mcp/node_modules/fast-deep-equal/README.md +96 -0
- package/bundles/mcp/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/bundles/mcp/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/bundles/mcp/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/bundles/mcp/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/bundles/mcp/node_modules/fast-deep-equal/index.d.ts +4 -0
- package/bundles/mcp/node_modules/fast-deep-equal/index.js +46 -0
- package/bundles/mcp/node_modules/fast-deep-equal/package.json +61 -0
- package/bundles/mcp/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/bundles/mcp/node_modules/fast-deep-equal/react.js +53 -0
- package/bundles/mcp/node_modules/fast-uri/.gitattributes +2 -0
- package/bundles/mcp/node_modules/fast-uri/.github/.stale.yml +21 -0
- package/bundles/mcp/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/bundles/mcp/node_modules/fast-uri/.github/tests_checker.yml +8 -0
- package/bundles/mcp/node_modules/fast-uri/.github/workflows/ci.yml +101 -0
- package/bundles/mcp/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
- package/bundles/mcp/node_modules/fast-uri/LICENSE +32 -0
- package/bundles/mcp/node_modules/fast-uri/README.md +143 -0
- package/bundles/mcp/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
- package/bundles/mcp/node_modules/fast-uri/benchmark/equal.mjs +51 -0
- package/bundles/mcp/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
- package/bundles/mcp/node_modules/fast-uri/benchmark/package.json +17 -0
- package/bundles/mcp/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
- package/bundles/mcp/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
- package/bundles/mcp/node_modules/fast-uri/eslint.config.js +6 -0
- package/bundles/mcp/node_modules/fast-uri/index.js +340 -0
- package/bundles/mcp/node_modules/fast-uri/lib/schemes.js +267 -0
- package/bundles/mcp/node_modules/fast-uri/lib/utils.js +336 -0
- package/bundles/mcp/node_modules/fast-uri/package.json +69 -0
- package/bundles/mcp/node_modules/fast-uri/test/ajv.test.js +43 -0
- package/bundles/mcp/node_modules/fast-uri/test/equal.test.js +108 -0
- package/bundles/mcp/node_modules/fast-uri/test/fixtures/uri-js-parse.json +501 -0
- package/bundles/mcp/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
- package/bundles/mcp/node_modules/fast-uri/test/parse.test.js +318 -0
- package/bundles/mcp/node_modules/fast-uri/test/resolve.test.js +78 -0
- package/bundles/mcp/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
- package/bundles/mcp/node_modules/fast-uri/test/serialize.test.js +151 -0
- package/bundles/mcp/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
- package/bundles/mcp/node_modules/fast-uri/test/uri-js.test.js +912 -0
- package/bundles/mcp/node_modules/fast-uri/test/util.test.js +38 -0
- package/bundles/mcp/node_modules/fast-uri/types/index.d.ts +60 -0
- package/bundles/mcp/node_modules/fast-uri/types/index.test-d.ts +17 -0
- package/bundles/mcp/node_modules/finalhandler/HISTORY.md +239 -0
- package/bundles/mcp/node_modules/finalhandler/LICENSE +22 -0
- package/bundles/mcp/node_modules/finalhandler/README.md +150 -0
- package/bundles/mcp/node_modules/finalhandler/index.js +293 -0
- package/bundles/mcp/node_modules/finalhandler/package.json +47 -0
- package/bundles/mcp/node_modules/forwarded/HISTORY.md +21 -0
- package/bundles/mcp/node_modules/forwarded/LICENSE +22 -0
- package/bundles/mcp/node_modules/forwarded/README.md +57 -0
- package/bundles/mcp/node_modules/forwarded/index.js +90 -0
- package/bundles/mcp/node_modules/forwarded/package.json +45 -0
- package/bundles/mcp/node_modules/fresh/HISTORY.md +80 -0
- package/bundles/mcp/node_modules/fresh/LICENSE +23 -0
- package/bundles/mcp/node_modules/fresh/README.md +117 -0
- package/bundles/mcp/node_modules/fresh/index.js +136 -0
- package/bundles/mcp/node_modules/fresh/package.json +46 -0
- package/bundles/mcp/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/bundles/mcp/node_modules/function-bind/.nycrc +13 -0
- package/bundles/mcp/node_modules/function-bind/CHANGELOG.md +136 -0
- package/bundles/mcp/node_modules/function-bind/LICENSE +20 -0
- package/bundles/mcp/node_modules/function-bind/README.md +46 -0
- package/bundles/mcp/node_modules/function-bind/implementation.js +84 -0
- package/bundles/mcp/node_modules/function-bind/index.js +5 -0
- package/bundles/mcp/node_modules/function-bind/package.json +87 -0
- package/bundles/mcp/node_modules/function-bind/test/index.js +252 -0
- package/bundles/mcp/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/get-intrinsic/.nycrc +9 -0
- package/bundles/mcp/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/bundles/mcp/node_modules/get-intrinsic/LICENSE +21 -0
- package/bundles/mcp/node_modules/get-intrinsic/README.md +71 -0
- package/bundles/mcp/node_modules/get-intrinsic/index.js +378 -0
- package/bundles/mcp/node_modules/get-intrinsic/package.json +97 -0
- package/bundles/mcp/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/bundles/mcp/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/get-proto/.nycrc +9 -0
- package/bundles/mcp/node_modules/get-proto/CHANGELOG.md +21 -0
- package/bundles/mcp/node_modules/get-proto/LICENSE +21 -0
- package/bundles/mcp/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/bundles/mcp/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/bundles/mcp/node_modules/get-proto/README.md +50 -0
- package/bundles/mcp/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/bundles/mcp/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/bundles/mcp/node_modules/get-proto/index.d.ts +5 -0
- package/bundles/mcp/node_modules/get-proto/index.js +27 -0
- package/bundles/mcp/node_modules/get-proto/package.json +81 -0
- package/bundles/mcp/node_modules/get-proto/test/index.js +68 -0
- package/bundles/mcp/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/gopd/CHANGELOG.md +45 -0
- package/bundles/mcp/node_modules/gopd/LICENSE +21 -0
- package/bundles/mcp/node_modules/gopd/README.md +40 -0
- package/bundles/mcp/node_modules/gopd/gOPD.d.ts +1 -0
- package/bundles/mcp/node_modules/gopd/gOPD.js +4 -0
- package/bundles/mcp/node_modules/gopd/index.d.ts +5 -0
- package/bundles/mcp/node_modules/gopd/index.js +15 -0
- package/bundles/mcp/node_modules/gopd/package.json +77 -0
- package/bundles/mcp/node_modules/gopd/test/index.js +36 -0
- package/bundles/mcp/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/has-symbols/.nycrc +9 -0
- package/bundles/mcp/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/bundles/mcp/node_modules/has-symbols/LICENSE +21 -0
- package/bundles/mcp/node_modules/has-symbols/README.md +46 -0
- package/bundles/mcp/node_modules/has-symbols/index.d.ts +3 -0
- package/bundles/mcp/node_modules/has-symbols/index.js +14 -0
- package/bundles/mcp/node_modules/has-symbols/package.json +111 -0
- package/bundles/mcp/node_modules/has-symbols/shams.d.ts +3 -0
- package/bundles/mcp/node_modules/has-symbols/shams.js +45 -0
- package/bundles/mcp/node_modules/has-symbols/test/index.js +22 -0
- package/bundles/mcp/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/bundles/mcp/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/bundles/mcp/node_modules/has-symbols/test/tests.js +58 -0
- package/bundles/mcp/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/hasown/.nycrc +13 -0
- package/bundles/mcp/node_modules/hasown/CHANGELOG.md +40 -0
- package/bundles/mcp/node_modules/hasown/LICENSE +21 -0
- package/bundles/mcp/node_modules/hasown/README.md +40 -0
- package/bundles/mcp/node_modules/hasown/index.d.ts +3 -0
- package/bundles/mcp/node_modules/hasown/index.js +8 -0
- package/bundles/mcp/node_modules/hasown/package.json +92 -0
- package/bundles/mcp/node_modules/hono/LICENSE +21 -0
- package/bundles/mcp/node_modules/hono/README.md +85 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/aws-lambda/conninfo.js +24 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/aws-lambda/handler.js +366 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/aws-lambda/index.js +9 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/aws-lambda/types.js +0 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/bun/conninfo.js +27 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/bun/index.js +16 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/bun/serve-static.js +30 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/bun/server.js +5 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/bun/ssg.js +17 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/bun/websocket.js +71 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/cloudflare-pages/conninfo.js +9 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/cloudflare-pages/handler.js +67 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/cloudflare-pages/index.js +9 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/cloudflare-workers/conninfo.js +9 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/cloudflare-workers/index.js +9 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/cloudflare-workers/serve-static-module.js +8 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/cloudflare-workers/serve-static.js +22 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/cloudflare-workers/utils.js +35 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/cloudflare-workers/websocket.js +41 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/deno/conninfo.js +14 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/deno/deno.d.js +0 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/deno/index.js +12 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/deno/serve-static.js +40 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/deno/ssg.js +18 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/deno/websocket.js +28 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/lambda-edge/conninfo.js +9 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/lambda-edge/handler.js +80 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/lambda-edge/index.js +7 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/netlify/conninfo.js +9 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/netlify/handler.js +9 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/netlify/index.js +2 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/netlify/mod.js +7 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/service-worker/handler.js +20 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/service-worker/index.js +11 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/service-worker/types.js +0 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/vercel/conninfo.js +10 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/vercel/handler.js +7 -0
- package/bundles/mcp/node_modules/hono/dist/adapter/vercel/index.js +7 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/aws-lambda/conninfo.js +46 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +397 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/aws-lambda/index.js +34 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/aws-lambda/types.js +15 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/bun/conninfo.js +49 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/bun/index.js +45 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +52 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/bun/server.js +27 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/bun/ssg.js +40 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/bun/websocket.js +96 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/cloudflare-pages/conninfo.js +31 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/cloudflare-pages/handler.js +91 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/cloudflare-pages/index.js +34 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/cloudflare-workers/conninfo.js +31 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/cloudflare-workers/index.js +33 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/cloudflare-workers/serve-static-module.js +30 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/cloudflare-workers/serve-static.js +44 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/cloudflare-workers/utils.js +57 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/cloudflare-workers/websocket.js +63 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/deno/conninfo.js +36 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/deno/deno.d.js +0 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/deno/index.js +38 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/deno/serve-static.js +62 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/deno/ssg.js +41 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/deno/websocket.js +50 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/lambda-edge/conninfo.js +31 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/lambda-edge/handler.js +114 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/lambda-edge/index.js +30 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/netlify/conninfo.js +31 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/netlify/handler.js +31 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/netlify/index.js +21 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/netlify/mod.js +30 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/service-worker/handler.js +42 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/service-worker/index.js +34 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/service-worker/types.js +15 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/vercel/conninfo.js +32 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/vercel/handler.js +29 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/adapter/vercel/index.js +30 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/client/client.js +195 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/client/fetch-result-please.js +85 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/client/index.js +32 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/client/types.js +15 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/client/utils.js +105 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/compose.js +68 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/context.js +435 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/accepts/accepts.js +43 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/accepts/index.js +27 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/adapter/index.js +81 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/conninfo/index.js +15 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/conninfo/types.js +15 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/cookie/index.js +130 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/css/common.js +222 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/css/index.js +142 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/dev/index.js +79 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/factory/index.js +54 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/html/index.js +64 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/proxy/index.js +111 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/route/index.js +71 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/ssg/index.js +43 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/ssg/middleware.js +73 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/ssg/plugins.js +70 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/ssg/ssg.js +316 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/ssg/utils.js +84 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/streaming/index.js +35 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/streaming/sse.js +90 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/streaming/stream.js +56 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/streaming/text.js +34 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/streaming/utils.js +35 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/testing/index.js +33 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/helper/websocket/index.js +81 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/hono-base.js +400 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/hono.js +43 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/http-exception.js +57 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/index.js +27 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/base.js +374 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/children.js +44 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/components.js +201 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/constants.js +42 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/context.js +62 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/dom/client.js +76 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/dom/components.js +55 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/dom/context.js +71 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/dom/css.js +161 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/dom/hooks/index.js +74 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/dom/index.js +181 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/dom/intrinsic-element/components.js +399 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/dom/jsx-dev-runtime.js +52 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/dom/jsx-runtime.js +32 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/dom/render.js +619 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/dom/server.js +67 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/dom/utils.js +32 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/hooks/index.js +370 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/index.js +138 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/intrinsic-element/common.js +50 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/intrinsic-element/components.js +189 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/intrinsic-elements.js +15 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/jsx-dev-runtime.js +41 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +68 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/streaming.js +177 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/types.js +15 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/jsx/utils.js +50 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/basic-auth/index.js +88 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/bearer-auth/index.js +105 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/body-limit/index.js +84 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/cache/index.js +111 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/combine/index.js +101 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/compress/index.js +61 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/context-storage/index.js +47 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/cors/index.js +109 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/csrf/index.js +77 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/etag/digest.js +55 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/etag/index.js +95 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/ip-restriction/index.js +124 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/jsx-renderer/index.js +82 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/jwk/index.js +27 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/jwk/jwk.js +134 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/jwt/index.js +38 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/jwt/jwt.js +140 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/language/index.js +35 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/language/language.js +221 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/logger/index.js +72 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/method-override/index.js +104 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/powered-by/index.js +32 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +37 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/request-id/index.js +27 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/request-id/request-id.js +43 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/secure-headers/index.js +29 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/secure-headers/permissions-policy.js +15 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/secure-headers/secure-headers.js +189 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/serve-static/index.js +99 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/serve-static/path.js +40 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/timeout/index.js +47 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/timing/index.js +35 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/timing/timing.js +128 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/middleware/trailing-slash/index.js +62 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/package.json +3 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/preset/quick.js +38 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/preset/tiny.js +34 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/request/constants.js +27 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/request.js +324 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router/linear-router/index.js +27 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router/linear-router/router.js +140 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router/pattern-router/index.js +27 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router/pattern-router/router.js +70 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router/reg-exp-router/index.js +34 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router/reg-exp-router/matcher.js +48 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router/reg-exp-router/node.js +134 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router/reg-exp-router/prepared-router.js +166 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router/reg-exp-router/router.js +208 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router/reg-exp-router/trie.js +81 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router/smart-router/index.js +27 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router/smart-router/router.js +80 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router/trie-router/index.js +27 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router/trie-router/node.js +201 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router/trie-router/router.js +48 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/router.js +40 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/types.js +28 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/accept.js +245 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/basic-auth.js +45 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/body.js +97 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/buffer.js +102 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/color.js +48 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/compress.js +27 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/concurrent.js +61 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/constants.js +27 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/cookie.js +177 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/crypto.js +69 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/encode.js +54 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/filepath.js +58 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/handler.js +36 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/headers.js +15 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/html.js +150 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/http-status.js +15 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/ipaddr.js +129 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/jwt/index.js +28 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/jwt/jwa.js +42 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/jwt/jws.js +215 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/jwt/jwt.js +213 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/jwt/types.js +161 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/jwt/utf8.js +30 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/mime.js +108 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/stream.js +101 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/types.js +15 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/utils/url.js +256 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/validator/index.js +27 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/validator/utils.js +15 -0
- package/bundles/mcp/node_modules/hono/dist/cjs/validator/validator.js +108 -0
- package/bundles/mcp/node_modules/hono/dist/client/client.js +180 -0
- package/bundles/mcp/node_modules/hono/dist/client/fetch-result-please.js +62 -0
- package/bundles/mcp/node_modules/hono/dist/client/index.js +8 -0
- package/bundles/mcp/node_modules/hono/dist/client/types.js +0 -0
- package/bundles/mcp/node_modules/hono/dist/client/utils.js +76 -0
- package/bundles/mcp/node_modules/hono/dist/compose.js +46 -0
- package/bundles/mcp/node_modules/hono/dist/context.js +412 -0
- package/bundles/mcp/node_modules/hono/dist/helper/accepts/accepts.js +20 -0
- package/bundles/mcp/node_modules/hono/dist/helper/accepts/index.js +5 -0
- package/bundles/mcp/node_modules/hono/dist/helper/adapter/index.js +56 -0
- package/bundles/mcp/node_modules/hono/dist/helper/conninfo/index.js +0 -0
- package/bundles/mcp/node_modules/hono/dist/helper/conninfo/types.js +0 -0
- package/bundles/mcp/node_modules/hono/dist/helper/cookie/index.js +102 -0
- package/bundles/mcp/node_modules/hono/dist/helper/css/common.js +185 -0
- package/bundles/mcp/node_modules/hono/dist/helper/css/index.js +125 -0
- package/bundles/mcp/node_modules/hono/dist/helper/dev/index.js +55 -0
- package/bundles/mcp/node_modules/hono/dist/helper/factory/index.js +30 -0
- package/bundles/mcp/node_modules/hono/dist/helper/html/index.js +41 -0
- package/bundles/mcp/node_modules/hono/dist/helper/proxy/index.js +89 -0
- package/bundles/mcp/node_modules/hono/dist/helper/route/index.js +46 -0
- package/bundles/mcp/node_modules/hono/dist/helper/ssg/index.js +19 -0
- package/bundles/mcp/node_modules/hono/dist/helper/ssg/middleware.js +45 -0
- package/bundles/mcp/node_modules/hono/dist/helper/ssg/plugins.js +47 -0
- package/bundles/mcp/node_modules/hono/dist/helper/ssg/ssg.js +287 -0
- package/bundles/mcp/node_modules/hono/dist/helper/ssg/utils.js +59 -0
- package/bundles/mcp/node_modules/hono/dist/helper/streaming/index.js +10 -0
- package/bundles/mcp/node_modules/hono/dist/helper/streaming/sse.js +67 -0
- package/bundles/mcp/node_modules/hono/dist/helper/streaming/stream.js +34 -0
- package/bundles/mcp/node_modules/hono/dist/helper/streaming/text.js +12 -0
- package/bundles/mcp/node_modules/hono/dist/helper/streaming/utils.js +13 -0
- package/bundles/mcp/node_modules/hono/dist/helper/testing/index.js +11 -0
- package/bundles/mcp/node_modules/hono/dist/helper/websocket/index.js +57 -0
- package/bundles/mcp/node_modules/hono/dist/hono-base.js +378 -0
- package/bundles/mcp/node_modules/hono/dist/hono.js +21 -0
- package/bundles/mcp/node_modules/hono/dist/http-exception.js +35 -0
- package/bundles/mcp/node_modules/hono/dist/index.js +5 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/base.js +331 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/children.js +21 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/components.js +178 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/constants.js +15 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/context.js +38 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/dom/client.js +53 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/dom/components.js +32 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/dom/context.js +48 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/dom/css.js +143 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/dom/hooks/index.js +48 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/dom/index.js +142 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/dom/intrinsic-element/components.js +374 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/dom/jsx-dev-runtime.js +19 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/dom/jsx-runtime.js +8 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/dom/render.js +595 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/dom/server.js +33 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/dom/utils.js +10 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/hooks/index.js +328 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/index.js +103 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/intrinsic-element/common.js +24 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/intrinsic-element/components.js +165 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/intrinsic-elements.js +0 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/jsx-dev-runtime.js +18 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/jsx-runtime.js +41 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/streaming.js +153 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/types.js +0 -0
- package/bundles/mcp/node_modules/hono/dist/jsx/utils.js +27 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/basic-auth/index.js +66 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/bearer-auth/index.js +83 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/body-limit/index.js +62 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/cache/index.js +89 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/combine/index.js +77 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/compress/index.js +39 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/context-storage/index.js +23 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/cors/index.js +87 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/csrf/index.js +55 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/etag/digest.js +33 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/etag/index.js +72 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/ip-restriction/index.js +107 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/jsx-renderer/index.js +58 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/jwk/index.js +5 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/jwk/jwk.js +112 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/jwt/index.js +11 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/jwt/jwt.js +114 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/language/index.js +15 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/language/language.js +190 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/logger/index.js +44 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/method-override/index.js +82 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/powered-by/index.js +10 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/pretty-json/index.js +15 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/request-id/index.js +5 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/request-id/request-id.js +21 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/secure-headers/index.js +6 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/secure-headers/permissions-policy.js +0 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/secure-headers/secure-headers.js +166 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/serve-static/index.js +77 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/serve-static/path.js +18 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/timeout/index.js +25 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/timing/index.js +9 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/timing/timing.js +102 -0
- package/bundles/mcp/node_modules/hono/dist/middleware/trailing-slash/index.js +39 -0
- package/bundles/mcp/node_modules/hono/dist/preset/quick.js +16 -0
- package/bundles/mcp/node_modules/hono/dist/preset/tiny.js +12 -0
- package/bundles/mcp/node_modules/hono/dist/request/constants.js +5 -0
- package/bundles/mcp/node_modules/hono/dist/request.js +301 -0
- package/bundles/mcp/node_modules/hono/dist/router/linear-router/index.js +5 -0
- package/bundles/mcp/node_modules/hono/dist/router/linear-router/router.js +118 -0
- package/bundles/mcp/node_modules/hono/dist/router/pattern-router/index.js +5 -0
- package/bundles/mcp/node_modules/hono/dist/router/pattern-router/router.js +48 -0
- package/bundles/mcp/node_modules/hono/dist/router/reg-exp-router/index.js +9 -0
- package/bundles/mcp/node_modules/hono/dist/router/reg-exp-router/matcher.js +25 -0
- package/bundles/mcp/node_modules/hono/dist/router/reg-exp-router/node.js +111 -0
- package/bundles/mcp/node_modules/hono/dist/router/reg-exp-router/prepared-router.js +142 -0
- package/bundles/mcp/node_modules/hono/dist/router/reg-exp-router/router.js +190 -0
- package/bundles/mcp/node_modules/hono/dist/router/reg-exp-router/trie.js +59 -0
- package/bundles/mcp/node_modules/hono/dist/router/smart-router/index.js +5 -0
- package/bundles/mcp/node_modules/hono/dist/router/smart-router/router.js +58 -0
- package/bundles/mcp/node_modules/hono/dist/router/trie-router/index.js +5 -0
- package/bundles/mcp/node_modules/hono/dist/router/trie-router/node.js +179 -0
- package/bundles/mcp/node_modules/hono/dist/router/trie-router/router.js +26 -0
- package/bundles/mcp/node_modules/hono/dist/router.js +14 -0
- package/bundles/mcp/node_modules/hono/dist/tsconfig.build.tsbuildinfo +1 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/aws-lambda/conninfo.d.ts +27 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/aws-lambda/handler.d.ts +184 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/aws-lambda/index.d.ts +8 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/aws-lambda/types.d.ts +144 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/bun/conninfo.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/bun/index.d.ts +10 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/bun/serve-static.d.ts +3 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/bun/server.d.ts +12 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/bun/ssg.d.ts +13 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/bun/websocket.d.ts +39 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/cloudflare-pages/conninfo.d.ts +21 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/cloudflare-pages/handler.d.ts +33 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/cloudflare-pages/index.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/cloudflare-workers/conninfo.d.ts +2 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/cloudflare-workers/index.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static-module.d.ts +4 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static.d.ts +16 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/cloudflare-workers/utils.d.ts +5 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/cloudflare-workers/websocket.d.ts +2 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/deno/conninfo.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/deno/index.d.ts +8 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/deno/serve-static.d.ts +3 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/deno/ssg.d.ts +13 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/deno/websocket.d.ts +2 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/lambda-edge/conninfo.d.ts +2 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/lambda-edge/handler.d.ts +87 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/lambda-edge/index.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/netlify/conninfo.d.ts +21 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/netlify/handler.d.ts +2 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/netlify/index.d.ts +5 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/netlify/mod.d.ts +2 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/service-worker/handler.d.ts +16 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/service-worker/index.d.ts +28 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/service-worker/types.d.ts +12 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/vercel/conninfo.d.ts +2 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/vercel/handler.d.ts +2 -0
- package/bundles/mcp/node_modules/hono/dist/types/adapter/vercel/index.d.ts +6 -0
- package/bundles/mcp/node_modules/hono/dist/types/client/client.d.ts +4 -0
- package/bundles/mcp/node_modules/hono/dist/types/client/fetch-result-please.d.ts +35 -0
- package/bundles/mcp/node_modules/hono/dist/types/client/index.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/client/types.d.ts +209 -0
- package/bundles/mcp/node_modules/hono/dist/types/client/utils.d.ts +18 -0
- package/bundles/mcp/node_modules/hono/dist/types/compose.d.ts +14 -0
- package/bundles/mcp/node_modules/hono/dist/types/context.d.ts +455 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/accepts/accepts.d.ts +30 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/accepts/index.d.ts +5 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/adapter/index.d.ts +12 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/conninfo/index.d.ts +5 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/conninfo/types.d.ts +36 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/cookie/index.d.ts +24 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/css/common.d.ts +42 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/css/index.d.ts +73 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/dev/index.d.ts +20 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/factory/index.d.ts +82 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/html/index.d.ts +8 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/proxy/index.d.ts +72 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/route/index.d.ts +75 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/ssg/index.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/ssg/middleware.d.ts +44 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/ssg/plugins.d.ts +27 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/ssg/ssg.d.ts +91 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/ssg/utils.d.ts +15 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/streaming/index.d.ts +8 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/streaming/sse.d.ts +13 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/streaming/stream.d.ts +3 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/streaming/text.d.ts +3 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/streaming/utils.d.ts +1 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/testing/index.d.ts +12 -0
- package/bundles/mcp/node_modules/hono/dist/types/helper/websocket/index.d.ts +69 -0
- package/bundles/mcp/node_modules/hono/dist/types/hono-base.d.ts +220 -0
- package/bundles/mcp/node_modules/hono/dist/types/hono.d.ts +19 -0
- package/bundles/mcp/node_modules/hono/dist/types/http-exception.d.ts +59 -0
- package/bundles/mcp/node_modules/hono/dist/types/index.d.ts +36 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/base.d.ts +58 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/children.d.ts +9 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/components.d.ts +15 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/constants.d.ts +6 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/context.d.ts +12 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/dom/client.d.ts +31 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/dom/components.d.ts +10 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/dom/context.d.ts +3 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/dom/css.d.ts +77 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/dom/hooks/index.d.ts +39 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/dom/index.d.ts +88 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/dom/intrinsic-element/components.d.ts +16 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/dom/jsx-dev-runtime.d.ts +8 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/dom/jsx-runtime.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/dom/render.d.ts +73 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/dom/server.d.ts +106 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/dom/utils.d.ts +1 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/hooks/index.d.ts +45 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/index.d.ts +75 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/intrinsic-element/common.d.ts +6 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/intrinsic-element/components.d.ts +13 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/intrinsic-elements.d.ts +722 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/jsx-dev-runtime.d.ts +8 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/jsx-runtime.d.ts +12 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/streaming.d.ts +36 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/types.d.ts +35 -0
- package/bundles/mcp/node_modules/hono/dist/types/jsx/utils.d.ts +2 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/basic-auth/index.d.ts +75 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/bearer-auth/index.d.ts +91 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/body-limit/index.d.ts +45 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/cache/index.d.ts +41 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/combine/index.d.ts +85 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/compress/index.d.ts +29 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/context-storage/index.d.ts +40 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/cors/index.d.ts +55 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/csrf/index.d.ts +78 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/etag/digest.d.ts +1 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/etag/index.d.ts +42 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/ip-restriction/index.d.ts +31 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/jsx-renderer/index.d.ts +77 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/jwk/index.d.ts +1 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/jwk/jwk.d.ts +54 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/jwt/index.d.ts +8 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/jwt/jwt.d.ts +67 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/language/index.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/language/language.d.ts +102 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/logger/index.d.ts +24 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/method-override/index.d.ts +48 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/powered-by/index.d.ts +29 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/pretty-json/index.d.ts +42 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/request-id/index.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/request-id/request-id.d.ts +37 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/secure-headers/index.d.ts +8 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/secure-headers/permissions-policy.d.ts +14 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/secure-headers/secure-headers.d.ts +109 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/serve-static/index.d.ts +31 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/serve-static/path.d.ts +5 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/timeout/index.d.ts +31 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/timing/index.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/timing/timing.d.ts +129 -0
- package/bundles/mcp/node_modules/hono/dist/types/middleware/trailing-slash/index.d.ts +78 -0
- package/bundles/mcp/node_modules/hono/dist/types/package.json +3 -0
- package/bundles/mcp/node_modules/hono/dist/types/preset/quick.d.ts +10 -0
- package/bundles/mcp/node_modules/hono/dist/types/preset/tiny.d.ts +10 -0
- package/bundles/mcp/node_modules/hono/dist/types/request/constants.d.ts +1 -0
- package/bundles/mcp/node_modules/hono/dist/types/request.d.ts +313 -0
- package/bundles/mcp/node_modules/hono/dist/types/router/linear-router/index.d.ts +5 -0
- package/bundles/mcp/node_modules/hono/dist/types/router/linear-router/router.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/router/pattern-router/index.d.ts +5 -0
- package/bundles/mcp/node_modules/hono/dist/types/router/pattern-router/router.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/router/reg-exp-router/index.d.ts +6 -0
- package/bundles/mcp/node_modules/hono/dist/types/router/reg-exp-router/matcher.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/router/reg-exp-router/node.d.ts +10 -0
- package/bundles/mcp/node_modules/hono/dist/types/router/reg-exp-router/prepared-router.d.ts +17 -0
- package/bundles/mcp/node_modules/hono/dist/types/router/reg-exp-router/router.d.ts +11 -0
- package/bundles/mcp/node_modules/hono/dist/types/router/reg-exp-router/trie.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/router/smart-router/index.d.ts +5 -0
- package/bundles/mcp/node_modules/hono/dist/types/router/smart-router/router.d.ts +11 -0
- package/bundles/mcp/node_modules/hono/dist/types/router/trie-router/index.d.ts +5 -0
- package/bundles/mcp/node_modules/hono/dist/types/router/trie-router/node.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/router/trie-router/router.d.ts +8 -0
- package/bundles/mcp/node_modules/hono/dist/types/router.d.ts +97 -0
- package/bundles/mcp/node_modules/hono/dist/types/types.d.ts +573 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/accept.d.ts +6 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/basic-auth.d.ts +5 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/body.d.ts +79 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/buffer.d.ts +17 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/color.d.ts +21 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/compress.d.ts +8 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/concurrent.d.ts +11 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/constants.d.ts +4 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/cookie.d.ts +40 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/crypto.d.ts +15 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/encode.d.ts +8 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/filepath.d.ts +12 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/handler.d.ts +6 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/headers.d.ts +8 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/html.d.ts +44 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/http-status.d.ts +32 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/ipaddr.d.ts +40 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/jwt/index.d.ts +18 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/jwt/jwa.d.ts +23 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/jwt/jws.d.ts +12 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/jwt/jwt.d.ts +43 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/jwt/types.d.ts +86 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/jwt/utf8.d.ts +6 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/mime.d.ts +70 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/stream.d.ts +31 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/types.d.ts +74 -0
- package/bundles/mcp/node_modules/hono/dist/types/utils/url.d.ts +39 -0
- package/bundles/mcp/node_modules/hono/dist/types/validator/index.d.ts +7 -0
- package/bundles/mcp/node_modules/hono/dist/types/validator/utils.d.ts +29 -0
- package/bundles/mcp/node_modules/hono/dist/types/validator/validator.d.ts +16 -0
- package/bundles/mcp/node_modules/hono/dist/types.js +6 -0
- package/bundles/mcp/node_modules/hono/dist/utils/accept.js +223 -0
- package/bundles/mcp/node_modules/hono/dist/utils/basic-auth.js +23 -0
- package/bundles/mcp/node_modules/hono/dist/utils/body.js +75 -0
- package/bundles/mcp/node_modules/hono/dist/utils/buffer.js +77 -0
- package/bundles/mcp/node_modules/hono/dist/utils/color.js +25 -0
- package/bundles/mcp/node_modules/hono/dist/utils/compress.js +5 -0
- package/bundles/mcp/node_modules/hono/dist/utils/concurrent.js +39 -0
- package/bundles/mcp/node_modules/hono/dist/utils/constants.js +5 -0
- package/bundles/mcp/node_modules/hono/dist/utils/cookie.js +152 -0
- package/bundles/mcp/node_modules/hono/dist/utils/crypto.js +44 -0
- package/bundles/mcp/node_modules/hono/dist/utils/encode.js +29 -0
- package/bundles/mcp/node_modules/hono/dist/utils/filepath.js +35 -0
- package/bundles/mcp/node_modules/hono/dist/utils/handler.js +13 -0
- package/bundles/mcp/node_modules/hono/dist/utils/headers.js +0 -0
- package/bundles/mcp/node_modules/hono/dist/utils/html.js +123 -0
- package/bundles/mcp/node_modules/hono/dist/utils/http-status.js +0 -0
- package/bundles/mcp/node_modules/hono/dist/utils/ipaddr.js +102 -0
- package/bundles/mcp/node_modules/hono/dist/utils/jwt/index.js +6 -0
- package/bundles/mcp/node_modules/hono/dist/utils/jwt/jwa.js +20 -0
- package/bundles/mcp/node_modules/hono/dist/utils/jwt/jws.js +192 -0
- package/bundles/mcp/node_modules/hono/dist/utils/jwt/jwt.js +201 -0
- package/bundles/mcp/node_modules/hono/dist/utils/jwt/types.js +124 -0
- package/bundles/mcp/node_modules/hono/dist/utils/jwt/utf8.js +7 -0
- package/bundles/mcp/node_modules/hono/dist/utils/mime.js +84 -0
- package/bundles/mcp/node_modules/hono/dist/utils/stream.js +79 -0
- package/bundles/mcp/node_modules/hono/dist/utils/types.js +0 -0
- package/bundles/mcp/node_modules/hono/dist/utils/url.js +222 -0
- package/bundles/mcp/node_modules/hono/dist/validator/index.js +5 -0
- package/bundles/mcp/node_modules/hono/dist/validator/utils.js +0 -0
- package/bundles/mcp/node_modules/hono/dist/validator/validator.js +86 -0
- package/bundles/mcp/node_modules/hono/package.json +692 -0
- package/bundles/mcp/node_modules/http-errors/HISTORY.md +186 -0
- package/bundles/mcp/node_modules/http-errors/LICENSE +23 -0
- package/bundles/mcp/node_modules/http-errors/README.md +169 -0
- package/bundles/mcp/node_modules/http-errors/index.js +290 -0
- package/bundles/mcp/node_modules/http-errors/package.json +54 -0
- package/bundles/mcp/node_modules/iconv-lite/LICENSE +21 -0
- package/bundles/mcp/node_modules/iconv-lite/README.md +138 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/index.js +23 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/utf32.js +307 -0
- package/bundles/mcp/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/bundles/mcp/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/bundles/mcp/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/bundles/mcp/node_modules/iconv-lite/lib/index.d.ts +129 -0
- package/bundles/mcp/node_modules/iconv-lite/lib/index.js +182 -0
- package/bundles/mcp/node_modules/iconv-lite/lib/streams.js +105 -0
- package/bundles/mcp/node_modules/iconv-lite/package.json +70 -0
- package/bundles/mcp/node_modules/iconv-lite/types/encodings.d.ts +423 -0
- package/bundles/mcp/node_modules/inherits/LICENSE +16 -0
- package/bundles/mcp/node_modules/inherits/README.md +42 -0
- package/bundles/mcp/node_modules/inherits/inherits.js +9 -0
- package/bundles/mcp/node_modules/inherits/inherits_browser.js +27 -0
- package/bundles/mcp/node_modules/inherits/package.json +29 -0
- package/bundles/mcp/node_modules/ip-address/LICENSE +19 -0
- package/bundles/mcp/node_modules/ip-address/README.md +105 -0
- package/bundles/mcp/node_modules/ip-address/dist/address-error.d.ts +5 -0
- package/bundles/mcp/node_modules/ip-address/dist/address-error.d.ts.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/address-error.js +12 -0
- package/bundles/mcp/node_modules/ip-address/dist/address-error.js.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/common.d.ts +15 -0
- package/bundles/mcp/node_modules/ip-address/dist/common.d.ts.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/common.js +46 -0
- package/bundles/mcp/node_modules/ip-address/dist/common.js.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/ip-address.d.ts +8 -0
- package/bundles/mcp/node_modules/ip-address/dist/ip-address.d.ts.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/ip-address.js +35 -0
- package/bundles/mcp/node_modules/ip-address/dist/ip-address.js.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/ipv4.d.ts +193 -0
- package/bundles/mcp/node_modules/ip-address/dist/ipv4.d.ts.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/ipv4.js +327 -0
- package/bundles/mcp/node_modules/ip-address/dist/ipv4.js.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/ipv6.d.ts +428 -0
- package/bundles/mcp/node_modules/ip-address/dist/ipv6.d.ts.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/ipv6.js +1003 -0
- package/bundles/mcp/node_modules/ip-address/dist/ipv6.js.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/v4/constants.d.ts +5 -0
- package/bundles/mcp/node_modules/ip-address/dist/v4/constants.d.ts.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/v4/constants.js +8 -0
- package/bundles/mcp/node_modules/ip-address/dist/v4/constants.js.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/v6/constants.d.ts +45 -0
- package/bundles/mcp/node_modules/ip-address/dist/v6/constants.d.ts.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/v6/constants.js +76 -0
- package/bundles/mcp/node_modules/ip-address/dist/v6/constants.js.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/v6/helpers.d.ts +18 -0
- package/bundles/mcp/node_modules/ip-address/dist/v6/helpers.d.ts.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/v6/helpers.js +45 -0
- package/bundles/mcp/node_modules/ip-address/dist/v6/helpers.js.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/v6/regular-expressions.d.ts +6 -0
- package/bundles/mcp/node_modules/ip-address/dist/v6/regular-expressions.d.ts.map +1 -0
- package/bundles/mcp/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
- package/bundles/mcp/node_modules/ip-address/dist/v6/regular-expressions.js.map +1 -0
- package/bundles/mcp/node_modules/ip-address/package.json +78 -0
- package/bundles/mcp/node_modules/ipaddr.js/LICENSE +19 -0
- package/bundles/mcp/node_modules/ipaddr.js/README.md +233 -0
- package/bundles/mcp/node_modules/ipaddr.js/ipaddr.min.js +1 -0
- package/bundles/mcp/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
- package/bundles/mcp/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
- package/bundles/mcp/node_modules/ipaddr.js/package.json +35 -0
- package/bundles/mcp/node_modules/is-promise/LICENSE +19 -0
- package/bundles/mcp/node_modules/is-promise/index.d.ts +2 -0
- package/bundles/mcp/node_modules/is-promise/index.js +6 -0
- package/bundles/mcp/node_modules/is-promise/index.mjs +3 -0
- package/bundles/mcp/node_modules/is-promise/package.json +30 -0
- package/bundles/mcp/node_modules/is-promise/readme.md +33 -0
- package/bundles/mcp/node_modules/isexe/LICENSE +15 -0
- package/bundles/mcp/node_modules/isexe/README.md +51 -0
- package/bundles/mcp/node_modules/isexe/index.js +57 -0
- package/bundles/mcp/node_modules/isexe/mode.js +41 -0
- package/bundles/mcp/node_modules/isexe/package.json +31 -0
- package/bundles/mcp/node_modules/isexe/test/basic.js +221 -0
- package/bundles/mcp/node_modules/isexe/windows.js +42 -0
- package/bundles/mcp/node_modules/jose/LICENSE.md +21 -0
- package/bundles/mcp/node_modules/jose/README.md +153 -0
- package/bundles/mcp/node_modules/jose/dist/types/index.d.ts +55 -0
- package/bundles/mcp/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +31 -0
- package/bundles/mcp/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +65 -0
- package/bundles/mcp/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +31 -0
- package/bundles/mcp/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +83 -0
- package/bundles/mcp/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +31 -0
- package/bundles/mcp/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +74 -0
- package/bundles/mcp/node_modules/jose/dist/types/jwk/embedded.d.ts +17 -0
- package/bundles/mcp/node_modules/jose/dist/types/jwk/thumbprint.d.ts +32 -0
- package/bundles/mcp/node_modules/jose/dist/types/jwks/local.d.ts +29 -0
- package/bundles/mcp/node_modules/jose/dist/types/jwks/remote.d.ts +237 -0
- package/bundles/mcp/node_modules/jose/dist/types/jws/compact/sign.d.ts +36 -0
- package/bundles/mcp/node_modules/jose/dist/types/jws/compact/verify.d.ts +33 -0
- package/bundles/mcp/node_modules/jose/dist/types/jws/flattened/sign.d.ts +42 -0
- package/bundles/mcp/node_modules/jose/dist/types/jws/flattened/verify.d.ts +33 -0
- package/bundles/mcp/node_modules/jose/dist/types/jws/general/sign.d.ts +53 -0
- package/bundles/mcp/node_modules/jose/dist/types/jws/general/verify.d.ts +33 -0
- package/bundles/mcp/node_modules/jose/dist/types/jwt/decrypt.d.ts +35 -0
- package/bundles/mcp/node_modules/jose/dist/types/jwt/encrypt.d.ts +91 -0
- package/bundles/mcp/node_modules/jose/dist/types/jwt/sign.d.ts +43 -0
- package/bundles/mcp/node_modules/jose/dist/types/jwt/unsecured.d.ts +43 -0
- package/bundles/mcp/node_modules/jose/dist/types/jwt/verify.d.ts +37 -0
- package/bundles/mcp/node_modules/jose/dist/types/key/export.d.ts +33 -0
- package/bundles/mcp/node_modules/jose/dist/types/key/generate_key_pair.d.ts +47 -0
- package/bundles/mcp/node_modules/jose/dist/types/key/generate_secret.d.ts +35 -0
- package/bundles/mcp/node_modules/jose/dist/types/key/import.d.ts +83 -0
- package/bundles/mcp/node_modules/jose/dist/types/types.d.ts +841 -0
- package/bundles/mcp/node_modules/jose/dist/types/util/base64url.d.ts +9 -0
- package/bundles/mcp/node_modules/jose/dist/types/util/decode_jwt.d.ts +18 -0
- package/bundles/mcp/node_modules/jose/dist/types/util/decode_protected_header.d.ts +17 -0
- package/bundles/mcp/node_modules/jose/dist/types/util/errors.d.ts +213 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/index.js +32 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +27 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +27 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +165 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +169 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jwe/general/decrypt.js +31 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jwe/general/encrypt.js +187 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jwk/embedded.js +17 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jwk/thumbprint.js +68 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jwks/local.js +119 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jwks/remote.js +179 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jws/compact/sign.js +18 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jws/compact/verify.js +21 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jws/flattened/sign.js +92 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jws/flattened/verify.js +120 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jws/general/sign.js +73 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jws/general/verify.js +24 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jwt/decrypt.js +23 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jwt/encrypt.js +108 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jwt/sign.js +52 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jwt/unsecured.js +63 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/jwt/verify.js +15 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/key/export.js +11 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/key/generate_key_pair.js +97 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/key/generate_secret.js +40 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/key/import.js +57 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/aesgcmkw.js +16 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/aeskw.js +25 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/asn1.js +243 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/base64.js +22 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/buffer_utils.js +43 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/cek.js +19 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/check_cek_length.js +7 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/check_iv_length.js +7 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/check_key_length.js +8 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/check_key_type.js +122 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/crypto_key.js +143 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/decrypt.js +106 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/decrypt_key_management.js +127 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/digest.js +4 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/ecdhes.js +52 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/encrypt.js +74 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/encrypt_key_management.js +92 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/get_sign_verify_key.js +12 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/invalid_key_input.js +27 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/is_disjoint.js +21 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/is_jwk.js +6 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/is_key_like.js +17 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/is_object.js +14 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/iv.js +19 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/jwk_to_key.js +109 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +238 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/key_to_jwk.js +31 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/normalize_key.js +176 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/pbes2kw.js +39 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/private_symbols.js +1 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/rsaes.js +24 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/sign.js +9 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/subtle_dsa.js +31 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/validate_algorithms.js +10 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/validate_crit.js +33 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/lib/verify.js +14 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/util/base64url.js +30 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/util/decode_jwt.js +32 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/util/decode_protected_header.js +34 -0
- package/bundles/mcp/node_modules/jose/dist/webapi/util/errors.js +99 -0
- package/bundles/mcp/node_modules/jose/package.json +200 -0
- package/bundles/mcp/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/bundles/mcp/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/bundles/mcp/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/bundles/mcp/node_modules/json-schema-traverse/LICENSE +21 -0
- package/bundles/mcp/node_modules/json-schema-traverse/README.md +95 -0
- package/bundles/mcp/node_modules/json-schema-traverse/index.d.ts +40 -0
- package/bundles/mcp/node_modules/json-schema-traverse/index.js +93 -0
- package/bundles/mcp/node_modules/json-schema-traverse/package.json +43 -0
- package/bundles/mcp/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/bundles/mcp/node_modules/json-schema-typed/LICENSE.md +57 -0
- package/bundles/mcp/node_modules/json-schema-typed/README.md +108 -0
- package/bundles/mcp/node_modules/json-schema-typed/draft_07.d.ts +882 -0
- package/bundles/mcp/node_modules/json-schema-typed/draft_07.js +328 -0
- package/bundles/mcp/node_modules/json-schema-typed/draft_2019_09.d.ts +1247 -0
- package/bundles/mcp/node_modules/json-schema-typed/draft_2019_09.js +349 -0
- package/bundles/mcp/node_modules/json-schema-typed/draft_2020_12.d.ts +1239 -0
- package/bundles/mcp/node_modules/json-schema-typed/draft_2020_12.js +352 -0
- package/bundles/mcp/node_modules/json-schema-typed/package.json +44 -0
- package/bundles/mcp/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/bundles/mcp/node_modules/math-intrinsics/LICENSE +21 -0
- package/bundles/mcp/node_modules/math-intrinsics/README.md +50 -0
- package/bundles/mcp/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/bundles/mcp/node_modules/math-intrinsics/abs.js +4 -0
- package/bundles/mcp/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/bundles/mcp/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/bundles/mcp/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/bundles/mcp/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/bundles/mcp/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/bundles/mcp/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/bundles/mcp/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/bundles/mcp/node_modules/math-intrinsics/floor.js +4 -0
- package/bundles/mcp/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/bundles/mcp/node_modules/math-intrinsics/isFinite.js +12 -0
- package/bundles/mcp/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/bundles/mcp/node_modules/math-intrinsics/isInteger.js +16 -0
- package/bundles/mcp/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/bundles/mcp/node_modules/math-intrinsics/isNaN.js +6 -0
- package/bundles/mcp/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/bundles/mcp/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/bundles/mcp/node_modules/math-intrinsics/max.d.ts +1 -0
- package/bundles/mcp/node_modules/math-intrinsics/max.js +4 -0
- package/bundles/mcp/node_modules/math-intrinsics/min.d.ts +1 -0
- package/bundles/mcp/node_modules/math-intrinsics/min.js +4 -0
- package/bundles/mcp/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/bundles/mcp/node_modules/math-intrinsics/mod.js +9 -0
- package/bundles/mcp/node_modules/math-intrinsics/package.json +86 -0
- package/bundles/mcp/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/bundles/mcp/node_modules/math-intrinsics/pow.js +4 -0
- package/bundles/mcp/node_modules/math-intrinsics/round.d.ts +1 -0
- package/bundles/mcp/node_modules/math-intrinsics/round.js +4 -0
- package/bundles/mcp/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/bundles/mcp/node_modules/math-intrinsics/sign.js +11 -0
- package/bundles/mcp/node_modules/math-intrinsics/test/index.js +192 -0
- package/bundles/mcp/node_modules/media-typer/HISTORY.md +50 -0
- package/bundles/mcp/node_modules/media-typer/LICENSE +22 -0
- package/bundles/mcp/node_modules/media-typer/README.md +93 -0
- package/bundles/mcp/node_modules/media-typer/index.js +143 -0
- package/bundles/mcp/node_modules/media-typer/package.json +33 -0
- package/bundles/mcp/node_modules/merge-descriptors/index.d.ts +11 -0
- package/bundles/mcp/node_modules/merge-descriptors/index.js +26 -0
- package/bundles/mcp/node_modules/merge-descriptors/license +11 -0
- package/bundles/mcp/node_modules/merge-descriptors/package.json +50 -0
- package/bundles/mcp/node_modules/merge-descriptors/readme.md +55 -0
- package/bundles/mcp/node_modules/mime-db/HISTORY.md +541 -0
- package/bundles/mcp/node_modules/mime-db/LICENSE +23 -0
- package/bundles/mcp/node_modules/mime-db/README.md +109 -0
- package/bundles/mcp/node_modules/mime-db/db.json +9342 -0
- package/bundles/mcp/node_modules/mime-db/index.js +12 -0
- package/bundles/mcp/node_modules/mime-db/package.json +56 -0
- package/bundles/mcp/node_modules/mime-types/HISTORY.md +428 -0
- package/bundles/mcp/node_modules/mime-types/LICENSE +23 -0
- package/bundles/mcp/node_modules/mime-types/README.md +126 -0
- package/bundles/mcp/node_modules/mime-types/index.js +211 -0
- package/bundles/mcp/node_modules/mime-types/mimeScore.js +57 -0
- package/bundles/mcp/node_modules/mime-types/package.json +49 -0
- package/bundles/mcp/node_modules/ms/index.js +162 -0
- package/bundles/mcp/node_modules/ms/license.md +21 -0
- package/bundles/mcp/node_modules/ms/package.json +38 -0
- package/bundles/mcp/node_modules/ms/readme.md +59 -0
- package/bundles/mcp/node_modules/negotiator/HISTORY.md +114 -0
- package/bundles/mcp/node_modules/negotiator/LICENSE +24 -0
- package/bundles/mcp/node_modules/negotiator/README.md +212 -0
- package/bundles/mcp/node_modules/negotiator/index.js +83 -0
- package/bundles/mcp/node_modules/negotiator/lib/charset.js +169 -0
- package/bundles/mcp/node_modules/negotiator/lib/encoding.js +205 -0
- package/bundles/mcp/node_modules/negotiator/lib/language.js +179 -0
- package/bundles/mcp/node_modules/negotiator/lib/mediaType.js +294 -0
- package/bundles/mcp/node_modules/negotiator/package.json +43 -0
- package/bundles/mcp/node_modules/object-assign/index.js +90 -0
- package/bundles/mcp/node_modules/object-assign/license +21 -0
- package/bundles/mcp/node_modules/object-assign/package.json +42 -0
- package/bundles/mcp/node_modules/object-assign/readme.md +61 -0
- package/bundles/mcp/node_modules/object-inspect/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/object-inspect/.nycrc +13 -0
- package/bundles/mcp/node_modules/object-inspect/CHANGELOG.md +424 -0
- package/bundles/mcp/node_modules/object-inspect/LICENSE +21 -0
- package/bundles/mcp/node_modules/object-inspect/example/all.js +23 -0
- package/bundles/mcp/node_modules/object-inspect/example/circular.js +6 -0
- package/bundles/mcp/node_modules/object-inspect/example/fn.js +5 -0
- package/bundles/mcp/node_modules/object-inspect/example/inspect.js +10 -0
- package/bundles/mcp/node_modules/object-inspect/index.js +544 -0
- package/bundles/mcp/node_modules/object-inspect/package-support.json +20 -0
- package/bundles/mcp/node_modules/object-inspect/package.json +105 -0
- package/bundles/mcp/node_modules/object-inspect/readme.markdown +84 -0
- package/bundles/mcp/node_modules/object-inspect/test/bigint.js +58 -0
- package/bundles/mcp/node_modules/object-inspect/test/browser/dom.js +15 -0
- package/bundles/mcp/node_modules/object-inspect/test/circular.js +16 -0
- package/bundles/mcp/node_modules/object-inspect/test/deep.js +12 -0
- package/bundles/mcp/node_modules/object-inspect/test/element.js +53 -0
- package/bundles/mcp/node_modules/object-inspect/test/err.js +48 -0
- package/bundles/mcp/node_modules/object-inspect/test/fakes.js +29 -0
- package/bundles/mcp/node_modules/object-inspect/test/fn.js +76 -0
- package/bundles/mcp/node_modules/object-inspect/test/global.js +17 -0
- package/bundles/mcp/node_modules/object-inspect/test/has.js +15 -0
- package/bundles/mcp/node_modules/object-inspect/test/holes.js +15 -0
- package/bundles/mcp/node_modules/object-inspect/test/indent-option.js +271 -0
- package/bundles/mcp/node_modules/object-inspect/test/inspect.js +139 -0
- package/bundles/mcp/node_modules/object-inspect/test/lowbyte.js +12 -0
- package/bundles/mcp/node_modules/object-inspect/test/number.js +58 -0
- package/bundles/mcp/node_modules/object-inspect/test/quoteStyle.js +26 -0
- package/bundles/mcp/node_modules/object-inspect/test/toStringTag.js +40 -0
- package/bundles/mcp/node_modules/object-inspect/test/undef.js +12 -0
- package/bundles/mcp/node_modules/object-inspect/test/values.js +261 -0
- package/bundles/mcp/node_modules/object-inspect/test-core-js.js +26 -0
- package/bundles/mcp/node_modules/object-inspect/util.inspect.js +1 -0
- package/bundles/mcp/node_modules/on-finished/HISTORY.md +98 -0
- package/bundles/mcp/node_modules/on-finished/LICENSE +23 -0
- package/bundles/mcp/node_modules/on-finished/README.md +162 -0
- package/bundles/mcp/node_modules/on-finished/index.js +234 -0
- package/bundles/mcp/node_modules/on-finished/package.json +39 -0
- package/bundles/mcp/node_modules/once/LICENSE +15 -0
- package/bundles/mcp/node_modules/once/README.md +79 -0
- package/bundles/mcp/node_modules/once/once.js +42 -0
- package/bundles/mcp/node_modules/once/package.json +33 -0
- package/bundles/mcp/node_modules/parseurl/HISTORY.md +58 -0
- package/bundles/mcp/node_modules/parseurl/LICENSE +24 -0
- package/bundles/mcp/node_modules/parseurl/README.md +133 -0
- package/bundles/mcp/node_modules/parseurl/index.js +158 -0
- package/bundles/mcp/node_modules/parseurl/package.json +40 -0
- package/bundles/mcp/node_modules/path-key/index.d.ts +40 -0
- package/bundles/mcp/node_modules/path-key/index.js +16 -0
- package/bundles/mcp/node_modules/path-key/license +9 -0
- package/bundles/mcp/node_modules/path-key/package.json +39 -0
- package/bundles/mcp/node_modules/path-key/readme.md +61 -0
- package/bundles/mcp/node_modules/path-to-regexp/LICENSE +21 -0
- package/bundles/mcp/node_modules/path-to-regexp/Readme.md +224 -0
- package/bundles/mcp/node_modules/path-to-regexp/dist/index.d.ts +144 -0
- package/bundles/mcp/node_modules/path-to-regexp/dist/index.js +409 -0
- package/bundles/mcp/node_modules/path-to-regexp/dist/index.js.map +1 -0
- package/bundles/mcp/node_modules/path-to-regexp/package.json +64 -0
- package/bundles/mcp/node_modules/pkce-challenge/LICENSE +21 -0
- package/bundles/mcp/node_modules/pkce-challenge/README.md +55 -0
- package/bundles/mcp/node_modules/pkce-challenge/dist/index.browser.d.ts +19 -0
- package/bundles/mcp/node_modules/pkce-challenge/dist/index.browser.js +72 -0
- package/bundles/mcp/node_modules/pkce-challenge/dist/index.node.cjs +80 -0
- package/bundles/mcp/node_modules/pkce-challenge/dist/index.node.d.cts +19 -0
- package/bundles/mcp/node_modules/pkce-challenge/dist/index.node.d.ts +19 -0
- package/bundles/mcp/node_modules/pkce-challenge/dist/index.node.js +75 -0
- package/bundles/mcp/node_modules/pkce-challenge/package.json +58 -0
- package/bundles/mcp/node_modules/proxy-addr/HISTORY.md +161 -0
- package/bundles/mcp/node_modules/proxy-addr/LICENSE +22 -0
- package/bundles/mcp/node_modules/proxy-addr/README.md +139 -0
- package/bundles/mcp/node_modules/proxy-addr/index.js +327 -0
- package/bundles/mcp/node_modules/proxy-addr/package.json +47 -0
- package/bundles/mcp/node_modules/qs/.editorconfig +46 -0
- package/bundles/mcp/node_modules/qs/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/qs/.github/SECURITY.md +11 -0
- package/bundles/mcp/node_modules/qs/.github/THREAT_MODEL.md +78 -0
- package/bundles/mcp/node_modules/qs/.nycrc +13 -0
- package/bundles/mcp/node_modules/qs/CHANGELOG.md +631 -0
- package/bundles/mcp/node_modules/qs/LICENSE.md +29 -0
- package/bundles/mcp/node_modules/qs/README.md +733 -0
- package/bundles/mcp/node_modules/qs/dist/qs.js +141 -0
- package/bundles/mcp/node_modules/qs/eslint.config.mjs +56 -0
- package/bundles/mcp/node_modules/qs/lib/formats.js +23 -0
- package/bundles/mcp/node_modules/qs/lib/index.js +11 -0
- package/bundles/mcp/node_modules/qs/lib/parse.js +360 -0
- package/bundles/mcp/node_modules/qs/lib/stringify.js +356 -0
- package/bundles/mcp/node_modules/qs/lib/utils.js +320 -0
- package/bundles/mcp/node_modules/qs/package.json +94 -0
- package/bundles/mcp/node_modules/qs/test/empty-keys-cases.js +267 -0
- package/bundles/mcp/node_modules/qs/test/parse.js +1396 -0
- package/bundles/mcp/node_modules/qs/test/stringify.js +1310 -0
- package/bundles/mcp/node_modules/qs/test/utils.js +381 -0
- package/bundles/mcp/node_modules/range-parser/HISTORY.md +56 -0
- package/bundles/mcp/node_modules/range-parser/LICENSE +23 -0
- package/bundles/mcp/node_modules/range-parser/README.md +84 -0
- package/bundles/mcp/node_modules/range-parser/index.js +162 -0
- package/bundles/mcp/node_modules/range-parser/package.json +44 -0
- package/bundles/mcp/node_modules/raw-body/LICENSE +22 -0
- package/bundles/mcp/node_modules/raw-body/README.md +223 -0
- package/bundles/mcp/node_modules/raw-body/index.d.ts +85 -0
- package/bundles/mcp/node_modules/raw-body/index.js +336 -0
- package/bundles/mcp/node_modules/raw-body/package.json +46 -0
- package/bundles/mcp/node_modules/require-from-string/index.js +34 -0
- package/bundles/mcp/node_modules/require-from-string/license +21 -0
- package/bundles/mcp/node_modules/require-from-string/package.json +28 -0
- package/bundles/mcp/node_modules/require-from-string/readme.md +56 -0
- package/bundles/mcp/node_modules/router/HISTORY.md +228 -0
- package/bundles/mcp/node_modules/router/LICENSE +23 -0
- package/bundles/mcp/node_modules/router/README.md +416 -0
- package/bundles/mcp/node_modules/router/index.js +748 -0
- package/bundles/mcp/node_modules/router/lib/layer.js +247 -0
- package/bundles/mcp/node_modules/router/lib/route.js +242 -0
- package/bundles/mcp/node_modules/router/package.json +44 -0
- package/bundles/mcp/node_modules/safer-buffer/LICENSE +21 -0
- package/bundles/mcp/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/bundles/mcp/node_modules/safer-buffer/Readme.md +156 -0
- package/bundles/mcp/node_modules/safer-buffer/dangerous.js +58 -0
- package/bundles/mcp/node_modules/safer-buffer/package.json +34 -0
- package/bundles/mcp/node_modules/safer-buffer/safer.js +77 -0
- package/bundles/mcp/node_modules/safer-buffer/tests.js +406 -0
- package/bundles/mcp/node_modules/send/LICENSE +23 -0
- package/bundles/mcp/node_modules/send/README.md +317 -0
- package/bundles/mcp/node_modules/send/index.js +997 -0
- package/bundles/mcp/node_modules/send/package.json +63 -0
- package/bundles/mcp/node_modules/serve-static/LICENSE +25 -0
- package/bundles/mcp/node_modules/serve-static/README.md +253 -0
- package/bundles/mcp/node_modules/serve-static/index.js +208 -0
- package/bundles/mcp/node_modules/serve-static/package.json +44 -0
- package/bundles/mcp/node_modules/setprototypeof/LICENSE +13 -0
- package/bundles/mcp/node_modules/setprototypeof/README.md +31 -0
- package/bundles/mcp/node_modules/setprototypeof/index.d.ts +2 -0
- package/bundles/mcp/node_modules/setprototypeof/index.js +17 -0
- package/bundles/mcp/node_modules/setprototypeof/package.json +38 -0
- package/bundles/mcp/node_modules/setprototypeof/test/index.js +24 -0
- package/bundles/mcp/node_modules/shebang-command/index.js +19 -0
- package/bundles/mcp/node_modules/shebang-command/license +9 -0
- package/bundles/mcp/node_modules/shebang-command/package.json +34 -0
- package/bundles/mcp/node_modules/shebang-command/readme.md +34 -0
- package/bundles/mcp/node_modules/shebang-regex/index.d.ts +22 -0
- package/bundles/mcp/node_modules/shebang-regex/index.js +2 -0
- package/bundles/mcp/node_modules/shebang-regex/license +9 -0
- package/bundles/mcp/node_modules/shebang-regex/package.json +35 -0
- package/bundles/mcp/node_modules/shebang-regex/readme.md +33 -0
- package/bundles/mcp/node_modules/side-channel/.editorconfig +9 -0
- package/bundles/mcp/node_modules/side-channel/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/side-channel/.nycrc +13 -0
- package/bundles/mcp/node_modules/side-channel/CHANGELOG.md +110 -0
- package/bundles/mcp/node_modules/side-channel/LICENSE +21 -0
- package/bundles/mcp/node_modules/side-channel/README.md +61 -0
- package/bundles/mcp/node_modules/side-channel/index.d.ts +14 -0
- package/bundles/mcp/node_modules/side-channel/index.js +43 -0
- package/bundles/mcp/node_modules/side-channel/package.json +85 -0
- package/bundles/mcp/node_modules/side-channel/test/index.js +104 -0
- package/bundles/mcp/node_modules/side-channel-list/.editorconfig +9 -0
- package/bundles/mcp/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/side-channel-list/.nycrc +13 -0
- package/bundles/mcp/node_modules/side-channel-list/CHANGELOG.md +15 -0
- package/bundles/mcp/node_modules/side-channel-list/LICENSE +21 -0
- package/bundles/mcp/node_modules/side-channel-list/README.md +62 -0
- package/bundles/mcp/node_modules/side-channel-list/index.d.ts +13 -0
- package/bundles/mcp/node_modules/side-channel-list/index.js +113 -0
- package/bundles/mcp/node_modules/side-channel-list/list.d.ts +14 -0
- package/bundles/mcp/node_modules/side-channel-list/package.json +77 -0
- package/bundles/mcp/node_modules/side-channel-list/test/index.js +104 -0
- package/bundles/mcp/node_modules/side-channel-map/.editorconfig +9 -0
- package/bundles/mcp/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/side-channel-map/.nycrc +13 -0
- package/bundles/mcp/node_modules/side-channel-map/CHANGELOG.md +22 -0
- package/bundles/mcp/node_modules/side-channel-map/LICENSE +21 -0
- package/bundles/mcp/node_modules/side-channel-map/README.md +62 -0
- package/bundles/mcp/node_modules/side-channel-map/index.d.ts +15 -0
- package/bundles/mcp/node_modules/side-channel-map/index.js +68 -0
- package/bundles/mcp/node_modules/side-channel-map/package.json +80 -0
- package/bundles/mcp/node_modules/side-channel-map/test/index.js +114 -0
- package/bundles/mcp/node_modules/side-channel-weakmap/.editorconfig +9 -0
- package/bundles/mcp/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
- package/bundles/mcp/node_modules/side-channel-weakmap/.nycrc +13 -0
- package/bundles/mcp/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
- package/bundles/mcp/node_modules/side-channel-weakmap/LICENSE +21 -0
- package/bundles/mcp/node_modules/side-channel-weakmap/README.md +62 -0
- package/bundles/mcp/node_modules/side-channel-weakmap/index.d.ts +15 -0
- package/bundles/mcp/node_modules/side-channel-weakmap/index.js +84 -0
- package/bundles/mcp/node_modules/side-channel-weakmap/package.json +87 -0
- package/bundles/mcp/node_modules/side-channel-weakmap/test/index.js +114 -0
- package/bundles/mcp/node_modules/statuses/HISTORY.md +87 -0
- package/bundles/mcp/node_modules/statuses/LICENSE +23 -0
- package/bundles/mcp/node_modules/statuses/README.md +139 -0
- package/bundles/mcp/node_modules/statuses/codes.json +65 -0
- package/bundles/mcp/node_modules/statuses/index.js +146 -0
- package/bundles/mcp/node_modules/statuses/package.json +49 -0
- package/bundles/mcp/node_modules/toidentifier/HISTORY.md +9 -0
- package/bundles/mcp/node_modules/toidentifier/LICENSE +21 -0
- package/bundles/mcp/node_modules/toidentifier/README.md +61 -0
- package/bundles/mcp/node_modules/toidentifier/index.js +32 -0
- package/bundles/mcp/node_modules/toidentifier/package.json +38 -0
- package/bundles/mcp/node_modules/type-is/HISTORY.md +292 -0
- package/bundles/mcp/node_modules/type-is/LICENSE +23 -0
- package/bundles/mcp/node_modules/type-is/README.md +198 -0
- package/bundles/mcp/node_modules/type-is/index.js +250 -0
- package/bundles/mcp/node_modules/type-is/package.json +47 -0
- package/bundles/mcp/node_modules/unpipe/HISTORY.md +4 -0
- package/bundles/mcp/node_modules/unpipe/LICENSE +22 -0
- package/bundles/mcp/node_modules/unpipe/README.md +43 -0
- package/bundles/mcp/node_modules/unpipe/index.js +69 -0
- package/bundles/mcp/node_modules/unpipe/package.json +27 -0
- package/bundles/mcp/node_modules/vary/HISTORY.md +39 -0
- package/bundles/mcp/node_modules/vary/LICENSE +22 -0
- package/bundles/mcp/node_modules/vary/README.md +101 -0
- package/bundles/mcp/node_modules/vary/index.js +149 -0
- package/bundles/mcp/node_modules/vary/package.json +43 -0
- package/bundles/mcp/node_modules/which/CHANGELOG.md +166 -0
- package/bundles/mcp/node_modules/which/LICENSE +15 -0
- package/bundles/mcp/node_modules/which/README.md +54 -0
- package/bundles/mcp/node_modules/which/bin/node-which +52 -0
- package/bundles/mcp/node_modules/which/package.json +43 -0
- package/bundles/mcp/node_modules/which/which.js +125 -0
- package/bundles/mcp/node_modules/wrappy/LICENSE +15 -0
- package/bundles/mcp/node_modules/wrappy/README.md +36 -0
- package/bundles/mcp/node_modules/wrappy/package.json +29 -0
- package/bundles/mcp/node_modules/wrappy/wrappy.js +33 -0
- package/bundles/mcp/node_modules/zod/LICENSE +21 -0
- package/bundles/mcp/node_modules/zod/README.md +208 -0
- package/bundles/mcp/node_modules/zod/index.cjs +33 -0
- package/bundles/mcp/node_modules/zod/index.d.cts +4 -0
- package/bundles/mcp/node_modules/zod/index.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/index.js +4 -0
- package/bundles/mcp/node_modules/zod/locales/index.cjs +17 -0
- package/bundles/mcp/node_modules/zod/locales/index.d.cts +1 -0
- package/bundles/mcp/node_modules/zod/locales/index.d.ts +1 -0
- package/bundles/mcp/node_modules/zod/locales/index.js +1 -0
- package/bundles/mcp/node_modules/zod/locales/package.json +6 -0
- package/bundles/mcp/node_modules/zod/mini/index.cjs +17 -0
- package/bundles/mcp/node_modules/zod/mini/index.d.cts +1 -0
- package/bundles/mcp/node_modules/zod/mini/index.d.ts +1 -0
- package/bundles/mcp/node_modules/zod/mini/index.js +1 -0
- package/bundles/mcp/node_modules/zod/mini/package.json +6 -0
- package/bundles/mcp/node_modules/zod/package.json +135 -0
- package/bundles/mcp/node_modules/zod/v3/ZodError.cjs +138 -0
- package/bundles/mcp/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/bundles/mcp/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/bundles/mcp/node_modules/zod/v3/ZodError.js +133 -0
- package/bundles/mcp/node_modules/zod/v3/errors.cjs +17 -0
- package/bundles/mcp/node_modules/zod/v3/errors.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v3/errors.d.ts +5 -0
- package/bundles/mcp/node_modules/zod/v3/errors.js +9 -0
- package/bundles/mcp/node_modules/zod/v3/external.cjs +22 -0
- package/bundles/mcp/node_modules/zod/v3/external.d.cts +6 -0
- package/bundles/mcp/node_modules/zod/v3/external.d.ts +6 -0
- package/bundles/mcp/node_modules/zod/v3/external.js +6 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/bundles/mcp/node_modules/zod/v3/helpers/util.js +133 -0
- package/bundles/mcp/node_modules/zod/v3/index.cjs +33 -0
- package/bundles/mcp/node_modules/zod/v3/index.d.cts +4 -0
- package/bundles/mcp/node_modules/zod/v3/index.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v3/index.js +4 -0
- package/bundles/mcp/node_modules/zod/v3/locales/en.cjs +112 -0
- package/bundles/mcp/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/bundles/mcp/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/bundles/mcp/node_modules/zod/v3/locales/en.js +109 -0
- package/bundles/mcp/node_modules/zod/v3/package.json +6 -0
- package/bundles/mcp/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/bundles/mcp/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/bundles/mcp/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/bundles/mcp/node_modules/zod/v3/standard-schema.js +1 -0
- package/bundles/mcp/node_modules/zod/v3/types.cjs +3777 -0
- package/bundles/mcp/node_modules/zod/v3/types.d.cts +1034 -0
- package/bundles/mcp/node_modules/zod/v3/types.d.ts +1034 -0
- package/bundles/mcp/node_modules/zod/v3/types.js +3695 -0
- package/bundles/mcp/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/bundles/mcp/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/bundles/mcp/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/bundles/mcp/node_modules/zod/v4/classic/checks.js +1 -0
- package/bundles/mcp/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/bundles/mcp/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/bundles/mcp/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/bundles/mcp/node_modules/zod/v4/classic/coerce.js +17 -0
- package/bundles/mcp/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/bundles/mcp/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/bundles/mcp/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/bundles/mcp/node_modules/zod/v4/classic/compat.js +31 -0
- package/bundles/mcp/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/bundles/mcp/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/bundles/mcp/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/bundles/mcp/node_modules/zod/v4/classic/errors.js +48 -0
- package/bundles/mcp/node_modules/zod/v4/classic/external.cjs +73 -0
- package/bundles/mcp/node_modules/zod/v4/classic/external.d.cts +15 -0
- package/bundles/mcp/node_modules/zod/v4/classic/external.d.ts +15 -0
- package/bundles/mcp/node_modules/zod/v4/classic/external.js +20 -0
- package/bundles/mcp/node_modules/zod/v4/classic/from-json-schema.cjs +610 -0
- package/bundles/mcp/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/bundles/mcp/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/bundles/mcp/node_modules/zod/v4/classic/from-json-schema.js +584 -0
- package/bundles/mcp/node_modules/zod/v4/classic/index.cjs +33 -0
- package/bundles/mcp/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/bundles/mcp/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/classic/index.js +4 -0
- package/bundles/mcp/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/bundles/mcp/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/bundles/mcp/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/bundles/mcp/node_modules/zod/v4/classic/iso.js +30 -0
- package/bundles/mcp/node_modules/zod/v4/classic/package.json +6 -0
- package/bundles/mcp/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/bundles/mcp/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/bundles/mcp/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/bundles/mcp/node_modules/zod/v4/classic/parse.js +15 -0
- package/bundles/mcp/node_modules/zod/v4/classic/schemas.cjs +1272 -0
- package/bundles/mcp/node_modules/zod/v4/classic/schemas.d.cts +739 -0
- package/bundles/mcp/node_modules/zod/v4/classic/schemas.d.ts +739 -0
- package/bundles/mcp/node_modules/zod/v4/classic/schemas.js +1157 -0
- package/bundles/mcp/node_modules/zod/v4/core/api.cjs +1222 -0
- package/bundles/mcp/node_modules/zod/v4/core/api.d.cts +304 -0
- package/bundles/mcp/node_modules/zod/v4/core/api.d.ts +304 -0
- package/bundles/mcp/node_modules/zod/v4/core/api.js +1082 -0
- package/bundles/mcp/node_modules/zod/v4/core/checks.cjs +601 -0
- package/bundles/mcp/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/bundles/mcp/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/bundles/mcp/node_modules/zod/v4/core/checks.js +575 -0
- package/bundles/mcp/node_modules/zod/v4/core/core.cjs +83 -0
- package/bundles/mcp/node_modules/zod/v4/core/core.d.cts +70 -0
- package/bundles/mcp/node_modules/zod/v4/core/core.d.ts +70 -0
- package/bundles/mcp/node_modules/zod/v4/core/core.js +76 -0
- package/bundles/mcp/node_modules/zod/v4/core/doc.cjs +39 -0
- package/bundles/mcp/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/bundles/mcp/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/bundles/mcp/node_modules/zod/v4/core/doc.js +35 -0
- package/bundles/mcp/node_modules/zod/v4/core/errors.cjs +213 -0
- package/bundles/mcp/node_modules/zod/v4/core/errors.d.cts +220 -0
- package/bundles/mcp/node_modules/zod/v4/core/errors.d.ts +220 -0
- package/bundles/mcp/node_modules/zod/v4/core/errors.js +182 -0
- package/bundles/mcp/node_modules/zod/v4/core/index.cjs +47 -0
- package/bundles/mcp/node_modules/zod/v4/core/index.d.cts +16 -0
- package/bundles/mcp/node_modules/zod/v4/core/index.d.ts +16 -0
- package/bundles/mcp/node_modules/zod/v4/core/index.js +16 -0
- package/bundles/mcp/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/bundles/mcp/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/bundles/mcp/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/bundles/mcp/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/bundles/mcp/node_modules/zod/v4/core/json-schema-processors.cjs +648 -0
- package/bundles/mcp/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/bundles/mcp/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/bundles/mcp/node_modules/zod/v4/core/json-schema-processors.js +605 -0
- package/bundles/mcp/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/bundles/mcp/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/bundles/mcp/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/bundles/mcp/node_modules/zod/v4/core/json-schema.js +1 -0
- package/bundles/mcp/node_modules/zod/v4/core/package.json +6 -0
- package/bundles/mcp/node_modules/zod/v4/core/parse.cjs +131 -0
- package/bundles/mcp/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/bundles/mcp/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/bundles/mcp/node_modules/zod/v4/core/parse.js +93 -0
- package/bundles/mcp/node_modules/zod/v4/core/regexes.cjs +166 -0
- package/bundles/mcp/node_modules/zod/v4/core/regexes.d.cts +79 -0
- package/bundles/mcp/node_modules/zod/v4/core/regexes.d.ts +79 -0
- package/bundles/mcp/node_modules/zod/v4/core/regexes.js +133 -0
- package/bundles/mcp/node_modules/zod/v4/core/registries.cjs +56 -0
- package/bundles/mcp/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/bundles/mcp/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/bundles/mcp/node_modules/zod/v4/core/registries.js +51 -0
- package/bundles/mcp/node_modules/zod/v4/core/schemas.cjs +2126 -0
- package/bundles/mcp/node_modules/zod/v4/core/schemas.d.cts +1146 -0
- package/bundles/mcp/node_modules/zod/v4/core/schemas.d.ts +1146 -0
- package/bundles/mcp/node_modules/zod/v4/core/schemas.js +2095 -0
- package/bundles/mcp/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/bundles/mcp/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/bundles/mcp/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/bundles/mcp/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/bundles/mcp/node_modules/zod/v4/core/to-json-schema.cjs +446 -0
- package/bundles/mcp/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/bundles/mcp/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/bundles/mcp/node_modules/zod/v4/core/to-json-schema.js +437 -0
- package/bundles/mcp/node_modules/zod/v4/core/util.cjs +710 -0
- package/bundles/mcp/node_modules/zod/v4/core/util.d.cts +199 -0
- package/bundles/mcp/node_modules/zod/v4/core/util.d.ts +199 -0
- package/bundles/mcp/node_modules/zod/v4/core/util.js +651 -0
- package/bundles/mcp/node_modules/zod/v4/core/versions.cjs +8 -0
- package/bundles/mcp/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/bundles/mcp/node_modules/zod/v4/core/versions.js +5 -0
- package/bundles/mcp/node_modules/zod/v4/index.cjs +22 -0
- package/bundles/mcp/node_modules/zod/v4/index.d.cts +3 -0
- package/bundles/mcp/node_modules/zod/v4/index.d.ts +3 -0
- package/bundles/mcp/node_modules/zod/v4/index.js +3 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ar.js +106 -0
- package/bundles/mcp/node_modules/zod/v4/locales/az.cjs +132 -0
- package/bundles/mcp/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/az.js +105 -0
- package/bundles/mcp/node_modules/zod/v4/locales/be.cjs +183 -0
- package/bundles/mcp/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/be.js +156 -0
- package/bundles/mcp/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/bundles/mcp/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/bg.js +120 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ca.js +107 -0
- package/bundles/mcp/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/bundles/mcp/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/cs.js +111 -0
- package/bundles/mcp/node_modules/zod/v4/locales/da.cjs +142 -0
- package/bundles/mcp/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/da.js +115 -0
- package/bundles/mcp/node_modules/zod/v4/locales/de.cjs +135 -0
- package/bundles/mcp/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/de.js +108 -0
- package/bundles/mcp/node_modules/zod/v4/locales/en.cjs +136 -0
- package/bundles/mcp/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/en.js +109 -0
- package/bundles/mcp/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/bundles/mcp/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/eo.js +109 -0
- package/bundles/mcp/node_modules/zod/v4/locales/es.cjs +159 -0
- package/bundles/mcp/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/es.js +132 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fa.js +114 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fi.js +112 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fr.cjs +135 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/fr.js +108 -0
- package/bundles/mcp/node_modules/zod/v4/locales/he.cjs +241 -0
- package/bundles/mcp/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/he.js +214 -0
- package/bundles/mcp/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/bundles/mcp/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/hu.js +108 -0
- package/bundles/mcp/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/bundles/mcp/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/hy.js +147 -0
- package/bundles/mcp/node_modules/zod/v4/locales/id.cjs +133 -0
- package/bundles/mcp/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/id.js +106 -0
- package/bundles/mcp/node_modules/zod/v4/locales/index.cjs +104 -0
- package/bundles/mcp/node_modules/zod/v4/locales/index.d.cts +49 -0
- package/bundles/mcp/node_modules/zod/v4/locales/index.d.ts +49 -0
- package/bundles/mcp/node_modules/zod/v4/locales/index.js +49 -0
- package/bundles/mcp/node_modules/zod/v4/locales/is.cjs +136 -0
- package/bundles/mcp/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/is.js +109 -0
- package/bundles/mcp/node_modules/zod/v4/locales/it.cjs +135 -0
- package/bundles/mcp/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/it.js +108 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ja.js +107 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ka.js +112 -0
- package/bundles/mcp/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/bundles/mcp/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/kh.js +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/km.cjs +137 -0
- package/bundles/mcp/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/km.js +110 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ko.js +111 -0
- package/bundles/mcp/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/bundles/mcp/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/lt.js +203 -0
- package/bundles/mcp/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/bundles/mcp/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/mk.js +109 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ms.js +107 -0
- package/bundles/mcp/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/bundles/mcp/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/nl.js +110 -0
- package/bundles/mcp/node_modules/zod/v4/locales/no.cjs +135 -0
- package/bundles/mcp/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/no.js +108 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ota.js +109 -0
- package/bundles/mcp/node_modules/zod/v4/locales/package.json +6 -0
- package/bundles/mcp/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/bundles/mcp/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/pl.js +109 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ps.js +114 -0
- package/bundles/mcp/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/bundles/mcp/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/pt.js +108 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ru.js +156 -0
- package/bundles/mcp/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/bundles/mcp/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/sl.js +109 -0
- package/bundles/mcp/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/bundles/mcp/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/sv.js +110 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ta.js +110 -0
- package/bundles/mcp/node_modules/zod/v4/locales/th.cjs +137 -0
- package/bundles/mcp/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/th.js +110 -0
- package/bundles/mcp/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/bundles/mcp/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/tr.js +105 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ua.js +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/bundles/mcp/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/uk.js +108 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/ur.js +110 -0
- package/bundles/mcp/node_modules/zod/v4/locales/uz.cjs +136 -0
- package/bundles/mcp/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/uz.js +109 -0
- package/bundles/mcp/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/bundles/mcp/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/vi.js +108 -0
- package/bundles/mcp/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/bundles/mcp/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/yo.js +107 -0
- package/bundles/mcp/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/bundles/mcp/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/bundles/mcp/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/bundles/mcp/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/bundles/mcp/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/bundles/mcp/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/bundles/mcp/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/bundles/mcp/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/bundles/mcp/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/bundles/mcp/node_modules/zod/v4/mini/checks.js +1 -0
- package/bundles/mcp/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/bundles/mcp/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/bundles/mcp/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/bundles/mcp/node_modules/zod/v4/mini/coerce.js +22 -0
- package/bundles/mcp/node_modules/zod/v4/mini/external.cjs +63 -0
- package/bundles/mcp/node_modules/zod/v4/mini/external.d.cts +12 -0
- package/bundles/mcp/node_modules/zod/v4/mini/external.d.ts +12 -0
- package/bundles/mcp/node_modules/zod/v4/mini/external.js +14 -0
- package/bundles/mcp/node_modules/zod/v4/mini/index.cjs +32 -0
- package/bundles/mcp/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/bundles/mcp/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/bundles/mcp/node_modules/zod/v4/mini/index.js +3 -0
- package/bundles/mcp/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/bundles/mcp/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/bundles/mcp/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/bundles/mcp/node_modules/zod/v4/mini/iso.js +34 -0
- package/bundles/mcp/node_modules/zod/v4/mini/package.json +6 -0
- package/bundles/mcp/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/bundles/mcp/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/bundles/mcp/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/bundles/mcp/node_modules/zod/v4/mini/parse.js +1 -0
- package/bundles/mcp/node_modules/zod/v4/mini/schemas.cjs +1046 -0
- package/bundles/mcp/node_modules/zod/v4/mini/schemas.d.cts +427 -0
- package/bundles/mcp/node_modules/zod/v4/mini/schemas.d.ts +427 -0
- package/bundles/mcp/node_modules/zod/v4/mini/schemas.js +925 -0
- package/bundles/mcp/node_modules/zod/v4/package.json +6 -0
- package/bundles/mcp/node_modules/zod/v4-mini/index.cjs +17 -0
- package/bundles/mcp/node_modules/zod/v4-mini/index.d.cts +1 -0
- package/bundles/mcp/node_modules/zod/v4-mini/index.d.ts +1 -0
- package/bundles/mcp/node_modules/zod/v4-mini/index.js +1 -0
- package/bundles/mcp/node_modules/zod/v4-mini/package.json +6 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/.github/CR_logotype-full-color.png +0 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/.github/FUNDING.yml +1 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/.prettierrc.json +1 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/LICENSE +15 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/README.md +390 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/changelog.md +82 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/contributing.md +9 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/createIndex.ts +32 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/Options.js +51 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/Refs.js +26 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/errorMessages.js +19 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/getRelativePath.js +12 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/index.js +56 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/package.json +1 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parseDef.js +66 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parseTypes.js +2 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/any.js +21 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/array.js +30 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/bigint.js +53 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/boolean.js +9 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/branded.js +8 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/catch.js +8 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/date.js +50 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/default.js +11 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/effects.js +11 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/enum.js +10 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/intersection.js +56 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/literal.js +25 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/map.js +30 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/nativeEnum.js +20 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/never.js +15 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/null.js +14 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/nullable.js +37 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/number.js +56 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/object.js +76 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/optional.js +25 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/pipeline.js +24 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/promise.js +8 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/readonly.js +8 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/record.js +65 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/set.js +24 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/string.js +356 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/tuple.js +36 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/undefined.js +10 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/union.js +84 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/parsers/unknown.js +8 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/selectParser.js +109 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/cjs/zodToJsonSchema.js +90 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/Options.js +46 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/Refs.js +22 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +14 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js +8 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/index.js +40 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/package.json +1 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parseDef.js +62 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parseTypes.js +1 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +17 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +26 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +49 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +5 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +4 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +4 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +46 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +7 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +7 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +6 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +52 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +21 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +26 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +16 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +11 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +10 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +33 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +52 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +72 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +21 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +20 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +4 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +4 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +61 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +20 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +352 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +32 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +6 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +80 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +4 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/selectParser.js +105 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +87 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/Options.d.ts +37 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/Refs.d.ts +17 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/errorMessages.d.ts +15 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/getRelativePath.d.ts +1 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/index.d.ts +40 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parseDef.d.ts +4 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parseTypes.d.ts +34 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/any.d.ts +5 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/array.d.ts +12 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/bigint.d.ts +14 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/boolean.d.ts +4 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/branded.d.ts +3 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/catch.d.ts +3 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/date.d.ts +15 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/default.d.ts +6 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/effects.d.ts +4 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/enum.d.ts +6 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/intersection.d.ts +8 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/literal.d.ts +9 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/map.d.ts +15 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/nativeEnum.d.ts +6 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/never.d.ts +6 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/null.d.ts +5 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/nullable.d.ts +10 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/number.d.ts +13 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/object.d.ts +10 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/optional.d.ts +4 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/pipeline.d.ts +5 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/promise.d.ts +4 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/readonly.d.ts +3 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/record.d.ts +13 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/set.d.ts +13 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/string.d.ts +73 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/tuple.d.ts +13 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/undefined.d.ts +6 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/union.d.ts +23 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/parsers/unknown.d.ts +4 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/selectParser.d.ts +5 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/dist/types/zodToJsonSchema.d.ts +10 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/package.json +78 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/postcjs.ts +3 -0
- package/bundles/mcp/node_modules/zod-to-json-schema/postesm.ts +3 -0
- package/bundles/utils/node_modules/.package-lock.json +427 -0
- package/bundles/utils/node_modules/@types/debug/LICENSE +21 -0
- package/bundles/utils/node_modules/@types/debug/README.md +74 -0
- package/bundles/utils/node_modules/@types/debug/index.d.ts +54 -0
- package/bundles/utils/node_modules/@types/debug/package.json +57 -0
- package/bundles/utils/node_modules/@types/diff/LICENSE +21 -0
- package/bundles/utils/node_modules/@types/diff/README.md +15 -0
- package/bundles/utils/node_modules/@types/diff/index.d.mts +1 -0
- package/bundles/utils/node_modules/@types/diff/index.d.ts +465 -0
- package/bundles/utils/node_modules/@types/diff/package.json +48 -0
- package/bundles/utils/node_modules/@types/ini/LICENSE +21 -0
- package/bundles/utils/node_modules/@types/ini/README.md +43 -0
- package/bundles/utils/node_modules/@types/ini/index.d.ts +24 -0
- package/bundles/utils/node_modules/@types/ini/package.json +35 -0
- package/bundles/utils/node_modules/@types/mime/LICENSE +21 -0
- package/bundles/utils/node_modules/@types/mime/Mime.d.ts +9 -0
- package/bundles/utils/node_modules/@types/mime/README.md +16 -0
- package/bundles/utils/node_modules/@types/mime/index.d.ts +15 -0
- package/bundles/utils/node_modules/@types/mime/lite.d.ts +7 -0
- package/bundles/utils/node_modules/@types/mime/package.json +29 -0
- package/bundles/utils/node_modules/@types/minimatch/LICENSE +21 -0
- package/bundles/utils/node_modules/@types/minimatch/README.md +16 -0
- package/bundles/utils/node_modules/@types/minimatch/index.d.ts +204 -0
- package/bundles/utils/node_modules/@types/minimatch/package.json +30 -0
- package/bundles/utils/node_modules/@types/ms/LICENSE +21 -0
- package/bundles/utils/node_modules/@types/ms/README.md +16 -0
- package/bundles/utils/node_modules/@types/ms/index.d.ts +25 -0
- package/bundles/utils/node_modules/@types/ms/package.json +24 -0
- package/bundles/utils/node_modules/@types/node/LICENSE +21 -0
- package/bundles/utils/node_modules/@types/node/README.md +16 -0
- package/bundles/utils/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/bundles/utils/node_modules/@types/node/assert.d.ts +912 -0
- package/bundles/utils/node_modules/@types/node/async_hooks.d.ts +501 -0
- package/bundles/utils/node_modules/@types/node/buffer.d.ts +2232 -0
- package/bundles/utils/node_modules/@types/node/child_process.d.ts +1366 -0
- package/bundles/utils/node_modules/@types/node/cluster.d.ts +414 -0
- package/bundles/utils/node_modules/@types/node/console.d.ts +412 -0
- package/bundles/utils/node_modules/@types/node/constants.d.ts +18 -0
- package/bundles/utils/node_modules/@types/node/crypto.d.ts +3307 -0
- package/bundles/utils/node_modules/@types/node/dgram.d.ts +545 -0
- package/bundles/utils/node_modules/@types/node/diagnostics_channel.d.ts +134 -0
- package/bundles/utils/node_modules/@types/node/dns/promises.d.ts +370 -0
- package/bundles/utils/node_modules/@types/node/dns.d.ts +659 -0
- package/bundles/utils/node_modules/@types/node/domain.d.ts +169 -0
- package/bundles/utils/node_modules/@types/node/events.d.ts +651 -0
- package/bundles/utils/node_modules/@types/node/fs/promises.d.ts +1091 -0
- package/bundles/utils/node_modules/@types/node/fs.d.ts +3869 -0
- package/bundles/utils/node_modules/@types/node/globals.d.ts +284 -0
- package/bundles/utils/node_modules/@types/node/globals.global.d.ts +1 -0
- package/bundles/utils/node_modules/@types/node/http.d.ts +1396 -0
- package/bundles/utils/node_modules/@types/node/http2.d.ts +2100 -0
- package/bundles/utils/node_modules/@types/node/https.d.ts +391 -0
- package/bundles/utils/node_modules/@types/node/index.d.ts +129 -0
- package/bundles/utils/node_modules/@types/node/inspector.d.ts +2744 -0
- package/bundles/utils/node_modules/@types/node/module.d.ts +114 -0
- package/bundles/utils/node_modules/@types/node/net.d.ts +791 -0
- package/bundles/utils/node_modules/@types/node/os.d.ts +455 -0
- package/bundles/utils/node_modules/@types/node/package.json +220 -0
- package/bundles/utils/node_modules/@types/node/path.d.ts +180 -0
- package/bundles/utils/node_modules/@types/node/perf_hooks.d.ts +557 -0
- package/bundles/utils/node_modules/@types/node/process.d.ts +1481 -0
- package/bundles/utils/node_modules/@types/node/punycode.d.ts +117 -0
- package/bundles/utils/node_modules/@types/node/querystring.d.ts +131 -0
- package/bundles/utils/node_modules/@types/node/readline.d.ts +650 -0
- package/bundles/utils/node_modules/@types/node/repl.d.ts +424 -0
- package/bundles/utils/node_modules/@types/node/stream/consumers.d.ts +24 -0
- package/bundles/utils/node_modules/@types/node/stream/promises.d.ts +42 -0
- package/bundles/utils/node_modules/@types/node/stream/web.d.ts +330 -0
- package/bundles/utils/node_modules/@types/node/stream.d.ts +1249 -0
- package/bundles/utils/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/bundles/utils/node_modules/@types/node/timers/promises.d.ts +68 -0
- package/bundles/utils/node_modules/@types/node/timers.d.ts +94 -0
- package/bundles/utils/node_modules/@types/node/tls.d.ts +1020 -0
- package/bundles/utils/node_modules/@types/node/trace_events.d.ts +161 -0
- package/bundles/utils/node_modules/@types/node/tty.d.ts +204 -0
- package/bundles/utils/node_modules/@types/node/url.d.ts +891 -0
- package/bundles/utils/node_modules/@types/node/util.d.ts +1594 -0
- package/bundles/utils/node_modules/@types/node/v8.d.ts +378 -0
- package/bundles/utils/node_modules/@types/node/vm.d.ts +507 -0
- package/bundles/utils/node_modules/@types/node/wasi.d.ts +158 -0
- package/bundles/utils/node_modules/@types/node/worker_threads.d.ts +649 -0
- package/bundles/utils/node_modules/@types/node/zlib.d.ts +517 -0
- package/bundles/utils/node_modules/@types/pngjs/LICENSE +21 -0
- package/bundles/utils/node_modules/@types/pngjs/README.md +16 -0
- package/bundles/utils/node_modules/@types/pngjs/index.d.ts +108 -0
- package/bundles/utils/node_modules/@types/pngjs/package.json +37 -0
- package/bundles/utils/node_modules/@types/progress/LICENSE +21 -0
- package/bundles/utils/node_modules/@types/progress/README.md +16 -0
- package/bundles/utils/node_modules/@types/progress/index.d.ts +148 -0
- package/bundles/utils/node_modules/@types/progress/package.json +27 -0
- package/bundles/utils/node_modules/@types/proper-lockfile/LICENSE +21 -0
- package/bundles/utils/node_modules/@types/proper-lockfile/README.md +60 -0
- package/bundles/utils/node_modules/@types/proper-lockfile/index.d.ts +40 -0
- package/bundles/utils/node_modules/@types/proper-lockfile/package.json +37 -0
- package/bundles/utils/node_modules/@types/proxy-from-env/LICENSE +21 -0
- package/bundles/utils/node_modules/@types/proxy-from-env/README.md +16 -0
- package/bundles/utils/node_modules/@types/proxy-from-env/index.d.ts +18 -0
- package/bundles/utils/node_modules/@types/proxy-from-env/package.json +31 -0
- package/bundles/utils/node_modules/@types/retry/LICENSE +21 -0
- package/bundles/utils/node_modules/@types/retry/README.md +16 -0
- package/bundles/utils/node_modules/@types/retry/index.d.ts +153 -0
- package/bundles/utils/node_modules/@types/retry/package.json +30 -0
- package/bundles/utils/node_modules/@types/stack-utils/LICENSE +21 -0
- package/bundles/utils/node_modules/@types/stack-utils/README.md +85 -0
- package/bundles/utils/node_modules/@types/stack-utils/index.d.ts +65 -0
- package/bundles/utils/node_modules/@types/stack-utils/package.json +25 -0
- package/bundles/utils/node_modules/@types/ws/LICENSE +21 -0
- package/bundles/utils/node_modules/@types/ws/README.md +16 -0
- package/bundles/utils/node_modules/@types/ws/index.d.mts +3 -0
- package/bundles/utils/node_modules/@types/ws/index.d.ts +358 -0
- package/bundles/utils/node_modules/@types/ws/package.json +66 -0
- package/bundles/utils/node_modules/agent-base/LICENSE +22 -0
- package/bundles/utils/node_modules/agent-base/README.md +69 -0
- package/bundles/utils/node_modules/agent-base/dist/helpers.d.ts +15 -0
- package/bundles/utils/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
- package/bundles/utils/node_modules/agent-base/dist/helpers.js +66 -0
- package/bundles/utils/node_modules/agent-base/dist/helpers.js.map +1 -0
- package/bundles/utils/node_modules/agent-base/dist/index.d.ts +41 -0
- package/bundles/utils/node_modules/agent-base/dist/index.d.ts.map +1 -0
- package/bundles/utils/node_modules/agent-base/dist/index.js +178 -0
- package/bundles/utils/node_modules/agent-base/dist/index.js.map +1 -0
- package/bundles/utils/node_modules/agent-base/package.json +46 -0
- package/bundles/utils/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- package/bundles/utils/node_modules/balanced-match/LICENSE.md +21 -0
- package/bundles/utils/node_modules/balanced-match/README.md +97 -0
- package/bundles/utils/node_modules/balanced-match/index.js +62 -0
- package/bundles/utils/node_modules/balanced-match/package.json +48 -0
- package/bundles/utils/node_modules/brace-expansion/LICENSE +21 -0
- package/bundles/utils/node_modules/brace-expansion/README.md +129 -0
- package/bundles/utils/node_modules/brace-expansion/index.js +201 -0
- package/bundles/utils/node_modules/brace-expansion/package.json +50 -0
- package/bundles/utils/node_modules/colors/LICENSE +25 -0
- package/bundles/utils/node_modules/colors/README.md +221 -0
- package/bundles/utils/node_modules/colors/examples/normal-usage.js +82 -0
- package/bundles/utils/node_modules/colors/examples/safe-string.js +79 -0
- package/bundles/utils/node_modules/colors/index.d.ts +136 -0
- package/bundles/utils/node_modules/colors/lib/colors.js +211 -0
- package/bundles/utils/node_modules/colors/lib/custom/trap.js +46 -0
- package/bundles/utils/node_modules/colors/lib/custom/zalgo.js +110 -0
- package/bundles/utils/node_modules/colors/lib/extendStringPrototype.js +110 -0
- package/bundles/utils/node_modules/colors/lib/index.js +13 -0
- package/bundles/utils/node_modules/colors/lib/maps/america.js +10 -0
- package/bundles/utils/node_modules/colors/lib/maps/rainbow.js +12 -0
- package/bundles/utils/node_modules/colors/lib/maps/random.js +11 -0
- package/bundles/utils/node_modules/colors/lib/maps/zebra.js +5 -0
- package/bundles/utils/node_modules/colors/lib/styles.js +95 -0
- package/bundles/utils/node_modules/colors/lib/system/has-flag.js +35 -0
- package/bundles/utils/node_modules/colors/lib/system/supports-colors.js +151 -0
- package/bundles/utils/node_modules/colors/package.json +45 -0
- package/bundles/utils/node_modules/colors/safe.d.ts +48 -0
- package/bundles/utils/node_modules/colors/safe.js +10 -0
- package/bundles/utils/node_modules/colors/themes/generic-logging.js +12 -0
- package/bundles/utils/node_modules/commander/LICENSE +22 -0
- package/bundles/utils/node_modules/commander/Readme.md +1149 -0
- package/bundles/utils/node_modules/commander/esm.mjs +16 -0
- package/bundles/utils/node_modules/commander/index.js +24 -0
- package/bundles/utils/node_modules/commander/lib/argument.js +149 -0
- package/bundles/utils/node_modules/commander/lib/command.js +2662 -0
- package/bundles/utils/node_modules/commander/lib/error.js +39 -0
- package/bundles/utils/node_modules/commander/lib/help.js +709 -0
- package/bundles/utils/node_modules/commander/lib/option.js +367 -0
- package/bundles/utils/node_modules/commander/lib/suggestSimilar.js +101 -0
- package/bundles/utils/node_modules/commander/package-support.json +16 -0
- package/bundles/utils/node_modules/commander/package.json +82 -0
- package/bundles/utils/node_modules/commander/typings/esm.d.mts +3 -0
- package/bundles/utils/node_modules/commander/typings/index.d.ts +1045 -0
- package/bundles/utils/node_modules/concat-map/.travis.yml +4 -0
- package/bundles/utils/node_modules/concat-map/LICENSE +18 -0
- package/bundles/utils/node_modules/concat-map/README.markdown +62 -0
- package/bundles/utils/node_modules/concat-map/example/map.js +6 -0
- package/bundles/utils/node_modules/concat-map/index.js +13 -0
- package/bundles/utils/node_modules/concat-map/package.json +43 -0
- package/bundles/utils/node_modules/concat-map/test/map.js +39 -0
- package/bundles/utils/node_modules/debug/LICENSE +20 -0
- package/bundles/utils/node_modules/debug/README.md +481 -0
- package/bundles/utils/node_modules/debug/package.json +59 -0
- package/bundles/utils/node_modules/define-lazy-prop/index.d.ts +33 -0
- package/bundles/utils/node_modules/define-lazy-prop/index.js +19 -0
- package/bundles/utils/node_modules/define-lazy-prop/license +9 -0
- package/bundles/utils/node_modules/define-lazy-prop/package.json +48 -0
- package/bundles/utils/node_modules/define-lazy-prop/readme.md +64 -0
- package/bundles/utils/node_modules/diff/CONTRIBUTING.md +40 -0
- package/bundles/utils/node_modules/diff/LICENSE +29 -0
- package/bundles/utils/node_modules/diff/README.md +346 -0
- package/bundles/utils/node_modules/diff/dist/diff.js +2106 -0
- package/bundles/utils/node_modules/diff/dist/diff.min.js +37 -0
- package/bundles/utils/node_modules/diff/lib/convert/dmp.js +27 -0
- package/bundles/utils/node_modules/diff/lib/convert/xml.js +35 -0
- package/bundles/utils/node_modules/diff/lib/diff/array.js +39 -0
- package/bundles/utils/node_modules/diff/lib/diff/base.js +304 -0
- package/bundles/utils/node_modules/diff/lib/diff/character.js +33 -0
- package/bundles/utils/node_modules/diff/lib/diff/css.js +36 -0
- package/bundles/utils/node_modules/diff/lib/diff/json.js +143 -0
- package/bundles/utils/node_modules/diff/lib/diff/line.js +121 -0
- package/bundles/utils/node_modules/diff/lib/diff/sentence.js +36 -0
- package/bundles/utils/node_modules/diff/lib/diff/word.js +543 -0
- package/bundles/utils/node_modules/diff/lib/index.es6.js +2041 -0
- package/bundles/utils/node_modules/diff/lib/index.js +217 -0
- package/bundles/utils/node_modules/diff/lib/index.mjs +2041 -0
- package/bundles/utils/node_modules/diff/lib/patch/apply.js +393 -0
- package/bundles/utils/node_modules/diff/lib/patch/create.js +369 -0
- package/bundles/utils/node_modules/diff/lib/patch/line-endings.js +176 -0
- package/bundles/utils/node_modules/diff/lib/patch/merge.js +535 -0
- package/bundles/utils/node_modules/diff/lib/patch/parse.js +151 -0
- package/bundles/utils/node_modules/diff/lib/patch/reverse.js +58 -0
- package/bundles/utils/node_modules/diff/lib/util/array.js +27 -0
- package/bundles/utils/node_modules/diff/lib/util/distance-iterator.js +54 -0
- package/bundles/utils/node_modules/diff/lib/util/params.js +22 -0
- package/bundles/utils/node_modules/diff/lib/util/string.js +131 -0
- package/bundles/utils/node_modules/diff/package.json +88 -0
- package/bundles/utils/node_modules/diff/release-notes.md +361 -0
- package/bundles/utils/node_modules/diff/runtime.js +3 -0
- package/bundles/utils/node_modules/dotenv/CHANGELOG.md +475 -0
- package/bundles/utils/node_modules/dotenv/LICENSE +23 -0
- package/bundles/utils/node_modules/dotenv/README-es.md +448 -0
- package/bundles/utils/node_modules/dotenv/README.md +728 -0
- package/bundles/utils/node_modules/dotenv/config.d.ts +1 -0
- package/bundles/utils/node_modules/dotenv/config.js +9 -0
- package/bundles/utils/node_modules/dotenv/lib/cli-options.js +11 -0
- package/bundles/utils/node_modules/dotenv/lib/env-options.js +24 -0
- package/bundles/utils/node_modules/dotenv/lib/main.d.ts +153 -0
- package/bundles/utils/node_modules/dotenv/lib/main.js +361 -0
- package/bundles/utils/node_modules/dotenv/package.json +65 -0
- package/bundles/utils/node_modules/graceful-fs/LICENSE +15 -0
- package/bundles/utils/node_modules/graceful-fs/README.md +143 -0
- package/bundles/utils/node_modules/graceful-fs/clone.js +23 -0
- package/bundles/utils/node_modules/graceful-fs/graceful-fs.js +448 -0
- package/bundles/utils/node_modules/graceful-fs/legacy-streams.js +118 -0
- package/bundles/utils/node_modules/graceful-fs/package.json +50 -0
- package/bundles/utils/node_modules/graceful-fs/polyfills.js +355 -0
- package/bundles/utils/node_modules/https-proxy-agent/LICENSE +22 -0
- package/bundles/utils/node_modules/https-proxy-agent/README.md +70 -0
- package/bundles/utils/node_modules/https-proxy-agent/dist/index.d.ts +47 -0
- package/bundles/utils/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
- package/bundles/utils/node_modules/https-proxy-agent/dist/index.js +180 -0
- package/bundles/utils/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- package/bundles/utils/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +15 -0
- package/bundles/utils/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
- package/bundles/utils/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
- package/bundles/utils/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/bundles/utils/node_modules/https-proxy-agent/package.json +50 -0
- package/bundles/utils/node_modules/ini/LICENSE +15 -0
- package/bundles/utils/node_modules/ini/README.md +180 -0
- package/bundles/utils/node_modules/ini/lib/ini.js +280 -0
- package/bundles/utils/node_modules/ini/package.json +45 -0
- package/bundles/utils/node_modules/ip-address/LICENSE +19 -0
- package/bundles/utils/node_modules/ip-address/README.md +108 -0
- package/bundles/utils/node_modules/ip-address/dist/address-error.d.ts +5 -0
- package/bundles/utils/node_modules/ip-address/dist/address-error.d.ts.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/address-error.js +14 -0
- package/bundles/utils/node_modules/ip-address/dist/address-error.js.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/common.d.ts +8 -0
- package/bundles/utils/node_modules/ip-address/dist/common.d.ts.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/common.js +26 -0
- package/bundles/utils/node_modules/ip-address/dist/common.js.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/ip-address.d.ts +11 -0
- package/bundles/utils/node_modules/ip-address/dist/ip-address.d.ts.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/ip-address.js +35 -0
- package/bundles/utils/node_modules/ip-address/dist/ip-address.js.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/ipv4.d.ts +194 -0
- package/bundles/utils/node_modules/ip-address/dist/ipv4.d.ts.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/ipv4.js +326 -0
- package/bundles/utils/node_modules/ip-address/dist/ipv4.js.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/ipv6.d.ts +429 -0
- package/bundles/utils/node_modules/ip-address/dist/ipv6.d.ts.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/ipv6.js +998 -0
- package/bundles/utils/node_modules/ip-address/dist/ipv6.js.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/v4/constants.d.ts +5 -0
- package/bundles/utils/node_modules/ip-address/dist/v4/constants.d.ts.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/v4/constants.js +8 -0
- package/bundles/utils/node_modules/ip-address/dist/v4/constants.js.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/v6/constants.d.ts +45 -0
- package/bundles/utils/node_modules/ip-address/dist/v6/constants.d.ts.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/v6/constants.js +76 -0
- package/bundles/utils/node_modules/ip-address/dist/v6/constants.js.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/v6/helpers.d.ts +18 -0
- package/bundles/utils/node_modules/ip-address/dist/v6/helpers.d.ts.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/v6/helpers.js +48 -0
- package/bundles/utils/node_modules/ip-address/dist/v6/helpers.js.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/v6/regular-expressions.d.ts +6 -0
- package/bundles/utils/node_modules/ip-address/dist/v6/regular-expressions.d.ts.map +1 -0
- package/bundles/utils/node_modules/ip-address/dist/v6/regular-expressions.js +96 -0
- package/bundles/utils/node_modules/ip-address/dist/v6/regular-expressions.js.map +1 -0
- package/bundles/utils/node_modules/ip-address/package.json +87 -0
- package/bundles/utils/node_modules/is-docker/cli.js +5 -0
- package/bundles/utils/node_modules/is-docker/index.d.ts +15 -0
- package/bundles/utils/node_modules/is-docker/index.js +29 -0
- package/bundles/utils/node_modules/is-docker/license +9 -0
- package/bundles/utils/node_modules/is-docker/package.json +42 -0
- package/bundles/utils/node_modules/is-docker/readme.md +27 -0
- package/bundles/utils/node_modules/is-wsl/index.d.ts +15 -0
- package/bundles/utils/node_modules/is-wsl/index.js +31 -0
- package/bundles/utils/node_modules/is-wsl/license +9 -0
- package/bundles/utils/node_modules/is-wsl/package.json +45 -0
- package/bundles/utils/node_modules/is-wsl/readme.md +36 -0
- package/bundles/utils/node_modules/jpeg-js/.github/workflows/ci.yml +19 -0
- package/bundles/utils/node_modules/jpeg-js/CONTRIBUTING.md +27 -0
- package/bundles/utils/node_modules/jpeg-js/LICENSE +25 -0
- package/bundles/utils/node_modules/jpeg-js/README.md +176 -0
- package/bundles/utils/node_modules/jpeg-js/index.d.ts +36 -0
- package/bundles/utils/node_modules/jpeg-js/index.js +7 -0
- package/bundles/utils/node_modules/jpeg-js/lib/decoder.js +1151 -0
- package/bundles/utils/node_modules/jpeg-js/lib/encoder.js +814 -0
- package/bundles/utils/node_modules/jpeg-js/package.json +32 -0
- package/bundles/utils/node_modules/jsbn/CHANGELOG.md +16 -0
- package/bundles/utils/node_modules/jsbn/LICENSE +40 -0
- package/bundles/utils/node_modules/jsbn/README.md +173 -0
- package/bundles/utils/node_modules/jsbn/example.html +11 -0
- package/bundles/utils/node_modules/jsbn/example.js +5 -0
- package/bundles/utils/node_modules/jsbn/index.js +1361 -0
- package/bundles/utils/node_modules/jsbn/package.json +21 -0
- package/bundles/utils/node_modules/jsbn/test/es6-import.js +3 -0
- package/bundles/utils/node_modules/mime/CHANGELOG.md +312 -0
- package/bundles/utils/node_modules/mime/LICENSE +21 -0
- package/bundles/utils/node_modules/mime/Mime.js +97 -0
- package/bundles/utils/node_modules/mime/README.md +178 -0
- package/bundles/utils/node_modules/mime/cli.js +46 -0
- package/bundles/utils/node_modules/mime/index.js +4 -0
- package/bundles/utils/node_modules/mime/lite.js +4 -0
- package/bundles/utils/node_modules/mime/package.json +52 -0
- package/bundles/utils/node_modules/mime/types/other.js +1 -0
- package/bundles/utils/node_modules/mime/types/standard.js +1 -0
- package/bundles/utils/node_modules/minimatch/LICENSE +15 -0
- package/bundles/utils/node_modules/minimatch/README.md +230 -0
- package/bundles/utils/node_modules/minimatch/minimatch.js +1005 -0
- package/bundles/utils/node_modules/minimatch/package.json +33 -0
- package/bundles/utils/node_modules/ms/index.js +162 -0
- package/bundles/utils/node_modules/ms/license.md +21 -0
- package/bundles/utils/node_modules/ms/package.json +37 -0
- package/bundles/utils/node_modules/ms/readme.md +60 -0
- package/bundles/utils/node_modules/open/index.d.ts +153 -0
- package/bundles/utils/node_modules/open/index.js +315 -0
- package/bundles/utils/node_modules/open/license +9 -0
- package/bundles/utils/node_modules/open/package.json +61 -0
- package/bundles/utils/node_modules/open/readme.md +183 -0
- package/bundles/utils/node_modules/open/xdg-open +1066 -0
- package/bundles/utils/node_modules/pngjs/LICENSE +20 -0
- package/bundles/utils/node_modules/pngjs/README.md +433 -0
- package/bundles/utils/node_modules/pngjs/browser.js +18554 -0
- package/bundles/utils/node_modules/pngjs/lib/bitmapper.js +267 -0
- package/bundles/utils/node_modules/pngjs/lib/bitpacker.js +158 -0
- package/bundles/utils/node_modules/pngjs/lib/chunkstream.js +189 -0
- package/bundles/utils/node_modules/pngjs/lib/constants.js +32 -0
- package/bundles/utils/node_modules/pngjs/lib/crc.js +40 -0
- package/bundles/utils/node_modules/pngjs/lib/filter-pack.js +171 -0
- package/bundles/utils/node_modules/pngjs/lib/filter-parse-async.js +24 -0
- package/bundles/utils/node_modules/pngjs/lib/filter-parse-sync.js +21 -0
- package/bundles/utils/node_modules/pngjs/lib/filter-parse.js +177 -0
- package/bundles/utils/node_modules/pngjs/lib/format-normaliser.js +93 -0
- package/bundles/utils/node_modules/pngjs/lib/interlace.js +95 -0
- package/bundles/utils/node_modules/pngjs/lib/packer-async.js +50 -0
- package/bundles/utils/node_modules/pngjs/lib/packer-sync.js +56 -0
- package/bundles/utils/node_modules/pngjs/lib/packer.js +129 -0
- package/bundles/utils/node_modules/pngjs/lib/paeth-predictor.js +16 -0
- package/bundles/utils/node_modules/pngjs/lib/parser-async.js +169 -0
- package/bundles/utils/node_modules/pngjs/lib/parser-sync.js +112 -0
- package/bundles/utils/node_modules/pngjs/lib/parser.js +290 -0
- package/bundles/utils/node_modules/pngjs/lib/png-sync.js +12 -0
- package/bundles/utils/node_modules/pngjs/lib/png.js +194 -0
- package/bundles/utils/node_modules/pngjs/lib/sync-inflate.js +168 -0
- package/bundles/utils/node_modules/pngjs/lib/sync-reader.js +45 -0
- package/bundles/utils/node_modules/pngjs/package.json +77 -0
- package/bundles/utils/node_modules/progress/CHANGELOG.md +115 -0
- package/bundles/utils/node_modules/progress/LICENSE +22 -0
- package/bundles/utils/node_modules/progress/Makefile +8 -0
- package/bundles/utils/node_modules/progress/Readme.md +146 -0
- package/bundles/utils/node_modules/progress/index.js +1 -0
- package/bundles/utils/node_modules/progress/lib/node-progress.js +236 -0
- package/bundles/utils/node_modules/progress/package.json +26 -0
- package/bundles/utils/node_modules/proxy-from-env/.github/workflows/run-tests.yaml +66 -0
- package/bundles/utils/node_modules/proxy-from-env/LICENSE +20 -0
- package/bundles/utils/node_modules/proxy-from-env/README.md +154 -0
- package/bundles/utils/node_modules/proxy-from-env/eslint.config.mjs +54 -0
- package/bundles/utils/node_modules/proxy-from-env/index.js +103 -0
- package/bundles/utils/node_modules/proxy-from-env/package.json +35 -0
- package/bundles/utils/node_modules/proxy-from-env/test.js +432 -0
- package/bundles/utils/node_modules/retry/.travis.yml +15 -0
- package/bundles/utils/node_modules/retry/License +21 -0
- package/bundles/utils/node_modules/retry/Makefile +18 -0
- package/bundles/utils/node_modules/retry/README.md +227 -0
- package/bundles/utils/node_modules/retry/equation.gif +0 -0
- package/bundles/utils/node_modules/retry/example/dns.js +31 -0
- package/bundles/utils/node_modules/retry/example/stop.js +40 -0
- package/bundles/utils/node_modules/retry/index.js +1 -0
- package/bundles/utils/node_modules/retry/lib/retry.js +100 -0
- package/bundles/utils/node_modules/retry/lib/retry_operation.js +158 -0
- package/bundles/utils/node_modules/retry/package.json +32 -0
- package/bundles/utils/node_modules/retry/test/common.js +10 -0
- package/bundles/utils/node_modules/retry/test/integration/test-forever.js +24 -0
- package/bundles/utils/node_modules/retry/test/integration/test-retry-operation.js +258 -0
- package/bundles/utils/node_modules/retry/test/integration/test-retry-wrap.js +101 -0
- package/bundles/utils/node_modules/retry/test/integration/test-timeouts.js +69 -0
- package/bundles/utils/node_modules/signal-exit/LICENSE.txt +16 -0
- package/bundles/utils/node_modules/signal-exit/README.md +39 -0
- package/bundles/utils/node_modules/signal-exit/index.js +202 -0
- package/bundles/utils/node_modules/signal-exit/package.json +38 -0
- package/bundles/utils/node_modules/signal-exit/signals.js +53 -0
- package/bundles/utils/node_modules/smart-buffer/.prettierrc.yaml +5 -0
- package/bundles/utils/node_modules/smart-buffer/.travis.yml +13 -0
- package/bundles/utils/node_modules/smart-buffer/LICENSE +20 -0
- package/bundles/utils/node_modules/smart-buffer/README.md +633 -0
- package/bundles/utils/node_modules/smart-buffer/build/smartbuffer.js +1233 -0
- package/bundles/utils/node_modules/smart-buffer/build/smartbuffer.js.map +1 -0
- package/bundles/utils/node_modules/smart-buffer/build/utils.js +108 -0
- package/bundles/utils/node_modules/smart-buffer/build/utils.js.map +1 -0
- package/bundles/utils/node_modules/smart-buffer/docs/CHANGELOG.md +70 -0
- package/bundles/utils/node_modules/smart-buffer/docs/README_v3.md +367 -0
- package/bundles/utils/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
- package/bundles/utils/node_modules/smart-buffer/package.json +79 -0
- package/bundles/utils/node_modules/smart-buffer/typings/smartbuffer.d.ts +755 -0
- package/bundles/utils/node_modules/smart-buffer/typings/utils.d.ts +66 -0
- package/bundles/utils/node_modules/socks/.prettierrc.yaml +7 -0
- package/bundles/utils/node_modules/socks/LICENSE +20 -0
- package/bundles/utils/node_modules/socks/README.md +686 -0
- package/bundles/utils/node_modules/socks/build/client/socksclient.js +793 -0
- package/bundles/utils/node_modules/socks/build/client/socksclient.js.map +1 -0
- package/bundles/utils/node_modules/socks/build/common/constants.js +108 -0
- package/bundles/utils/node_modules/socks/build/common/constants.js.map +1 -0
- package/bundles/utils/node_modules/socks/build/common/helpers.js +166 -0
- package/bundles/utils/node_modules/socks/build/common/helpers.js.map +1 -0
- package/bundles/utils/node_modules/socks/build/common/receivebuffer.js +43 -0
- package/bundles/utils/node_modules/socks/build/common/receivebuffer.js.map +1 -0
- package/bundles/utils/node_modules/socks/build/common/util.js +25 -0
- package/bundles/utils/node_modules/socks/build/common/util.js.map +1 -0
- package/bundles/utils/node_modules/socks/build/index.js +18 -0
- package/bundles/utils/node_modules/socks/build/index.js.map +1 -0
- package/bundles/utils/node_modules/socks/docs/examples/index.md +17 -0
- package/bundles/utils/node_modules/socks/docs/examples/javascript/associateExample.md +90 -0
- package/bundles/utils/node_modules/socks/docs/examples/javascript/bindExample.md +83 -0
- package/bundles/utils/node_modules/socks/docs/examples/javascript/connectExample.md +258 -0
- package/bundles/utils/node_modules/socks/docs/examples/typescript/associateExample.md +93 -0
- package/bundles/utils/node_modules/socks/docs/examples/typescript/bindExample.md +86 -0
- package/bundles/utils/node_modules/socks/docs/examples/typescript/connectExample.md +265 -0
- package/bundles/utils/node_modules/socks/docs/index.md +5 -0
- package/bundles/utils/node_modules/socks/docs/migratingFromV1.md +86 -0
- package/bundles/utils/node_modules/socks/package.json +58 -0
- package/bundles/utils/node_modules/socks/typings/client/socksclient.d.ts +162 -0
- package/bundles/utils/node_modules/socks/typings/common/constants.d.ts +151 -0
- package/bundles/utils/node_modules/socks/typings/common/helpers.d.ts +17 -0
- package/bundles/utils/node_modules/socks/typings/common/receivebuffer.d.ts +12 -0
- package/bundles/utils/node_modules/socks/typings/common/util.d.ts +14 -0
- package/bundles/utils/node_modules/socks/typings/index.d.ts +1 -0
- package/bundles/utils/node_modules/socks-proxy-agent/LICENSE +22 -0
- package/bundles/utils/node_modules/socks-proxy-agent/README.md +50 -0
- package/bundles/utils/node_modules/socks-proxy-agent/dist/index.d.ts +27 -0
- package/bundles/utils/node_modules/socks-proxy-agent/dist/index.d.ts.map +1 -0
- package/bundles/utils/node_modules/socks-proxy-agent/dist/index.js +195 -0
- package/bundles/utils/node_modules/socks-proxy-agent/dist/index.js.map +1 -0
- package/bundles/utils/node_modules/socks-proxy-agent/package.json +142 -0
- package/bundles/utils/node_modules/sprintf-js/CONTRIBUTORS.md +26 -0
- package/bundles/utils/node_modules/sprintf-js/LICENSE +24 -0
- package/bundles/utils/node_modules/sprintf-js/README.md +143 -0
- package/bundles/utils/node_modules/sprintf-js/dist/.gitattributes +4 -0
- package/bundles/utils/node_modules/sprintf-js/dist/angular-sprintf.min.js +3 -0
- package/bundles/utils/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +1 -0
- package/bundles/utils/node_modules/sprintf-js/dist/sprintf.min.js +3 -0
- package/bundles/utils/node_modules/sprintf-js/dist/sprintf.min.js.map +1 -0
- package/bundles/utils/node_modules/sprintf-js/package.json +35 -0
- package/bundles/utils/node_modules/ws/LICENSE +20 -0
- package/bundles/utils/node_modules/ws/README.md +548 -0
- package/bundles/utils/node_modules/ws/browser.js +8 -0
- package/bundles/utils/node_modules/ws/index.js +13 -0
- package/bundles/utils/node_modules/ws/lib/buffer-util.js +131 -0
- package/bundles/utils/node_modules/ws/lib/constants.js +12 -0
- package/bundles/utils/node_modules/ws/lib/event-target.js +292 -0
- package/bundles/utils/node_modules/ws/lib/extension.js +203 -0
- package/bundles/utils/node_modules/ws/lib/limiter.js +55 -0
- package/bundles/utils/node_modules/ws/lib/permessage-deflate.js +514 -0
- package/bundles/utils/node_modules/ws/lib/receiver.js +704 -0
- package/bundles/utils/node_modules/ws/lib/sender.js +497 -0
- package/bundles/utils/node_modules/ws/lib/stream.js +159 -0
- package/bundles/utils/node_modules/ws/lib/subprotocol.js +62 -0
- package/bundles/utils/node_modules/ws/lib/validation.js +130 -0
- package/bundles/utils/node_modules/ws/lib/websocket-server.js +540 -0
- package/bundles/utils/node_modules/ws/lib/websocket.js +1338 -0
- package/bundles/utils/node_modules/ws/package.json +69 -0
- package/bundles/utils/node_modules/ws/wrapper.mjs +8 -0
- package/bundles/utils/node_modules/yaml/LICENSE +13 -0
- package/bundles/utils/node_modules/yaml/README.md +169 -0
- package/bundles/utils/node_modules/yaml/bin.mjs +11 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/compose-node.js +102 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/composer.js +217 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +223 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/resolve-props.js +148 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +27 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/bundles/utils/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/bundles/utils/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/bundles/utils/node_modules/yaml/browser/dist/doc/anchors.js +72 -0
- package/bundles/utils/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/bundles/utils/node_modules/yaml/browser/dist/doc/createNode.js +89 -0
- package/bundles/utils/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/bundles/utils/node_modules/yaml/browser/dist/errors.js +57 -0
- package/bundles/utils/node_modules/yaml/browser/dist/index.js +17 -0
- package/bundles/utils/node_modules/yaml/browser/dist/log.js +14 -0
- package/bundles/utils/node_modules/yaml/browser/dist/nodes/Alias.js +101 -0
- package/bundles/utils/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/bundles/utils/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/bundles/utils/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/bundles/utils/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/bundles/utils/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/bundles/utils/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/bundles/utils/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +62 -0
- package/bundles/utils/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/bundles/utils/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/bundles/utils/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/bundles/utils/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/bundles/utils/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/bundles/utils/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/bundles/utils/node_modules/yaml/browser/dist/parse/lexer.js +717 -0
- package/bundles/utils/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/bundles/utils/node_modules/yaml/browser/dist/parse/parser.js +954 -0
- package/bundles/utils/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +66 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +64 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/bundles/utils/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/bundles/utils/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/bundles/utils/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
- package/bundles/utils/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +143 -0
- package/bundles/utils/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/bundles/utils/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/bundles/utils/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +24 -0
- package/bundles/utils/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/bundles/utils/node_modules/yaml/browser/dist/stringify/stringifyString.js +328 -0
- package/bundles/utils/node_modules/yaml/browser/dist/util.js +11 -0
- package/bundles/utils/node_modules/yaml/browser/dist/visit.js +233 -0
- package/bundles/utils/node_modules/yaml/browser/index.js +5 -0
- package/bundles/utils/node_modules/yaml/browser/package.json +3 -0
- package/bundles/utils/node_modules/yaml/dist/cli.d.ts +8 -0
- package/bundles/utils/node_modules/yaml/dist/cli.mjs +199 -0
- package/bundles/utils/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/bundles/utils/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/bundles/utils/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/bundles/utils/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/bundles/utils/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/bundles/utils/node_modules/yaml/dist/compose/compose-node.js +105 -0
- package/bundles/utils/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/bundles/utils/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/bundles/utils/node_modules/yaml/dist/compose/composer.d.ts +62 -0
- package/bundles/utils/node_modules/yaml/dist/compose/composer.js +221 -0
- package/bundles/utils/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/bundles/utils/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/bundles/utils/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/bundles/utils/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/bundles/utils/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/bundles/utils/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/bundles/utils/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/bundles/utils/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/bundles/utils/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/bundles/utils/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/bundles/utils/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/bundles/utils/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
- package/bundles/utils/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/bundles/utils/node_modules/yaml/dist/compose/resolve-props.js +150 -0
- package/bundles/utils/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/bundles/utils/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/bundles/utils/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/bundles/utils/node_modules/yaml/dist/compose/util-empty-scalar-position.js +29 -0
- package/bundles/utils/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/bundles/utils/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/bundles/utils/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/bundles/utils/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/bundles/utils/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/bundles/utils/node_modules/yaml/dist/doc/Document.js +337 -0
- package/bundles/utils/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/bundles/utils/node_modules/yaml/dist/doc/anchors.js +77 -0
- package/bundles/utils/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/bundles/utils/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/bundles/utils/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/bundles/utils/node_modules/yaml/dist/doc/createNode.js +91 -0
- package/bundles/utils/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/bundles/utils/node_modules/yaml/dist/doc/directives.js +178 -0
- package/bundles/utils/node_modules/yaml/dist/errors.d.ts +21 -0
- package/bundles/utils/node_modules/yaml/dist/errors.js +62 -0
- package/bundles/utils/node_modules/yaml/dist/index.d.ts +22 -0
- package/bundles/utils/node_modules/yaml/dist/index.js +50 -0
- package/bundles/utils/node_modules/yaml/dist/log.d.ts +3 -0
- package/bundles/utils/node_modules/yaml/dist/log.js +17 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/Alias.d.ts +28 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/Alias.js +103 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/Pair.d.ts +21 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/Scalar.d.ts +42 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/addPairToJSMap.js +64 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/toJS.d.ts +27 -0
- package/bundles/utils/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/bundles/utils/node_modules/yaml/dist/options.d.ts +344 -0
- package/bundles/utils/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/bundles/utils/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/bundles/utils/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/bundles/utils/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/bundles/utils/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/bundles/utils/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/bundles/utils/node_modules/yaml/dist/parse/cst.d.ts +108 -0
- package/bundles/utils/node_modules/yaml/dist/parse/cst.js +112 -0
- package/bundles/utils/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/bundles/utils/node_modules/yaml/dist/parse/lexer.js +719 -0
- package/bundles/utils/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/bundles/utils/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/bundles/utils/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/bundles/utils/node_modules/yaml/dist/parse/parser.js +958 -0
- package/bundles/utils/node_modules/yaml/dist/public-api.d.ts +43 -0
- package/bundles/utils/node_modules/yaml/dist/public-api.js +107 -0
- package/bundles/utils/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/bundles/utils/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/bundles/utils/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/bundles/utils/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/bundles/utils/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/bundles/utils/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/bundles/utils/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/bundles/utils/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/bundles/utils/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/bundles/utils/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/bundles/utils/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/bundles/utils/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/bundles/utils/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/bundles/utils/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/bundles/utils/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/bundles/utils/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/bundles/utils/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/bundles/utils/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/bundles/utils/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/bundles/utils/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/bundles/utils/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/bundles/utils/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/bundles/utils/node_modules/yaml/dist/schema/tags.js +99 -0
- package/bundles/utils/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/binary.js +68 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +28 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/bundles/utils/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/stringify.js +132 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/stringifyCollection.js +145 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/bundles/utils/node_modules/yaml/dist/stringify/stringifyString.js +330 -0
- package/bundles/utils/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/bundles/utils/node_modules/yaml/dist/test-events.js +134 -0
- package/bundles/utils/node_modules/yaml/dist/util.d.ts +12 -0
- package/bundles/utils/node_modules/yaml/dist/util.js +28 -0
- package/bundles/utils/node_modules/yaml/dist/visit.d.ts +102 -0
- package/bundles/utils/node_modules/yaml/dist/visit.js +236 -0
- package/bundles/utils/node_modules/yaml/package.json +96 -0
- package/bundles/utils/node_modules/yaml/util.js +2 -0
- package/bundles/zip/node_modules/.package-lock.json +139 -0
- package/bundles/zip/node_modules/@types/node/LICENSE +21 -0
- package/bundles/zip/node_modules/@types/node/README.md +16 -0
- package/bundles/zip/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/bundles/zip/node_modules/@types/node/assert.d.ts +912 -0
- package/bundles/zip/node_modules/@types/node/async_hooks.d.ts +501 -0
- package/bundles/zip/node_modules/@types/node/buffer.d.ts +2232 -0
- package/bundles/zip/node_modules/@types/node/child_process.d.ts +1366 -0
- package/bundles/zip/node_modules/@types/node/cluster.d.ts +414 -0
- package/bundles/zip/node_modules/@types/node/console.d.ts +412 -0
- package/bundles/zip/node_modules/@types/node/constants.d.ts +18 -0
- package/bundles/zip/node_modules/@types/node/crypto.d.ts +3307 -0
- package/bundles/zip/node_modules/@types/node/dgram.d.ts +545 -0
- package/bundles/zip/node_modules/@types/node/diagnostics_channel.d.ts +134 -0
- package/bundles/zip/node_modules/@types/node/dns/promises.d.ts +370 -0
- package/bundles/zip/node_modules/@types/node/dns.d.ts +659 -0
- package/bundles/zip/node_modules/@types/node/domain.d.ts +169 -0
- package/bundles/zip/node_modules/@types/node/events.d.ts +651 -0
- package/bundles/zip/node_modules/@types/node/fs/promises.d.ts +1091 -0
- package/bundles/zip/node_modules/@types/node/fs.d.ts +3869 -0
- package/bundles/zip/node_modules/@types/node/globals.d.ts +284 -0
- package/bundles/zip/node_modules/@types/node/globals.global.d.ts +1 -0
- package/bundles/zip/node_modules/@types/node/http.d.ts +1396 -0
- package/bundles/zip/node_modules/@types/node/http2.d.ts +2100 -0
- package/bundles/zip/node_modules/@types/node/https.d.ts +391 -0
- package/bundles/zip/node_modules/@types/node/index.d.ts +129 -0
- package/bundles/zip/node_modules/@types/node/inspector.d.ts +2744 -0
- package/bundles/zip/node_modules/@types/node/module.d.ts +114 -0
- package/bundles/zip/node_modules/@types/node/net.d.ts +791 -0
- package/bundles/zip/node_modules/@types/node/os.d.ts +455 -0
- package/bundles/zip/node_modules/@types/node/package.json +220 -0
- package/bundles/zip/node_modules/@types/node/path.d.ts +180 -0
- package/bundles/zip/node_modules/@types/node/perf_hooks.d.ts +557 -0
- package/bundles/zip/node_modules/@types/node/process.d.ts +1481 -0
- package/bundles/zip/node_modules/@types/node/punycode.d.ts +117 -0
- package/bundles/zip/node_modules/@types/node/querystring.d.ts +131 -0
- package/bundles/zip/node_modules/@types/node/readline.d.ts +650 -0
- package/bundles/zip/node_modules/@types/node/repl.d.ts +424 -0
- package/bundles/zip/node_modules/@types/node/stream/consumers.d.ts +24 -0
- package/bundles/zip/node_modules/@types/node/stream/promises.d.ts +42 -0
- package/bundles/zip/node_modules/@types/node/stream/web.d.ts +330 -0
- package/bundles/zip/node_modules/@types/node/stream.d.ts +1249 -0
- package/bundles/zip/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/bundles/zip/node_modules/@types/node/timers/promises.d.ts +68 -0
- package/bundles/zip/node_modules/@types/node/timers.d.ts +94 -0
- package/bundles/zip/node_modules/@types/node/tls.d.ts +1020 -0
- package/bundles/zip/node_modules/@types/node/trace_events.d.ts +161 -0
- package/bundles/zip/node_modules/@types/node/tty.d.ts +204 -0
- package/bundles/zip/node_modules/@types/node/url.d.ts +891 -0
- package/bundles/zip/node_modules/@types/node/util.d.ts +1594 -0
- package/bundles/zip/node_modules/@types/node/v8.d.ts +378 -0
- package/bundles/zip/node_modules/@types/node/vm.d.ts +507 -0
- package/bundles/zip/node_modules/@types/node/wasi.d.ts +158 -0
- package/bundles/zip/node_modules/@types/node/worker_threads.d.ts +649 -0
- package/bundles/zip/node_modules/@types/node/zlib.d.ts +517 -0
- package/bundles/zip/node_modules/@types/yauzl/LICENSE +21 -0
- package/bundles/zip/node_modules/@types/yauzl/README.md +16 -0
- package/bundles/zip/node_modules/@types/yauzl/index.d.ts +98 -0
- package/bundles/zip/node_modules/@types/yauzl/package.json +27 -0
- package/bundles/zip/node_modules/@types/yazl/LICENSE +21 -0
- package/bundles/zip/node_modules/@types/yazl/README.md +16 -0
- package/bundles/zip/node_modules/@types/yazl/index.d.ts +46 -0
- package/bundles/zip/node_modules/@types/yazl/package.json +31 -0
- package/bundles/zip/node_modules/buffer-crc32/LICENSE +19 -0
- package/bundles/zip/node_modules/buffer-crc32/README.md +47 -0
- package/bundles/zip/node_modules/buffer-crc32/index.js +111 -0
- package/bundles/zip/node_modules/buffer-crc32/package.json +39 -0
- package/bundles/zip/node_modules/debug/LICENSE +20 -0
- package/bundles/zip/node_modules/debug/README.md +481 -0
- package/bundles/zip/node_modules/debug/package.json +65 -0
- package/bundles/zip/node_modules/end-of-stream/LICENSE +21 -0
- package/bundles/zip/node_modules/end-of-stream/README.md +54 -0
- package/bundles/zip/node_modules/end-of-stream/index.js +94 -0
- package/bundles/zip/node_modules/end-of-stream/package.json +37 -0
- package/bundles/zip/node_modules/get-stream/buffer-stream.js +52 -0
- package/bundles/zip/node_modules/get-stream/index.d.ts +108 -0
- package/bundles/zip/node_modules/get-stream/index.js +60 -0
- package/bundles/zip/node_modules/get-stream/license +9 -0
- package/bundles/zip/node_modules/get-stream/package.json +50 -0
- package/bundles/zip/node_modules/get-stream/readme.md +124 -0
- package/bundles/zip/node_modules/ms/index.js +162 -0
- package/bundles/zip/node_modules/ms/license.md +21 -0
- package/bundles/zip/node_modules/ms/package.json +38 -0
- package/bundles/zip/node_modules/ms/readme.md +59 -0
- package/bundles/zip/node_modules/once/LICENSE +15 -0
- package/bundles/zip/node_modules/once/README.md +79 -0
- package/bundles/zip/node_modules/once/once.js +42 -0
- package/bundles/zip/node_modules/once/package.json +33 -0
- package/bundles/zip/node_modules/pend/LICENSE +23 -0
- package/bundles/zip/node_modules/pend/README.md +41 -0
- package/bundles/zip/node_modules/pend/index.js +55 -0
- package/bundles/zip/node_modules/pend/package.json +18 -0
- package/bundles/zip/node_modules/pend/test.js +137 -0
- package/bundles/zip/node_modules/pump/.github/FUNDING.yml +2 -0
- package/bundles/zip/node_modules/pump/.travis.yml +5 -0
- package/bundles/zip/node_modules/pump/LICENSE +21 -0
- package/bundles/zip/node_modules/pump/README.md +74 -0
- package/bundles/zip/node_modules/pump/SECURITY.md +5 -0
- package/bundles/zip/node_modules/pump/index.js +86 -0
- package/bundles/zip/node_modules/pump/package.json +24 -0
- package/bundles/zip/node_modules/pump/test-browser.js +66 -0
- package/bundles/zip/node_modules/pump/test-node.js +53 -0
- package/bundles/zip/node_modules/wrappy/LICENSE +15 -0
- package/bundles/zip/node_modules/wrappy/README.md +36 -0
- package/bundles/zip/node_modules/wrappy/package.json +29 -0
- package/bundles/zip/node_modules/wrappy/wrappy.js +33 -0
- package/bundles/zip/node_modules/yauzl/LICENSE +21 -0
- package/bundles/zip/node_modules/yauzl/README.md +873 -0
- package/bundles/zip/node_modules/yauzl/fd-slicer.js +314 -0
- package/bundles/zip/node_modules/yauzl/index.js +954 -0
- package/bundles/zip/node_modules/yauzl/package.json +40 -0
- package/bundles/zip/node_modules/yazl/LICENSE +21 -0
- package/bundles/zip/node_modules/yazl/README.md +389 -0
- package/bundles/zip/node_modules/yazl/index.js +749 -0
- package/bundles/zip/node_modules/yazl/package.json +38 -0
- package/lib/tools/backend/browserBackend.js +31 -0
- package/lib/tools/backend/mcpNetworkCapture.js +162 -0
- package/lib/tools/backend/mcpSessionRecorder.js +212 -0
- package/lib/tools/backend/recorder.js +2 -2
- package/lib/tools/mcp/program.js +18 -4
- package/lib/tools/utils/mcp/server.js +2 -1
- package/lib/vite/traceViewer/index.CzAVbF3D.js +2 -0
- package/lib/vite/traceViewer/index.html +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,2662 @@
|
|
|
1
|
+
const EventEmitter = require('node:events').EventEmitter;
|
|
2
|
+
const childProcess = require('node:child_process');
|
|
3
|
+
const path = require('node:path');
|
|
4
|
+
const fs = require('node:fs');
|
|
5
|
+
const process = require('node:process');
|
|
6
|
+
|
|
7
|
+
const { Argument, humanReadableArgName } = require('./argument.js');
|
|
8
|
+
const { CommanderError } = require('./error.js');
|
|
9
|
+
const { Help, stripColor } = require('./help.js');
|
|
10
|
+
const { Option, DualOptions } = require('./option.js');
|
|
11
|
+
const { suggestSimilar } = require('./suggestSimilar');
|
|
12
|
+
|
|
13
|
+
class Command extends EventEmitter {
|
|
14
|
+
/**
|
|
15
|
+
* Initialize a new `Command`.
|
|
16
|
+
*
|
|
17
|
+
* @param {string} [name]
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
constructor(name) {
|
|
21
|
+
super();
|
|
22
|
+
/** @type {Command[]} */
|
|
23
|
+
this.commands = [];
|
|
24
|
+
/** @type {Option[]} */
|
|
25
|
+
this.options = [];
|
|
26
|
+
this.parent = null;
|
|
27
|
+
this._allowUnknownOption = false;
|
|
28
|
+
this._allowExcessArguments = false;
|
|
29
|
+
/** @type {Argument[]} */
|
|
30
|
+
this.registeredArguments = [];
|
|
31
|
+
this._args = this.registeredArguments; // deprecated old name
|
|
32
|
+
/** @type {string[]} */
|
|
33
|
+
this.args = []; // cli args with options removed
|
|
34
|
+
this.rawArgs = [];
|
|
35
|
+
this.processedArgs = []; // like .args but after custom processing and collecting variadic
|
|
36
|
+
this._scriptPath = null;
|
|
37
|
+
this._name = name || '';
|
|
38
|
+
this._optionValues = {};
|
|
39
|
+
this._optionValueSources = {}; // default, env, cli etc
|
|
40
|
+
this._storeOptionsAsProperties = false;
|
|
41
|
+
this._actionHandler = null;
|
|
42
|
+
this._executableHandler = false;
|
|
43
|
+
this._executableFile = null; // custom name for executable
|
|
44
|
+
this._executableDir = null; // custom search directory for subcommands
|
|
45
|
+
this._defaultCommandName = null;
|
|
46
|
+
this._exitCallback = null;
|
|
47
|
+
this._aliases = [];
|
|
48
|
+
this._combineFlagAndOptionalValue = true;
|
|
49
|
+
this._description = '';
|
|
50
|
+
this._summary = '';
|
|
51
|
+
this._argsDescription = undefined; // legacy
|
|
52
|
+
this._enablePositionalOptions = false;
|
|
53
|
+
this._passThroughOptions = false;
|
|
54
|
+
this._lifeCycleHooks = {}; // a hash of arrays
|
|
55
|
+
/** @type {(boolean | string)} */
|
|
56
|
+
this._showHelpAfterError = false;
|
|
57
|
+
this._showSuggestionAfterError = true;
|
|
58
|
+
this._savedState = null; // used in save/restoreStateBeforeParse
|
|
59
|
+
|
|
60
|
+
// see configureOutput() for docs
|
|
61
|
+
this._outputConfiguration = {
|
|
62
|
+
writeOut: (str) => process.stdout.write(str),
|
|
63
|
+
writeErr: (str) => process.stderr.write(str),
|
|
64
|
+
outputError: (str, write) => write(str),
|
|
65
|
+
getOutHelpWidth: () =>
|
|
66
|
+
process.stdout.isTTY ? process.stdout.columns : undefined,
|
|
67
|
+
getErrHelpWidth: () =>
|
|
68
|
+
process.stderr.isTTY ? process.stderr.columns : undefined,
|
|
69
|
+
getOutHasColors: () =>
|
|
70
|
+
useColor() ?? (process.stdout.isTTY && process.stdout.hasColors?.()),
|
|
71
|
+
getErrHasColors: () =>
|
|
72
|
+
useColor() ?? (process.stderr.isTTY && process.stderr.hasColors?.()),
|
|
73
|
+
stripColor: (str) => stripColor(str),
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
this._hidden = false;
|
|
77
|
+
/** @type {(Option | null | undefined)} */
|
|
78
|
+
this._helpOption = undefined; // Lazy created on demand. May be null if help option is disabled.
|
|
79
|
+
this._addImplicitHelpCommand = undefined; // undecided whether true or false yet, not inherited
|
|
80
|
+
/** @type {Command} */
|
|
81
|
+
this._helpCommand = undefined; // lazy initialised, inherited
|
|
82
|
+
this._helpConfiguration = {};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Copy settings that are useful to have in common across root command and subcommands.
|
|
87
|
+
*
|
|
88
|
+
* (Used internally when adding a command using `.command()` so subcommands inherit parent settings.)
|
|
89
|
+
*
|
|
90
|
+
* @param {Command} sourceCommand
|
|
91
|
+
* @return {Command} `this` command for chaining
|
|
92
|
+
*/
|
|
93
|
+
copyInheritedSettings(sourceCommand) {
|
|
94
|
+
this._outputConfiguration = sourceCommand._outputConfiguration;
|
|
95
|
+
this._helpOption = sourceCommand._helpOption;
|
|
96
|
+
this._helpCommand = sourceCommand._helpCommand;
|
|
97
|
+
this._helpConfiguration = sourceCommand._helpConfiguration;
|
|
98
|
+
this._exitCallback = sourceCommand._exitCallback;
|
|
99
|
+
this._storeOptionsAsProperties = sourceCommand._storeOptionsAsProperties;
|
|
100
|
+
this._combineFlagAndOptionalValue =
|
|
101
|
+
sourceCommand._combineFlagAndOptionalValue;
|
|
102
|
+
this._allowExcessArguments = sourceCommand._allowExcessArguments;
|
|
103
|
+
this._enablePositionalOptions = sourceCommand._enablePositionalOptions;
|
|
104
|
+
this._showHelpAfterError = sourceCommand._showHelpAfterError;
|
|
105
|
+
this._showSuggestionAfterError = sourceCommand._showSuggestionAfterError;
|
|
106
|
+
|
|
107
|
+
return this;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @returns {Command[]}
|
|
112
|
+
* @private
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
_getCommandAndAncestors() {
|
|
116
|
+
const result = [];
|
|
117
|
+
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
118
|
+
for (let command = this; command; command = command.parent) {
|
|
119
|
+
result.push(command);
|
|
120
|
+
}
|
|
121
|
+
return result;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Define a command.
|
|
126
|
+
*
|
|
127
|
+
* There are two styles of command: pay attention to where to put the description.
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* // Command implemented using action handler (description is supplied separately to `.command`)
|
|
131
|
+
* program
|
|
132
|
+
* .command('clone <source> [destination]')
|
|
133
|
+
* .description('clone a repository into a newly created directory')
|
|
134
|
+
* .action((source, destination) => {
|
|
135
|
+
* console.log('clone command called');
|
|
136
|
+
* });
|
|
137
|
+
*
|
|
138
|
+
* // Command implemented using separate executable file (description is second parameter to `.command`)
|
|
139
|
+
* program
|
|
140
|
+
* .command('start <service>', 'start named service')
|
|
141
|
+
* .command('stop [service]', 'stop named service, or all if no name supplied');
|
|
142
|
+
*
|
|
143
|
+
* @param {string} nameAndArgs - command name and arguments, args are `<required>` or `[optional]` and last may also be `variadic...`
|
|
144
|
+
* @param {(object | string)} [actionOptsOrExecDesc] - configuration options (for action), or description (for executable)
|
|
145
|
+
* @param {object} [execOpts] - configuration options (for executable)
|
|
146
|
+
* @return {Command} returns new command for action handler, or `this` for executable command
|
|
147
|
+
*/
|
|
148
|
+
|
|
149
|
+
command(nameAndArgs, actionOptsOrExecDesc, execOpts) {
|
|
150
|
+
let desc = actionOptsOrExecDesc;
|
|
151
|
+
let opts = execOpts;
|
|
152
|
+
if (typeof desc === 'object' && desc !== null) {
|
|
153
|
+
opts = desc;
|
|
154
|
+
desc = null;
|
|
155
|
+
}
|
|
156
|
+
opts = opts || {};
|
|
157
|
+
const [, name, args] = nameAndArgs.match(/([^ ]+) *(.*)/);
|
|
158
|
+
|
|
159
|
+
const cmd = this.createCommand(name);
|
|
160
|
+
if (desc) {
|
|
161
|
+
cmd.description(desc);
|
|
162
|
+
cmd._executableHandler = true;
|
|
163
|
+
}
|
|
164
|
+
if (opts.isDefault) this._defaultCommandName = cmd._name;
|
|
165
|
+
cmd._hidden = !!(opts.noHelp || opts.hidden); // noHelp is deprecated old name for hidden
|
|
166
|
+
cmd._executableFile = opts.executableFile || null; // Custom name for executable file, set missing to null to match constructor
|
|
167
|
+
if (args) cmd.arguments(args);
|
|
168
|
+
this._registerCommand(cmd);
|
|
169
|
+
cmd.parent = this;
|
|
170
|
+
cmd.copyInheritedSettings(this);
|
|
171
|
+
|
|
172
|
+
if (desc) return this;
|
|
173
|
+
return cmd;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Factory routine to create a new unattached command.
|
|
178
|
+
*
|
|
179
|
+
* See .command() for creating an attached subcommand, which uses this routine to
|
|
180
|
+
* create the command. You can override createCommand to customise subcommands.
|
|
181
|
+
*
|
|
182
|
+
* @param {string} [name]
|
|
183
|
+
* @return {Command} new command
|
|
184
|
+
*/
|
|
185
|
+
|
|
186
|
+
createCommand(name) {
|
|
187
|
+
return new Command(name);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* You can customise the help with a subclass of Help by overriding createHelp,
|
|
192
|
+
* or by overriding Help properties using configureHelp().
|
|
193
|
+
*
|
|
194
|
+
* @return {Help}
|
|
195
|
+
*/
|
|
196
|
+
|
|
197
|
+
createHelp() {
|
|
198
|
+
return Object.assign(new Help(), this.configureHelp());
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* You can customise the help by overriding Help properties using configureHelp(),
|
|
203
|
+
* or with a subclass of Help by overriding createHelp().
|
|
204
|
+
*
|
|
205
|
+
* @param {object} [configuration] - configuration options
|
|
206
|
+
* @return {(Command | object)} `this` command for chaining, or stored configuration
|
|
207
|
+
*/
|
|
208
|
+
|
|
209
|
+
configureHelp(configuration) {
|
|
210
|
+
if (configuration === undefined) return this._helpConfiguration;
|
|
211
|
+
|
|
212
|
+
this._helpConfiguration = configuration;
|
|
213
|
+
return this;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* The default output goes to stdout and stderr. You can customise this for special
|
|
218
|
+
* applications. You can also customise the display of errors by overriding outputError.
|
|
219
|
+
*
|
|
220
|
+
* The configuration properties are all functions:
|
|
221
|
+
*
|
|
222
|
+
* // change how output being written, defaults to stdout and stderr
|
|
223
|
+
* writeOut(str)
|
|
224
|
+
* writeErr(str)
|
|
225
|
+
* // change how output being written for errors, defaults to writeErr
|
|
226
|
+
* outputError(str, write) // used for displaying errors and not used for displaying help
|
|
227
|
+
* // specify width for wrapping help
|
|
228
|
+
* getOutHelpWidth()
|
|
229
|
+
* getErrHelpWidth()
|
|
230
|
+
* // color support, currently only used with Help
|
|
231
|
+
* getOutHasColors()
|
|
232
|
+
* getErrHasColors()
|
|
233
|
+
* stripColor() // used to remove ANSI escape codes if output does not have colors
|
|
234
|
+
*
|
|
235
|
+
* @param {object} [configuration] - configuration options
|
|
236
|
+
* @return {(Command | object)} `this` command for chaining, or stored configuration
|
|
237
|
+
*/
|
|
238
|
+
|
|
239
|
+
configureOutput(configuration) {
|
|
240
|
+
if (configuration === undefined) return this._outputConfiguration;
|
|
241
|
+
|
|
242
|
+
Object.assign(this._outputConfiguration, configuration);
|
|
243
|
+
return this;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Display the help or a custom message after an error occurs.
|
|
248
|
+
*
|
|
249
|
+
* @param {(boolean|string)} [displayHelp]
|
|
250
|
+
* @return {Command} `this` command for chaining
|
|
251
|
+
*/
|
|
252
|
+
showHelpAfterError(displayHelp = true) {
|
|
253
|
+
if (typeof displayHelp !== 'string') displayHelp = !!displayHelp;
|
|
254
|
+
this._showHelpAfterError = displayHelp;
|
|
255
|
+
return this;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Display suggestion of similar commands for unknown commands, or options for unknown options.
|
|
260
|
+
*
|
|
261
|
+
* @param {boolean} [displaySuggestion]
|
|
262
|
+
* @return {Command} `this` command for chaining
|
|
263
|
+
*/
|
|
264
|
+
showSuggestionAfterError(displaySuggestion = true) {
|
|
265
|
+
this._showSuggestionAfterError = !!displaySuggestion;
|
|
266
|
+
return this;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Add a prepared subcommand.
|
|
271
|
+
*
|
|
272
|
+
* See .command() for creating an attached subcommand which inherits settings from its parent.
|
|
273
|
+
*
|
|
274
|
+
* @param {Command} cmd - new subcommand
|
|
275
|
+
* @param {object} [opts] - configuration options
|
|
276
|
+
* @return {Command} `this` command for chaining
|
|
277
|
+
*/
|
|
278
|
+
|
|
279
|
+
addCommand(cmd, opts) {
|
|
280
|
+
if (!cmd._name) {
|
|
281
|
+
throw new Error(`Command passed to .addCommand() must have a name
|
|
282
|
+
- specify the name in Command constructor or using .name()`);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
opts = opts || {};
|
|
286
|
+
if (opts.isDefault) this._defaultCommandName = cmd._name;
|
|
287
|
+
if (opts.noHelp || opts.hidden) cmd._hidden = true; // modifying passed command due to existing implementation
|
|
288
|
+
|
|
289
|
+
this._registerCommand(cmd);
|
|
290
|
+
cmd.parent = this;
|
|
291
|
+
cmd._checkForBrokenPassThrough();
|
|
292
|
+
|
|
293
|
+
return this;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Factory routine to create a new unattached argument.
|
|
298
|
+
*
|
|
299
|
+
* See .argument() for creating an attached argument, which uses this routine to
|
|
300
|
+
* create the argument. You can override createArgument to return a custom argument.
|
|
301
|
+
*
|
|
302
|
+
* @param {string} name
|
|
303
|
+
* @param {string} [description]
|
|
304
|
+
* @return {Argument} new argument
|
|
305
|
+
*/
|
|
306
|
+
|
|
307
|
+
createArgument(name, description) {
|
|
308
|
+
return new Argument(name, description);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Define argument syntax for command.
|
|
313
|
+
*
|
|
314
|
+
* The default is that the argument is required, and you can explicitly
|
|
315
|
+
* indicate this with <> around the name. Put [] around the name for an optional argument.
|
|
316
|
+
*
|
|
317
|
+
* @example
|
|
318
|
+
* program.argument('<input-file>');
|
|
319
|
+
* program.argument('[output-file]');
|
|
320
|
+
*
|
|
321
|
+
* @param {string} name
|
|
322
|
+
* @param {string} [description]
|
|
323
|
+
* @param {(Function|*)} [fn] - custom argument processing function
|
|
324
|
+
* @param {*} [defaultValue]
|
|
325
|
+
* @return {Command} `this` command for chaining
|
|
326
|
+
*/
|
|
327
|
+
argument(name, description, fn, defaultValue) {
|
|
328
|
+
const argument = this.createArgument(name, description);
|
|
329
|
+
if (typeof fn === 'function') {
|
|
330
|
+
argument.default(defaultValue).argParser(fn);
|
|
331
|
+
} else {
|
|
332
|
+
argument.default(fn);
|
|
333
|
+
}
|
|
334
|
+
this.addArgument(argument);
|
|
335
|
+
return this;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Define argument syntax for command, adding multiple at once (without descriptions).
|
|
340
|
+
*
|
|
341
|
+
* See also .argument().
|
|
342
|
+
*
|
|
343
|
+
* @example
|
|
344
|
+
* program.arguments('<cmd> [env]');
|
|
345
|
+
*
|
|
346
|
+
* @param {string} names
|
|
347
|
+
* @return {Command} `this` command for chaining
|
|
348
|
+
*/
|
|
349
|
+
|
|
350
|
+
arguments(names) {
|
|
351
|
+
names
|
|
352
|
+
.trim()
|
|
353
|
+
.split(/ +/)
|
|
354
|
+
.forEach((detail) => {
|
|
355
|
+
this.argument(detail);
|
|
356
|
+
});
|
|
357
|
+
return this;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Define argument syntax for command, adding a prepared argument.
|
|
362
|
+
*
|
|
363
|
+
* @param {Argument} argument
|
|
364
|
+
* @return {Command} `this` command for chaining
|
|
365
|
+
*/
|
|
366
|
+
addArgument(argument) {
|
|
367
|
+
const previousArgument = this.registeredArguments.slice(-1)[0];
|
|
368
|
+
if (previousArgument && previousArgument.variadic) {
|
|
369
|
+
throw new Error(
|
|
370
|
+
`only the last argument can be variadic '${previousArgument.name()}'`,
|
|
371
|
+
);
|
|
372
|
+
}
|
|
373
|
+
if (
|
|
374
|
+
argument.required &&
|
|
375
|
+
argument.defaultValue !== undefined &&
|
|
376
|
+
argument.parseArg === undefined
|
|
377
|
+
) {
|
|
378
|
+
throw new Error(
|
|
379
|
+
`a default value for a required argument is never used: '${argument.name()}'`,
|
|
380
|
+
);
|
|
381
|
+
}
|
|
382
|
+
this.registeredArguments.push(argument);
|
|
383
|
+
return this;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Customise or override default help command. By default a help command is automatically added if your command has subcommands.
|
|
388
|
+
*
|
|
389
|
+
* @example
|
|
390
|
+
* program.helpCommand('help [cmd]');
|
|
391
|
+
* program.helpCommand('help [cmd]', 'show help');
|
|
392
|
+
* program.helpCommand(false); // suppress default help command
|
|
393
|
+
* program.helpCommand(true); // add help command even if no subcommands
|
|
394
|
+
*
|
|
395
|
+
* @param {string|boolean} enableOrNameAndArgs - enable with custom name and/or arguments, or boolean to override whether added
|
|
396
|
+
* @param {string} [description] - custom description
|
|
397
|
+
* @return {Command} `this` command for chaining
|
|
398
|
+
*/
|
|
399
|
+
|
|
400
|
+
helpCommand(enableOrNameAndArgs, description) {
|
|
401
|
+
if (typeof enableOrNameAndArgs === 'boolean') {
|
|
402
|
+
this._addImplicitHelpCommand = enableOrNameAndArgs;
|
|
403
|
+
return this;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
enableOrNameAndArgs = enableOrNameAndArgs ?? 'help [command]';
|
|
407
|
+
const [, helpName, helpArgs] = enableOrNameAndArgs.match(/([^ ]+) *(.*)/);
|
|
408
|
+
const helpDescription = description ?? 'display help for command';
|
|
409
|
+
|
|
410
|
+
const helpCommand = this.createCommand(helpName);
|
|
411
|
+
helpCommand.helpOption(false);
|
|
412
|
+
if (helpArgs) helpCommand.arguments(helpArgs);
|
|
413
|
+
if (helpDescription) helpCommand.description(helpDescription);
|
|
414
|
+
|
|
415
|
+
this._addImplicitHelpCommand = true;
|
|
416
|
+
this._helpCommand = helpCommand;
|
|
417
|
+
|
|
418
|
+
return this;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Add prepared custom help command.
|
|
423
|
+
*
|
|
424
|
+
* @param {(Command|string|boolean)} helpCommand - custom help command, or deprecated enableOrNameAndArgs as for `.helpCommand()`
|
|
425
|
+
* @param {string} [deprecatedDescription] - deprecated custom description used with custom name only
|
|
426
|
+
* @return {Command} `this` command for chaining
|
|
427
|
+
*/
|
|
428
|
+
addHelpCommand(helpCommand, deprecatedDescription) {
|
|
429
|
+
// If not passed an object, call through to helpCommand for backwards compatibility,
|
|
430
|
+
// as addHelpCommand was originally used like helpCommand is now.
|
|
431
|
+
if (typeof helpCommand !== 'object') {
|
|
432
|
+
this.helpCommand(helpCommand, deprecatedDescription);
|
|
433
|
+
return this;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
this._addImplicitHelpCommand = true;
|
|
437
|
+
this._helpCommand = helpCommand;
|
|
438
|
+
return this;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Lazy create help command.
|
|
443
|
+
*
|
|
444
|
+
* @return {(Command|null)}
|
|
445
|
+
* @package
|
|
446
|
+
*/
|
|
447
|
+
_getHelpCommand() {
|
|
448
|
+
const hasImplicitHelpCommand =
|
|
449
|
+
this._addImplicitHelpCommand ??
|
|
450
|
+
(this.commands.length &&
|
|
451
|
+
!this._actionHandler &&
|
|
452
|
+
!this._findCommand('help'));
|
|
453
|
+
|
|
454
|
+
if (hasImplicitHelpCommand) {
|
|
455
|
+
if (this._helpCommand === undefined) {
|
|
456
|
+
this.helpCommand(undefined, undefined); // use default name and description
|
|
457
|
+
}
|
|
458
|
+
return this._helpCommand;
|
|
459
|
+
}
|
|
460
|
+
return null;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Add hook for life cycle event.
|
|
465
|
+
*
|
|
466
|
+
* @param {string} event
|
|
467
|
+
* @param {Function} listener
|
|
468
|
+
* @return {Command} `this` command for chaining
|
|
469
|
+
*/
|
|
470
|
+
|
|
471
|
+
hook(event, listener) {
|
|
472
|
+
const allowedValues = ['preSubcommand', 'preAction', 'postAction'];
|
|
473
|
+
if (!allowedValues.includes(event)) {
|
|
474
|
+
throw new Error(`Unexpected value for event passed to hook : '${event}'.
|
|
475
|
+
Expecting one of '${allowedValues.join("', '")}'`);
|
|
476
|
+
}
|
|
477
|
+
if (this._lifeCycleHooks[event]) {
|
|
478
|
+
this._lifeCycleHooks[event].push(listener);
|
|
479
|
+
} else {
|
|
480
|
+
this._lifeCycleHooks[event] = [listener];
|
|
481
|
+
}
|
|
482
|
+
return this;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Register callback to use as replacement for calling process.exit.
|
|
487
|
+
*
|
|
488
|
+
* @param {Function} [fn] optional callback which will be passed a CommanderError, defaults to throwing
|
|
489
|
+
* @return {Command} `this` command for chaining
|
|
490
|
+
*/
|
|
491
|
+
|
|
492
|
+
exitOverride(fn) {
|
|
493
|
+
if (fn) {
|
|
494
|
+
this._exitCallback = fn;
|
|
495
|
+
} else {
|
|
496
|
+
this._exitCallback = (err) => {
|
|
497
|
+
if (err.code !== 'commander.executeSubCommandAsync') {
|
|
498
|
+
throw err;
|
|
499
|
+
} else {
|
|
500
|
+
// Async callback from spawn events, not useful to throw.
|
|
501
|
+
}
|
|
502
|
+
};
|
|
503
|
+
}
|
|
504
|
+
return this;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* Call process.exit, and _exitCallback if defined.
|
|
509
|
+
*
|
|
510
|
+
* @param {number} exitCode exit code for using with process.exit
|
|
511
|
+
* @param {string} code an id string representing the error
|
|
512
|
+
* @param {string} message human-readable description of the error
|
|
513
|
+
* @return never
|
|
514
|
+
* @private
|
|
515
|
+
*/
|
|
516
|
+
|
|
517
|
+
_exit(exitCode, code, message) {
|
|
518
|
+
if (this._exitCallback) {
|
|
519
|
+
this._exitCallback(new CommanderError(exitCode, code, message));
|
|
520
|
+
// Expecting this line is not reached.
|
|
521
|
+
}
|
|
522
|
+
process.exit(exitCode);
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Register callback `fn` for the command.
|
|
527
|
+
*
|
|
528
|
+
* @example
|
|
529
|
+
* program
|
|
530
|
+
* .command('serve')
|
|
531
|
+
* .description('start service')
|
|
532
|
+
* .action(function() {
|
|
533
|
+
* // do work here
|
|
534
|
+
* });
|
|
535
|
+
*
|
|
536
|
+
* @param {Function} fn
|
|
537
|
+
* @return {Command} `this` command for chaining
|
|
538
|
+
*/
|
|
539
|
+
|
|
540
|
+
action(fn) {
|
|
541
|
+
const listener = (args) => {
|
|
542
|
+
// The .action callback takes an extra parameter which is the command or options.
|
|
543
|
+
const expectedArgsCount = this.registeredArguments.length;
|
|
544
|
+
const actionArgs = args.slice(0, expectedArgsCount);
|
|
545
|
+
if (this._storeOptionsAsProperties) {
|
|
546
|
+
actionArgs[expectedArgsCount] = this; // backwards compatible "options"
|
|
547
|
+
} else {
|
|
548
|
+
actionArgs[expectedArgsCount] = this.opts();
|
|
549
|
+
}
|
|
550
|
+
actionArgs.push(this);
|
|
551
|
+
|
|
552
|
+
return fn.apply(this, actionArgs);
|
|
553
|
+
};
|
|
554
|
+
this._actionHandler = listener;
|
|
555
|
+
return this;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Factory routine to create a new unattached option.
|
|
560
|
+
*
|
|
561
|
+
* See .option() for creating an attached option, which uses this routine to
|
|
562
|
+
* create the option. You can override createOption to return a custom option.
|
|
563
|
+
*
|
|
564
|
+
* @param {string} flags
|
|
565
|
+
* @param {string} [description]
|
|
566
|
+
* @return {Option} new option
|
|
567
|
+
*/
|
|
568
|
+
|
|
569
|
+
createOption(flags, description) {
|
|
570
|
+
return new Option(flags, description);
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* Wrap parseArgs to catch 'commander.invalidArgument'.
|
|
575
|
+
*
|
|
576
|
+
* @param {(Option | Argument)} target
|
|
577
|
+
* @param {string} value
|
|
578
|
+
* @param {*} previous
|
|
579
|
+
* @param {string} invalidArgumentMessage
|
|
580
|
+
* @private
|
|
581
|
+
*/
|
|
582
|
+
|
|
583
|
+
_callParseArg(target, value, previous, invalidArgumentMessage) {
|
|
584
|
+
try {
|
|
585
|
+
return target.parseArg(value, previous);
|
|
586
|
+
} catch (err) {
|
|
587
|
+
if (err.code === 'commander.invalidArgument') {
|
|
588
|
+
const message = `${invalidArgumentMessage} ${err.message}`;
|
|
589
|
+
this.error(message, { exitCode: err.exitCode, code: err.code });
|
|
590
|
+
}
|
|
591
|
+
throw err;
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* Check for option flag conflicts.
|
|
597
|
+
* Register option if no conflicts found, or throw on conflict.
|
|
598
|
+
*
|
|
599
|
+
* @param {Option} option
|
|
600
|
+
* @private
|
|
601
|
+
*/
|
|
602
|
+
|
|
603
|
+
_registerOption(option) {
|
|
604
|
+
const matchingOption =
|
|
605
|
+
(option.short && this._findOption(option.short)) ||
|
|
606
|
+
(option.long && this._findOption(option.long));
|
|
607
|
+
if (matchingOption) {
|
|
608
|
+
const matchingFlag =
|
|
609
|
+
option.long && this._findOption(option.long)
|
|
610
|
+
? option.long
|
|
611
|
+
: option.short;
|
|
612
|
+
throw new Error(`Cannot add option '${option.flags}'${this._name && ` to command '${this._name}'`} due to conflicting flag '${matchingFlag}'
|
|
613
|
+
- already used by option '${matchingOption.flags}'`);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
this.options.push(option);
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Check for command name and alias conflicts with existing commands.
|
|
621
|
+
* Register command if no conflicts found, or throw on conflict.
|
|
622
|
+
*
|
|
623
|
+
* @param {Command} command
|
|
624
|
+
* @private
|
|
625
|
+
*/
|
|
626
|
+
|
|
627
|
+
_registerCommand(command) {
|
|
628
|
+
const knownBy = (cmd) => {
|
|
629
|
+
return [cmd.name()].concat(cmd.aliases());
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
const alreadyUsed = knownBy(command).find((name) =>
|
|
633
|
+
this._findCommand(name),
|
|
634
|
+
);
|
|
635
|
+
if (alreadyUsed) {
|
|
636
|
+
const existingCmd = knownBy(this._findCommand(alreadyUsed)).join('|');
|
|
637
|
+
const newCmd = knownBy(command).join('|');
|
|
638
|
+
throw new Error(
|
|
639
|
+
`cannot add command '${newCmd}' as already have command '${existingCmd}'`,
|
|
640
|
+
);
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
this.commands.push(command);
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* Add an option.
|
|
648
|
+
*
|
|
649
|
+
* @param {Option} option
|
|
650
|
+
* @return {Command} `this` command for chaining
|
|
651
|
+
*/
|
|
652
|
+
addOption(option) {
|
|
653
|
+
this._registerOption(option);
|
|
654
|
+
|
|
655
|
+
const oname = option.name();
|
|
656
|
+
const name = option.attributeName();
|
|
657
|
+
|
|
658
|
+
// store default value
|
|
659
|
+
if (option.negate) {
|
|
660
|
+
// --no-foo is special and defaults foo to true, unless a --foo option is already defined
|
|
661
|
+
const positiveLongFlag = option.long.replace(/^--no-/, '--');
|
|
662
|
+
if (!this._findOption(positiveLongFlag)) {
|
|
663
|
+
this.setOptionValueWithSource(
|
|
664
|
+
name,
|
|
665
|
+
option.defaultValue === undefined ? true : option.defaultValue,
|
|
666
|
+
'default',
|
|
667
|
+
);
|
|
668
|
+
}
|
|
669
|
+
} else if (option.defaultValue !== undefined) {
|
|
670
|
+
this.setOptionValueWithSource(name, option.defaultValue, 'default');
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
// handler for cli and env supplied values
|
|
674
|
+
const handleOptionValue = (val, invalidValueMessage, valueSource) => {
|
|
675
|
+
// val is null for optional option used without an optional-argument.
|
|
676
|
+
// val is undefined for boolean and negated option.
|
|
677
|
+
if (val == null && option.presetArg !== undefined) {
|
|
678
|
+
val = option.presetArg;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
// custom processing
|
|
682
|
+
const oldValue = this.getOptionValue(name);
|
|
683
|
+
if (val !== null && option.parseArg) {
|
|
684
|
+
val = this._callParseArg(option, val, oldValue, invalidValueMessage);
|
|
685
|
+
} else if (val !== null && option.variadic) {
|
|
686
|
+
val = option._concatValue(val, oldValue);
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
// Fill-in appropriate missing values. Long winded but easy to follow.
|
|
690
|
+
if (val == null) {
|
|
691
|
+
if (option.negate) {
|
|
692
|
+
val = false;
|
|
693
|
+
} else if (option.isBoolean() || option.optional) {
|
|
694
|
+
val = true;
|
|
695
|
+
} else {
|
|
696
|
+
val = ''; // not normal, parseArg might have failed or be a mock function for testing
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
this.setOptionValueWithSource(name, val, valueSource);
|
|
700
|
+
};
|
|
701
|
+
|
|
702
|
+
this.on('option:' + oname, (val) => {
|
|
703
|
+
const invalidValueMessage = `error: option '${option.flags}' argument '${val}' is invalid.`;
|
|
704
|
+
handleOptionValue(val, invalidValueMessage, 'cli');
|
|
705
|
+
});
|
|
706
|
+
|
|
707
|
+
if (option.envVar) {
|
|
708
|
+
this.on('optionEnv:' + oname, (val) => {
|
|
709
|
+
const invalidValueMessage = `error: option '${option.flags}' value '${val}' from env '${option.envVar}' is invalid.`;
|
|
710
|
+
handleOptionValue(val, invalidValueMessage, 'env');
|
|
711
|
+
});
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
return this;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* Internal implementation shared by .option() and .requiredOption()
|
|
719
|
+
*
|
|
720
|
+
* @return {Command} `this` command for chaining
|
|
721
|
+
* @private
|
|
722
|
+
*/
|
|
723
|
+
_optionEx(config, flags, description, fn, defaultValue) {
|
|
724
|
+
if (typeof flags === 'object' && flags instanceof Option) {
|
|
725
|
+
throw new Error(
|
|
726
|
+
'To add an Option object use addOption() instead of option() or requiredOption()',
|
|
727
|
+
);
|
|
728
|
+
}
|
|
729
|
+
const option = this.createOption(flags, description);
|
|
730
|
+
option.makeOptionMandatory(!!config.mandatory);
|
|
731
|
+
if (typeof fn === 'function') {
|
|
732
|
+
option.default(defaultValue).argParser(fn);
|
|
733
|
+
} else if (fn instanceof RegExp) {
|
|
734
|
+
// deprecated
|
|
735
|
+
const regex = fn;
|
|
736
|
+
fn = (val, def) => {
|
|
737
|
+
const m = regex.exec(val);
|
|
738
|
+
return m ? m[0] : def;
|
|
739
|
+
};
|
|
740
|
+
option.default(defaultValue).argParser(fn);
|
|
741
|
+
} else {
|
|
742
|
+
option.default(fn);
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
return this.addOption(option);
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* Define option with `flags`, `description`, and optional argument parsing function or `defaultValue` or both.
|
|
750
|
+
*
|
|
751
|
+
* The `flags` string contains the short and/or long flags, separated by comma, a pipe or space. A required
|
|
752
|
+
* option-argument is indicated by `<>` and an optional option-argument by `[]`.
|
|
753
|
+
*
|
|
754
|
+
* See the README for more details, and see also addOption() and requiredOption().
|
|
755
|
+
*
|
|
756
|
+
* @example
|
|
757
|
+
* program
|
|
758
|
+
* .option('-p, --pepper', 'add pepper')
|
|
759
|
+
* .option('--pt, --pizza-type <TYPE>', 'type of pizza') // required option-argument
|
|
760
|
+
* .option('-c, --cheese [CHEESE]', 'add extra cheese', 'mozzarella') // optional option-argument with default
|
|
761
|
+
* .option('-t, --tip <VALUE>', 'add tip to purchase cost', parseFloat) // custom parse function
|
|
762
|
+
*
|
|
763
|
+
* @param {string} flags
|
|
764
|
+
* @param {string} [description]
|
|
765
|
+
* @param {(Function|*)} [parseArg] - custom option processing function or default value
|
|
766
|
+
* @param {*} [defaultValue]
|
|
767
|
+
* @return {Command} `this` command for chaining
|
|
768
|
+
*/
|
|
769
|
+
|
|
770
|
+
option(flags, description, parseArg, defaultValue) {
|
|
771
|
+
return this._optionEx({}, flags, description, parseArg, defaultValue);
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* Add a required option which must have a value after parsing. This usually means
|
|
776
|
+
* the option must be specified on the command line. (Otherwise the same as .option().)
|
|
777
|
+
*
|
|
778
|
+
* The `flags` string contains the short and/or long flags, separated by comma, a pipe or space.
|
|
779
|
+
*
|
|
780
|
+
* @param {string} flags
|
|
781
|
+
* @param {string} [description]
|
|
782
|
+
* @param {(Function|*)} [parseArg] - custom option processing function or default value
|
|
783
|
+
* @param {*} [defaultValue]
|
|
784
|
+
* @return {Command} `this` command for chaining
|
|
785
|
+
*/
|
|
786
|
+
|
|
787
|
+
requiredOption(flags, description, parseArg, defaultValue) {
|
|
788
|
+
return this._optionEx(
|
|
789
|
+
{ mandatory: true },
|
|
790
|
+
flags,
|
|
791
|
+
description,
|
|
792
|
+
parseArg,
|
|
793
|
+
defaultValue,
|
|
794
|
+
);
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* Alter parsing of short flags with optional values.
|
|
799
|
+
*
|
|
800
|
+
* @example
|
|
801
|
+
* // for `.option('-f,--flag [value]'):
|
|
802
|
+
* program.combineFlagAndOptionalValue(true); // `-f80` is treated like `--flag=80`, this is the default behaviour
|
|
803
|
+
* program.combineFlagAndOptionalValue(false) // `-fb` is treated like `-f -b`
|
|
804
|
+
*
|
|
805
|
+
* @param {boolean} [combine] - if `true` or omitted, an optional value can be specified directly after the flag.
|
|
806
|
+
* @return {Command} `this` command for chaining
|
|
807
|
+
*/
|
|
808
|
+
combineFlagAndOptionalValue(combine = true) {
|
|
809
|
+
this._combineFlagAndOptionalValue = !!combine;
|
|
810
|
+
return this;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* Allow unknown options on the command line.
|
|
815
|
+
*
|
|
816
|
+
* @param {boolean} [allowUnknown] - if `true` or omitted, no error will be thrown for unknown options.
|
|
817
|
+
* @return {Command} `this` command for chaining
|
|
818
|
+
*/
|
|
819
|
+
allowUnknownOption(allowUnknown = true) {
|
|
820
|
+
this._allowUnknownOption = !!allowUnknown;
|
|
821
|
+
return this;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* Allow excess command-arguments on the command line. Pass false to make excess arguments an error.
|
|
826
|
+
*
|
|
827
|
+
* @param {boolean} [allowExcess] - if `true` or omitted, no error will be thrown for excess arguments.
|
|
828
|
+
* @return {Command} `this` command for chaining
|
|
829
|
+
*/
|
|
830
|
+
allowExcessArguments(allowExcess = true) {
|
|
831
|
+
this._allowExcessArguments = !!allowExcess;
|
|
832
|
+
return this;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* Enable positional options. Positional means global options are specified before subcommands which lets
|
|
837
|
+
* subcommands reuse the same option names, and also enables subcommands to turn on passThroughOptions.
|
|
838
|
+
* The default behaviour is non-positional and global options may appear anywhere on the command line.
|
|
839
|
+
*
|
|
840
|
+
* @param {boolean} [positional]
|
|
841
|
+
* @return {Command} `this` command for chaining
|
|
842
|
+
*/
|
|
843
|
+
enablePositionalOptions(positional = true) {
|
|
844
|
+
this._enablePositionalOptions = !!positional;
|
|
845
|
+
return this;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* Pass through options that come after command-arguments rather than treat them as command-options,
|
|
850
|
+
* so actual command-options come before command-arguments. Turning this on for a subcommand requires
|
|
851
|
+
* positional options to have been enabled on the program (parent commands).
|
|
852
|
+
* The default behaviour is non-positional and options may appear before or after command-arguments.
|
|
853
|
+
*
|
|
854
|
+
* @param {boolean} [passThrough] for unknown options.
|
|
855
|
+
* @return {Command} `this` command for chaining
|
|
856
|
+
*/
|
|
857
|
+
passThroughOptions(passThrough = true) {
|
|
858
|
+
this._passThroughOptions = !!passThrough;
|
|
859
|
+
this._checkForBrokenPassThrough();
|
|
860
|
+
return this;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* @private
|
|
865
|
+
*/
|
|
866
|
+
|
|
867
|
+
_checkForBrokenPassThrough() {
|
|
868
|
+
if (
|
|
869
|
+
this.parent &&
|
|
870
|
+
this._passThroughOptions &&
|
|
871
|
+
!this.parent._enablePositionalOptions
|
|
872
|
+
) {
|
|
873
|
+
throw new Error(
|
|
874
|
+
`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`,
|
|
875
|
+
);
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* Whether to store option values as properties on command object,
|
|
881
|
+
* or store separately (specify false). In both cases the option values can be accessed using .opts().
|
|
882
|
+
*
|
|
883
|
+
* @param {boolean} [storeAsProperties=true]
|
|
884
|
+
* @return {Command} `this` command for chaining
|
|
885
|
+
*/
|
|
886
|
+
|
|
887
|
+
storeOptionsAsProperties(storeAsProperties = true) {
|
|
888
|
+
if (this.options.length) {
|
|
889
|
+
throw new Error('call .storeOptionsAsProperties() before adding options');
|
|
890
|
+
}
|
|
891
|
+
if (Object.keys(this._optionValues).length) {
|
|
892
|
+
throw new Error(
|
|
893
|
+
'call .storeOptionsAsProperties() before setting option values',
|
|
894
|
+
);
|
|
895
|
+
}
|
|
896
|
+
this._storeOptionsAsProperties = !!storeAsProperties;
|
|
897
|
+
return this;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* Retrieve option value.
|
|
902
|
+
*
|
|
903
|
+
* @param {string} key
|
|
904
|
+
* @return {object} value
|
|
905
|
+
*/
|
|
906
|
+
|
|
907
|
+
getOptionValue(key) {
|
|
908
|
+
if (this._storeOptionsAsProperties) {
|
|
909
|
+
return this[key];
|
|
910
|
+
}
|
|
911
|
+
return this._optionValues[key];
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* Store option value.
|
|
916
|
+
*
|
|
917
|
+
* @param {string} key
|
|
918
|
+
* @param {object} value
|
|
919
|
+
* @return {Command} `this` command for chaining
|
|
920
|
+
*/
|
|
921
|
+
|
|
922
|
+
setOptionValue(key, value) {
|
|
923
|
+
return this.setOptionValueWithSource(key, value, undefined);
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* Store option value and where the value came from.
|
|
928
|
+
*
|
|
929
|
+
* @param {string} key
|
|
930
|
+
* @param {object} value
|
|
931
|
+
* @param {string} source - expected values are default/config/env/cli/implied
|
|
932
|
+
* @return {Command} `this` command for chaining
|
|
933
|
+
*/
|
|
934
|
+
|
|
935
|
+
setOptionValueWithSource(key, value, source) {
|
|
936
|
+
if (this._storeOptionsAsProperties) {
|
|
937
|
+
this[key] = value;
|
|
938
|
+
} else {
|
|
939
|
+
this._optionValues[key] = value;
|
|
940
|
+
}
|
|
941
|
+
this._optionValueSources[key] = source;
|
|
942
|
+
return this;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* Get source of option value.
|
|
947
|
+
* Expected values are default | config | env | cli | implied
|
|
948
|
+
*
|
|
949
|
+
* @param {string} key
|
|
950
|
+
* @return {string}
|
|
951
|
+
*/
|
|
952
|
+
|
|
953
|
+
getOptionValueSource(key) {
|
|
954
|
+
return this._optionValueSources[key];
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* Get source of option value. See also .optsWithGlobals().
|
|
959
|
+
* Expected values are default | config | env | cli | implied
|
|
960
|
+
*
|
|
961
|
+
* @param {string} key
|
|
962
|
+
* @return {string}
|
|
963
|
+
*/
|
|
964
|
+
|
|
965
|
+
getOptionValueSourceWithGlobals(key) {
|
|
966
|
+
// global overwrites local, like optsWithGlobals
|
|
967
|
+
let source;
|
|
968
|
+
this._getCommandAndAncestors().forEach((cmd) => {
|
|
969
|
+
if (cmd.getOptionValueSource(key) !== undefined) {
|
|
970
|
+
source = cmd.getOptionValueSource(key);
|
|
971
|
+
}
|
|
972
|
+
});
|
|
973
|
+
return source;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* Get user arguments from implied or explicit arguments.
|
|
978
|
+
* Side-effects: set _scriptPath if args included script. Used for default program name, and subcommand searches.
|
|
979
|
+
*
|
|
980
|
+
* @private
|
|
981
|
+
*/
|
|
982
|
+
|
|
983
|
+
_prepareUserArgs(argv, parseOptions) {
|
|
984
|
+
if (argv !== undefined && !Array.isArray(argv)) {
|
|
985
|
+
throw new Error('first parameter to parse must be array or undefined');
|
|
986
|
+
}
|
|
987
|
+
parseOptions = parseOptions || {};
|
|
988
|
+
|
|
989
|
+
// auto-detect argument conventions if nothing supplied
|
|
990
|
+
if (argv === undefined && parseOptions.from === undefined) {
|
|
991
|
+
if (process.versions?.electron) {
|
|
992
|
+
parseOptions.from = 'electron';
|
|
993
|
+
}
|
|
994
|
+
// check node specific options for scenarios where user CLI args follow executable without scriptname
|
|
995
|
+
const execArgv = process.execArgv ?? [];
|
|
996
|
+
if (
|
|
997
|
+
execArgv.includes('-e') ||
|
|
998
|
+
execArgv.includes('--eval') ||
|
|
999
|
+
execArgv.includes('-p') ||
|
|
1000
|
+
execArgv.includes('--print')
|
|
1001
|
+
) {
|
|
1002
|
+
parseOptions.from = 'eval'; // internal usage, not documented
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
// default to using process.argv
|
|
1007
|
+
if (argv === undefined) {
|
|
1008
|
+
argv = process.argv;
|
|
1009
|
+
}
|
|
1010
|
+
this.rawArgs = argv.slice();
|
|
1011
|
+
|
|
1012
|
+
// extract the user args and scriptPath
|
|
1013
|
+
let userArgs;
|
|
1014
|
+
switch (parseOptions.from) {
|
|
1015
|
+
case undefined:
|
|
1016
|
+
case 'node':
|
|
1017
|
+
this._scriptPath = argv[1];
|
|
1018
|
+
userArgs = argv.slice(2);
|
|
1019
|
+
break;
|
|
1020
|
+
case 'electron':
|
|
1021
|
+
// @ts-ignore: because defaultApp is an unknown property
|
|
1022
|
+
if (process.defaultApp) {
|
|
1023
|
+
this._scriptPath = argv[1];
|
|
1024
|
+
userArgs = argv.slice(2);
|
|
1025
|
+
} else {
|
|
1026
|
+
userArgs = argv.slice(1);
|
|
1027
|
+
}
|
|
1028
|
+
break;
|
|
1029
|
+
case 'user':
|
|
1030
|
+
userArgs = argv.slice(0);
|
|
1031
|
+
break;
|
|
1032
|
+
case 'eval':
|
|
1033
|
+
userArgs = argv.slice(1);
|
|
1034
|
+
break;
|
|
1035
|
+
default:
|
|
1036
|
+
throw new Error(
|
|
1037
|
+
`unexpected parse option { from: '${parseOptions.from}' }`,
|
|
1038
|
+
);
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
// Find default name for program from arguments.
|
|
1042
|
+
if (!this._name && this._scriptPath)
|
|
1043
|
+
this.nameFromFilename(this._scriptPath);
|
|
1044
|
+
this._name = this._name || 'program';
|
|
1045
|
+
|
|
1046
|
+
return userArgs;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* Parse `argv`, setting options and invoking commands when defined.
|
|
1051
|
+
*
|
|
1052
|
+
* Use parseAsync instead of parse if any of your action handlers are async.
|
|
1053
|
+
*
|
|
1054
|
+
* Call with no parameters to parse `process.argv`. Detects Electron and special node options like `node --eval`. Easy mode!
|
|
1055
|
+
*
|
|
1056
|
+
* Or call with an array of strings to parse, and optionally where the user arguments start by specifying where the arguments are `from`:
|
|
1057
|
+
* - `'node'`: default, `argv[0]` is the application and `argv[1]` is the script being run, with user arguments after that
|
|
1058
|
+
* - `'electron'`: `argv[0]` is the application and `argv[1]` varies depending on whether the electron application is packaged
|
|
1059
|
+
* - `'user'`: just user arguments
|
|
1060
|
+
*
|
|
1061
|
+
* @example
|
|
1062
|
+
* program.parse(); // parse process.argv and auto-detect electron and special node flags
|
|
1063
|
+
* program.parse(process.argv); // assume argv[0] is app and argv[1] is script
|
|
1064
|
+
* program.parse(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
|
|
1065
|
+
*
|
|
1066
|
+
* @param {string[]} [argv] - optional, defaults to process.argv
|
|
1067
|
+
* @param {object} [parseOptions] - optionally specify style of options with from: node/user/electron
|
|
1068
|
+
* @param {string} [parseOptions.from] - where the args are from: 'node', 'user', 'electron'
|
|
1069
|
+
* @return {Command} `this` command for chaining
|
|
1070
|
+
*/
|
|
1071
|
+
|
|
1072
|
+
parse(argv, parseOptions) {
|
|
1073
|
+
this._prepareForParse();
|
|
1074
|
+
const userArgs = this._prepareUserArgs(argv, parseOptions);
|
|
1075
|
+
this._parseCommand([], userArgs);
|
|
1076
|
+
|
|
1077
|
+
return this;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* Parse `argv`, setting options and invoking commands when defined.
|
|
1082
|
+
*
|
|
1083
|
+
* Call with no parameters to parse `process.argv`. Detects Electron and special node options like `node --eval`. Easy mode!
|
|
1084
|
+
*
|
|
1085
|
+
* Or call with an array of strings to parse, and optionally where the user arguments start by specifying where the arguments are `from`:
|
|
1086
|
+
* - `'node'`: default, `argv[0]` is the application and `argv[1]` is the script being run, with user arguments after that
|
|
1087
|
+
* - `'electron'`: `argv[0]` is the application and `argv[1]` varies depending on whether the electron application is packaged
|
|
1088
|
+
* - `'user'`: just user arguments
|
|
1089
|
+
*
|
|
1090
|
+
* @example
|
|
1091
|
+
* await program.parseAsync(); // parse process.argv and auto-detect electron and special node flags
|
|
1092
|
+
* await program.parseAsync(process.argv); // assume argv[0] is app and argv[1] is script
|
|
1093
|
+
* await program.parseAsync(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
|
|
1094
|
+
*
|
|
1095
|
+
* @param {string[]} [argv]
|
|
1096
|
+
* @param {object} [parseOptions]
|
|
1097
|
+
* @param {string} parseOptions.from - where the args are from: 'node', 'user', 'electron'
|
|
1098
|
+
* @return {Promise}
|
|
1099
|
+
*/
|
|
1100
|
+
|
|
1101
|
+
async parseAsync(argv, parseOptions) {
|
|
1102
|
+
this._prepareForParse();
|
|
1103
|
+
const userArgs = this._prepareUserArgs(argv, parseOptions);
|
|
1104
|
+
await this._parseCommand([], userArgs);
|
|
1105
|
+
|
|
1106
|
+
return this;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
_prepareForParse() {
|
|
1110
|
+
if (this._savedState === null) {
|
|
1111
|
+
this.saveStateBeforeParse();
|
|
1112
|
+
} else {
|
|
1113
|
+
this.restoreStateBeforeParse();
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* Called the first time parse is called to save state and allow a restore before subsequent calls to parse.
|
|
1119
|
+
* Not usually called directly, but available for subclasses to save their custom state.
|
|
1120
|
+
*
|
|
1121
|
+
* This is called in a lazy way. Only commands used in parsing chain will have state saved.
|
|
1122
|
+
*/
|
|
1123
|
+
saveStateBeforeParse() {
|
|
1124
|
+
this._savedState = {
|
|
1125
|
+
// name is stable if supplied by author, but may be unspecified for root command and deduced during parsing
|
|
1126
|
+
_name: this._name,
|
|
1127
|
+
// option values before parse have default values (including false for negated options)
|
|
1128
|
+
// shallow clones
|
|
1129
|
+
_optionValues: { ...this._optionValues },
|
|
1130
|
+
_optionValueSources: { ...this._optionValueSources },
|
|
1131
|
+
};
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* Restore state before parse for calls after the first.
|
|
1136
|
+
* Not usually called directly, but available for subclasses to save their custom state.
|
|
1137
|
+
*
|
|
1138
|
+
* This is called in a lazy way. Only commands used in parsing chain will have state restored.
|
|
1139
|
+
*/
|
|
1140
|
+
restoreStateBeforeParse() {
|
|
1141
|
+
if (this._storeOptionsAsProperties)
|
|
1142
|
+
throw new Error(`Can not call parse again when storeOptionsAsProperties is true.
|
|
1143
|
+
- either make a new Command for each call to parse, or stop storing options as properties`);
|
|
1144
|
+
|
|
1145
|
+
// clear state from _prepareUserArgs
|
|
1146
|
+
this._name = this._savedState._name;
|
|
1147
|
+
this._scriptPath = null;
|
|
1148
|
+
this.rawArgs = [];
|
|
1149
|
+
// clear state from setOptionValueWithSource
|
|
1150
|
+
this._optionValues = { ...this._savedState._optionValues };
|
|
1151
|
+
this._optionValueSources = { ...this._savedState._optionValueSources };
|
|
1152
|
+
// clear state from _parseCommand
|
|
1153
|
+
this.args = [];
|
|
1154
|
+
// clear state from _processArguments
|
|
1155
|
+
this.processedArgs = [];
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* Throw if expected executable is missing. Add lots of help for author.
|
|
1160
|
+
*
|
|
1161
|
+
* @param {string} executableFile
|
|
1162
|
+
* @param {string} executableDir
|
|
1163
|
+
* @param {string} subcommandName
|
|
1164
|
+
*/
|
|
1165
|
+
_checkForMissingExecutable(executableFile, executableDir, subcommandName) {
|
|
1166
|
+
if (fs.existsSync(executableFile)) return;
|
|
1167
|
+
|
|
1168
|
+
const executableDirMessage = executableDir
|
|
1169
|
+
? `searched for local subcommand relative to directory '${executableDir}'`
|
|
1170
|
+
: 'no directory for search for local subcommand, use .executableDir() to supply a custom directory';
|
|
1171
|
+
const executableMissing = `'${executableFile}' does not exist
|
|
1172
|
+
- if '${subcommandName}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
|
|
1173
|
+
- if the default executable name is not suitable, use the executableFile option to supply a custom name or path
|
|
1174
|
+
- ${executableDirMessage}`;
|
|
1175
|
+
throw new Error(executableMissing);
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
* Execute a sub-command executable.
|
|
1180
|
+
*
|
|
1181
|
+
* @private
|
|
1182
|
+
*/
|
|
1183
|
+
|
|
1184
|
+
_executeSubCommand(subcommand, args) {
|
|
1185
|
+
args = args.slice();
|
|
1186
|
+
let launchWithNode = false; // Use node for source targets so do not need to get permissions correct, and on Windows.
|
|
1187
|
+
const sourceExt = ['.js', '.ts', '.tsx', '.mjs', '.cjs'];
|
|
1188
|
+
|
|
1189
|
+
function findFile(baseDir, baseName) {
|
|
1190
|
+
// Look for specified file
|
|
1191
|
+
const localBin = path.resolve(baseDir, baseName);
|
|
1192
|
+
if (fs.existsSync(localBin)) return localBin;
|
|
1193
|
+
|
|
1194
|
+
// Stop looking if candidate already has an expected extension.
|
|
1195
|
+
if (sourceExt.includes(path.extname(baseName))) return undefined;
|
|
1196
|
+
|
|
1197
|
+
// Try all the extensions.
|
|
1198
|
+
const foundExt = sourceExt.find((ext) =>
|
|
1199
|
+
fs.existsSync(`${localBin}${ext}`),
|
|
1200
|
+
);
|
|
1201
|
+
if (foundExt) return `${localBin}${foundExt}`;
|
|
1202
|
+
|
|
1203
|
+
return undefined;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
// Not checking for help first. Unlikely to have mandatory and executable, and can't robustly test for help flags in external command.
|
|
1207
|
+
this._checkForMissingMandatoryOptions();
|
|
1208
|
+
this._checkForConflictingOptions();
|
|
1209
|
+
|
|
1210
|
+
// executableFile and executableDir might be full path, or just a name
|
|
1211
|
+
let executableFile =
|
|
1212
|
+
subcommand._executableFile || `${this._name}-${subcommand._name}`;
|
|
1213
|
+
let executableDir = this._executableDir || '';
|
|
1214
|
+
if (this._scriptPath) {
|
|
1215
|
+
let resolvedScriptPath; // resolve possible symlink for installed npm binary
|
|
1216
|
+
try {
|
|
1217
|
+
resolvedScriptPath = fs.realpathSync(this._scriptPath);
|
|
1218
|
+
} catch {
|
|
1219
|
+
resolvedScriptPath = this._scriptPath;
|
|
1220
|
+
}
|
|
1221
|
+
executableDir = path.resolve(
|
|
1222
|
+
path.dirname(resolvedScriptPath),
|
|
1223
|
+
executableDir,
|
|
1224
|
+
);
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
// Look for a local file in preference to a command in PATH.
|
|
1228
|
+
if (executableDir) {
|
|
1229
|
+
let localFile = findFile(executableDir, executableFile);
|
|
1230
|
+
|
|
1231
|
+
// Legacy search using prefix of script name instead of command name
|
|
1232
|
+
if (!localFile && !subcommand._executableFile && this._scriptPath) {
|
|
1233
|
+
const legacyName = path.basename(
|
|
1234
|
+
this._scriptPath,
|
|
1235
|
+
path.extname(this._scriptPath),
|
|
1236
|
+
);
|
|
1237
|
+
if (legacyName !== this._name) {
|
|
1238
|
+
localFile = findFile(
|
|
1239
|
+
executableDir,
|
|
1240
|
+
`${legacyName}-${subcommand._name}`,
|
|
1241
|
+
);
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
executableFile = localFile || executableFile;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
launchWithNode = sourceExt.includes(path.extname(executableFile));
|
|
1248
|
+
|
|
1249
|
+
let proc;
|
|
1250
|
+
if (process.platform !== 'win32') {
|
|
1251
|
+
if (launchWithNode) {
|
|
1252
|
+
args.unshift(executableFile);
|
|
1253
|
+
// add executable arguments to spawn
|
|
1254
|
+
args = incrementNodeInspectorPort(process.execArgv).concat(args);
|
|
1255
|
+
|
|
1256
|
+
proc = childProcess.spawn(process.argv[0], args, { stdio: 'inherit' });
|
|
1257
|
+
} else {
|
|
1258
|
+
proc = childProcess.spawn(executableFile, args, { stdio: 'inherit' });
|
|
1259
|
+
}
|
|
1260
|
+
} else {
|
|
1261
|
+
this._checkForMissingExecutable(
|
|
1262
|
+
executableFile,
|
|
1263
|
+
executableDir,
|
|
1264
|
+
subcommand._name,
|
|
1265
|
+
);
|
|
1266
|
+
args.unshift(executableFile);
|
|
1267
|
+
// add executable arguments to spawn
|
|
1268
|
+
args = incrementNodeInspectorPort(process.execArgv).concat(args);
|
|
1269
|
+
proc = childProcess.spawn(process.execPath, args, { stdio: 'inherit' });
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
if (!proc.killed) {
|
|
1273
|
+
// testing mainly to avoid leak warnings during unit tests with mocked spawn
|
|
1274
|
+
const signals = ['SIGUSR1', 'SIGUSR2', 'SIGTERM', 'SIGINT', 'SIGHUP'];
|
|
1275
|
+
signals.forEach((signal) => {
|
|
1276
|
+
process.on(signal, () => {
|
|
1277
|
+
if (proc.killed === false && proc.exitCode === null) {
|
|
1278
|
+
// @ts-ignore because signals not typed to known strings
|
|
1279
|
+
proc.kill(signal);
|
|
1280
|
+
}
|
|
1281
|
+
});
|
|
1282
|
+
});
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
// By default terminate process when spawned process terminates.
|
|
1286
|
+
const exitCallback = this._exitCallback;
|
|
1287
|
+
proc.on('close', (code) => {
|
|
1288
|
+
code = code ?? 1; // code is null if spawned process terminated due to a signal
|
|
1289
|
+
if (!exitCallback) {
|
|
1290
|
+
process.exit(code);
|
|
1291
|
+
} else {
|
|
1292
|
+
exitCallback(
|
|
1293
|
+
new CommanderError(
|
|
1294
|
+
code,
|
|
1295
|
+
'commander.executeSubCommandAsync',
|
|
1296
|
+
'(close)',
|
|
1297
|
+
),
|
|
1298
|
+
);
|
|
1299
|
+
}
|
|
1300
|
+
});
|
|
1301
|
+
proc.on('error', (err) => {
|
|
1302
|
+
// @ts-ignore: because err.code is an unknown property
|
|
1303
|
+
if (err.code === 'ENOENT') {
|
|
1304
|
+
this._checkForMissingExecutable(
|
|
1305
|
+
executableFile,
|
|
1306
|
+
executableDir,
|
|
1307
|
+
subcommand._name,
|
|
1308
|
+
);
|
|
1309
|
+
// @ts-ignore: because err.code is an unknown property
|
|
1310
|
+
} else if (err.code === 'EACCES') {
|
|
1311
|
+
throw new Error(`'${executableFile}' not executable`);
|
|
1312
|
+
}
|
|
1313
|
+
if (!exitCallback) {
|
|
1314
|
+
process.exit(1);
|
|
1315
|
+
} else {
|
|
1316
|
+
const wrappedError = new CommanderError(
|
|
1317
|
+
1,
|
|
1318
|
+
'commander.executeSubCommandAsync',
|
|
1319
|
+
'(error)',
|
|
1320
|
+
);
|
|
1321
|
+
wrappedError.nestedError = err;
|
|
1322
|
+
exitCallback(wrappedError);
|
|
1323
|
+
}
|
|
1324
|
+
});
|
|
1325
|
+
|
|
1326
|
+
// Store the reference to the child process
|
|
1327
|
+
this.runningCommand = proc;
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
/**
|
|
1331
|
+
* @private
|
|
1332
|
+
*/
|
|
1333
|
+
|
|
1334
|
+
_dispatchSubcommand(commandName, operands, unknown) {
|
|
1335
|
+
const subCommand = this._findCommand(commandName);
|
|
1336
|
+
if (!subCommand) this.help({ error: true });
|
|
1337
|
+
|
|
1338
|
+
subCommand._prepareForParse();
|
|
1339
|
+
let promiseChain;
|
|
1340
|
+
promiseChain = this._chainOrCallSubCommandHook(
|
|
1341
|
+
promiseChain,
|
|
1342
|
+
subCommand,
|
|
1343
|
+
'preSubcommand',
|
|
1344
|
+
);
|
|
1345
|
+
promiseChain = this._chainOrCall(promiseChain, () => {
|
|
1346
|
+
if (subCommand._executableHandler) {
|
|
1347
|
+
this._executeSubCommand(subCommand, operands.concat(unknown));
|
|
1348
|
+
} else {
|
|
1349
|
+
return subCommand._parseCommand(operands, unknown);
|
|
1350
|
+
}
|
|
1351
|
+
});
|
|
1352
|
+
return promiseChain;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
/**
|
|
1356
|
+
* Invoke help directly if possible, or dispatch if necessary.
|
|
1357
|
+
* e.g. help foo
|
|
1358
|
+
*
|
|
1359
|
+
* @private
|
|
1360
|
+
*/
|
|
1361
|
+
|
|
1362
|
+
_dispatchHelpCommand(subcommandName) {
|
|
1363
|
+
if (!subcommandName) {
|
|
1364
|
+
this.help();
|
|
1365
|
+
}
|
|
1366
|
+
const subCommand = this._findCommand(subcommandName);
|
|
1367
|
+
if (subCommand && !subCommand._executableHandler) {
|
|
1368
|
+
subCommand.help();
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
// Fallback to parsing the help flag to invoke the help.
|
|
1372
|
+
return this._dispatchSubcommand(
|
|
1373
|
+
subcommandName,
|
|
1374
|
+
[],
|
|
1375
|
+
[this._getHelpOption()?.long ?? this._getHelpOption()?.short ?? '--help'],
|
|
1376
|
+
);
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* Check this.args against expected this.registeredArguments.
|
|
1381
|
+
*
|
|
1382
|
+
* @private
|
|
1383
|
+
*/
|
|
1384
|
+
|
|
1385
|
+
_checkNumberOfArguments() {
|
|
1386
|
+
// too few
|
|
1387
|
+
this.registeredArguments.forEach((arg, i) => {
|
|
1388
|
+
if (arg.required && this.args[i] == null) {
|
|
1389
|
+
this.missingArgument(arg.name());
|
|
1390
|
+
}
|
|
1391
|
+
});
|
|
1392
|
+
// too many
|
|
1393
|
+
if (
|
|
1394
|
+
this.registeredArguments.length > 0 &&
|
|
1395
|
+
this.registeredArguments[this.registeredArguments.length - 1].variadic
|
|
1396
|
+
) {
|
|
1397
|
+
return;
|
|
1398
|
+
}
|
|
1399
|
+
if (this.args.length > this.registeredArguments.length) {
|
|
1400
|
+
this._excessArguments(this.args);
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
/**
|
|
1405
|
+
* Process this.args using this.registeredArguments and save as this.processedArgs!
|
|
1406
|
+
*
|
|
1407
|
+
* @private
|
|
1408
|
+
*/
|
|
1409
|
+
|
|
1410
|
+
_processArguments() {
|
|
1411
|
+
const myParseArg = (argument, value, previous) => {
|
|
1412
|
+
// Extra processing for nice error message on parsing failure.
|
|
1413
|
+
let parsedValue = value;
|
|
1414
|
+
if (value !== null && argument.parseArg) {
|
|
1415
|
+
const invalidValueMessage = `error: command-argument value '${value}' is invalid for argument '${argument.name()}'.`;
|
|
1416
|
+
parsedValue = this._callParseArg(
|
|
1417
|
+
argument,
|
|
1418
|
+
value,
|
|
1419
|
+
previous,
|
|
1420
|
+
invalidValueMessage,
|
|
1421
|
+
);
|
|
1422
|
+
}
|
|
1423
|
+
return parsedValue;
|
|
1424
|
+
};
|
|
1425
|
+
|
|
1426
|
+
this._checkNumberOfArguments();
|
|
1427
|
+
|
|
1428
|
+
const processedArgs = [];
|
|
1429
|
+
this.registeredArguments.forEach((declaredArg, index) => {
|
|
1430
|
+
let value = declaredArg.defaultValue;
|
|
1431
|
+
if (declaredArg.variadic) {
|
|
1432
|
+
// Collect together remaining arguments for passing together as an array.
|
|
1433
|
+
if (index < this.args.length) {
|
|
1434
|
+
value = this.args.slice(index);
|
|
1435
|
+
if (declaredArg.parseArg) {
|
|
1436
|
+
value = value.reduce((processed, v) => {
|
|
1437
|
+
return myParseArg(declaredArg, v, processed);
|
|
1438
|
+
}, declaredArg.defaultValue);
|
|
1439
|
+
}
|
|
1440
|
+
} else if (value === undefined) {
|
|
1441
|
+
value = [];
|
|
1442
|
+
}
|
|
1443
|
+
} else if (index < this.args.length) {
|
|
1444
|
+
value = this.args[index];
|
|
1445
|
+
if (declaredArg.parseArg) {
|
|
1446
|
+
value = myParseArg(declaredArg, value, declaredArg.defaultValue);
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
processedArgs[index] = value;
|
|
1450
|
+
});
|
|
1451
|
+
this.processedArgs = processedArgs;
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
/**
|
|
1455
|
+
* Once we have a promise we chain, but call synchronously until then.
|
|
1456
|
+
*
|
|
1457
|
+
* @param {(Promise|undefined)} promise
|
|
1458
|
+
* @param {Function} fn
|
|
1459
|
+
* @return {(Promise|undefined)}
|
|
1460
|
+
* @private
|
|
1461
|
+
*/
|
|
1462
|
+
|
|
1463
|
+
_chainOrCall(promise, fn) {
|
|
1464
|
+
// thenable
|
|
1465
|
+
if (promise && promise.then && typeof promise.then === 'function') {
|
|
1466
|
+
// already have a promise, chain callback
|
|
1467
|
+
return promise.then(() => fn());
|
|
1468
|
+
}
|
|
1469
|
+
// callback might return a promise
|
|
1470
|
+
return fn();
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
*
|
|
1475
|
+
* @param {(Promise|undefined)} promise
|
|
1476
|
+
* @param {string} event
|
|
1477
|
+
* @return {(Promise|undefined)}
|
|
1478
|
+
* @private
|
|
1479
|
+
*/
|
|
1480
|
+
|
|
1481
|
+
_chainOrCallHooks(promise, event) {
|
|
1482
|
+
let result = promise;
|
|
1483
|
+
const hooks = [];
|
|
1484
|
+
this._getCommandAndAncestors()
|
|
1485
|
+
.reverse()
|
|
1486
|
+
.filter((cmd) => cmd._lifeCycleHooks[event] !== undefined)
|
|
1487
|
+
.forEach((hookedCommand) => {
|
|
1488
|
+
hookedCommand._lifeCycleHooks[event].forEach((callback) => {
|
|
1489
|
+
hooks.push({ hookedCommand, callback });
|
|
1490
|
+
});
|
|
1491
|
+
});
|
|
1492
|
+
if (event === 'postAction') {
|
|
1493
|
+
hooks.reverse();
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
hooks.forEach((hookDetail) => {
|
|
1497
|
+
result = this._chainOrCall(result, () => {
|
|
1498
|
+
return hookDetail.callback(hookDetail.hookedCommand, this);
|
|
1499
|
+
});
|
|
1500
|
+
});
|
|
1501
|
+
return result;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
*
|
|
1506
|
+
* @param {(Promise|undefined)} promise
|
|
1507
|
+
* @param {Command} subCommand
|
|
1508
|
+
* @param {string} event
|
|
1509
|
+
* @return {(Promise|undefined)}
|
|
1510
|
+
* @private
|
|
1511
|
+
*/
|
|
1512
|
+
|
|
1513
|
+
_chainOrCallSubCommandHook(promise, subCommand, event) {
|
|
1514
|
+
let result = promise;
|
|
1515
|
+
if (this._lifeCycleHooks[event] !== undefined) {
|
|
1516
|
+
this._lifeCycleHooks[event].forEach((hook) => {
|
|
1517
|
+
result = this._chainOrCall(result, () => {
|
|
1518
|
+
return hook(this, subCommand);
|
|
1519
|
+
});
|
|
1520
|
+
});
|
|
1521
|
+
}
|
|
1522
|
+
return result;
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* Process arguments in context of this command.
|
|
1527
|
+
* Returns action result, in case it is a promise.
|
|
1528
|
+
*
|
|
1529
|
+
* @private
|
|
1530
|
+
*/
|
|
1531
|
+
|
|
1532
|
+
_parseCommand(operands, unknown) {
|
|
1533
|
+
const parsed = this.parseOptions(unknown);
|
|
1534
|
+
this._parseOptionsEnv(); // after cli, so parseArg not called on both cli and env
|
|
1535
|
+
this._parseOptionsImplied();
|
|
1536
|
+
operands = operands.concat(parsed.operands);
|
|
1537
|
+
unknown = parsed.unknown;
|
|
1538
|
+
this.args = operands.concat(unknown);
|
|
1539
|
+
|
|
1540
|
+
if (operands && this._findCommand(operands[0])) {
|
|
1541
|
+
return this._dispatchSubcommand(operands[0], operands.slice(1), unknown);
|
|
1542
|
+
}
|
|
1543
|
+
if (
|
|
1544
|
+
this._getHelpCommand() &&
|
|
1545
|
+
operands[0] === this._getHelpCommand().name()
|
|
1546
|
+
) {
|
|
1547
|
+
return this._dispatchHelpCommand(operands[1]);
|
|
1548
|
+
}
|
|
1549
|
+
if (this._defaultCommandName) {
|
|
1550
|
+
this._outputHelpIfRequested(unknown); // Run the help for default command from parent rather than passing to default command
|
|
1551
|
+
return this._dispatchSubcommand(
|
|
1552
|
+
this._defaultCommandName,
|
|
1553
|
+
operands,
|
|
1554
|
+
unknown,
|
|
1555
|
+
);
|
|
1556
|
+
}
|
|
1557
|
+
if (
|
|
1558
|
+
this.commands.length &&
|
|
1559
|
+
this.args.length === 0 &&
|
|
1560
|
+
!this._actionHandler &&
|
|
1561
|
+
!this._defaultCommandName
|
|
1562
|
+
) {
|
|
1563
|
+
// probably missing subcommand and no handler, user needs help (and exit)
|
|
1564
|
+
this.help({ error: true });
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
this._outputHelpIfRequested(parsed.unknown);
|
|
1568
|
+
this._checkForMissingMandatoryOptions();
|
|
1569
|
+
this._checkForConflictingOptions();
|
|
1570
|
+
|
|
1571
|
+
// We do not always call this check to avoid masking a "better" error, like unknown command.
|
|
1572
|
+
const checkForUnknownOptions = () => {
|
|
1573
|
+
if (parsed.unknown.length > 0) {
|
|
1574
|
+
this.unknownOption(parsed.unknown[0]);
|
|
1575
|
+
}
|
|
1576
|
+
};
|
|
1577
|
+
|
|
1578
|
+
const commandEvent = `command:${this.name()}`;
|
|
1579
|
+
if (this._actionHandler) {
|
|
1580
|
+
checkForUnknownOptions();
|
|
1581
|
+
this._processArguments();
|
|
1582
|
+
|
|
1583
|
+
let promiseChain;
|
|
1584
|
+
promiseChain = this._chainOrCallHooks(promiseChain, 'preAction');
|
|
1585
|
+
promiseChain = this._chainOrCall(promiseChain, () =>
|
|
1586
|
+
this._actionHandler(this.processedArgs),
|
|
1587
|
+
);
|
|
1588
|
+
if (this.parent) {
|
|
1589
|
+
promiseChain = this._chainOrCall(promiseChain, () => {
|
|
1590
|
+
this.parent.emit(commandEvent, operands, unknown); // legacy
|
|
1591
|
+
});
|
|
1592
|
+
}
|
|
1593
|
+
promiseChain = this._chainOrCallHooks(promiseChain, 'postAction');
|
|
1594
|
+
return promiseChain;
|
|
1595
|
+
}
|
|
1596
|
+
if (this.parent && this.parent.listenerCount(commandEvent)) {
|
|
1597
|
+
checkForUnknownOptions();
|
|
1598
|
+
this._processArguments();
|
|
1599
|
+
this.parent.emit(commandEvent, operands, unknown); // legacy
|
|
1600
|
+
} else if (operands.length) {
|
|
1601
|
+
if (this._findCommand('*')) {
|
|
1602
|
+
// legacy default command
|
|
1603
|
+
return this._dispatchSubcommand('*', operands, unknown);
|
|
1604
|
+
}
|
|
1605
|
+
if (this.listenerCount('command:*')) {
|
|
1606
|
+
// skip option check, emit event for possible misspelling suggestion
|
|
1607
|
+
this.emit('command:*', operands, unknown);
|
|
1608
|
+
} else if (this.commands.length) {
|
|
1609
|
+
this.unknownCommand();
|
|
1610
|
+
} else {
|
|
1611
|
+
checkForUnknownOptions();
|
|
1612
|
+
this._processArguments();
|
|
1613
|
+
}
|
|
1614
|
+
} else if (this.commands.length) {
|
|
1615
|
+
checkForUnknownOptions();
|
|
1616
|
+
// This command has subcommands and nothing hooked up at this level, so display help (and exit).
|
|
1617
|
+
this.help({ error: true });
|
|
1618
|
+
} else {
|
|
1619
|
+
checkForUnknownOptions();
|
|
1620
|
+
this._processArguments();
|
|
1621
|
+
// fall through for caller to handle after calling .parse()
|
|
1622
|
+
}
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
/**
|
|
1626
|
+
* Find matching command.
|
|
1627
|
+
*
|
|
1628
|
+
* @private
|
|
1629
|
+
* @return {Command | undefined}
|
|
1630
|
+
*/
|
|
1631
|
+
_findCommand(name) {
|
|
1632
|
+
if (!name) return undefined;
|
|
1633
|
+
return this.commands.find(
|
|
1634
|
+
(cmd) => cmd._name === name || cmd._aliases.includes(name),
|
|
1635
|
+
);
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
/**
|
|
1639
|
+
* Return an option matching `arg` if any.
|
|
1640
|
+
*
|
|
1641
|
+
* @param {string} arg
|
|
1642
|
+
* @return {Option}
|
|
1643
|
+
* @package
|
|
1644
|
+
*/
|
|
1645
|
+
|
|
1646
|
+
_findOption(arg) {
|
|
1647
|
+
return this.options.find((option) => option.is(arg));
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
/**
|
|
1651
|
+
* Display an error message if a mandatory option does not have a value.
|
|
1652
|
+
* Called after checking for help flags in leaf subcommand.
|
|
1653
|
+
*
|
|
1654
|
+
* @private
|
|
1655
|
+
*/
|
|
1656
|
+
|
|
1657
|
+
_checkForMissingMandatoryOptions() {
|
|
1658
|
+
// Walk up hierarchy so can call in subcommand after checking for displaying help.
|
|
1659
|
+
this._getCommandAndAncestors().forEach((cmd) => {
|
|
1660
|
+
cmd.options.forEach((anOption) => {
|
|
1661
|
+
if (
|
|
1662
|
+
anOption.mandatory &&
|
|
1663
|
+
cmd.getOptionValue(anOption.attributeName()) === undefined
|
|
1664
|
+
) {
|
|
1665
|
+
cmd.missingMandatoryOptionValue(anOption);
|
|
1666
|
+
}
|
|
1667
|
+
});
|
|
1668
|
+
});
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
/**
|
|
1672
|
+
* Display an error message if conflicting options are used together in this.
|
|
1673
|
+
*
|
|
1674
|
+
* @private
|
|
1675
|
+
*/
|
|
1676
|
+
_checkForConflictingLocalOptions() {
|
|
1677
|
+
const definedNonDefaultOptions = this.options.filter((option) => {
|
|
1678
|
+
const optionKey = option.attributeName();
|
|
1679
|
+
if (this.getOptionValue(optionKey) === undefined) {
|
|
1680
|
+
return false;
|
|
1681
|
+
}
|
|
1682
|
+
return this.getOptionValueSource(optionKey) !== 'default';
|
|
1683
|
+
});
|
|
1684
|
+
|
|
1685
|
+
const optionsWithConflicting = definedNonDefaultOptions.filter(
|
|
1686
|
+
(option) => option.conflictsWith.length > 0,
|
|
1687
|
+
);
|
|
1688
|
+
|
|
1689
|
+
optionsWithConflicting.forEach((option) => {
|
|
1690
|
+
const conflictingAndDefined = definedNonDefaultOptions.find((defined) =>
|
|
1691
|
+
option.conflictsWith.includes(defined.attributeName()),
|
|
1692
|
+
);
|
|
1693
|
+
if (conflictingAndDefined) {
|
|
1694
|
+
this._conflictingOption(option, conflictingAndDefined);
|
|
1695
|
+
}
|
|
1696
|
+
});
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* Display an error message if conflicting options are used together.
|
|
1701
|
+
* Called after checking for help flags in leaf subcommand.
|
|
1702
|
+
*
|
|
1703
|
+
* @private
|
|
1704
|
+
*/
|
|
1705
|
+
_checkForConflictingOptions() {
|
|
1706
|
+
// Walk up hierarchy so can call in subcommand after checking for displaying help.
|
|
1707
|
+
this._getCommandAndAncestors().forEach((cmd) => {
|
|
1708
|
+
cmd._checkForConflictingLocalOptions();
|
|
1709
|
+
});
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
/**
|
|
1713
|
+
* Parse options from `argv` removing known options,
|
|
1714
|
+
* and return argv split into operands and unknown arguments.
|
|
1715
|
+
*
|
|
1716
|
+
* Side effects: modifies command by storing options. Does not reset state if called again.
|
|
1717
|
+
*
|
|
1718
|
+
* Examples:
|
|
1719
|
+
*
|
|
1720
|
+
* argv => operands, unknown
|
|
1721
|
+
* --known kkk op => [op], []
|
|
1722
|
+
* op --known kkk => [op], []
|
|
1723
|
+
* sub --unknown uuu op => [sub], [--unknown uuu op]
|
|
1724
|
+
* sub -- --unknown uuu op => [sub --unknown uuu op], []
|
|
1725
|
+
*
|
|
1726
|
+
* @param {string[]} argv
|
|
1727
|
+
* @return {{operands: string[], unknown: string[]}}
|
|
1728
|
+
*/
|
|
1729
|
+
|
|
1730
|
+
parseOptions(argv) {
|
|
1731
|
+
const operands = []; // operands, not options or values
|
|
1732
|
+
const unknown = []; // first unknown option and remaining unknown args
|
|
1733
|
+
let dest = operands;
|
|
1734
|
+
const args = argv.slice();
|
|
1735
|
+
|
|
1736
|
+
function maybeOption(arg) {
|
|
1737
|
+
return arg.length > 1 && arg[0] === '-';
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
// parse options
|
|
1741
|
+
let activeVariadicOption = null;
|
|
1742
|
+
while (args.length) {
|
|
1743
|
+
const arg = args.shift();
|
|
1744
|
+
|
|
1745
|
+
// literal
|
|
1746
|
+
if (arg === '--') {
|
|
1747
|
+
if (dest === unknown) dest.push(arg);
|
|
1748
|
+
dest.push(...args);
|
|
1749
|
+
break;
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
if (activeVariadicOption && !maybeOption(arg)) {
|
|
1753
|
+
this.emit(`option:${activeVariadicOption.name()}`, arg);
|
|
1754
|
+
continue;
|
|
1755
|
+
}
|
|
1756
|
+
activeVariadicOption = null;
|
|
1757
|
+
|
|
1758
|
+
if (maybeOption(arg)) {
|
|
1759
|
+
const option = this._findOption(arg);
|
|
1760
|
+
// recognised option, call listener to assign value with possible custom processing
|
|
1761
|
+
if (option) {
|
|
1762
|
+
if (option.required) {
|
|
1763
|
+
const value = args.shift();
|
|
1764
|
+
if (value === undefined) this.optionMissingArgument(option);
|
|
1765
|
+
this.emit(`option:${option.name()}`, value);
|
|
1766
|
+
} else if (option.optional) {
|
|
1767
|
+
let value = null;
|
|
1768
|
+
// historical behaviour is optional value is following arg unless an option
|
|
1769
|
+
if (args.length > 0 && !maybeOption(args[0])) {
|
|
1770
|
+
value = args.shift();
|
|
1771
|
+
}
|
|
1772
|
+
this.emit(`option:${option.name()}`, value);
|
|
1773
|
+
} else {
|
|
1774
|
+
// boolean flag
|
|
1775
|
+
this.emit(`option:${option.name()}`);
|
|
1776
|
+
}
|
|
1777
|
+
activeVariadicOption = option.variadic ? option : null;
|
|
1778
|
+
continue;
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
// Look for combo options following single dash, eat first one if known.
|
|
1783
|
+
if (arg.length > 2 && arg[0] === '-' && arg[1] !== '-') {
|
|
1784
|
+
const option = this._findOption(`-${arg[1]}`);
|
|
1785
|
+
if (option) {
|
|
1786
|
+
if (
|
|
1787
|
+
option.required ||
|
|
1788
|
+
(option.optional && this._combineFlagAndOptionalValue)
|
|
1789
|
+
) {
|
|
1790
|
+
// option with value following in same argument
|
|
1791
|
+
this.emit(`option:${option.name()}`, arg.slice(2));
|
|
1792
|
+
} else {
|
|
1793
|
+
// boolean option, emit and put back remainder of arg for further processing
|
|
1794
|
+
this.emit(`option:${option.name()}`);
|
|
1795
|
+
args.unshift(`-${arg.slice(2)}`);
|
|
1796
|
+
}
|
|
1797
|
+
continue;
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
// Look for known long flag with value, like --foo=bar
|
|
1802
|
+
if (/^--[^=]+=/.test(arg)) {
|
|
1803
|
+
const index = arg.indexOf('=');
|
|
1804
|
+
const option = this._findOption(arg.slice(0, index));
|
|
1805
|
+
if (option && (option.required || option.optional)) {
|
|
1806
|
+
this.emit(`option:${option.name()}`, arg.slice(index + 1));
|
|
1807
|
+
continue;
|
|
1808
|
+
}
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
// Not a recognised option by this command.
|
|
1812
|
+
// Might be a command-argument, or subcommand option, or unknown option, or help command or option.
|
|
1813
|
+
|
|
1814
|
+
// An unknown option means further arguments also classified as unknown so can be reprocessed by subcommands.
|
|
1815
|
+
if (maybeOption(arg)) {
|
|
1816
|
+
dest = unknown;
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
// If using positionalOptions, stop processing our options at subcommand.
|
|
1820
|
+
if (
|
|
1821
|
+
(this._enablePositionalOptions || this._passThroughOptions) &&
|
|
1822
|
+
operands.length === 0 &&
|
|
1823
|
+
unknown.length === 0
|
|
1824
|
+
) {
|
|
1825
|
+
if (this._findCommand(arg)) {
|
|
1826
|
+
operands.push(arg);
|
|
1827
|
+
if (args.length > 0) unknown.push(...args);
|
|
1828
|
+
break;
|
|
1829
|
+
} else if (
|
|
1830
|
+
this._getHelpCommand() &&
|
|
1831
|
+
arg === this._getHelpCommand().name()
|
|
1832
|
+
) {
|
|
1833
|
+
operands.push(arg);
|
|
1834
|
+
if (args.length > 0) operands.push(...args);
|
|
1835
|
+
break;
|
|
1836
|
+
} else if (this._defaultCommandName) {
|
|
1837
|
+
unknown.push(arg);
|
|
1838
|
+
if (args.length > 0) unknown.push(...args);
|
|
1839
|
+
break;
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
// If using passThroughOptions, stop processing options at first command-argument.
|
|
1844
|
+
if (this._passThroughOptions) {
|
|
1845
|
+
dest.push(arg);
|
|
1846
|
+
if (args.length > 0) dest.push(...args);
|
|
1847
|
+
break;
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
// add arg
|
|
1851
|
+
dest.push(arg);
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
return { operands, unknown };
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
/**
|
|
1858
|
+
* Return an object containing local option values as key-value pairs.
|
|
1859
|
+
*
|
|
1860
|
+
* @return {object}
|
|
1861
|
+
*/
|
|
1862
|
+
opts() {
|
|
1863
|
+
if (this._storeOptionsAsProperties) {
|
|
1864
|
+
// Preserve original behaviour so backwards compatible when still using properties
|
|
1865
|
+
const result = {};
|
|
1866
|
+
const len = this.options.length;
|
|
1867
|
+
|
|
1868
|
+
for (let i = 0; i < len; i++) {
|
|
1869
|
+
const key = this.options[i].attributeName();
|
|
1870
|
+
result[key] =
|
|
1871
|
+
key === this._versionOptionName ? this._version : this[key];
|
|
1872
|
+
}
|
|
1873
|
+
return result;
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
return this._optionValues;
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
/**
|
|
1880
|
+
* Return an object containing merged local and global option values as key-value pairs.
|
|
1881
|
+
*
|
|
1882
|
+
* @return {object}
|
|
1883
|
+
*/
|
|
1884
|
+
optsWithGlobals() {
|
|
1885
|
+
// globals overwrite locals
|
|
1886
|
+
return this._getCommandAndAncestors().reduce(
|
|
1887
|
+
(combinedOptions, cmd) => Object.assign(combinedOptions, cmd.opts()),
|
|
1888
|
+
{},
|
|
1889
|
+
);
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
/**
|
|
1893
|
+
* Display error message and exit (or call exitOverride).
|
|
1894
|
+
*
|
|
1895
|
+
* @param {string} message
|
|
1896
|
+
* @param {object} [errorOptions]
|
|
1897
|
+
* @param {string} [errorOptions.code] - an id string representing the error
|
|
1898
|
+
* @param {number} [errorOptions.exitCode] - used with process.exit
|
|
1899
|
+
*/
|
|
1900
|
+
error(message, errorOptions) {
|
|
1901
|
+
// output handling
|
|
1902
|
+
this._outputConfiguration.outputError(
|
|
1903
|
+
`${message}\n`,
|
|
1904
|
+
this._outputConfiguration.writeErr,
|
|
1905
|
+
);
|
|
1906
|
+
if (typeof this._showHelpAfterError === 'string') {
|
|
1907
|
+
this._outputConfiguration.writeErr(`${this._showHelpAfterError}\n`);
|
|
1908
|
+
} else if (this._showHelpAfterError) {
|
|
1909
|
+
this._outputConfiguration.writeErr('\n');
|
|
1910
|
+
this.outputHelp({ error: true });
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
// exit handling
|
|
1914
|
+
const config = errorOptions || {};
|
|
1915
|
+
const exitCode = config.exitCode || 1;
|
|
1916
|
+
const code = config.code || 'commander.error';
|
|
1917
|
+
this._exit(exitCode, code, message);
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1920
|
+
/**
|
|
1921
|
+
* Apply any option related environment variables, if option does
|
|
1922
|
+
* not have a value from cli or client code.
|
|
1923
|
+
*
|
|
1924
|
+
* @private
|
|
1925
|
+
*/
|
|
1926
|
+
_parseOptionsEnv() {
|
|
1927
|
+
this.options.forEach((option) => {
|
|
1928
|
+
if (option.envVar && option.envVar in process.env) {
|
|
1929
|
+
const optionKey = option.attributeName();
|
|
1930
|
+
// Priority check. Do not overwrite cli or options from unknown source (client-code).
|
|
1931
|
+
if (
|
|
1932
|
+
this.getOptionValue(optionKey) === undefined ||
|
|
1933
|
+
['default', 'config', 'env'].includes(
|
|
1934
|
+
this.getOptionValueSource(optionKey),
|
|
1935
|
+
)
|
|
1936
|
+
) {
|
|
1937
|
+
if (option.required || option.optional) {
|
|
1938
|
+
// option can take a value
|
|
1939
|
+
// keep very simple, optional always takes value
|
|
1940
|
+
this.emit(`optionEnv:${option.name()}`, process.env[option.envVar]);
|
|
1941
|
+
} else {
|
|
1942
|
+
// boolean
|
|
1943
|
+
// keep very simple, only care that envVar defined and not the value
|
|
1944
|
+
this.emit(`optionEnv:${option.name()}`);
|
|
1945
|
+
}
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
});
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
/**
|
|
1952
|
+
* Apply any implied option values, if option is undefined or default value.
|
|
1953
|
+
*
|
|
1954
|
+
* @private
|
|
1955
|
+
*/
|
|
1956
|
+
_parseOptionsImplied() {
|
|
1957
|
+
const dualHelper = new DualOptions(this.options);
|
|
1958
|
+
const hasCustomOptionValue = (optionKey) => {
|
|
1959
|
+
return (
|
|
1960
|
+
this.getOptionValue(optionKey) !== undefined &&
|
|
1961
|
+
!['default', 'implied'].includes(this.getOptionValueSource(optionKey))
|
|
1962
|
+
);
|
|
1963
|
+
};
|
|
1964
|
+
this.options
|
|
1965
|
+
.filter(
|
|
1966
|
+
(option) =>
|
|
1967
|
+
option.implied !== undefined &&
|
|
1968
|
+
hasCustomOptionValue(option.attributeName()) &&
|
|
1969
|
+
dualHelper.valueFromOption(
|
|
1970
|
+
this.getOptionValue(option.attributeName()),
|
|
1971
|
+
option,
|
|
1972
|
+
),
|
|
1973
|
+
)
|
|
1974
|
+
.forEach((option) => {
|
|
1975
|
+
Object.keys(option.implied)
|
|
1976
|
+
.filter((impliedKey) => !hasCustomOptionValue(impliedKey))
|
|
1977
|
+
.forEach((impliedKey) => {
|
|
1978
|
+
this.setOptionValueWithSource(
|
|
1979
|
+
impliedKey,
|
|
1980
|
+
option.implied[impliedKey],
|
|
1981
|
+
'implied',
|
|
1982
|
+
);
|
|
1983
|
+
});
|
|
1984
|
+
});
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
/**
|
|
1988
|
+
* Argument `name` is missing.
|
|
1989
|
+
*
|
|
1990
|
+
* @param {string} name
|
|
1991
|
+
* @private
|
|
1992
|
+
*/
|
|
1993
|
+
|
|
1994
|
+
missingArgument(name) {
|
|
1995
|
+
const message = `error: missing required argument '${name}'`;
|
|
1996
|
+
this.error(message, { code: 'commander.missingArgument' });
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
/**
|
|
2000
|
+
* `Option` is missing an argument.
|
|
2001
|
+
*
|
|
2002
|
+
* @param {Option} option
|
|
2003
|
+
* @private
|
|
2004
|
+
*/
|
|
2005
|
+
|
|
2006
|
+
optionMissingArgument(option) {
|
|
2007
|
+
const message = `error: option '${option.flags}' argument missing`;
|
|
2008
|
+
this.error(message, { code: 'commander.optionMissingArgument' });
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
/**
|
|
2012
|
+
* `Option` does not have a value, and is a mandatory option.
|
|
2013
|
+
*
|
|
2014
|
+
* @param {Option} option
|
|
2015
|
+
* @private
|
|
2016
|
+
*/
|
|
2017
|
+
|
|
2018
|
+
missingMandatoryOptionValue(option) {
|
|
2019
|
+
const message = `error: required option '${option.flags}' not specified`;
|
|
2020
|
+
this.error(message, { code: 'commander.missingMandatoryOptionValue' });
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2023
|
+
/**
|
|
2024
|
+
* `Option` conflicts with another option.
|
|
2025
|
+
*
|
|
2026
|
+
* @param {Option} option
|
|
2027
|
+
* @param {Option} conflictingOption
|
|
2028
|
+
* @private
|
|
2029
|
+
*/
|
|
2030
|
+
_conflictingOption(option, conflictingOption) {
|
|
2031
|
+
// The calling code does not know whether a negated option is the source of the
|
|
2032
|
+
// value, so do some work to take an educated guess.
|
|
2033
|
+
const findBestOptionFromValue = (option) => {
|
|
2034
|
+
const optionKey = option.attributeName();
|
|
2035
|
+
const optionValue = this.getOptionValue(optionKey);
|
|
2036
|
+
const negativeOption = this.options.find(
|
|
2037
|
+
(target) => target.negate && optionKey === target.attributeName(),
|
|
2038
|
+
);
|
|
2039
|
+
const positiveOption = this.options.find(
|
|
2040
|
+
(target) => !target.negate && optionKey === target.attributeName(),
|
|
2041
|
+
);
|
|
2042
|
+
if (
|
|
2043
|
+
negativeOption &&
|
|
2044
|
+
((negativeOption.presetArg === undefined && optionValue === false) ||
|
|
2045
|
+
(negativeOption.presetArg !== undefined &&
|
|
2046
|
+
optionValue === negativeOption.presetArg))
|
|
2047
|
+
) {
|
|
2048
|
+
return negativeOption;
|
|
2049
|
+
}
|
|
2050
|
+
return positiveOption || option;
|
|
2051
|
+
};
|
|
2052
|
+
|
|
2053
|
+
const getErrorMessage = (option) => {
|
|
2054
|
+
const bestOption = findBestOptionFromValue(option);
|
|
2055
|
+
const optionKey = bestOption.attributeName();
|
|
2056
|
+
const source = this.getOptionValueSource(optionKey);
|
|
2057
|
+
if (source === 'env') {
|
|
2058
|
+
return `environment variable '${bestOption.envVar}'`;
|
|
2059
|
+
}
|
|
2060
|
+
return `option '${bestOption.flags}'`;
|
|
2061
|
+
};
|
|
2062
|
+
|
|
2063
|
+
const message = `error: ${getErrorMessage(option)} cannot be used with ${getErrorMessage(conflictingOption)}`;
|
|
2064
|
+
this.error(message, { code: 'commander.conflictingOption' });
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
/**
|
|
2068
|
+
* Unknown option `flag`.
|
|
2069
|
+
*
|
|
2070
|
+
* @param {string} flag
|
|
2071
|
+
* @private
|
|
2072
|
+
*/
|
|
2073
|
+
|
|
2074
|
+
unknownOption(flag) {
|
|
2075
|
+
if (this._allowUnknownOption) return;
|
|
2076
|
+
let suggestion = '';
|
|
2077
|
+
|
|
2078
|
+
if (flag.startsWith('--') && this._showSuggestionAfterError) {
|
|
2079
|
+
// Looping to pick up the global options too
|
|
2080
|
+
let candidateFlags = [];
|
|
2081
|
+
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
2082
|
+
let command = this;
|
|
2083
|
+
do {
|
|
2084
|
+
const moreFlags = command
|
|
2085
|
+
.createHelp()
|
|
2086
|
+
.visibleOptions(command)
|
|
2087
|
+
.filter((option) => option.long)
|
|
2088
|
+
.map((option) => option.long);
|
|
2089
|
+
candidateFlags = candidateFlags.concat(moreFlags);
|
|
2090
|
+
command = command.parent;
|
|
2091
|
+
} while (command && !command._enablePositionalOptions);
|
|
2092
|
+
suggestion = suggestSimilar(flag, candidateFlags);
|
|
2093
|
+
}
|
|
2094
|
+
|
|
2095
|
+
const message = `error: unknown option '${flag}'${suggestion}`;
|
|
2096
|
+
this.error(message, { code: 'commander.unknownOption' });
|
|
2097
|
+
}
|
|
2098
|
+
|
|
2099
|
+
/**
|
|
2100
|
+
* Excess arguments, more than expected.
|
|
2101
|
+
*
|
|
2102
|
+
* @param {string[]} receivedArgs
|
|
2103
|
+
* @private
|
|
2104
|
+
*/
|
|
2105
|
+
|
|
2106
|
+
_excessArguments(receivedArgs) {
|
|
2107
|
+
if (this._allowExcessArguments) return;
|
|
2108
|
+
|
|
2109
|
+
const expected = this.registeredArguments.length;
|
|
2110
|
+
const s = expected === 1 ? '' : 's';
|
|
2111
|
+
const forSubcommand = this.parent ? ` for '${this.name()}'` : '';
|
|
2112
|
+
const message = `error: too many arguments${forSubcommand}. Expected ${expected} argument${s} but got ${receivedArgs.length}.`;
|
|
2113
|
+
this.error(message, { code: 'commander.excessArguments' });
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
/**
|
|
2117
|
+
* Unknown command.
|
|
2118
|
+
*
|
|
2119
|
+
* @private
|
|
2120
|
+
*/
|
|
2121
|
+
|
|
2122
|
+
unknownCommand() {
|
|
2123
|
+
const unknownName = this.args[0];
|
|
2124
|
+
let suggestion = '';
|
|
2125
|
+
|
|
2126
|
+
if (this._showSuggestionAfterError) {
|
|
2127
|
+
const candidateNames = [];
|
|
2128
|
+
this.createHelp()
|
|
2129
|
+
.visibleCommands(this)
|
|
2130
|
+
.forEach((command) => {
|
|
2131
|
+
candidateNames.push(command.name());
|
|
2132
|
+
// just visible alias
|
|
2133
|
+
if (command.alias()) candidateNames.push(command.alias());
|
|
2134
|
+
});
|
|
2135
|
+
suggestion = suggestSimilar(unknownName, candidateNames);
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
const message = `error: unknown command '${unknownName}'${suggestion}`;
|
|
2139
|
+
this.error(message, { code: 'commander.unknownCommand' });
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* Get or set the program version.
|
|
2144
|
+
*
|
|
2145
|
+
* This method auto-registers the "-V, --version" option which will print the version number.
|
|
2146
|
+
*
|
|
2147
|
+
* You can optionally supply the flags and description to override the defaults.
|
|
2148
|
+
*
|
|
2149
|
+
* @param {string} [str]
|
|
2150
|
+
* @param {string} [flags]
|
|
2151
|
+
* @param {string} [description]
|
|
2152
|
+
* @return {(this | string | undefined)} `this` command for chaining, or version string if no arguments
|
|
2153
|
+
*/
|
|
2154
|
+
|
|
2155
|
+
version(str, flags, description) {
|
|
2156
|
+
if (str === undefined) return this._version;
|
|
2157
|
+
this._version = str;
|
|
2158
|
+
flags = flags || '-V, --version';
|
|
2159
|
+
description = description || 'output the version number';
|
|
2160
|
+
const versionOption = this.createOption(flags, description);
|
|
2161
|
+
this._versionOptionName = versionOption.attributeName();
|
|
2162
|
+
this._registerOption(versionOption);
|
|
2163
|
+
|
|
2164
|
+
this.on('option:' + versionOption.name(), () => {
|
|
2165
|
+
this._outputConfiguration.writeOut(`${str}\n`);
|
|
2166
|
+
this._exit(0, 'commander.version', str);
|
|
2167
|
+
});
|
|
2168
|
+
return this;
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
/**
|
|
2172
|
+
* Set the description.
|
|
2173
|
+
*
|
|
2174
|
+
* @param {string} [str]
|
|
2175
|
+
* @param {object} [argsDescription]
|
|
2176
|
+
* @return {(string|Command)}
|
|
2177
|
+
*/
|
|
2178
|
+
description(str, argsDescription) {
|
|
2179
|
+
if (str === undefined && argsDescription === undefined)
|
|
2180
|
+
return this._description;
|
|
2181
|
+
this._description = str;
|
|
2182
|
+
if (argsDescription) {
|
|
2183
|
+
this._argsDescription = argsDescription;
|
|
2184
|
+
}
|
|
2185
|
+
return this;
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2188
|
+
/**
|
|
2189
|
+
* Set the summary. Used when listed as subcommand of parent.
|
|
2190
|
+
*
|
|
2191
|
+
* @param {string} [str]
|
|
2192
|
+
* @return {(string|Command)}
|
|
2193
|
+
*/
|
|
2194
|
+
summary(str) {
|
|
2195
|
+
if (str === undefined) return this._summary;
|
|
2196
|
+
this._summary = str;
|
|
2197
|
+
return this;
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
/**
|
|
2201
|
+
* Set an alias for the command.
|
|
2202
|
+
*
|
|
2203
|
+
* You may call more than once to add multiple aliases. Only the first alias is shown in the auto-generated help.
|
|
2204
|
+
*
|
|
2205
|
+
* @param {string} [alias]
|
|
2206
|
+
* @return {(string|Command)}
|
|
2207
|
+
*/
|
|
2208
|
+
|
|
2209
|
+
alias(alias) {
|
|
2210
|
+
if (alias === undefined) return this._aliases[0]; // just return first, for backwards compatibility
|
|
2211
|
+
|
|
2212
|
+
/** @type {Command} */
|
|
2213
|
+
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
2214
|
+
let command = this;
|
|
2215
|
+
if (
|
|
2216
|
+
this.commands.length !== 0 &&
|
|
2217
|
+
this.commands[this.commands.length - 1]._executableHandler
|
|
2218
|
+
) {
|
|
2219
|
+
// assume adding alias for last added executable subcommand, rather than this
|
|
2220
|
+
command = this.commands[this.commands.length - 1];
|
|
2221
|
+
}
|
|
2222
|
+
|
|
2223
|
+
if (alias === command._name)
|
|
2224
|
+
throw new Error("Command alias can't be the same as its name");
|
|
2225
|
+
const matchingCommand = this.parent?._findCommand(alias);
|
|
2226
|
+
if (matchingCommand) {
|
|
2227
|
+
// c.f. _registerCommand
|
|
2228
|
+
const existingCmd = [matchingCommand.name()]
|
|
2229
|
+
.concat(matchingCommand.aliases())
|
|
2230
|
+
.join('|');
|
|
2231
|
+
throw new Error(
|
|
2232
|
+
`cannot add alias '${alias}' to command '${this.name()}' as already have command '${existingCmd}'`,
|
|
2233
|
+
);
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
command._aliases.push(alias);
|
|
2237
|
+
return this;
|
|
2238
|
+
}
|
|
2239
|
+
|
|
2240
|
+
/**
|
|
2241
|
+
* Set aliases for the command.
|
|
2242
|
+
*
|
|
2243
|
+
* Only the first alias is shown in the auto-generated help.
|
|
2244
|
+
*
|
|
2245
|
+
* @param {string[]} [aliases]
|
|
2246
|
+
* @return {(string[]|Command)}
|
|
2247
|
+
*/
|
|
2248
|
+
|
|
2249
|
+
aliases(aliases) {
|
|
2250
|
+
// Getter for the array of aliases is the main reason for having aliases() in addition to alias().
|
|
2251
|
+
if (aliases === undefined) return this._aliases;
|
|
2252
|
+
|
|
2253
|
+
aliases.forEach((alias) => this.alias(alias));
|
|
2254
|
+
return this;
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2257
|
+
/**
|
|
2258
|
+
* Set / get the command usage `str`.
|
|
2259
|
+
*
|
|
2260
|
+
* @param {string} [str]
|
|
2261
|
+
* @return {(string|Command)}
|
|
2262
|
+
*/
|
|
2263
|
+
|
|
2264
|
+
usage(str) {
|
|
2265
|
+
if (str === undefined) {
|
|
2266
|
+
if (this._usage) return this._usage;
|
|
2267
|
+
|
|
2268
|
+
const args = this.registeredArguments.map((arg) => {
|
|
2269
|
+
return humanReadableArgName(arg);
|
|
2270
|
+
});
|
|
2271
|
+
return []
|
|
2272
|
+
.concat(
|
|
2273
|
+
this.options.length || this._helpOption !== null ? '[options]' : [],
|
|
2274
|
+
this.commands.length ? '[command]' : [],
|
|
2275
|
+
this.registeredArguments.length ? args : [],
|
|
2276
|
+
)
|
|
2277
|
+
.join(' ');
|
|
2278
|
+
}
|
|
2279
|
+
|
|
2280
|
+
this._usage = str;
|
|
2281
|
+
return this;
|
|
2282
|
+
}
|
|
2283
|
+
|
|
2284
|
+
/**
|
|
2285
|
+
* Get or set the name of the command.
|
|
2286
|
+
*
|
|
2287
|
+
* @param {string} [str]
|
|
2288
|
+
* @return {(string|Command)}
|
|
2289
|
+
*/
|
|
2290
|
+
|
|
2291
|
+
name(str) {
|
|
2292
|
+
if (str === undefined) return this._name;
|
|
2293
|
+
this._name = str;
|
|
2294
|
+
return this;
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
/**
|
|
2298
|
+
* Set the name of the command from script filename, such as process.argv[1],
|
|
2299
|
+
* or require.main.filename, or __filename.
|
|
2300
|
+
*
|
|
2301
|
+
* (Used internally and public although not documented in README.)
|
|
2302
|
+
*
|
|
2303
|
+
* @example
|
|
2304
|
+
* program.nameFromFilename(require.main.filename);
|
|
2305
|
+
*
|
|
2306
|
+
* @param {string} filename
|
|
2307
|
+
* @return {Command}
|
|
2308
|
+
*/
|
|
2309
|
+
|
|
2310
|
+
nameFromFilename(filename) {
|
|
2311
|
+
this._name = path.basename(filename, path.extname(filename));
|
|
2312
|
+
|
|
2313
|
+
return this;
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2316
|
+
/**
|
|
2317
|
+
* Get or set the directory for searching for executable subcommands of this command.
|
|
2318
|
+
*
|
|
2319
|
+
* @example
|
|
2320
|
+
* program.executableDir(__dirname);
|
|
2321
|
+
* // or
|
|
2322
|
+
* program.executableDir('subcommands');
|
|
2323
|
+
*
|
|
2324
|
+
* @param {string} [path]
|
|
2325
|
+
* @return {(string|null|Command)}
|
|
2326
|
+
*/
|
|
2327
|
+
|
|
2328
|
+
executableDir(path) {
|
|
2329
|
+
if (path === undefined) return this._executableDir;
|
|
2330
|
+
this._executableDir = path;
|
|
2331
|
+
return this;
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
/**
|
|
2335
|
+
* Return program help documentation.
|
|
2336
|
+
*
|
|
2337
|
+
* @param {{ error: boolean }} [contextOptions] - pass {error:true} to wrap for stderr instead of stdout
|
|
2338
|
+
* @return {string}
|
|
2339
|
+
*/
|
|
2340
|
+
|
|
2341
|
+
helpInformation(contextOptions) {
|
|
2342
|
+
const helper = this.createHelp();
|
|
2343
|
+
const context = this._getOutputContext(contextOptions);
|
|
2344
|
+
helper.prepareContext({
|
|
2345
|
+
error: context.error,
|
|
2346
|
+
helpWidth: context.helpWidth,
|
|
2347
|
+
outputHasColors: context.hasColors,
|
|
2348
|
+
});
|
|
2349
|
+
const text = helper.formatHelp(this, helper);
|
|
2350
|
+
if (context.hasColors) return text;
|
|
2351
|
+
return this._outputConfiguration.stripColor(text);
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2354
|
+
/**
|
|
2355
|
+
* @typedef HelpContext
|
|
2356
|
+
* @type {object}
|
|
2357
|
+
* @property {boolean} error
|
|
2358
|
+
* @property {number} helpWidth
|
|
2359
|
+
* @property {boolean} hasColors
|
|
2360
|
+
* @property {function} write - includes stripColor if needed
|
|
2361
|
+
*
|
|
2362
|
+
* @returns {HelpContext}
|
|
2363
|
+
* @private
|
|
2364
|
+
*/
|
|
2365
|
+
|
|
2366
|
+
_getOutputContext(contextOptions) {
|
|
2367
|
+
contextOptions = contextOptions || {};
|
|
2368
|
+
const error = !!contextOptions.error;
|
|
2369
|
+
let baseWrite;
|
|
2370
|
+
let hasColors;
|
|
2371
|
+
let helpWidth;
|
|
2372
|
+
if (error) {
|
|
2373
|
+
baseWrite = (str) => this._outputConfiguration.writeErr(str);
|
|
2374
|
+
hasColors = this._outputConfiguration.getErrHasColors();
|
|
2375
|
+
helpWidth = this._outputConfiguration.getErrHelpWidth();
|
|
2376
|
+
} else {
|
|
2377
|
+
baseWrite = (str) => this._outputConfiguration.writeOut(str);
|
|
2378
|
+
hasColors = this._outputConfiguration.getOutHasColors();
|
|
2379
|
+
helpWidth = this._outputConfiguration.getOutHelpWidth();
|
|
2380
|
+
}
|
|
2381
|
+
const write = (str) => {
|
|
2382
|
+
if (!hasColors) str = this._outputConfiguration.stripColor(str);
|
|
2383
|
+
return baseWrite(str);
|
|
2384
|
+
};
|
|
2385
|
+
return { error, write, hasColors, helpWidth };
|
|
2386
|
+
}
|
|
2387
|
+
|
|
2388
|
+
/**
|
|
2389
|
+
* Output help information for this command.
|
|
2390
|
+
*
|
|
2391
|
+
* Outputs built-in help, and custom text added using `.addHelpText()`.
|
|
2392
|
+
*
|
|
2393
|
+
* @param {{ error: boolean } | Function} [contextOptions] - pass {error:true} to write to stderr instead of stdout
|
|
2394
|
+
*/
|
|
2395
|
+
|
|
2396
|
+
outputHelp(contextOptions) {
|
|
2397
|
+
let deprecatedCallback;
|
|
2398
|
+
if (typeof contextOptions === 'function') {
|
|
2399
|
+
deprecatedCallback = contextOptions;
|
|
2400
|
+
contextOptions = undefined;
|
|
2401
|
+
}
|
|
2402
|
+
|
|
2403
|
+
const outputContext = this._getOutputContext(contextOptions);
|
|
2404
|
+
/** @type {HelpTextEventContext} */
|
|
2405
|
+
const eventContext = {
|
|
2406
|
+
error: outputContext.error,
|
|
2407
|
+
write: outputContext.write,
|
|
2408
|
+
command: this,
|
|
2409
|
+
};
|
|
2410
|
+
|
|
2411
|
+
this._getCommandAndAncestors()
|
|
2412
|
+
.reverse()
|
|
2413
|
+
.forEach((command) => command.emit('beforeAllHelp', eventContext));
|
|
2414
|
+
this.emit('beforeHelp', eventContext);
|
|
2415
|
+
|
|
2416
|
+
let helpInformation = this.helpInformation({ error: outputContext.error });
|
|
2417
|
+
if (deprecatedCallback) {
|
|
2418
|
+
helpInformation = deprecatedCallback(helpInformation);
|
|
2419
|
+
if (
|
|
2420
|
+
typeof helpInformation !== 'string' &&
|
|
2421
|
+
!Buffer.isBuffer(helpInformation)
|
|
2422
|
+
) {
|
|
2423
|
+
throw new Error('outputHelp callback must return a string or a Buffer');
|
|
2424
|
+
}
|
|
2425
|
+
}
|
|
2426
|
+
outputContext.write(helpInformation);
|
|
2427
|
+
|
|
2428
|
+
if (this._getHelpOption()?.long) {
|
|
2429
|
+
this.emit(this._getHelpOption().long); // deprecated
|
|
2430
|
+
}
|
|
2431
|
+
this.emit('afterHelp', eventContext);
|
|
2432
|
+
this._getCommandAndAncestors().forEach((command) =>
|
|
2433
|
+
command.emit('afterAllHelp', eventContext),
|
|
2434
|
+
);
|
|
2435
|
+
}
|
|
2436
|
+
|
|
2437
|
+
/**
|
|
2438
|
+
* You can pass in flags and a description to customise the built-in help option.
|
|
2439
|
+
* Pass in false to disable the built-in help option.
|
|
2440
|
+
*
|
|
2441
|
+
* @example
|
|
2442
|
+
* program.helpOption('-?, --help' 'show help'); // customise
|
|
2443
|
+
* program.helpOption(false); // disable
|
|
2444
|
+
*
|
|
2445
|
+
* @param {(string | boolean)} flags
|
|
2446
|
+
* @param {string} [description]
|
|
2447
|
+
* @return {Command} `this` command for chaining
|
|
2448
|
+
*/
|
|
2449
|
+
|
|
2450
|
+
helpOption(flags, description) {
|
|
2451
|
+
// Support disabling built-in help option.
|
|
2452
|
+
if (typeof flags === 'boolean') {
|
|
2453
|
+
// true is not an expected value. Do something sensible but no unit-test.
|
|
2454
|
+
// istanbul ignore if
|
|
2455
|
+
if (flags) {
|
|
2456
|
+
this._helpOption = this._helpOption ?? undefined; // preserve existing option
|
|
2457
|
+
} else {
|
|
2458
|
+
this._helpOption = null; // disable
|
|
2459
|
+
}
|
|
2460
|
+
return this;
|
|
2461
|
+
}
|
|
2462
|
+
|
|
2463
|
+
// Customise flags and description.
|
|
2464
|
+
flags = flags ?? '-h, --help';
|
|
2465
|
+
description = description ?? 'display help for command';
|
|
2466
|
+
this._helpOption = this.createOption(flags, description);
|
|
2467
|
+
|
|
2468
|
+
return this;
|
|
2469
|
+
}
|
|
2470
|
+
|
|
2471
|
+
/**
|
|
2472
|
+
* Lazy create help option.
|
|
2473
|
+
* Returns null if has been disabled with .helpOption(false).
|
|
2474
|
+
*
|
|
2475
|
+
* @returns {(Option | null)} the help option
|
|
2476
|
+
* @package
|
|
2477
|
+
*/
|
|
2478
|
+
_getHelpOption() {
|
|
2479
|
+
// Lazy create help option on demand.
|
|
2480
|
+
if (this._helpOption === undefined) {
|
|
2481
|
+
this.helpOption(undefined, undefined);
|
|
2482
|
+
}
|
|
2483
|
+
return this._helpOption;
|
|
2484
|
+
}
|
|
2485
|
+
|
|
2486
|
+
/**
|
|
2487
|
+
* Supply your own option to use for the built-in help option.
|
|
2488
|
+
* This is an alternative to using helpOption() to customise the flags and description etc.
|
|
2489
|
+
*
|
|
2490
|
+
* @param {Option} option
|
|
2491
|
+
* @return {Command} `this` command for chaining
|
|
2492
|
+
*/
|
|
2493
|
+
addHelpOption(option) {
|
|
2494
|
+
this._helpOption = option;
|
|
2495
|
+
return this;
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
/**
|
|
2499
|
+
* Output help information and exit.
|
|
2500
|
+
*
|
|
2501
|
+
* Outputs built-in help, and custom text added using `.addHelpText()`.
|
|
2502
|
+
*
|
|
2503
|
+
* @param {{ error: boolean }} [contextOptions] - pass {error:true} to write to stderr instead of stdout
|
|
2504
|
+
*/
|
|
2505
|
+
|
|
2506
|
+
help(contextOptions) {
|
|
2507
|
+
this.outputHelp(contextOptions);
|
|
2508
|
+
let exitCode = Number(process.exitCode ?? 0); // process.exitCode does allow a string or an integer, but we prefer just a number
|
|
2509
|
+
if (
|
|
2510
|
+
exitCode === 0 &&
|
|
2511
|
+
contextOptions &&
|
|
2512
|
+
typeof contextOptions !== 'function' &&
|
|
2513
|
+
contextOptions.error
|
|
2514
|
+
) {
|
|
2515
|
+
exitCode = 1;
|
|
2516
|
+
}
|
|
2517
|
+
// message: do not have all displayed text available so only passing placeholder.
|
|
2518
|
+
this._exit(exitCode, 'commander.help', '(outputHelp)');
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2521
|
+
/**
|
|
2522
|
+
* // Do a little typing to coordinate emit and listener for the help text events.
|
|
2523
|
+
* @typedef HelpTextEventContext
|
|
2524
|
+
* @type {object}
|
|
2525
|
+
* @property {boolean} error
|
|
2526
|
+
* @property {Command} command
|
|
2527
|
+
* @property {function} write
|
|
2528
|
+
*/
|
|
2529
|
+
|
|
2530
|
+
/**
|
|
2531
|
+
* Add additional text to be displayed with the built-in help.
|
|
2532
|
+
*
|
|
2533
|
+
* Position is 'before' or 'after' to affect just this command,
|
|
2534
|
+
* and 'beforeAll' or 'afterAll' to affect this command and all its subcommands.
|
|
2535
|
+
*
|
|
2536
|
+
* @param {string} position - before or after built-in help
|
|
2537
|
+
* @param {(string | Function)} text - string to add, or a function returning a string
|
|
2538
|
+
* @return {Command} `this` command for chaining
|
|
2539
|
+
*/
|
|
2540
|
+
|
|
2541
|
+
addHelpText(position, text) {
|
|
2542
|
+
const allowedValues = ['beforeAll', 'before', 'after', 'afterAll'];
|
|
2543
|
+
if (!allowedValues.includes(position)) {
|
|
2544
|
+
throw new Error(`Unexpected value for position to addHelpText.
|
|
2545
|
+
Expecting one of '${allowedValues.join("', '")}'`);
|
|
2546
|
+
}
|
|
2547
|
+
|
|
2548
|
+
const helpEvent = `${position}Help`;
|
|
2549
|
+
this.on(helpEvent, (/** @type {HelpTextEventContext} */ context) => {
|
|
2550
|
+
let helpStr;
|
|
2551
|
+
if (typeof text === 'function') {
|
|
2552
|
+
helpStr = text({ error: context.error, command: context.command });
|
|
2553
|
+
} else {
|
|
2554
|
+
helpStr = text;
|
|
2555
|
+
}
|
|
2556
|
+
// Ignore falsy value when nothing to output.
|
|
2557
|
+
if (helpStr) {
|
|
2558
|
+
context.write(`${helpStr}\n`);
|
|
2559
|
+
}
|
|
2560
|
+
});
|
|
2561
|
+
return this;
|
|
2562
|
+
}
|
|
2563
|
+
|
|
2564
|
+
/**
|
|
2565
|
+
* Output help information if help flags specified
|
|
2566
|
+
*
|
|
2567
|
+
* @param {Array} args - array of options to search for help flags
|
|
2568
|
+
* @private
|
|
2569
|
+
*/
|
|
2570
|
+
|
|
2571
|
+
_outputHelpIfRequested(args) {
|
|
2572
|
+
const helpOption = this._getHelpOption();
|
|
2573
|
+
const helpRequested = helpOption && args.find((arg) => helpOption.is(arg));
|
|
2574
|
+
if (helpRequested) {
|
|
2575
|
+
this.outputHelp();
|
|
2576
|
+
// (Do not have all displayed text available so only passing placeholder.)
|
|
2577
|
+
this._exit(0, 'commander.helpDisplayed', '(outputHelp)');
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
}
|
|
2581
|
+
|
|
2582
|
+
/**
|
|
2583
|
+
* Scan arguments and increment port number for inspect calls (to avoid conflicts when spawning new command).
|
|
2584
|
+
*
|
|
2585
|
+
* @param {string[]} args - array of arguments from node.execArgv
|
|
2586
|
+
* @returns {string[]}
|
|
2587
|
+
* @private
|
|
2588
|
+
*/
|
|
2589
|
+
|
|
2590
|
+
function incrementNodeInspectorPort(args) {
|
|
2591
|
+
// Testing for these options:
|
|
2592
|
+
// --inspect[=[host:]port]
|
|
2593
|
+
// --inspect-brk[=[host:]port]
|
|
2594
|
+
// --inspect-port=[host:]port
|
|
2595
|
+
return args.map((arg) => {
|
|
2596
|
+
if (!arg.startsWith('--inspect')) {
|
|
2597
|
+
return arg;
|
|
2598
|
+
}
|
|
2599
|
+
let debugOption;
|
|
2600
|
+
let debugHost = '127.0.0.1';
|
|
2601
|
+
let debugPort = '9229';
|
|
2602
|
+
let match;
|
|
2603
|
+
if ((match = arg.match(/^(--inspect(-brk)?)$/)) !== null) {
|
|
2604
|
+
// e.g. --inspect
|
|
2605
|
+
debugOption = match[1];
|
|
2606
|
+
} else if (
|
|
2607
|
+
(match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+)$/)) !== null
|
|
2608
|
+
) {
|
|
2609
|
+
debugOption = match[1];
|
|
2610
|
+
if (/^\d+$/.test(match[3])) {
|
|
2611
|
+
// e.g. --inspect=1234
|
|
2612
|
+
debugPort = match[3];
|
|
2613
|
+
} else {
|
|
2614
|
+
// e.g. --inspect=localhost
|
|
2615
|
+
debugHost = match[3];
|
|
2616
|
+
}
|
|
2617
|
+
} else if (
|
|
2618
|
+
(match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/)) !== null
|
|
2619
|
+
) {
|
|
2620
|
+
// e.g. --inspect=localhost:1234
|
|
2621
|
+
debugOption = match[1];
|
|
2622
|
+
debugHost = match[3];
|
|
2623
|
+
debugPort = match[4];
|
|
2624
|
+
}
|
|
2625
|
+
|
|
2626
|
+
if (debugOption && debugPort !== '0') {
|
|
2627
|
+
return `${debugOption}=${debugHost}:${parseInt(debugPort) + 1}`;
|
|
2628
|
+
}
|
|
2629
|
+
return arg;
|
|
2630
|
+
});
|
|
2631
|
+
}
|
|
2632
|
+
|
|
2633
|
+
/**
|
|
2634
|
+
* @returns {boolean | undefined}
|
|
2635
|
+
* @package
|
|
2636
|
+
*/
|
|
2637
|
+
function useColor() {
|
|
2638
|
+
// Test for common conventions.
|
|
2639
|
+
// NB: the observed behaviour is in combination with how author adds color! For example:
|
|
2640
|
+
// - we do not test NODE_DISABLE_COLORS, but util:styletext does
|
|
2641
|
+
// - we do test NO_COLOR, but Chalk does not
|
|
2642
|
+
//
|
|
2643
|
+
// References:
|
|
2644
|
+
// https://no-color.org
|
|
2645
|
+
// https://bixense.com/clicolors/
|
|
2646
|
+
// https://github.com/nodejs/node/blob/0a00217a5f67ef4a22384cfc80eb6dd9a917fdc1/lib/internal/tty.js#L109
|
|
2647
|
+
// https://github.com/chalk/supports-color/blob/c214314a14bcb174b12b3014b2b0a8de375029ae/index.js#L33
|
|
2648
|
+
// (https://force-color.org recent web page from 2023, does not match major javascript implementations)
|
|
2649
|
+
|
|
2650
|
+
if (
|
|
2651
|
+
process.env.NO_COLOR ||
|
|
2652
|
+
process.env.FORCE_COLOR === '0' ||
|
|
2653
|
+
process.env.FORCE_COLOR === 'false'
|
|
2654
|
+
)
|
|
2655
|
+
return false;
|
|
2656
|
+
if (process.env.FORCE_COLOR || process.env.CLICOLOR_FORCE !== undefined)
|
|
2657
|
+
return true;
|
|
2658
|
+
return undefined;
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2661
|
+
exports.Command = Command;
|
|
2662
|
+
exports.useColor = useColor; // exporting for tests
|